FreeBSD/src 242346cshare/man/man4 Makefile

me.4: MFC: link if_me kernel module to its manual page.

(cherry picked from commit 46ba263d6eeb1c6029841b4c42f54912ad61de5c)
DeltaFile
+1-0share/man/man4/Makefile
+1-01 files

FreeBSD/src 51ffffeshare/man/man4 Makefile

me.4: MFC: link if_me kernel module to its manual page.

(cherry picked from commit 46ba263d6eeb1c6029841b4c42f54912ad61de5c)
DeltaFile
+1-0share/man/man4/Makefile
+1-01 files

FreeBSD/src 077da2ashare/man/man4 Makefile

me.4: MFC: link if_me kernel module to its manual page.

(cherry picked from commit 46ba263d6eeb1c6029841b4c42f54912ad61de5c)
DeltaFile
+1-0share/man/man4/Makefile
+1-01 files

FreeBSD/src ff2c98bcontrib/tzcode localtime.c zic.c

tzcode: Update to 2026a

Many thanks to Paul Eggert for adopting most of our adaptations as
optional features upstream in the previous release (2025c).

MFC after:      1 week
Reviewed by:    philip
Differential Revision:  https://reviews.freebsd.org/D55741
DeltaFile
+1,044-709contrib/tzcode/localtime.c
+470-313contrib/tzcode/zic.c
+224-199contrib/tzcode/tz-art.html
+206-192contrib/tzcode/tz-link.html
+195-188contrib/tzcode/theory.html
+224-156contrib/tzcode/private.h
+2,363-1,75722 files not shown
+3,153-2,23028 files

FreeBSD/src 67728a1etc/mtree BSD.tests.dist, usr.bin/yes Makefile

yes: Add tests

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55802
DeltaFile
+85-0usr.bin/yes/tests/yes_test.sh
+4-0usr.bin/yes/tests/Makefile
+4-0usr.bin/yes/Makefile
+2-0etc/mtree/BSD.tests.dist
+95-04 files

FreeBSD/src 96294c2lib/libc Makefile, stand/i386 Makefile.inc

build: Stop testing LINKER_FEATURES for ifunc and build-id

These features are available in all supported linkers, and we can expect
that they'll be supported by any GNU-compatible linker that we'd use to
link FreeBSD.

Reviewed by:    imp, kib
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55676
DeltaFile
+0-6lib/libc/Makefile
+0-6sys/conf/kern.pre.mk
+0-2stand/i386/Makefile.inc
+0-2sys/conf/kmod.mk
+0-164 files

FreeBSD/src bfb2fd5lib/libpmc libpmc_pmu_util.c libpmc.c, lib/libpmc/pmu-events jevents.c

libpmc: Explicitly whitelist json fields

Adds all missing Intel fields and turns jevents.c into an explicit white
list mechanism so that we no longer ignore important fields that often
invalidate the counter.  The json event parser must now parse every
field on each architecture that we support.  This has been tested by
running tinderbox and manually running jevent against our current json
repository.  As a bonus I fixed spelling errors in the AMD JSON
definitions.

Sponsored by: Netflix

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2055
DeltaFile
+100-29lib/libpmc/pmu-events/jevents.c
+19-0lib/libpmc/libpmc_pmu_util.c
+4-1lib/libpmc/libpmc.c
+1-1lib/libpmc/pmu-events/arch/x86/amdzen4/cache.json
+1-1lib/libpmc/pmu-events/arch/x86/amdzen5/load-store.json
+1-1lib/libpmc/pmu-events/arch/x86/amdzen6/load-store.json
+126-336 files

FreeBSD/src ded881ftests/sys/kern ssl_sendfile.c

tests/kern/ssl_sendfile: fix 'random' and 'basic' flakyness

The read of c.sbytes needs to be synchronized with mutex.  The problem was
fixed for 'truncate' and 'grow' with 8a9508563542, but these two suffer
from the same problem.  Provide require_sbytes(), a locked wrapper around
ATF_REQUIRE() to reduce copy and paste.

Submitted by:           olivier
Differential Revision:  https://reviews.freebsd.org/D55781
DeltaFile
+12-8tests/sys/kern/ssl_sendfile.c
+12-81 files

FreeBSD/src 35b976ctests/sys/kern ssl_sendfile.c

tests/kern/ssl_sendfile: reduce copy & paste

Provide sendme_locked_wait() for a common pattern.  Not functional change.
DeltaFile
+12-12tests/sys/kern/ssl_sendfile.c
+12-121 files

FreeBSD/src 96c5eafsys/dev/ena ena.h

ena: Update driver version to v2.8.2

Bug Fixes:
* Verify that an ENA ring is in netmap only in native mode

Minor Changes:
* Move parenthesis to correct place in switch
* Add comment
* Reorder define

