r353545 ae Oct. 15, 2019, 9:50 a.m.
By default next_cmd() initializes only first u32 of opcode. O_ICMP6TYPE
opcode has array of bit masks to store corresponding ICMPv6 types.
An opcode that precedes O_ICMP6TYPE, e.g. O_IP6_DST, can have variable
length and during opcode filling it can modify memory that will be used
by O_ICMP6TYPE opcode. Without explicit initialization this leads to
creation of wrong opcode.

Reported by:	Boris N. Lytochkin
Obtained from:	Yandex LLC
MFC after:	3 days
ViewVC
r353544 tsoome Oct. 15, 2019, 8:33 a.m.
panic() is expecting us to have exit and getchar, lets provide those.
ViewVC
r353542 kp Oct. 15, 2019, 4:50 a.m.
Set up two jails connected by an epair. Create VLAN interfaces in both
jails and check connectivity.

This is a very basic test, but exposed panics during the network stack
epoch work, so this is worth testing.
ViewVC
r353541 jeff Oct. 15, 2019, 3:51 a.m.
callers hold it.

This simplifies pmap code and removes a dependency on the object lock.

Reviewed by:    kib, markj
Tested by:      pho
Sponsored by:   Netflix, Intel
Differential Revision:	https://reviews.freebsd.org/D21596
ViewVC
r353540 jeff Oct. 15, 2019, 3:48 a.m.
object lock in vm_page_set_validclean().

Reviewed by:    kib, markj
Tested by:      pho
Sponsored by:   Netflix, Intel
Differential Revision:	https://reviews.freebsd.org/D21595
ViewVC
r353539 jeff Oct. 15, 2019, 3:45 a.m.
Atomics are used for page busy and valid state when the shared busy is
held.  The details of the locking protocol and valid and dirty
synchronization are in the updated vm_page.h comments.

Reviewed by:    kib, markj
Tested by:      pho
Sponsored by:   Netflix, Intel
Differential Revision:        https://reviews.freebsd.org/D21594
ViewVC
r353538 jeff Oct. 15, 2019, 3:41 a.m.
busy acquires while held.

This allows code that would need to acquire and release a very large number
of page busy locks to use the old mechanism where busy is only checked and
not held.  This comes at the cost of false positives but never false
negatives which the single consumer, vm_fault_soft_fast(), handles.

Reviewed by:    kib
Tested by:      pho
Sponsored by:   Netflix, Intel
Differential Revision:	https://reviews.freebsd.org/D21592
ViewVC
r353537 jeff Oct. 15, 2019, 3:38 a.m.
This persists busy state across operations like rename and replace.

Reviewed by:    kib, markj
Tested by:      pho
Sponsored by:   Netflix, Intel
Differential Revision:  https://reviews.freebsd.org/D21549
ViewVC
r353536 jhibbits Oct. 15, 2019, 3:37 a.m.
Need a release barrier, not an acquire barrier, else bad things happen.
ViewVC
r353535 jeff Oct. 15, 2019, 3:35 a.m.
This is the first in a series of patches that promotes the page busy field
to a first class lock that no longer requires the object lock for
consistency.

Reviewed by:	kib, markj
Tested by:	pho
Sponsored by:	Netflix, Intel
Differential Revision:	https://reviews.freebsd.org/D21548
ViewVC
r353534 manu Oct. 14, 2019, 10:29 p.m.
MFC after:	1 month
ViewVC
r353533 manu Oct. 14, 2019, 10:27 p.m.
This add a driver for the Synopsys DWC3 driver found on multiple SoCs.
It only supports host mode for now.

MFC after:	1 month
ViewVC
r353532 manu Oct. 14, 2019, 10:22 p.m.
This is a simplebus like driver that just deal with clocks and resets
and attach the dwc3 child node.

MFC after:	1 month
ViewVC
r353531 manu Oct. 14, 2019, 9:58 p.m.
The usb 3 controller in the H6 SoC have a dedicated phy.
Add support for it.
Mostly imported from NetBSD

MFC after:	1 month
ViewVC
r353530 manu Oct. 14, 2019, 9:56 p.m.
MFC after:	1 month
ViewVC