FreeBSD/src bd0449asys/dev/sound/usb uaudio.c

snd_uaudio: Use uDWord for the UAC2 sample rate

uaudio20_set_speed() split the sample rate into bytes by hand. Use
uDWord and USETDW() instead.

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D59066

(cherry picked from commit 5c3bc8ab427c8624b29cd9ac9265445002da3ba8)
DeltaFile
+3-6sys/dev/sound/usb/uaudio.c
+3-61 files

FreeBSD/src 4204287sys/kern tty_pts.c tty.c, sys/sys tty.h

tty: gracefully handle proctree_lock locking

Instead of relocking tty to get the proctree_lock and experiencing the
race due to the relock, take the proctree_lock in advance for ioctl
commands that need it.  The affected commands, TIOCNOTTY, TIOCSCTTY,
and TIOCSPGRP, must not be overridden by the specific tty drivers,
so the common handling is cleaner.

Reviewed by:    kevans (previous version), markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D59132
DeltaFile
+209-172sys/kern/tty.c
+3-0sys/sys/tty.h
+3-0sys/kern/tty_pts.c
+215-1723 files

FreeBSD/src 824f934sys/kern tty_ttydisc.c tty.c, sys/sys tty.h

tty: make tty_wait_background() aware of proctree_lock ownership

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D59132
DeltaFile
+11-5sys/kern/tty.c
+8-4sys/kern/tty_ttydisc.c
+2-1sys/sys/tty.h
+21-103 files

FreeBSD/src 9bd3fe5sys/kern tty.c

tty: add tty_wait_proctree(9)

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D59132
DeltaFile
+39-0sys/kern/tty.c
+39-01 files

FreeBSD/src a15c712share/man/man9 condvar.9

condvar.9: document cv_wait_sig_unblock(9)

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D59132
DeltaFile
+10-1share/man/man9/condvar.9
+10-11 files

FreeBSD/src 0cc6c44sys/kern kern_condvar.c, sys/sys condvar.h

condvars(9): add cv_wait_sig_unlock()

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D59132
DeltaFile
+55-0sys/kern/kern_condvar.c
+3-0sys/sys/condvar.h
+58-02 files

FreeBSD/src b2e6b65sys/arm64/arm64 pmap.c

arm64 pmap: optimize TLB management by pmap_update_entry()

To date, pmap_update_entry() has unconditionally passed false as
final_only to pmap_s1_invalidate_range().  Passing false means that we
invalidate the intermediate "page walk cache" entries in the TLB as well
as the leaf that is being replaced. However, invalidating intermediate
entries is only necessary when doing a superpage promotion that replaces
a pointer to a page table page by a large page mapping.

Reviewed by:    andrew, kib, markj
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D58917
DeltaFile
+17-13sys/arm64/arm64/pmap.c
+17-131 files

FreeBSD/src 59b062eshare/man/man4 vr.4

vr.4: Canonicalize SYNOPSIS + tag SPDX

While here, remove superflouous Nd quoting.

MFC after:      3 days
DeltaFile
+5-13share/man/man4/vr.4
+5-131 files

FreeBSD/src fa89ea4share/man/man4 vte.4

vte.4: Canonicalize SYNOPSIS + tag SPDX

MFC after:      3 days
DeltaFile
+16-12share/man/man4/vte.4
+16-121 files

FreeBSD/src 4f5a44ashare/man/man4 vtnet.4

vtnet.4: Canonicalize SYNOPSIS + tag SPDX

MFC after:      3 days
DeltaFile
+25-11share/man/man4/vtnet.4
+25-111 files

FreeBSD/src 5246f10share/man/man4 vxlan.4

vxlan.4: Canonicalize SYNOPSIS + mechanical nits

+ tag SPDX
+ remove superflouous Nd quoting
+ fix AUTHORS email markup

MFC after:      3 days
DeltaFile
+9-14share/man/man4/vxlan.4
+9-141 files

FreeBSD/src b7d15dbshare/man/man4 wg.4

wg.4: Canonicalize SYNOPSIS + mechanical nits

While here:
+ tag SPDX
+ remove superflouous Nd quotes
+ add the usual missing blank comment line preceeding file

MFC after:      3 days
DeltaFile
+5-11share/man/man4/wg.4
+5-111 files

FreeBSD/src d58130dshare/man/man4 wdatwd.4

wdatdw.4: Canonicalize SYNOPSIS + tag SPDX

MFC after:      3 days
DeltaFile
+6-12share/man/man4/wdatwd.4
+6-121 files

FreeBSD/src e3ab040share/man/man4 xdma.4

xdma.4: Canonicalize SYNOPSIS

MFC after:      3 days
DeltaFile
+6-10share/man/man4/xdma.4
+6-101 files

FreeBSD/src eddc4e9share/man/man4 wbwd.4

wbwd.4: Canonicalize SYNOPSIS, HARDWARE + tag SPDX

