FreeBSD git weekly: 2025-12-01 to 2025-12-07

Introduction

This is a display of mostly-automatically-classified git commits from 2025-12-01 to 2025-12-07.

Table of contents and commits per category:

(0) Highlighted commits (these are copies, not in stats)
1 0.7% Userland programs
9 6.2% Documentation
31 21.5% Hardware support
16 11.1% Networking
5 3.5% System administration
12 8.3% Libraries
1 0.7% Filesystems
26 18.1% Kernel
12 8.3% Build system
5 3.5% Internal organizational stuff
4 2.8% Testing
4 2.8% Style, typos, and comments
17 11.8% Contrib code
1 0.7% Reverted commits
0 0.0% Unclassified commits
144 100% total
Technical notes about this page

Highlighted commits

For extra visibility, these are copies of commits found in other sections. Most (if not all) come from the commit message containing "Relnotes:", or commits modifying UPDATING.

-- no commits in this category this week --

Userland programs

Commits about commands found in man section 1 (other than networking).

fsync: Open files in non-blocking mode
This avoids blocking forever when invoked on a fifo.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D54084
69e041521a80a0b8950f6ec25269a9c3949d6590 Dag-Erling Smørgrav 2025-12-05 14:57:44

Documentation

Man pages, release notes, etc.

dtrace.1: remove sparc
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>

Reviewed by:    markj
MFC after:      1 week
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1907
507cfc42799f38d6960cd3a14eb66294c5fda4ff Minsoo Choo 2025-11-30 19:01:14
msconvd(8): Drop mentions of Bus/InPort mouse support in manual page
mse(4) was removed long ago.

MFC after:      1 month
dc6f609685a9bc41c67d3c1219311e0096982865 Vladimir Kondratyev 2025-12-01 21:09:00
release.7: PKGBASE is now the default
Signed-off-by:        polyduekes-git <polyduekes@proton.me>
Reviewed by:    cperciva, emaste, ziaee
Closes:         https://github.com/freebsd/freebsd-src/pull/1913
df815450fbdb494c85ca0c53f43cf9cee59e7dd1 polyduekes 2025-12-02 13:53:43
freebsd-base.7: Rewrite table into a tagged list
The table is not playing nicely with
https://man.freebsd.org/freebsd-base

MFC after:              3 days
Reviewed by:            pauamma@gundo.com
Differential Revision:  https://reviews.freebsd.org/D54036
39b2ca9ec99eded0b248082dcec6c843f40330a8 Alexander Ziaee 2025-12-02 17:21:08
kqueue(9): document f_copy
f_copy controls whether and how a knote is inherited by the child
process.

Sponsored by:           Netflix
Reviewed by:            kib
Differential Revision:  https://reviews.freebsd.org/D53845
618347747494f0c0842edbdfe29bacf533b10d0f Warner Losh 2025-12-03 04:40:47
vidcontrol.1: Video buffer dump is syscons only
Fixes:                https://cgit.freebsd.org/src/commit/?id=1f4442f71fa3 (be explicit that -p and -P are sc(4) only)
MFC after:      3 days
Reviewed by:    ziaee
Differential Revision:  https://reviews.freebsd.org/D53878
9ec8196f68bac015965164f7f1a65c619bab4e85 Pau Amma 2025-12-04 03:28:17
pfind(9): follow-up fixes and improvements
(Found on a branch from a year ago.)

- Adjust NAMEs
- MLINKS: add pfind_any.9, pfind_any_locked.9; remove old zpfind.9
- Reword the description of pfind_any() so that it doesn't imply only
  zombie processes are returned
- Fix a comma
- Use .Dv for the macro PRS_ZOMBIE
- Move the (logically separate) final statement to a new paragraph
- .Xr to pget(9)

Reviewed by:    0mp
Fixes:  https://cgit.freebsd.org/src/commit/?id=07d78399eb79 ("pfind(9): Update to recent behavior")
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D53548
2ace05b65a2c912888aeec921fc6f990a5c36909 Mitchell Horne 2023-01-28 18:48:33
freebsd-base.7: Document the optional set
MFC after:    3 days
Reviewed by:    ziaee, emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D54065
ce8dc5b12451e9922ab827dfe3d10abcd6e85165 Lexi Winter 2025-12-05 02:43:51
certctl.8: Prefer the new TRUSTDESTDIR variable
With the reimplementation in C of certctl, the environment variable
previously known as CERTDESTDIR was renamed to TRUSTDESTDIR for
consistency.

Although the previous variable is still valid, prefer the new one, as it
is described in the manual page, while the old one is not.

Reviewed by:    des
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D54044
5c7176bba30ab3b250177cba3923bdc84b68a7c7 Jose Luis Duran 2025-12-05 17:36:49

Hardware support

Hardware drivers and architecture-specific code.

ufshci: add helper to convert SCSI LUN to UPIU LUN formats
Reviewed by:          imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53919
3e3d7e590566c7e1a55bfb0f084c9f64c6c46898 Jaeyoon Choi 2025-12-01 04:38:24
ufshci: Enable WLUN scan
QEMU ufs device does not implement WLUN, so QUIRK is added.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53921
5e0d065b5b90d4f4264d8248f39f199f1a2576dc Jaeyoon Choi 2025-12-01 04:39:14
cam/scsi: Add power condition support to START STOP UNIT
This patch adds a power_condition parameter to the
scsi_start_stop() function and sets the power condition via SSU.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronic
Differential Revision:  https://reviews.freebsd.org/D53922
8c35de4982d855950a900483513f341643f6158f Jaeyoon Choi 2025-12-01 04:39:35
ufshci: Add a check for WLUN during driver initialization
This patch checks whether wlun is registered as a periph device.
It also implements a function to issue an SSU.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53923
31407551c3d4d29905f77abddac3fd9b649e166b Jaeyoon Choi 2025-12-01 04:39:49
evdev: Allow setting of character device ownership and access mode
by device driver. That is required as game pad and joystick events have
to be accessible by ordinary users.

MFC after:      1 month
ecccc9d99901dd874e8d122853026d7c28fa4fcf Vladimir Kondratyev 2025-12-01 20:42:14
hid: Make game controllers accessible to members of the game group
Their events have to be accessible by unprivileged users via e.g. libsdl.

MFC after:      1 month
b6cad334e649f49c57da52b139de353ad9078985 Vladimir Kondratyev 2025-12-01 20:42:15
psm: Fix three finger tap on elantech v4 touchpads
Fix an issue where a three finger tap would generate additional events
when fingers moved slightly during the tap.

Signed-off-by:  Robert Wahlberg <freebsd@robertwahlberg.se>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1792
Reviewed by:    wulf
MFC after:      1 month
e3201cec8381c0582374f93991eff4a71bb95e9b Robert Wahlberg 2025-12-01 20:42:15
evdev: Sync event codes with Linux kernel 6.18
MFC after:    1 month
8d9a5d44b155af7123893a6948ad7e86b48c57b3 Vladimir Kondratyev 2025-12-01 20:42:15
Fintek F81232 USB to serial driver
Driver for Feature Integration Technology Inc. (aka Fintek)
F81232 USB to serial driver.

