FreeBSD/src 2d9c41dsys/geom/raid g_raid.h g_raid.c

graid: Add rotation rate support

If all member devices report the same rotation rate, pass it up.
DeltaFile
+33-0sys/geom/raid/g_raid.c
+1-0sys/geom/raid/g_raid.h
+34-02 files

FreeBSD/src e5283a9sys/geom/raid3 g_raid3.h g_raid3.c

graid3: Add rotation rate support

If all member devices report the same rotation rate, pass it up.
DeltaFile
+33-0sys/geom/raid3/g_raid3.c
+1-0sys/geom/raid3/g_raid3.h
+34-02 files

FreeBSD/src f8c6f9fshare/man/man4 vmx.4

vmx.4: Canonicalize SYNOPSIS

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

FreeBSD/src f1da14eshare/man/man4 vmx.4

vmx.4: Spinoff HARDWARE + tag SPDX

This section will appear in the Hardware Release Note.

MFC after:      3 days
DeltaFile
+6-4share/man/man4/vmx.4
+6-41 files

FreeBSD/src edadc3fusr.bin/whereis whereis.1 whereis.c

whereis(1): Respect PORTSDIR variable

PORTSDIR is a very common variable that points to the location of a ports
directory. Make whereis(1) respect this variable too.

Reviewed by:    arrowd@, christos@
Approved by:    christos@
Differential Revision:  https://reviews.freebsd.org/D56845
DeltaFile
+66-54usr.bin/whereis/whereis.c
+4-0usr.bin/whereis/whereis.1
+70-542 files

FreeBSD/src 2454371sys/dev/e1000 if_igb_iov.c e1000_defines.h

e1000: Correct igb(4) DMA coalescing register programming

The disabled path wrote the complement of DMAC_EN to DMACR.  That
set every other field, including reserved bits, the one-shot EXIT_DC
command, watchdog enables, receive threshold, and PCIe Lx selection.

When DMA coalescing was enabled, the requested watchdog and Lx-delay
values were ORed into their reset values rather than replacing the
fields.  PCIEMISC.LX_DECISION was also cleared, preventing
DMACR.DMAC_Lx from controlling PCIe low-power entry.

Disable coalescing by clearing only DMAC_EN and retaining the
documented DMAC_Lx policy and watchdog fields.  On enable, replace the
variable fields under their masks, select DMA requirements for PCIe
low-power entry, and program the loopback and BMC watchdog policies
independently of prior state.

Make igb_init_dmac() the sole owner of this policy, including when
SR-IOV is active, so later IOV initialization cannot overwrite it.

    [14 lines not shown]
DeltaFile
+48-24sys/dev/e1000/if_em.c
+0-2sys/dev/e1000/if_igb_iov.c
+2-0sys/dev/e1000/e1000_defines.h
+50-263 files

FreeBSD/src 46f09c4usr.bin/netstat if.c

netstat: filtering out unsupported address families

getifaddrs(3) may return AF_INET6 addresses even when netstat(1)
is built without INET6 support.  Avoid passing these addresses to
process_ifa_addr(), which does not handle AF_INET6 in that case.

This fixes corrupted column width calculations and runaway output
from netstat -i, which could cause periodic daily check output to
generate multi-gigabyte mail messages and exhaust disk space and
memory.

MFC after:      2 weeks
DeltaFile
+18-2usr.bin/netstat/if.c
+18-21 files

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_poll.3 SSL_get_value_uint.3, secure/lib/libcrypto/man/man7 openssl-quic-concurrency.7 openssl-threads.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
+18-3secure/lib/libcrypto/man/man3/SSL_poll.3
+496-87898 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