MFC after:      3 days
DeltaFile
+17-13share/man/man4/wbwd.4
+17-131 files

FreeBSD/src 8abab45share/man/man4 bnxt.4

bnxt.4: Canonicalize SYNOPSIS

While here, tag SPDX.

MFC after:              3 days
Reviewed by:            kbowling
Differential Revision:  https://reviews.freebsd.org/D59258
DeltaFile
+23-12share/man/man4/bnxt.4
+23-121 files

FreeBSD/src 7199b61share/man/man4 wmt.4

wmt.4: Canonicalize SYNOPSIS

While here, tag SPDX.

MFC after:      3 days
DeltaFile
+9-13share/man/man4/wmt.4
+9-131 files

FreeBSD/src 2f095fasys/dev/e1000 if_em.h e1000_defines.h

e1000: Report corrected LAN management FIFO ECC errors

I350 and I354 report a corrected ECC error in the LAN transmit
management FIFO through LANPERRSTS bit 16.  Unlike the parity status in
the same register, this condition neither interrupts nor stops traffic.

Poll the latch with the other corrected error status, increment a
dedicated counter, and clear only its RW1C bit.  Expose it as
dev.igb.N.memory_errors.corrected_lan_mng_fifo.

Fatal error handling returns before the periodic statistics sweep and
may reset the device.  Drain all I350 and I354 corrected-error status in
the admin task before recovery so the reset does not discard pending
indications.

This follows section 6.21.16 of the Intel Atom Processor C2000 Product
Family Integrated GbE Controller Programmer's Reference Manual,
document 537426 revision 1.5.


    [2 lines not shown]
DeltaFile
+13-1sys/dev/e1000/if_em.c
+1-0sys/dev/e1000/if_em.h
+1-0sys/dev/e1000/e1000_defines.h
+15-13 files

FreeBSD/src 19c1fe2secure/lib/libcrypto/man/man3 NAME_CONSTRAINTS_check.3 OPENSSL_armcap.3

crypto/openssl: add manpages missed in related commit

MFC with:       78e936b2d
Fixes:          0d4d0f3a9 ("crypto/openssl: update generated content ...")
Reported by:    Jenkins CI
DeltaFile
+285-0secure/lib/libcrypto/man/man3/OPENSSL_armcap.3
+237-0secure/lib/libcrypto/man/man3/NAME_CONSTRAINTS_check.3
+522-02 files

FreeBSD/src 5b4a7fdsys/dev/e1000 e1000_defines.h if_em.c

e1000: Handle I354 internal memory errors

The Atom C2000 integrated GbE programming reference documents the I354
internal memory error architecture.  It shares the I350 PEIND and
ICR.FER routing, DMA and packet-buffer status, LAN parity status, and
required reset recovery.

Extend the existing I350 recovery and corrected error accounting paths
to I354.  Keep the PCIe corrected error mask family-specific.  C2000
PCIEECCSTS ends at the transmit write-data indication in bit 4 and does
not implement the I350 retry buffer indication in bit 5.  Do not expose
the corresponding retry counter on I354.

The PRM overview says a PCIe region failure requires a system reboot,
while the individual PCIEERRSTS fields prescribe CTRL.RST followed by
port reinitialization.  Use the register specific recovery, matching the
existing I350 path; failed reinitialization still leaves the port down.

This follows sections 5.6 and 6.21 of the Intel Atom Processor C2000

    [5 lines not shown]
DeltaFile
+40-35sys/dev/e1000/if_em.c
+10-8sys/dev/e1000/e1000_defines.h
+50-432 files

FreeBSD/src 0d4d0f3secure/lib/libcrypto/man/man3 SSL_get_value_uint.3 ASN1_aux_cb.3, secure/lib/libcrypto/man/man7 provider-kem.7 openssl-quic-concurrency.7

crypto/openssl: update generated content to match 3.5.8 release

This contains 2 new manpages as well as some minor manpage content
changes.

MFC with:       78e936b2d
DeltaFile
+366-62secure/lib/libcrypto/man/man3/X509_verify_cert.3
+38-12secure/lib/libcrypto/man/man3/ASN1_aux_cb.3
+28-3secure/lib/libcrypto/man/man7/openssl-threads.7
+27-3secure/lib/libcrypto/man/man7/openssl-quic-concurrency.7
+19-4secure/lib/libcrypto/man/man3/SSL_get_value_uint.3
+12-9secure/lib/libcrypto/man/man7/provider-kem.7
+490-93898 files not shown
+1,514-1,048904 files

FreeBSD/src 78e936bcrypto/openssl/crypto/aes aes_x86core.c, crypto/openssl/doc/man3 X509_verify_cert.pod

crypto/openssl: update to 3.5.8

This is a security bugfix release. Please see the related merge commit
for more details.

Maintainer note:        `quic_ackm.h`'s conflict was resolved by taking
                        the upstream version of the file verbatim.