Reviewed by:    thj,adrian,UB
Approved by:    adrian
Differential Revision:  https://reviews.freebsd.org/D53893
791c531402bd36252532a11c317fb6a5fdb9c000 Diane Bruce 2025-12-02 01:12:21
powerpc/_stdint.h: fix SIG_ATOMIC_{MIN,MAX,WIDTH}
On powerpc/powerpc64, sig_atomic_t is an int, but was treated as if
it was a long by <machine/_stdint.h>.  This was finally caught by the
unit test added with 4a1c752 / D53831.

Reported by:    kib
Reviewed by:    kib, imp
Approved by:    markj (mentor)
Fixes:          https://cgit.freebsd.org/src/commit/?id=c3e289e1ce8c9af8d14e9f727632e22b3bf901f9
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54026
f417c9ed6642836c386c922d6e184b618d28127d Robert Clausecker 2025-12-02 00:59:05
nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident
These buffers should not overlap.

Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D53842
44d6df4f65b1441cf9cd9f12cd41edd52205d084 John Baldwin 2025-12-02 15:57:08
Commit group #0: ufshci
ufshci: Support suspend/resume

Handle system power events and issue START STOP UNIT (SSU) to the
UFS Device WLUN (0x50).

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D54002
3a99f31fdb6c66434f77d83ca5166aae4ad2d22c Jaeyoon Choi 2025-12-03 04:05:36

ufshci: Support UIC hibernation enter/exit

Add helpers to issue DME_HIBERNATE_ENTER/DME_HIBERNATE_EXIT and
call them during suspend/resume.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D54003
bec77e3a160dba10cbc30416f53a506ca2b9301f Jaeyoon Choi 2025-12-03 04:05:51

ufshci: Support UIC Auto Hibernation

Automatically transition the UniPro link to Hibernate when it is idle
for the duration configured by the Auto-Hibernate Idle Timer (AHIT).
This reduces link power while the device is inactive.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D54004
db8b06468baefb9d9b5db5f91084d85071bfb5cb Jaeyoon Choi 2025-12-03 04:06:01

ufshci: Add a Auto Hibernate quirk to Intel Alder Lake-N

Alder Lake-N supports Auto Hibernate, but it does not work.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D54006
0e60cb8c6a4e9cf943b7360cbd9e9a390f545a10 Jaeyoon Choi 2025-12-03 04:06:09
armv7: Tweak some armv6 removals
Fixes: https://cgit.freebsd.org/src/commit/?id=42421307b115 (sys: remove armv6/6.1 support from debug monitor)
Suggested by:   jhb
Sponsored by:   Netflix
b033e3684fd14c798405420449eb55e1d4f9df1e Warner Losh 2025-12-03 05:29:42
ofw: Add ofw_bus_is_machine_compat().
We need a quick way to identify a given machine (SoC), mainly when
implementing quirks for a given SoC.

MFC after:      2 weeks
Reviwed by:     imp
Differential Revision:  https://reviews.freebsd.org/D53992
d14a985898eebd3bda8bb30c4078bde3ebd135f2 Michal Meloun 2025-11-06 18:50:52
ARM GICv3: Add support for non-coherent and/or bus address range limited DMA.
Due to an implementation bug, the GICv3 and ITS master ports may be connected
to a non-coherent bus. The new DT resolves this issue by marking these ports
with the "dma-nocoherent" attribute. The older DT does not have this attribute,
so we must match the affected SoC.
Additionally, the RK356x family has GIC master ports on a 32-bit bus.
Therefore, we must limit the address range for all tables and command buffers
allocated for it. In this case, the DT does not have an attribute for this
case, so the quirk should only be applied by SoC matching.

MFC after:      4 weeks
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D47488
62e1227219f2f79a2ed7a672149dc3d774d25dd4 Michal Meloun 2025-11-06 18:56:10
ofw: Fix 64-bit arithmetic in cpufreq_dt.c.
MFC after: 3 weeks
ef8a0ef2aa97650f37052719496bfbe4ab97a019 Michal Meloun 2025-12-02 12:02:39
riscv/pmap: Handle superpages in pmap_extract_and_hold()
Without this change, vm_fault_quick_hold_pages() falls back to the slow
fault handler when it encounters a superpage mapping.

Reviewed by:    alc, kib
Reported and tested by: br
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54022
20a0a2f8f36f5db704b674106fa61d8d95b6b071 Mark Johnston 2025-12-03 13:41:30
ichsmb: shutdown interrupts to prevent spurious interrupts after kexec
Obtained from:        Hewlett Packard Enterprise
Rebiewed by:    jhb, jhibbits
1ba6fd3de531a3e731d33e9ad376ce3fa602e866 John-Mark Gurney 2025-12-03 21:19:10
nvme: Fix devd logging of SMART_ERROR
Remove extra arg so that we have type=SMART_ERROR rather than an invalid
message. Also log all aens.

Sponsored by:           Netflix
a8b0208e7e989c0876f73e1953f66542678b9004 Warner Losh 2025-12-04 04:05:06
Commit group #1: pmc
pmc: add alderlake model

The commit 601925180df4 added the models 6-B7, 6-BA, 6-BF to libpmc, but
they must also be added to the hwpmc module to allow pmc to work on
those CPUs.

Reviewed by:    mhorne
MFC after:      1 week
Fixes:          https://cgit.freebsd.org/src/commit/?id=601925180df4 ("libpmc: add more alderlake models")
Sponsored by:   Stormshield
Differential Revision:  https://reviews.freebsd.org/D49255
057dae35ffc6b17dacc84fa21921e93a17ce12b0 Anaëlle CAZUC 2025-12-04 17:32:39

pmc: add emerald rapids model

This commit adds emerald rapids CPU model to hwpmc/libpmc. JSON event
definitions are imported from Intel perfmon version 1.06.

Reviewed by:    mhorne
MFC after:      1 week
Sponsored by:   Stormshield
Differential Revision:  https://reviews.freebsd.org/D49228
51a01f3debff8abf63c7cc21db9523c8feb53823 Anaëlle CAZUC 2025-12-04 17:36:32

pmc: add alderlaken model

This commit adds alderlaken CPU model to hwpmc/libpmc. JSON event
definitions are imported from Intel perfmon version 1.16.

Reviewed by:    mhorne
MFC after:      1 week
Sponsored by:   Stormshield
Differential Revision:  https://reviews.freebsd.org/D49229
ca3e47b0ea68664c7e10e1c3e28c5ac7d9932c21 Anaëlle CAZUC 2025-12-04 17:52:23
Commit group #2: xhci
xhci: Add some Alder lake device ids

Reviewed By:    aokblast
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52994
f327659e045019ac36f32c952c9df723927c3da9 Tom Jones 2025-12-05 10:04:58