MFC after: 2 weeks
Sponsored by: Amazon, Inc.
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D55698
DeltaFile
+1-1sys/dev/ena/ena.h
+1-11 files

FreeBSD/src 97e84c5sys/dev/ena ena_netmap.c

ena: Verify that an ENA ring is in netmap only in native mode

netmap operates in two modes:
1) Emulated - netmap handling is done by the network stack, the
NIC driver operates transparently to netmap.
2) Native - netmap management is done by the NIC driver.

When checking whether a specific ENA ring is running in netmap
mode, only the following checks were done:
1. IFCAP_NETMAP - Check whether netmap capability is enabled on
the device.
2. NKR_NETMAP_ON - Check whether netmap is actively using this
ring.

The above checks implied that the netmap mode is native and the
ENA driver needs to handle the netmap logic.
The code was missing an explicit check on whether native mode
is actually on (NAF_NATIVE).
This led to a case where though emulated mode was used and

    [18 lines not shown]
DeltaFile
+5-3sys/dev/ena/ena_netmap.c
+5-31 files

FreeBSD/src 2667a84sys/dev/ena ena.c ena_rss.h

ena: Minor changes

1. Move parenthesis to correct place in switch and fix include order
2. Add comment at the end of an ifdef for clarity
3. Change include order.

MFC after: 2 weeks
Sponsored by: Amazon, Inc.
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D55696
DeltaFile
+2-3sys/dev/ena/ena.c
+1-2sys/dev/ena/ena_rss.h
+3-52 files

FreeBSD/src 1a92fc9sys/dev/virtio virtqueue.c

virtio: Restore mb() calls

Until an issue seen on amd64 can be investigated restore two mb() calls
to virtio.

Reviewed by:    andrew
Fixes:  c499ad6f997c ("virtio: Use bus_dma for ring and indirect buffer allocations")
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D55766
DeltaFile
+6-0sys/dev/virtio/virtqueue.c
+6-01 files

FreeBSD/src 522012csys/dev/virtio virtqueue.c

Revert "virtio: Restore mb() calls"

This reverts commit d99e725c26a7745aa349eab01ae56ca630b6d0f5.
DeltaFile
+0-6sys/dev/virtio/virtqueue.c
+0-61 files

FreeBSD/src d99e725sys/dev/virtio virtqueue.c

virtio: Restore mb() calls

Until an issue seen on amd64 can be investigated restore two mb() calls
to virtio.

Reviewed by:    andrew
Fixes:  c499ad6f997c ("virtio: Use bus_dma for ring and indirect buffer allocations")
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D55766
DeltaFile
+6-0sys/dev/virtio/virtqueue.c
+6-01 files

FreeBSD/src 17ecafb. ChangeLog ssh-pkcs11.c, openbsd-compat bsd-misc.c

Vendor import of OpenSSH 10.2p1

Sponsored by:   The FreeBSD Foundation
DeltaFile
+146-37ChangeLog
+26-5ssh-pkcs11.c
+24-0openbsd-compat/bsd-misc.c
+0-16ssh-pkcs11-helper.c
+8-4regress/test-exec.sh
+5-4channels.c
+209-6617 files not shown
+257-7923 files

FreeBSD/src ba7439fusr.bin/yes yes.c

yes: Add missing header

This is a no-op on FreeBSD due to namespace pollution.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Fixes:          cf74b63d61b4 ("yes: Completely overengineer")
DeltaFile
+1-0usr.bin/yes/yes.c
+1-01 files

FreeBSD/src 14b8a27usr.sbin/pciconf pciconf.c pciconf.8

pciconf: Add a tree mode

This lists PCI devices in a hierarchy showing the parent/child
relationship of PCI devices and bridges.  While this is inspired by
lspci -t output, the format is closer to ps -d and also prefers using
new-bus device names when possible.  If a device does not have a
driver, the PCI selector is output in place of the device name.

When the -v flag is given, the vendor and device ID strings are output
after the device name.  If a string for an ID isn't found, the hex ID
values are output instead.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55774
DeltaFile
+252-2usr.sbin/pciconf/pciconf.c
+24-0usr.sbin/pciconf/pciconf.8
+276-22 files

FreeBSD/src 98a0d22usr.sbin/pciconf pciconf.8

pciconf.8: Reorganize slightly to handle additional modes

Move the description of the optional device argument earlier before
describing individual command modes.

Add a subsection for list mode and a second subsection for the other
modes that work with a single device.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55773
DeltaFile
+27-31usr.sbin/pciconf/pciconf.8
+27-311 files

FreeBSD/src 9a13949usr.sbin/pciconf pciconf.c

pciconf: Use the exported values of bus numbers for PCI bridges

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55772
DeltaFile
+4-8usr.sbin/pciconf/pciconf.c
+4-81 files