Conflicts:
        crypto/openssl/include/internal/quic_ackm.h

MFC after:      3 days
Merge commit '248da023ae5ea7292930ac5d715d88b87e2e6f46'
DeltaFile
+0-79,844crypto/openssl/test/recipes/30-test_evp_data/evprand.txt
+0-867crypto/openssl/crypto/aes/aes_x86core.c
+851-3crypto/openssl/test/evp_extra_test.c
+394-125crypto/openssl/test/evp_extra_test2.c
+476-32crypto/openssl/test/endecode_test.c
+439-61crypto/openssl/doc/man3/X509_verify_cert.pod
+2,160-80,932253 files not shown
+7,387-81,985259 files

FreeBSD/src 248da02test/recipes/30-test_evp_data evprand.txt

crypto/openssl: remove large test input file

This file was added between 3.5.7 and 3.5.8. Given that we don't yet leverage
the OpenSSL tests, there's no sense in merging this file to mainline branches..
DeltaFile
+0-79,987test/recipes/30-test_evp_data/evprand.txt
+0-79,9871 files

FreeBSD/src 108c7d5test/recipes/30-test_evp_data evprand.txt

Remove large test input file

This file was added between 3.0.21 and 3.0.22. Given that we don't yet leverage
the OpenSSL tests, there's no sense in merging this file to mainline branches.
DeltaFile
+0-79,537test/recipes/30-test_evp_data/evprand.txt
+0-79,5371 files

FreeBSD/src 7dc4284sys/geom/stripe g_stripe.h g_stripe.c

gstripe: Increase children I/O sizes

Originally gstripe created a separate child I/O for every accessed
stripe, making it very inefficient for small stripe sizes.  Later
introduced "fast" mode reduced that count for read/write requests
by copying the data to/from temporary contiguous buffers, wasting
memory bandwidth and CPU time.  This commit implements alternative
method, utilizing unmapped I/O mechanism to assemble children I/Os
from pages of the original I/O, avoiding any copying.  This method
though has some limitations, such as stripe size can not be smaller
than CPU page size, or buffer and offset page phases should match
(may be page aligned, but not necessarily).  But those limitations
are not an issue in many cases, since ZFS, for example, can often
align its buffers (BTW, dd doesn't).  Plus, unlike "fast" method,
this one can receive (and even prefers) unmapped I/Os.

While there, re-implement also BIO_DELETE.  Since they don't have
any data, there is no any reason to create more than one child I/O
per disk.  It also dramatically improves performance there.

    [3 lines not shown]
DeltaFile
+280-36sys/geom/stripe/g_stripe.c
+2-0sys/geom/stripe/g_stripe.h
+282-362 files

FreeBSD/src f4b7be7sys/dev/sound/pci hdsp.h hdsp.c

snd_hdsp: Avoid allocation in the interrupt handler

Cache PCM children instead of calling device_get_children() from the
interrupt handler.  Drain callbacks before child detach so cached
pointers cannot outlive the PCM softc.  Allocate the parent softc by
its actual size.

This mirrors snd_hdspe's interrupt dispatch and detach lifecycle.

Reported by:    christos

(cherry picked from commit 74db53d5d7657d0508940d1193f05a39df85434a)
DeltaFile
+74-29sys/dev/sound/pci/hdsp-pcm.c
+13-13sys/dev/sound/pci/hdsp.c
+9-0sys/dev/sound/pci/hdsp.h
+96-423 files

FreeBSD/src 0230605. UPDATING

UPDATING: Fix entry for getgroups(2)/setgroups(2)

Fix a typo, grammar, and generally rephrase for better clarity.

Fixes:          3463f02706db ("UPDATING: add an entry for [gs]etgroups")
MFC after:      1 day
MFC to:         stable/15
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit b7cff2a8c47eb09968430e53cab8b05cf8897d3f)
DeltaFile
+6-4UPDATING
+6-41 files

FreeBSD/src 7ac9459share/man/man4 wpi.4

wpi.4: Canonicalize SYNOPSIS

MFC after:      3 days
DeltaFile
+8-15share/man/man4/wpi.4
+8-151 files

FreeBSD/src 58f13a8contrib/ntp/ntpdate ntpdate.c

ntpdate: Add a deprecation notice to syslog

Suggested by:           cy, emaste
Reviewed by:            cy
Differential Revision:  https://reviews.freebsd.org/D55929
DeltaFile
+2-0contrib/ntp/ntpdate/ntpdate.c
+2-01 files

FreeBSD/src 59f363dshare/man/man4 nvme.4

nvme.4: Canonicalize LOADER TUNABLES

Improve style for consistency with the rest of the manual
and add the tunables to the search database.

MFC after:              3 days
Reviewed by:            seuros
Differential Revision:  https://reviews.freebsd.org/D59165
DeltaFile
+69-92share/man/man4/nvme.4
+69-921 files