xhci: Correct name of HCCPARAMS Register

On inital import the name of HCCPARAMS1 was misnamed as HCSPARAMS0.
HCCPARAMS1 is defined in section 5.3.6 of xHCI Specification 1.2b (April
2023).

Reviewed by:    adrian
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53895
234351604252cec485992cb7f5e76aa98c0a4380 Tom Jones 2025-12-05 10:07:46

xhci: Add header values for Debug Capability (DbC)

Add header values for xHCI debug capability. These values are defined in
section 7.6 of xHCI Specification 1.2b (April 2023).

Reviewed by: imp
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53897
a0dd6022391aa33b035962d69965ef506cc46a20 Tom Jones 2025-12-05 10:09:30
ice(4): Add support for 40G maximal PMD speed
E823 backplane devices may support 40G as maximal PMD speed.
Extend port topology reading logic to handle this case.
While at that fix indentation according to FreeBSD style(9).

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>

Tested by:      gowtham.kumar.ks_intel.com
Approved by:    kbowling (mentor), erj (mentor)
Sponsored by:   Intel Corporation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53587
c6212b7da110d82b1d0086ec525deb216993021e Krzysztof Galazka 2025-12-05 22:02:45
nvme: Improve error message for invalid format value
Improve the wording of the invalid namespace value. Reword the comment
and move a line of code to the block it logically belongs to.

No functional changes intended.

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D51393
f5b812331db52783292e89192a04195031132c23 Warner Losh 2025-12-05 23:17:40
nvme: Rename NVME_NS_ADDED to NVME_NS_ALIVE and _CHANGED to _DELTA
NVME_NS_ADDED will conflict with a later change, so change it here.
Likewise NVME_NS_CHANGED.

Sponsored by:           Netflix
10efa7c3020909391255819bb38bd87478aa2b19 Warner Losh 2025-12-05 23:17:53

Networking

Network-related commands, library, and kernel.

pf: use correct sized variables in pf_change_icmp()
We're updating 16-bits checksums here, so should use a 16-bit integer,
not a 32-bit one.
No functional change.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
d6f1acf94d3a1b310318ea3ff6c4f4b33bc8e85d Kristof Provost 2025-12-01 10:06:24
pfsync: fix incorrect unlock during destroy
During pfsync_clone_destroy() we clean up pending packets. This
may involve calling pfsync_undefer() or callout_drain(). We may not
hold the bucket lock during callout_drain(), but must hold it during
pfsync_undefer().

We incorrectly always released the lock, leading to assertion failures
during cleanup if there were pending deferred packets.

MFC after:      1 week
Sponsored by:   Orange Business Services
639e65144aa71cb03b5431861803f528308760dc Kristof Provost 2025-12-01 21:30:56
netinet: Remove left-over sys/cdefs.h
These were for $FreeBSD$ that was removed a while ago, but these
includes didn't get swept up in that. Remove them all now.

Sponsored by:           Netflix
MFC After:              2 weeks
7b71f57f4e514a2ab7308ce4147e14d90e099ad0 Warner Losh 2025-12-03 05:02:10
divert: Use CK_SLISTs for the divcb hash table
The hash table is accessed in ip_divert_packet(), and there the accesses
are synchronized only by the net epoch, so plain SLIST is not safe.

Reviewed by:    ae
MFC after:      1 week
Sponsored by:   OPNsense
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D54011
74f7e916211acafd10af05efd893ccbac1881119 Mark Johnston 2025-12-03 13:43:04
Commit group #3: tcp: store flowid info in syncache
tcp: store flowid info in syncache

Now retransmissions by syncache would use correct flowid, same as
synchronous responds.

Reviewed by:            tuexen, gallatin
Differential Revision:  https://reviews.freebsd.org/D51792
73fe85e486d297c9c976095854c1c84007e543f0 Gleb Smirnoff 2025-12-03 23:15:34

6f4debc004c31a2bd846757859e67855ab3d4c8d Gleb Smirnoff 2025-12-06 16:32:08
tcp: don't set flowid in tcp_input()
With dd0e6bb996dc setting it always on connect(2) and syncache always
picking up the flowid from the incoming packet, any ESTABLISHED connection
shall have the flowid already set.

Reviewed by:            tuexen, gallatin
Differential Revision:  https://reviews.freebsd.org/D53886
ee18f8be21655c2d98c1c1bd4e081c366fa91c9a Gleb Smirnoff 2025-12-03 23:15:45
Commit group #4: bpf
bpf: retire struct bpf_if_ext

The struct was used for bpf_if to bif_dlist masking, that is used to
optimize bpf_peers_present() call.  The only functional change here is
that bif_dlist and bif_next swap their places in the structure.  Both
belong to the first cache line anyway.

Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D53867
57673d166940feafe09f411294b57fa6c8af3585 Gleb Smirnoff 2025-12-03 23:16:15

bpf: calculate net.bpf.stats buffer size dynamically

This removed the global counter, that was updated in a racy manner.

Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D53868
845896655815eaf339953e2aa48d79ca4539874b Gleb Smirnoff 2025-12-03 23:16:33

bpf: global bpf list doesn't need CK

All accesses to this list are done with the global lock held.  The
CK connotation is just confusing the reader.

Fixes:                  https://cgit.freebsd.org/src/commit/?id=699281b545a8a3fc5109b5f2db62d261b65b588b
Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D53869
72ca89482afcdec7db1d7555bdb3505498c729c2 Gleb Smirnoff 2025-12-03 23:16:50
pf: make unhandled_af() inline
Otherwise you just can't include pfvar.h without compiling pf in.

Reviewed by:            kp
Differential Revision:  https://reviews.freebsd.org/D54064
215c58a1c677aa191db9afcc1d75d7ba13426a7f Gleb Smirnoff 2025-12-04 16:29:17
net: routing table attach never fails
c7f05ef8247878c6cd565a71039ec49f202c22fd Gleb Smirnoff 2025-12-04 19:12:03
pf: convert DIOCRGETASTATS to netlink
Sponsored by: Rubicon Communications, LLC ("Netgate")
08f54dfca1970b1e014c99c7f8fc806b949267af Kristof Provost 2025-12-04 14:27:27
tcp: retire do_newsack - always adhere to RFC6675 SACK
Depreciation notice for net.inet.tcp.newsack is in 15.0.
Remove this tunable for HEAD, streamlining the code slightly.