FreeBSD/src 7e7a1b6share/man/man4 pci.4, sys/dev/pci pci_user.c pci.c

pci: Export bus numbers for bridge devices in struct pci_conf

This exports bus information about bridges to userspace via the
less-privileged PCIOCGETCONF ioctl.  Previously if userspace wished to
query this information, it had to use direct PCI config register
access which requires higher privilege.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55771
DeltaFile
+31-1sys/dev/pci/pci_user.c
+6-0share/man/man4/pci.4
+3-1sys/sys/pciio.h
+3-0sys/dev/pci/pci.c
+43-24 files

FreeBSD/src c3ac5f1share/man/man4 pci.4

pci.4: Quote argument to -width for a list block

This fixes an mdoc warning and also properly indents this list.  While
here, update the quoted argument to be the longest tag in the list.

Also while here, correct the description of pd_numa_domain.  NUMA
domains are a property of the device, not of the driver.

Reviewed by:    ziaee, imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55770
DeltaFile
+3-3share/man/man4/pci.4
+3-31 files

FreeBSD/src c8fb165usr.sbin/pciconf pciconf.c

pciconf: Use a single enum to track the current operation mode

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55769
DeltaFile
+38-28usr.sbin/pciconf/pciconf.c
+38-281 files

FreeBSD/src 9eb035fusr.sbin/pciconf pciconf.c

pciconf: Factor out fetching of matching devices from list_devs

The new fetch_devs function fetches the entire list of PCI devices
into a single list, retrying if the list changes while it is being
fetched.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D55768
DeltaFile
+96-72usr.sbin/pciconf/pciconf.c
+96-721 files

FreeBSD/src c2012c7sys/fs/p9fs p9fs.h p9fs_vnops.c

p9fs: use atomics for updating node->flags

This should prevent seeing inconsistent flags values when updating it
under the shared vnode lock.

Noted and reviewed by:  markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55665
DeltaFile
+6-3sys/fs/p9fs/p9fs.h
+4-4sys/fs/p9fs/p9fs_vnops.c
+3-3sys/fs/p9fs/p9fs_vfsops.c
+13-103 files

FreeBSD/src 2b256f0sys/fs/p9fs p9fs_vnops.c

p9fs: locking improvements for p9fs_stat_vnode_dotl()

If the vnode is share-locked:
- Use vn_delayed_setsize() to avoid calling vnode_pager_setsize() with
  the vnode only shared locked.
- Interlock the vnode to get exclusive mode for updating the node
  fields.

Reciprocally, interlock the vnode in p9fs_getattr_dotl() to observe the
consistent values on read.

PR:     293492
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55665
DeltaFile
+39-3sys/fs/p9fs/p9fs_vnops.c
+39-31 files

FreeBSD/src 92d7808sys/fs/deadfs dead_vnops.c, sys/fs/nfsclient nfs_clport.c

vn_delayed_setsize(): post-commit review' changes

Handle doomed vnodes after LK_RETRY.
Rename the flag from VI_DELAYEDSSZ to VI_DELAYED_SETSIZE.
Change signature of vn_lock_delayed_setsize() to take flatten values
list instead of vop args structure.
__predict_true() for VI_DELAYED_SETSIZE not set.
Minor editings like removing tautological assert, and sorting items.

Noted by:       markj
Fixes:  45117ffcd533ddf995f654db60b10899ae8370ec
Reviewed by:    markj, rmacklem
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55681
DeltaFile
+25-27sys/kern/vfs_vnops.c
+6-6sys/sys/vnode.h
+3-3sys/fs/deadfs/dead_vnops.c
+1-1sys/fs/nfsclient/nfs_clport.c
+35-374 files

FreeBSD/src b5e307dsys/compat/freebsd32 freebsd32_systrace_args.c freebsd32_syscall.h, sys/kern systrace_args.c

Regen
DeltaFile
+38-0sys/kern/systrace_args.c
+38-0sys/compat/freebsd32/freebsd32_systrace_args.c
+9-0sys/sys/sysproto.h
+2-1sys/sys/syscall.h
+2-1sys/compat/freebsd32/freebsd32_syscall.h
+2-1sys/sys/syscall.mk
+91-36 files not shown
+99-312 files

FreeBSD/src 3ccc39dlib/libsys rename.2 Makefile.sys

renameat2(2): document

(cherry picked from commit 619e49b2ba58e1ffd2ab111fef6d1e87d77e7391)
DeltaFile
+65-0lib/libsys/rename.2
+2-1lib/libsys/Makefile.sys
+67-12 files

FreeBSD/src 1bb58balib/libsys rename.2

libsys/rename.2: remove commented-out CAVEAT section

(cherry picked from commit 5f911eaba017645487a1eaee3609b26a77f0f174)
DeltaFile
+0-26lib/libsys/rename.2
+0-261 files