c6b3a377 jhb Aug. 8, 2022, 6:21 p.m.
Remove a few more remnants from the old pre-KTLS support and instead
assume that each work request sends a single TLS record.

Sponsored by:	Chelsio Communications
cgit
1ca4f45e jhb Aug. 8, 2022, 6:21 p.m.
If an adapter advertises support for TLS keys but an empty TLS key
storage area in on-board memory, fail the request rather than invoking
vmem_alloc on an uninitialized vmem.

Sponsored by:	Chelsio Communications
cgit
bbb2f537 jhb Aug. 8, 2022, 6:21 p.m.
This implementation of NIC TLS is specific to T6 adapters.

Sponsored by:	Chelsio Communications
cgit
2969066f emaste Aug. 8, 2022, 6:19 p.m.
The recent commit to fix a gzip header extra field processing bug
introduced the new bug fixed here.

(cherry picked from zlib commit 1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d)
cgit
d387a1b4 manu Aug. 8, 2022, 4:55 p.m.
They do not have the same pmap api and this cannot work for those arch.

Fixes:	789dbdbb48574 ("linuxkpi: Add arch_io_{reserve,free}_memtype_wc")
Sponsored by:	Beckhoff Automation GmbH & Co. KG
cgit
cbd1e831 markj Aug. 8, 2022, 4:50 p.m.
Fix two bugs in __cxa_end_cleanup()

  Per the EHABI32 specification, __cxa_end_cleanup must take care to
  preserve registers before calling _Unwind_Resume().  So, libcxxrt uses
  an assembly stub which preserves caller-saved registers around the call
  to __cxa_get_cleanup().  But:
  - it failed to restore them properly,
  - it did not preserve the link register.

  Fix both of these problems.  This is needed to fix exception unwinding
  on FreeBSD with LLVM 14.  Note that r4 is callee-saved but is pushed
  onto the stack to preserve stack pointer alignment.

  Sponsored-by: The FreeBSD Foundation

MFC after:	1 week
cgit
2dd83b3f markj Aug. 8, 2022, 4:50 p.m.
Structure l9p_f_wralk reserves at most L9P_MAX_WELEM entries
and that number actually set the maximum we can safely use.

PR:		265385
Reviewed by:	markj
MFC after:	1 day
Differential Revision:	https://reviews.freebsd.org/D35907
cgit
1b0a4974 kib Aug. 8, 2022, 4:44 p.m.
By calling the function too early we might still have the td_pflags
value cached from the previous struct thread use. cpu_copy_thread()
depends on correct value for TDP_KTHREAD at least on x86.

Reported, bisected, and tested by:	pho
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D36069
cgit
28b64169 kp Aug. 8, 2022, 4:31 p.m.
When the interface does not exist avoid passing host with special pf
modifiers to DNS resolution as they come up empty anyway.

Reviewed by:	kp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D35429
cgit
45add407 gjb Aug. 8, 2022, 2:59 p.m.
MFC after:	3 days
Submitted by:	Mark Millard
Sponsored by:	Rubicon Communications, LLC ("Netgate")
cgit
b273f936 manu Aug. 8, 2022, 1:22 p.m.
2ff0f051 manu Aug. 8, 2022, 1:22 p.m.
Needed by drm-kmod.

Reviewed By:	emaste, hselasky
Obtained from:	drm-kmod
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D36024
cgit
b829f450 manu Aug. 8, 2022, 1:22 p.m.
Linux does the same.

Reviewed by:	bz, emaste, hselasky
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D36023
cgit
789dbdbb manu Aug. 8, 2022, 1:22 p.m.
Reviewed by:	hselasky
Obtained from:	drm-kmod
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D36022
cgit
a7727e1a manu Aug. 8, 2022, 1:22 p.m.
Obtained from:	drm-kmod
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D36021
cgit