FreeBSD/src 098adfcshare/man/man4 virtio_blk.4

virtio_blk.4: Canonicalize SYNOPSIS and HARDWARE

Also tag SPDX, and switch X to %d for consistency/clarity.

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

FreeBSD/src 746b910share/man/man4 virtio_scsi.4

virtio_scsi.4: Canonicalize

+ Tag SPDX
+ Canonicalize SYNOPSIS and HARDWARE
+ Canonicalize SYSCTL VARIABLES, adding the sysctl to apropos
+ Canonicalize AUTHORS and HISTORY, which were combined
+ Use more traditional and consistent %d instead of less clear X

MFC after:      3 days
DeltaFile
+31-29share/man/man4/virtio_scsi.4
+31-291 files

FreeBSD/src 7eaf7b2share/man/man4 vlan.4

vlan.4: Canonicalize SYNOPSIS + tag SPDX

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

FreeBSD/src 02f59bashare/man/man4 vmci.4

vmci.4: Canonicalize SYNOPSIS

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

FreeBSD/src 84b4054share/man/man4 vmd.4

vmd.4: Canonicalize SYNOPSIS + fix linter errors

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

FreeBSD/src 581c5d4share/man/man4 vtnet.4

vtnet.4: Add a HARDWARE section

For inclusion in the hardware release notes.

MFC after:      3 days
DeltaFile
+4-0share/man/man4/vtnet.4
+4-01 files

FreeBSD/src 2bea9dbshare/man/man4 vmm.4

vmm.4: Canonicalize SYNOPSIS + minor nits

+ Tag SPDX
+ Remove superflouous Nd quotes
+ Add "The" and "module" to introductory sentence
+ Remove a malformed "compact" specifier from a list
+ Add a missing list ending block

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

FreeBSD/src cd75419sys/dev/gpio gpioled_fdt.c

gpioled: defer gpio pin writes to a taskqueue

led(4) invoked the led_t callback with its mutex held, including from the
blink callout, so the callback must not sleep.

PR: 251032

MFC After: 1 week

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D59263
DeltaFile
+26-3sys/dev/gpio/gpioled_fdt.c
+26-31 files

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