174a7e57 asomers Feb. 8, 2021, 11:41 p.m.
AFAICT, this was an oversight from
9e5787d2284e187abb5b654d924394a65772e004 (svn r364746).  That revision
inadvertently disabled assertions unconditionally.

Reviewed by:	freqlabs
MFC after:	3 days
Sponsored by:	Axcient
Differential Revision:	https://reviews.freebsd.org/D28256
cgit
924d1c9a melifaro Feb. 8, 2021, 10:32 p.m.
Wrong version of the change was pushed inadvertenly.

This reverts commit 4a01b854ca5c2e5124958363b3326708b913af71.
cgit
db2f5123 imp Feb. 8, 2021, 10:31 p.m.
My YOGA requires a minimum of 7 to parse w/o an error. Since the memory savings
are trivial and the yoga a popular system, bump the default up to 8. There's no
API/ABI issues in doing this. This hid_item struct isn't exported to userland
and the one libusbhid has is different and only shares a name...

MFC After: 3 days
Reviewed by: wulf@
Differential Revision: https://reviews.freebsd.org/D28543
cgit
07cac176 trasz Feb. 8, 2021, 10 p.m.
Fix e40787f900f to make libexec/rc/rc.d/linux retrieve the sysctl
after loading the kernel module which provides it, not before.

Reported By:	jkim
Sponsored By:	The FreeBSD Foundation
cgit
35af9331 imp Feb. 8, 2021, 9:47 p.m.
It appears that production versions of EPYC firmware get the _STA method right
for these nodes. In fact, this workaround breaks on production hardware by
including too many uart nodes. This work around was for pre-release hardware
that wound up not having a large deployment. Move this work around to a kernel
option since the machines that needed it have been powered off and are difficult
to resurrect. Should there be a more significant deployment than is understood,
we can restrict it based on smbios strings.

Discussed with: mmacy@, seanc@, jhb@
MFC After: 3 days
cgit
adc4ea97 melifaro Feb. 8, 2021, 9:42 p.m.
Reported by:	mike tancsa<mike at sentex.net>
MFC after:	3 days
cgit
4a01b854 melifaro Feb. 8, 2021, 9:42 p.m.
Historically receive buffer overflows have been ignored and programs
could not tell if they missed messages or messages had been truncated
because of overflows. Since programs historically do not expect to get
receive overflow errors, this behavior is not the default.

This is really really important for programs that use route(4) to keep in sync
with the system. If we loose a message then we need to reload the full system
state, otherwise the behaviour from that point is undefined and can lead
to chasing bogus bug reports.
cgit
d8c6d4c7 wulf Feb. 8, 2021, 9:35 p.m.
This adds a new sysctl to Wellspring Touchpad driver for controlling
Z-Axis (2-finger vertical scroll) direction "hw.usb.wsp.z_invert".

Submitted by:	James Wright <james.wright_AT_digital-chaos_DOT_com>
Reviewed by:	wulf
PR:		253321
Differential revision:	https://reviews.freebsd.org/D28521
cgit
dd2516fc imp Feb. 8, 2021, 8:29 p.m.
nvme_ctrlr_hw_reset is no longer used outside of nvme_ctrlr.c, so
make it static. If we need to change this in the future we can.
cgit
6c34d8ce gbe Feb. 8, 2021, 8:21 p.m.
Since we ship a ktls(4) enabled OpenSSL version, mention
the src.conf(5) option WITH_OPENSSL_KTLS in the manual page.

Reviewed by:	jhb
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D28435
cgit
9600aa31 imp Feb. 8, 2021, 8:08 p.m.
Make it clearer that the value 0xfffffff is being used to detect the device is
gone. We use it other places in the driver for other meanings.
cgit
93fc6789 dim Feb. 8, 2021, 7:48 p.m.
This adjusts the check to trigger overflow/underflow to a slightly lower
value.

Before: powf(9.999995e-01, -1.342177e+08) -> inf
After:  powf(9.999995e-01, -1.342177e+08) -> 1.858724e+31

MFC after:	1 week
cgit
b5770470 markj Feb. 8, 2021, 7:42 p.m.
A BIOS bug may apparently cause the BSP to report that it does not
implement CMCI, with some APs reporting that they do.  In this scenario,
avoid a NULL pointer dereference that occurs in cmci_monitor() because
cmc_state was not allocated by the BSP.

PR:		253272
Reported by:	asomers, mmacy
Reviewed by:	kib (previous version)
MFC after:	1 week
cgit
7da3bfc2 mjg Feb. 8, 2021, 7:24 p.m.
d242f782 debdrup Feb. 8, 2021, 7:18 p.m.
Approved by:	emaste@ (maintainer)
cgit