5b40c0aa hselasky Oct. 1, 2021, 2:34 p.m.
s/default_unit/dunit/g

Differential Revision:	https://reviews.freebsd.org/D32254
Sponsored by:	NVIDIA Networking
cgit
433be7f2 hselasky Oct. 1, 2021, 12:18 p.m.
Submitted by:	christos@
Differential Revision:	https://reviews.freebsd.org/D32254
Sponsored by:	NVIDIA Networking
cgit
38c857d9 hselasky Oct. 1, 2021, 12:18 p.m.
Suggested by:	kib
Differential Revision:	https://reviews.freebsd.org/D32254
Sponsored by:	NVIDIA Networking
cgit
8b959dd6 syrinx Oct. 1, 2021, 11:10 a.m.
RFC 3414 Section 4. Discovery specifies that a discovery request message has a
varBindList left empty. Nonetheless, bsnmpd(1) should not crash when receiving
a non-zero var-bindings list in a Discovery Request message.

PR:		255214
MFC after:	2 weeks
cgit
18c21394 andrew Oct. 1, 2021, 10:27 a.m.
The previous update to handle the gicv2m as a child of the gicv3 driver
assumed there was only a single gicv2m child. On some hardware there
are multiple children. Support this by removing the mbi ivars and
adding a new interface to handle MSI allocation in a given range.

Tested by:	mw, trasz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32224
cgit
3d2533f5 andrew Oct. 1, 2021, 10:27 a.m.
When writing to memory on arm64 we may be trying to be accessing a
read-only page. In this case try to access via the DMAP region to
get a writable location.

While here simplify writing data in DDB and stop trashing the size as
it is passed into the cache handling functions.

Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32053
cgit
7ec86b66 andrew Oct. 1, 2021, 10:27 a.m.
When printing arm64 registers because of an exception in the kernel
also print the symbol and offset. This can be used to track down why
the exception occured without needing external tools.

Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32077
cgit
ca4a6606 wma Oct. 1, 2021, 9:24 a.m.
Use correct devclass name, due to the mismatch miibus would attach
to the wrong thing causing mii_attach to silently fail.

Fixes: dfcaa2c18bf9 (enetc_mdio: Support building the driver ...)
cgit
a75400c5 wma Oct. 1, 2021, 9:24 a.m.
Having it included confuses KOBJOPLOOKUP resulting in kobj_error_method
being called instead of a devmethod from the switch driver.
That in turn returns ENXIO which was treated as a pointer and
dereferenced by etherswitch ioctl logic causing the kernel to panic.

Fixes: b542c9e42ba4 (modules: felix: Add needed dependencies)
cgit
8cbbe351 wma Oct. 1, 2021, 9:24 a.m.
It was missed during the conversion of kernel configs.
Although the driver is already built as a kernel module we might
want to have it built-in for diskless booting and such.
cgit
4dbd8c72 kevans Oct. 1, 2021, 4:55 a.m.
This is declared in stdio.h, no need for this one.
cgit
5487294d kevans Oct. 1, 2021, 4:55 a.m.
This is consistent with, e.g., NetBSD's implementation, which declares
these as noreturn in ssp/ssp.h.
cgit
cfb9be50 kevans Oct. 1, 2021, 4:47 a.m.
We'd likely be better served by converting these to the equivalent mem*
calls, but just kill the knob for now. The b* macros being defined get
in the way of _FORTIFY_SOURCE.

Reviewed by:	imp, markj
Differential Revision:	https://reviews.freebsd.org/D32235
cgit
0f43c5b5 kevans Oct. 1, 2021, 2:31 a.m.
4b5554ce kevans Oct. 1, 2021, 2:31 a.m.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D32237
cgit