828f2572 jhb Sept. 15, 2021, 4:03 p.m.
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D31932
53b70c86 mm Sept. 15, 2021, 3:30 p.m.
Notable upstream pull request merges:
  #11312 Temporarily use root credentials to mount snapshots in .zfs
  #12246 arc: Drop an incorrect assert
  #12443 Fixed data integrity issue when underlying disk returns error
         to zfs
  #12522 Compressed receive with different ashift can result in incorrect
         PSIZE on disk
  #12535 Verify embedded blkptr's in arc_read()
  #12541 Allow sending corrupt snapshots even if metadata is corrupted

Obtained from:	OpenZFS
OpenZFS commit:	4a1195ca5041cbff2a6b025a31937fef84876c52
6e8272f3 pstef Sept. 15, 2021, 2:25 p.m.
For an invalid filesystem name used like this:
mount -t asdfs /dev/ada1p5 /usr/obj

emit an error message like this:
mount: /dev/ada1p5: Invalid fstype: Invalid argument

instead of:
mount: /dev/ada1p5: Operation not supported by device

Differential Revision:	https://reviews.freebsd.org/D31540
2de4c7f6 mw Sept. 15, 2021, 1:17 p.m.
Due to the quirky nature of the Synopsys Designware PCIe IP,
the type 0 configuration is broadcast and whatever device
is plugged into slot, will appear at each 32 device
positions of bus0. Mitigate the issue by filtering out
duplicated devices on this bus for both DT and ACPI cases.

Reviewed by: mw
Sponsored by: Semihalf
MFC: after 3 weeks
Differential revision: https://reviews.freebsd.org/D31887
41ba691f gahr Sept. 15, 2021, 11:04 a.m.
Approved by: cognet
1896a009 andrew Sept. 15, 2021, 9:13 a.m.
The GICv3 ITS only needs to implement 32 bit access to the GICR_TYPER
when the CPU implements AArch32. As this may not always be the case
use a 64 bit read when checking if the ITS is enabled on the CPU.

PR:		258217
Reported by:	Olivier Delande <olivier.delande@provenrun.com>
Sponsored by:	The FreeBSD Foundation
45421646 tuexen Sept. 15, 2021, 8:18 a.m.
MFC after:	1 week
6c2d4404 mav Sept. 15, 2021, 1:06 a.m.
Previous code by default setting pre-timeout interval to 120 seconds
made impossible to set timeout interval below that, resulting in error
0xcc (Invalid data field in Request) at least on Supermicro boards.

To fix that limit maximum pre-timeout interval to ~1/4 of the timeout
interval, that sounds like a reasonable default: not too short to fire
too late, but also not too long to give many false reports.

MFC after:	2 weeks
02d81940 mav Sept. 14, 2021, 9:40 p.m.
It fixes lock ordere reversal between SIM and device locks.  Also
remove registration for AC_FOUND_DEVICE, unused for a while now.

MFC after:	1 month
5dc5f849 asomers Sept. 14, 2021, 8:50 p.m.
MFC after:	2 weeks
Sponsored by:	Axcient
9affbb0f jhb Sept. 14, 2021, 8:46 p.m.
While here, don't restore the old vnet until after sorele().

Sponsored by:	Chelsio Communications
5dbf8c15 jhb Sept. 14, 2021, 8:46 p.m.
For TCP DDP, handle_ddp_close() needs to see the pre-FIN rcv_nxt to
determine how much data was placed in the local buffer before the FIN
was received.  The changes in d59f1c49e26b broke this by updating
rcv_nxt before calling handle_ddp_close().

Fixes:		d59f1c49e26b cxgbe tom: Permit rcv_nxt mismatches on FIN for iSCSI connections on T6.
Sponsored by:	Chelsio Communications
1ecbc1d8 jhb Sept. 14, 2021, 8:46 p.m.
This is similar to the fixes in 141fe2dceeae.  One difference is that
TOE sockets do not change states (listen vs non-listen) once created,
so no lock is needed for SOLISTENING().

Sponsored by:	Chelsio Communications
bdf0f24b trasz Sept. 14, 2021, 8:19 p.m.
This is one of the pieces required to make modern (ie Focal)
strace(1) work.

Reviewed By:	jhb (earlier version)
Sponsored by:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D28212
6f43f86b trasz Sept. 14, 2021, 8:17 p.m.
Reviewed By:	bdrewery, kevans, cy
Reported By:	lwhsu, bdrewery
Fixes:		ddedf2a11eb
Sponsored by:	NetApp, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D31961