Reviewed by:    tuexen, cc, nickbanks_netflix.com, #transport
Sponsored by:   NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D54072
9155d4b273ffc07e81e2cb0bcedfac570d14a303 Richard Scheffenegger 2025-12-05 11:29:15
netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK
It is not clear what exactly this function is locking against.  Seems
like just use some generic interface lock.  The IF_AFDATA_LOCK goes
away soon together with if_afdata[], so put at least something in its
place.
59062fd0b2f1a159a94f97cd05a76f66eb40837c Gleb Smirnoff 2025-12-05 16:29:00
netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK in defrtr_ipv6_only_ifp
It is not clear what exactly this function is locking against.  Seems
like just use some generic interface lock.  The IF_AFDATA_LOCK goes
away soon together with if_afdata[], so put at least something in its
place.  Note that this code is dead anyway (#ifdef EXPERIMENTAL).
8291ea8761c2d686d43f14c08ec0e644673b28f3 Gleb Smirnoff 2025-12-05 16:29:00

System administration

Stuff in man section 8 (other than networking).

pfctl: restore '-Tload -f pf.conf' functionality
Allow only tables to be loaded from a file, rather than everything (i.e.
including options, rules).

Add a test case for this.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291318
MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")
7a283c40188ff7b0a4bae1a47bbd9ecc17ded132 Kristof Provost 2025-12-01 15:05:09
rtld-elf: Mark LD_SHOW_AUXV insecure
This prevents dumping the memory layout of setugid processes.

MFC after:      3 days
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54033
5242bcff202fa2a5a39895423c8d8c11c02ad76a Dag-Erling Smørgrav 2025-12-03 10:09:31
snmp_pf: use the libpfctl wrapper to retrieve astats
Extend the test case to verify this works as expected.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
f6aa57c86b6239e1f8c8ff50f28c9d0ed1af2ce3 Kristof Provost 2025-12-05 10:23:45
freebsd-update: Mention upgrading packages, not just ports
These days most end users are likely using pre-built packages, not
locally-built ports. Thus be sure to mention this as an important case,
and put it ahead of ports.

Reviewed by:    emaste
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D42968
ced74610217ff0be071e4614c64a4ff66c40bc6b Jessica Clarke 2025-12-06 00:33:20
sndctl(8): Do not free and re-open device
There was a reason for this, but it does not apply anymore.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54031
643a606fa2742b94f6eca620119b7d2686ca9cd3 Christos Margiolis 2025-12-06 14:28:08

Libraries

libuvmem: usermode port of vmem(9)
The quantum cache is disabled, there is no uma.

Intent is to use this for resource allocation in bhyve(8), for start.
Addition of -luvmem to bhyve linking was done to test changes to share/mk.

Reviewed by:    bnovkov, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D27220
1ecf01065b45018de3901c8bf89d703af737feeb Konstantin Belousov 2020-12-21 17:41:34
Commit group #5: librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping
librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping

By default ibv_devices and rping are not statically bound to
libbnxtre.so.1. i.e. 'ldd /usr/bin/rping' command doesn't list
'libbnxtre.so.1' entry. So, statically bound the libbnxtre.so.1
library to rping & ibv_devices utils.

MFC-After:      3 days
Reviewed-by:    sumit.saxena@broadcom.com
Differential-Revision: https://reviews.freebsd.org/D49604
35dd53a9e13265f7a479649776453efc5b737a0f Sumit Saxena 2025-12-03 11:28:33

libpcap: Fix dependency definitions for libpcap

Commit 35dd53a9e132 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping")
causes a build failure, since src.libnames.mk declares a depencency on
libbnxtre.so, but the libpcap Makefile and prebuild lib dependencies
were not updated accordingly.  Fix the declarations.

Fixes:  https://cgit.freebsd.org/src/commit/?id=35dd53a9e132 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping")
Reviewed by:    ssaxena
Differential Revision:  https://reviews.freebsd.org/D54048
73e8fe62466a8ae5576473d9be4c6df9a6eedab0 Mark Johnston 2025-12-03 14:26:50

Makefile.inc1: Fix the libbnxtre dependency target

Reported by:    Jenkins
Fixes:          https://cgit.freebsd.org/src/commit/?id=73e8fe62466a ("libpcap: Fix dependency definitions for libpcap")
e19230d49ffc02944d93645800da934b7aeee078 Mark Johnston 2025-12-03 15:06:54
libc/stdc_has_single_bit.c: fix gcc warning (-Wparentheses)
gcc14 is concerned that the operator precedence between - and & might
be confusing.  Throw in some redundant parentheses to make it shut up.
The LLVM build was fine before this change.

Reported by:    Martin Filla <freebsd@sysctl.cz>
Approved by:    markj (mentor)
MFC after:      1 month
Fixes:          https://cgit.freebsd.org/src/commit/?id=6296500a85c8474e3ff3fe2f8e4a9d56dd0acd64
Differential Revision:  https://reviews.freebsd.org/D54057
3d71ce92eae9f1417f35a0d07912858fd8f6fa0b Robert Clausecker 2025-12-03 18:36:27
ncurses: readd "bsdpads"
During the import of ncurses 6.5 some bsd specifics configuration where
lost and reintroduce quickly after the import, unfortunatly there was a
typo in this fix which caused the "bsdpads" to not be enabled in
ncurses.

Fortunatly only very old programs may be affected by this change,
unfortunatly Nethack (in the ports tree is one of them.)

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287358
MFC After:      3 days
836a0d46320c18d83029bf138b630b6ce5ebe6ae Baptiste Daroussin 2025-12-05 10:18:48
pfctl: move astats query into libpfctl
Sponsored by: Rubicon Communications, LLC ("Netgate")
4aa79010bceafdeecb11c2d95bba48d0f6b295f5 Kristof Provost 2025-12-02 16:24:44
cldr2def.pl: Add international currency parameters
Add the missing international monetary parameters present in the lconv
struct.

See also https://unicode-org.atlassian.net/browse/CLDR-237.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53915
faf33e05013fb3fc79cc035c1ff7b52f3fa1af1b Jose Luis Duran 2025-12-06 12:20:16
locale: make build to bump widths.txt
Reviewed by:  bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53916
30aa5507f349f761770c5cf49989d6cf7eb3498d Jose Luis Duran 2025-12-06 12:20:16
locale: make posix
Run make posix to generate monetary definition files with the
international parameters missing from localeconv(3)'s lconv struct.

Manually convert the "frozen" non-unicode locales under share/monetdef.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53917
9df8243a2e0ab1ef027cbfbcb4105f5f0ce108e1 Jose Luis Duran 2025-12-06 12:20:17
cldr2def.pl: Fix make install
Follow up on 86c71e97d19f ("pkgbase: locales: Also tag the files dir"),
and adapt cldr2def.pl script in order to fix make install.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53961
95f37aa3e51ce46821059b2c9dbb02fef5c4bec5 Jose Luis Duran 2025-12-06 12:20:18
locale: tools: Make finalize idempotent
The finalize script renames source files with 3 components in their name
into names with two components with an @modifier, in the process.

Running the script for a second time without cleaning will strip the
@modifier from the files, producing invalid Makefiles and unusable
locales.

Prevent this by adding a guard at the beginning of the script.

Also, use a sub-shell for directory changes to avoid working directory
issues.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53981
934364da7fc8cd3ba4d030d0478163b41dda1b37 Jose Luis Duran 2025-12-06 12:20:19

Filesystems

zfs: world changes after 89f729dcc merge
Remove, unbind and obsolete libuutil and libtpool
Update zfs_configh and zfs_gitrev.h
8b78d412aec7f9171ecc2e1cd8aea07b19b4f600 Martin Matuska 2025-12-07 22:09:12

Kernel

Kernel stuff (other than networking, filesystems, and drivers).

cam/scsi: Support well known logical unit
This patch adds an additional state to probe well-known logical units
before probing normal logical units.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D53920
ba963776199f84775388a03d072121bf93707020 Jaeyoon Choi 2025-12-01 04:38:52
linker: Avoid invoking eventhandlers on incompletely loaded files
We do not invoke the kld_load eventhandler until after the file is fully
linked, so don't invoke the kld_unload_try or kld_unload event handlers
unless the file is fully linked either.

In my case, the dtrace SDT kld_unload_try handler was running before
relocations were processed against the file, and that caused problems
when sdt_kld_unload_probes() accesses elements of a linker set.

Move the kld_unload handler invocation earlier, to after sysuninits have
been run.  This is a bit more consistent with the kld_load handler.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291238
Reviewed by:    imp, emaste, kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D53938
72b114169bd56ec157d746a2df87b3a4617065b3 Mark Johnston 2025-11-26 18:15:48
kexec: Change shutdown handler priority
The kexec shutdown handler should run after everything else, but before
the other platform shutdown handlers.  With (SHUTDOWN_PRI_DEFAULT - 150)
priority it would run before anything else, including all the device
shutdown handlers.  Change to (SHUTDOWN_PRI_LAST - 150) where it
belongs.

Sponsored by:   Hewlett Packard Enterprise
882821b78faecaffdecac8fdcd943ee2e1053ee7 Justin Hibbits 2025-12-01 16:50:30
kern/subr_vmem.c: convert explicit vmem_list_lock use to macros
Reviewed by:  bnovkov, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D27220
202292ef107834bfdbec357a9d1a88b9fcf9ceaa Konstantin Belousov 2025-10-14 17:13:46
kern/subr_vmem.c: remove unused VMEM_TRYLOCK() macro
Reviewed by:  bnovkov, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D27220
305e33d4c6edd735590909161ff0847e73e68b66 Konstantin Belousov 2025-10-16 23:53:41
LinuxKPI: pci: undo the pci_resource_len() check in lkpi_pci_request_region()
Creating non-passthru SR-IOV interfaces on a mlx5en(4) failed.
The problem lies in the pci_resource_len() call but not that the BAR length
is tmeporary 0 but in that we call lkpi_pci_get_bar() with a true argument
which will create the BAR resource for us and report the approriate length
back.  However, the later call to bus_alloc_resource_any() will then fail
given the resource already exists.

Restore the previous behaviour and let bus_alloc_resource_any() do the
work.  Adjust the return values from -ENODEV to -EBUSY to match callers
expectations.

In linuxkpi_pcim_request_all_regions(), like in linuxkpi_pci_request_regions(),
filter out the -EBUSY errors as "not an error" and try the next bar.
This also seems to be consistent with the expectations of the callers.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290793
Reported by:    David BOYER (jcduss13 gmail.com)
Tested on:      mlx5en, iwlwifi, mt7921
Reviewed by:    kib
Fixes:          https://cgit.freebsd.org/src/commit/?id=7e21158d44cd "implement [linuxkpi_]pcim_request_all_regions()"
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D53902
ed29ffd396e522a45ab1980c12a75b3409b51712 Bjoern A. Zeeb 2025-12-02 16:04:22
LinuxKPI: 802.11: when synching HT and VHT cap, mask rx_mcs
When we sync the sta data, mask the rx_mcs with what the hardware is
able to do so that we do not leave, e.g., a 2nd stream enabled on a 1x1
chipset.
iwlwifi(4) has a further check for the smps_mode to limit to NSS=1 but
I believe that is historic and not actually in use anymore.

This fixes firmware crashes on TLC updates with nss=1 but the nss=2 array
index also being populated (with HT/VHT80/160 mcs information):
data being populated:
  iwlwifi0: 0x20101A0D | ADVANCED_SYSASSERT
  iwlwifi0: 0x00000006 | umac data1
  iwlwifi0: 0x00000001 | umac data2
  iwlwifi0: 0x000003FF | umac data3
  iwlwifi0: 0x____050F | last host cmd

Reported by:    Claudio Zumbo (claudiozumbo gmail.com), Erik Power
Tested by:      Claudio Zumbo, Erik Power (eppower umich.edu)
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290622
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
adb4901ac9ae6c2ceb4194d139ed3176f6ed5e55 Bjoern A. Zeeb 2025-11-28 23:10:45
Commit group #6: LinuxKPI
LinuxKPI: page.c: remove a spurious character from a comment

No functional changes.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
45d8bfdcba37996993748f4667646f5dc9f54506 Bjoern A. Zeeb 2025-12-03 00:45:39

LinuxKPI: 802.11: make airtime fairness an IMPROVE

We are ways away from implementing "airtime fairness" in LinuxKPI
(or rather net80211).  For now make it an 'improve' rather than a
'todo' to get the logging away.  Everything will work without it.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
86bfe5b4d5a7b90d3746059dd1f87cdd5a0bf90c Bjoern A. Zeeb 2025-12-03 00:55:36

LinuxKPI: device: add a pr_debug("TODO") call to device_release_driver()

The logic in device_release_driver() got disabled in 93b14194acaf2
and since left alone.  Add a pr_debug() call so we have a chance to
notice if that code is actually still in need to be fixed and re-enabled.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
fc9666d0fc0c2541e44bfbcaa5bb1b670395687c Bjoern A. Zeeb 2025-12-03 01:09:24
arm64: Add missing dtrace_isa.c
MFC after:    1 week
3e7d3361dd2491e2dc4b0b05c09b8fab4beaadc5 Michal Meloun 2025-11-08 14:02:47
Commit group #7: LinuxKPI
LinuxKPI: 802.11: fill in more skeleton functions

Some of these are used by mt76 and while I was here and it only was
a handfull I figured I should just clean this all up.

There is one problem in that between 802.11az and 802.11-2024 action
frame formats have changed;  I got compile errors from iwlwifi(4) given
I updated them to -2024 so we remain on older versions for the moment.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
af22833348c6c7ffed0186651437b5f50be1550b Bjoern A. Zeeb 2025-11-29 03:19:47

LinuxKPI: 802.11: move ieee80211_offload_flags

Move the enum and leave a comment on the struct member for the vif
about the type.

No functional changes.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
b10ff7ed37a9b891bec7e1093e44fa7abb2054b4 Bjoern A. Zeeb 2025-12-03 00:58:03

LinuxKPI: mt76: depend on CONFIG_NET_MEDIATEK_SOC_WED

If CONFIG_NET_MEDIATEK_SOC_WED is not set then be silent;  if
CONFIG_NET_MEDIATEK_SOC_WED is set we will enable logic or rather te
pr_debug("TODO") calls for now.

Spsonsored by:  The FreeBSD Foundation
MFC after:      3 days
51c73fc5f5dd95c6a0e3d232091a732a14c7ecc9 Bjoern A. Zeeb 2025-11-25 17:20:50
sendfile: remove SF_SYNC in FreeBSD 16.0
575efcfff22f5d75fc3ac6201f11e5eae46ec9ce Gleb Smirnoff 2025-12-04 16:37:10
Commit group #8: net: remove dom_ifmtu
net: remove dom_ifmtu

It is a remnant of a network stack design that was supposed to support
multiple network protocols.  Today it is clear that we are left with IPv4
and IPv6 only.  Only IPv6 may have an MTU different to the interface MTU.
fd131b47f20dbeb515f5e3e6ea87948f2638eda9 Gleb Smirnoff 2025-12-04 19:14:34

a83191c928cde55f45f2ed4b55e80c07c0e84105 Gleb Smirnoff 2025-12-06 16:23:19
thread0: Stop calling thread0 "swapper"
Just leave it as "kernel".  While here, replace "parked" with "-" (the
typical wait channel for idle threads).

Reviewed by:    olce, kib, markj
Differential Revision:  https://reviews.freebsd.org/D54039
431b3b224db2a69d09c359ce1cfb37ba3da4705c John Baldwin 2025-12-04 19:52:59
sys: Remove/update references to the swapper process in various comments
Reviewed by:  olce, markj
Differential Revision:  https://reviews.freebsd.org/D54051
f6910b09a2302df9b3b1666deb89037c831a4e4c John Baldwin 2025-12-04 19:52:59
MAC: Rename mac_cred_create_swapper to mac_cred_create_kproc0
Reported by:  markj
Reviewed by:    olce
Differential Revision:  https://reviews.freebsd.org/D54052
61ffc1bf8c4288c18d0ef86877e2558fa7ae3e13 John Baldwin 2025-12-04 19:52:59
cam: set reladr in scsi_read_capacity_16
The reladr field wasn't being set, so pmi and reladr args were
nops. That's OK, because they are passed as 0 in the one place in the
tree we use this.

Sponsored by:           Netflix
c3ea7bfc72b712809228bb17b4c58b295b91920c Warner Losh 2025-12-05 07:11:18
bus: Return 0 if reading an ivar fails
In the non-INVARIANTS case, return 0 rather than stack garbage if
reading an ivar fails (in the INVARIANTS case, we still panic).

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    jhb
Differential Revision:  https://reviews.freebsd.org/D54078
4c2295c15860e70c8bd3f05f9229d2fc40dfd50d Dag-Erling Smørgrav 2025-12-05 14:57:37
sys/dts/arm/ufs.dts: fix compile error
Fix compile error due to the include file am33xx.dtsi has been moved.
The Linux device-tree archive has split the general directory
(ARM/ARM64...) into vendor specific subdirectories since Linux 6.5.

Reviewed by: kp
Approved by: manu (mentor)
Differential revision: https://reviews.freebsd.org/D53894
9c5b56aa03cc761b94d4f9986076fd72aad38f57 Oskar Holmlund 2025-12-05 17:27:57
linuxkpi: Add dummy <linux/percpu{,-defs}.h>
There are no consumers right now except the upcoming <linux/eventfd.h>.
This is meant to reproduce the same includes as Linux, in case consumers
of <linux/eventfd.h> implicitly rely on namespace pollution.

Reviewed by:    bz, emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50851
112a6912e1c99439a7e2a75f3961e18f3b800c6e Jean-Sébastien Pédron 2025-05-26 18:10:51
LinuxKPI: ath10k: adjust for led changes to keep ath10k compiling
Add the conditional compile time option defaulting to off as we do
not support leds in LinuxKPI to ath10k for the new file.

Add empty struct gpio_led to LinuxKPI.

MFC after:      3 days
fe7b6fc32455389d1b8452c67e1ddcfbc4e5f5cc Bjoern A. Zeeb 2025-12-06 09:57:06
ip6: Add explicit lock order information to catch LOR
Over the past several years, we have had sporadic reports of a lock
order reversal between the tcphash lock and the in6_ifaddr_lock.
These seems to be hard to reproduce reliably, and the WITNESS backtrace
points to code which uses the correct locking order.

This commit adds the correct lock order explicitly to help us detect
the call stack which uses the incorrect locking order.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289184
Reported by:    bz, gbe
Reviewed by:    bz, glebius
Differential Revision:  https://reviews.freebsd.org/D54088
3f10e5985044001a68761995474f1100aca648e1 Jonathan T. Looney 2025-12-05 17:34:31

Build system

libc: Fix TESTSDIR for new stdbit tests
Otherwise the directory created by etc/mtree/BSD.tests.dist, which is
where these belong, and referred to by the generated Kyuafile for
/usr/tests/lib/libc (via stdbit's existence in TESTS_SUBDIRS), ends up
empty with no Kyuafile, which is an error for kyua.

Reported by:    kp
Fixes:          https://cgit.freebsd.org/src/commit/?id=2fb8cbc6ef1b ("libc/tests: add stdbit test framework and unit tests")
5f529f9e292a30c065c316ed5fd0d23e07b26e5c Jessica Clarke 2025-12-01 14:06:21
libuvmem: provide man page mostly as a pointer to vmem(9)
Reviewed by:  bnovkov, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D27220
7295aeaf5f5cbbbb16d4992b13b08bce09f03609 Konstantin Belousov 2025-10-15 22:10:16
Commit group #9: share/mk: Include libbnxtre entry in bsd.libnames.mk
share/mk: Include libbnxtre entry in bsd.libnames.mk

Add libbnxtre entry in bsd.libnames.mk file.

MFC-After:      3 days
Reviewed-by:    sumit.saxena@broadcom.com
Differential-Revision: https://reviews.freebsd.org/D49603
b42fda6be3fde001cdbe1623cc89b1dc9faf1b93 Sumit Saxena 2025-12-03 11:21:10

ofed: Define SUBDIR_DEPEND_libbnxtre

Fixes:  https://cgit.freebsd.org/src/commit/?id=b42fda6be3fd ("share/mk: Include libbnxtre entry in bsd.libnames.mk")
962ad7c1984decda1f16b079cd09ca9310e7f7ce Mark Johnston 2025-12-03 14:21:07
mt76: set appropriate CONFIG options for the module build
Always set CONFIG_ARCH_DMA_ADDR_T_64BIT as it is true for all
architectures we support.  Add an option for CONFIG_NET_MEDIATEK_SOC_WED,
which we currently do not yet support.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
87aa494dfca73204516799033821ab1db184933f Bjoern A. Zeeb 2025-11-25 17:16:49
Update path for TI Am335x device trees
Since Linux DTS has been starting to using vendor subdirs we need
to update this aswell.

Approved by: manu (mentor)
Differential revision: https://reviews.freebsd.org/D53890
8f0b21089483b2caa99e41211ef55a59e67a709e Oskar Holmlund 2025-12-05 18:32:50
release: Include comms/usbmuxd to DVD to ensure ipheth(4) works
PR:           https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291370
Reviewed by:    emaste, aokblast, dch
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54074
90eda629964cbe4c2472aa3f1b8a427e60e78834 Li-Wen Hsu 2025-12-05 23:57:48
ath11k: add new files to module Makefile
Add the new files to the module Makefile as well, so they do not get lost.
c68126ec2594a80ac095e5ce9e6138709db75519 Bjoern A. Zeeb 2025-12-06 10:24:29
locale: make install
Reviewed by:  bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53962
36cfa8093d25f8a5b598bd8ae74d7cbaafdc1879 Jose Luis Duran 2025-12-06 12:20:18
locale: Update to UCD 17.0.0
Starting with Unicode 17.0.0, the zipped versions of the data files are
only published in https://www.unicode.org/Public/<version>/ucd/

https://www.unicode.org/Public/zipped/ReadMe.txt

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53982
13ae4904ad7d4677a8d894c91362f2d2479965b6 Jose Luis Duran 2025-12-06 12:20:19
locale: Update Unicode to CLDR 48
Reviewed by:  bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53983
d20da5c9736c3d93fc96e5e1c4dc40bed47bc419 Jose Luis Duran 2025-12-06 12:20:20
libsysdecode: Use consistent include path
mkioctls should look at the same set of headers as mktables does.

MFC after:      1 week
Fixes:          https://cgit.freebsd.org/src/commit/?id=139d114acc7b ("libsysdecode use MKTABLES_INCLUDEDIR")
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    sjg
Differential Revision:  https://reviews.freebsd.org/D54106
c51876a107310984ba3a31b088caebcfd86a9844 Dag-Erling Smørgrav 2025-12-07 13:06:41

Internal organizational stuff

bsd-family-tree: add FreeBSD 15.0
7b44ab1c6abe106a44604a8504edca0e57ec1c42 Maxim Konovalov 2025-12-02 03:44:42
committers-src: add myself (tpearson@)
Add myself (tpearson@) as a new src committer with jhibbits@ as my mentor.

Approved by: jhibbits(mentor)
84fd37f309585742e142d3e82f8b9067ad2eb2b1 Timothy Pearson 2025-12-02 23:36:04
mailmap: add my Raptor Engineering address
Approved by: jhibbits(mentor)
812bcb7cabbb245b2d4496ad55bdfa70f9c587db Timothy Pearson 2025-12-02 23:32:53
git-arc: Add patch -b option
With the new patch -b option, switch to a new branch before applying
changes from Differential revisions.

While here, do some minor clean-up:
- Fix a check to determine whether `arc patch` ran successfully.
- Always ensure at least one argument is supplied to `git arc patch`.

Sponsored by:   The FreeBSD Foundation

Reviewed by:    imp, markj
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54024
97939604f447de0d06e6cc2c15f19c6f7be30cd2 Joseph Mingrone 2025-12-01 23:23:37
misc: retire tcberner from portmgr
Hat:  portmgr
8102307c7bf76b94dd452e479670210d53331b3a Rene Ladan 2025-12-04 21:26:06

Testing

tests/carp: make sleep interval in the wait loop smaller
Makes tests to finish slightly faster.
e353cbffd600ae3c00c8584dddcabf9d0ae1202a Gleb Smirnoff 2025-12-04 18:40:34
tests/carp: make a 0.2 second pause before configuring second jail
for all scenarios where both jails have same priority/advskew.  There is a
tiny chance that on both sides carp_master_down() will be executed in
parallel and advertisements will also fly through the bridge(4) in
parallel, thus both sides will switch to MASTER before receiving the
announcement from peer.  This makes the test to fail.  So far this
flakyness was observed for carp:vrrp_v4 only, but in theory it is possible
for any of the patched scenarios.

Note that this sleep does not prolong execution of the tests, as the first
jail is already configured, and if we slept before configuring the second,
we would sleep less in wait_for_carp().
27ff90cd3d8d2ac8198f30cbebeefb15a49d41bc Gleb Smirnoff 2025-12-04 18:41:19
libc/limits_test: add no-op testcase to satisfy kyua
This test suite is purely tested with compile-time assertions, so
it needs a dummy runtime test to ensure that kyua reports the
file as passing.

Pull Request:   https://github.com/freebsd/freebsd-src/pull/1915
Sponsored by:   The FreeBSD Foundation
Reviewed by:    fuz
Approved by:    markj (mentor)
MFC after:      1 month
Signed-off-by:  Siva Mahadevan <me@svmhdvn.name>
27ff0bbcfd27df588d3f486cb21180a26031b889 Siva Mahadevan 2025-10-23 13:17:25
tests/if_bridge: mark several tests as requring vlan(4) or gif(4)
This makes them "skip" instead of "fail" if the module is not present.
bc14dcd113ae49b778b14d7bc446d57e96f40365 Gleb Smirnoff 2025-12-05 19:29:43

Style, typos, and comments

These could go in other categories, but it's more clear if they're here instead.

nvme: Minor style nit
Sponsored by:         Netflix
babb41a81e84ecb055992720f36a80e31260d372 Warner Losh 2025-12-02 04:55:39
ipsec: Fix typos in references to IPsec's ESP
ESP is "Encapsulating Security Payload",
not "Encapsulated Security Payload".

This patch fixes all the place in the tree I could find
with `grep -i encapsulated security`.

MFC after:      3 days
Reviewed by:    ae
Differential Revision:  https://reviews.freebsd.org/D53769
15afd75e67102f81c37adbf11966e48685bd7be7 Mateusz Piotrowski 2025-12-04 15:17:11
uio.h: Indent struct uio according to style(9)
Approved by:  christos (mentor)
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D54071
8740d7e4d183189d259163aa30179ad14c77c0c4 Mateusz Piotrowski 2025-12-01 18:32:21
cldr2def.pl: Cleanup white space
No functional change intended.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53914
09701dc19cf0d6f1a41abcae89c00122546498fb Jose Luis Duran 2025-12-06 12:20:15

Contrib code

libarchive: merge from vendor branch
libarchive 3.8.4

Important bugfixes:
     #2787 bsdtar: Fix zero-length pattern issue
     #2797 lib: Fix regression introduced in libarchive 3.8.2
                when walking enterable but unreadable directories

Obtained from:  libarchive
Vendor commit:  d114ceee6de08a7a60ff1209492ba38bf9436f79
MFC after:      1 week
c1e033c33e8b290cd40f4069249c879efcbae6a6 Martin Matuska 2025-12-01 13:05:35
dtrace: remove sparc tests
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>

Reviewed by:    markj
MFC after:      1 week
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1907
d667cc77ba20082c16457ef4ae7f3060d9ab70b1 Minsoo Choo 2025-11-29 19:02:42
libdtrace: remove sparc code
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>

Reviewed by:    markj
MFC after:      1 week
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1907
dfd35cd244c081dad9bc0fa602ee230e4ea1d5c2 Minsoo Choo 2025-11-29 19:02:59
opensolaris: remove references to sparc
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>

Reviewed by:    markj
MFC after:      1 week
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1907
d11ff7f93386f36a385ea01498fd9ff9ff3862ce Minsoo Choo 2025-11-30 18:56:26
dtrace tests: Update names after the syscall::exit probe was renamed
MFC after:    1 week
Fixes:  https://cgit.freebsd.org/src/commit/?id=e7e964cb2ebd ("syscalls: normalize _exit(2) declerations")
17fd7780fbbb59932b72b5dac6bda93f67743b83 Mark Johnston 2025-12-01 13:46:20
ctfmerge: fix segfault when building on macOS
The barrier code was using semaphores which have been deprecated in
macOS and not working at all, causing a race condition. Since macOS
does not have pthread_barrier_*(), this change uses a condition
variable instead.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290958
Reported by:    wosch
MFC after:      2 weeks
Reviewed by:    imp, markj
Differential Revision:  https://reviews.freebsd.org/D54018
732b4aa05d78ca6831d02e67a43f34ad104f4f01 Mark Peek 2025-12-01 20:50:24
sqlite3: Update to 3.50.4
Release notes at https://www.sqlite.org/releaselog/3_50_4.html.

Obtained from:  https://www.sqlite.org/2025/sqlite-autoconf-3500400.tar.gz

Merge commit 'e7e917ee3cf2b3010b1c511c6ebaf8b65b983ad7'
07d5a9b1b2dd95d95137c6c2afcb84ad40c05b75 Cy Schubert 2025-12-02 15:22:26
Update to bmake-20251111
Merge commit '638c66de4a0faa4c2e815e81cd4021c2387c7e0f'
c60f6422ffae3ea85e7b10bad950ad27c463af18 Simon J. Gerraty 2025-12-03 18:13:30
Commit group #10: mt76
mt76: ieee80211_is_first_frag() operates on the seq_ctrl field not on fc.

Pass the correct field to ieee80211_is_first_frag(); otherwise the results
may vary.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
X-To-Upstream:  yes
c67fd35e58c6ee1e19877a7fe5998885683abedc Bjoern A. Zeeb 2025-11-29 00:51:36

mt76: util.h: extend worker name

In mt76_worker_setup() add the "name" argument to the description
for the worker thread.  That way we have a chance to keep them apart.

While here, rename a variable and shorten the the (c)/SPDX section
according to new style.

MFC after:      3 days
9492230fd3d1e58696e9fd99cb9680b27bf1d424 Bjoern A. Zeeb 2025-12-03 01:01:28

mt76: add LINUXKPI_PARAM_PREFIX for module_param*

In order to not overwrite sysctl/tunables under compat.linuxkpi
we need to prefix the module_param* names with a per-driver/file
designator to make them (more) uniq.  Add the FreeBSD specific
LINUXKPI_PARAM_PREFIX defines for that where missing in mt76.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
853e0440c97a4a1797edd6d653fba4398dc885e8 Bjoern A. Zeeb 2025-12-03 01:05:05
rtw88: update Realtek's rtw88 driver
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Merge commit 'e543442afe3ad5b27616575be2d2402b988656eb' into rtw88

Sponsored by:   The FreeBSD Foundation
8b4477f6b8e1b82acfef558a11facbb2797cb690 Bjoern A. Zeeb 2025-12-06 09:41:26
ath-common: update common Atheros/QCA code
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
e5f0a698b34ed76002dc5cff3804a61c80233a7a ( tag: v6.17 ).

Merge commit '99ad6f4f54c86845d6e3f03541913c07fcdeef59'
28125d24c92a45883b3ab105625ec5b3ba37e320 Bjoern A. Zeeb 2025-12-06 09:47:42
ath10k: update Atheros/QCA's ath10k driver
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Merge commit 'f4669ef6cf7860919442e67106e83f616ed36f51'.

Sponsored by:   The FreeBSD Foundation
9954217599ce02fbf1772388e24e0b89663f4425 Bjoern A. Zeeb 2025-12-06 09:51:10
ath11k: update Atheros/QCA's ath11k driver
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Merge commit '989a88787ef2c1a73f44b82031a6f4f4470e2676'

Sponsored by:   The FreeBSD Foundation
c95ea407b322379bcb3c013a2dca9a18072c1df8 Bjoern A. Zeeb 2025-12-06 10:16:36
ath11k: start making compile some more
There is more work to do to make this compile again but we will do that
when we get to the driver.  For now just take the most noise out of it.
9c2f321630894b40c1ec51ece881c7c765d6d749 Bjoern A. Zeeb 2025-12-06 10:21:31
zfs: merge openzfs/zfs@89f729dcc
Notable upstream pull request merges:
 #17932 1f3444f2b zpool: fix special vdev -v -o conflict
 #17934 -multiple Remove libuutil
 #17941 88d012a1d Fix snapshot automount expiry cancellation deadlock
 #17942 36e4f1888 Fix taskq NULL pointer dereference on timer race
 #17946 39303feba chksum: run 256K benchmark on demand, preserve
                  chksum_stat_data
 #17948 -multiple Remove libtpool
 #17957 e37937f42 ztest: fix broken random call
 #17960 928eccc5b DDT: Reduce global DDT lock scope during writes
 #17961 48f33c1ef DDT: Make children writes inherit allocator
 #17975 7f7d4934c FreeBSD: Fix uninitialized variable error
 #17980 a5b665df3 DDT: Switch to using wmsums for lookup stats
 #18004 ffaea0831 FreeBSD: Remove HAVE_INLINE_FLSL use

Obtained from:  OpenZFS
OpenZFS commit: 89f729dcca87425aadfa03d1764e96f285eb658d
66e85755595a451db490d2fe24267d85db4b09c2 Martin Matuska 2025-12-07 21:38:13

Reverted commits

Revert "stddef.h: add unreachable() for C23 compliance"
Seems like a number of ports are *really* unhappy with this new
macro.  These ports will have to be fixed and the patch reworked
to perhaps not affect C++ (see D54041).  A general discussion on
how we expose new language features may also need to take place.

Reported by:    many people
Approved by:    markj (mentor)

This reverts commit b381d0980221b476cadbef862a8e5973d675fb7a.
fc88be257e30c3e3c01f25ec3a3a6e7933b40c54 Robert Clausecker 2025-12-04 23:25:10

Unclassified commits

Not classified automatically, and waiting for manual attention.

-- no commits in this category this week --

Technical notes

Dates:

Automatic grouping:

Automatic categories:

Source code:


Generated with commits-periodical 0.20 at 2025-12-15 20:56:03+00:00.

This work is supported by Tarsnap Backup Inc.

Alternate version: 2025-12-01 (debug) (contains info about the classification)