FreeBSD git weekly: 2026-01-05 to 2026-01-11

Introduction

This is a display of mostly-automatically-classified git commits from 2026-01-05 to 2026-01-11.

DEBUG: This version of the report is primarily for checking the classifiers, and therefore contains extra information (in this colour).

Table of contents and commits per category:

(3) Highlighted commits (these are copies, not in stats)
3 1.7% Userland programs
14 7.8% Documentation
38 21.1% Hardware support
14 7.8% Networking
20 11.1% System administration
3 1.7% Libraries
2 1.1% Filesystems
36 20.0% Kernel
19 10.6% Build system
3 1.7% Internal organizational stuff
13 7.2% Testing
5 2.8% Style, typos, and comments
6 3.3% Contrib code
4 2.2% Reverted commits
0 0.0% Unclassified commits
180 100% total
Technical notes about this page

debug: info about the automatic classification

num % num changed stage
4 2.2% 0 00-reverts
4 2.2% 0 01-style
27 15.0% 0 02-filenames_wildcards
7 3.9% 0 02b-filenames_wildcards2
84 46.7% 1 03-filenames_plain1
46 25.6% 0 04-filenames_plain2
5 2.8% 0 05-summary-prefix
3 1.7% 0 Manually-classified commits
0 0.0% 0 Unclassified commits

debug: more stats

num % stage
1 0.6% Misclassified commits
176 97.8% Classified commits, no corrections

debug: groups

2 1.1% num in revert
1 0.6% num in fixes
44 24.4% num in consecutive
47 26.1% Commits in groups

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.

zstd: Move to a new zstd package
Zstd is a discrete, self-contained system component.  To match how we
package zlib, bzip2 and xz, move it to its own package, with a separate
lib package.

Add the new package to the minimal set, since this is a core component
that users expect to be installed.

This change adds a new package to the system so, until we have a proper
policy on how to handle this in release/stable branches, it should not
be MFC'd.

MFC after:      never
Reviewed by:    bapt
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53603
9c401bf14854ef20e5e187395a686b0d1b7bcb5f Lexi Winter 2026-01-06 04:23:22

debug: classified in 02-filenames_wildcards by '['.*Makefile', 'release/.*']'

nvme: Add APST payload overriding
The apst_data tunable allows APST configuration to be adjusted
during controller initialization.  It accepts an array of encoded
integers, each defining specific transition parameters.

Relnotes: YES
Signed-off-by: Alexey Sukhoguzov <sap@eseipi.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1444
f0d44ee06b6814224653324e09a948e15a177d1f Alexey Sukhoguzov 2024-10-30 11:04:49

debug: classified in 03-filenames_plain1 by 'sys/dev/'

RELNOTES: Add some entries from the past several weeks
Reviewed by:  emaste
Differential Revision:  https://reviews.freebsd.org/D54628
e3bfcf6b594e8388c4a2e1835519a8026e90cf71 Mark Johnston 2026-01-09 17:58:00

debug: classified in 03-filenames_plain1 by 'RELNOTES'

Userland programs

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

df: Fix -k flag consistency with other BLOCKSIZE flags
This patch resolves inconsistent behavior between the -k option and
other related flags, including -P. Previously, using -k resulted in
output displayed in 1024-byte blocks, which did not align with the
behavior of similar options such as -m and -g, where output is shown in
1M-blocks and 1G-blocks respectively.

The updated implementation ensures that -k now correctly displays sizes
in 1K-blocks. In addition, the patch incorporates the POSIX requirement
that when both -k -P are specified, the block size must be explicitly
forced to 1024-blocks.

Together, these changes make the behavior of -k consistent, predictable,
and compliant with the standard.

Signed-off-by: Ankush Mondal <mondalankush9851@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1906
539547151678c63903dddda214b16b177cf418b8 Ankush Mondal 2025-11-29 11:15:30

debug: classified in 03-filenames_plain1 by 'bin/'

login.conf.5: Remove mention of login copyright setting
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291649
Fixes: https://cgit.freebsd.org/src/commit/?id=905571c03119 ("Remove copyright strings printed at login time via login(1) or sshd(8).")
Signed-off-by: Simon Wollwage rootnode+freebsd@wollwage.com
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1926
54ce6b2c4c163d85b2a8804edbac69d4e8cb3355 Simon Wollwage 2025-12-15 06:27:19

debug: classified in 04-filenames_plain2 by 'usr.bin/'

Remove obsolete BUGS section from zgrep(1) man page, add test
I forgot to check/update the man page with D54217. While here add
a test for multiple -e flags.

Reviewed by:    markj
Approved by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54632
da5d94d29a5ec29817476c39ae2b2ad1666c3f06 Craig Leres 2026-01-10 00:34:39

debug: classified in 04-filenames_plain2 by 'usr.bin/'

Documentation

Man pages, release notes, etc.

makefs.8: Cleanup man page
Reviewed by:  ziaee
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54538
12c51484188f88bcabc5b38ca8523fcde76830a6 Jose Luis Duran 2026-01-06 00:59:27

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

UPDATING: move entry to the correct place
Reviewed by:  vexeduxr
Signed-off-by:  ykla yklaxds@gmail.com
Sponsored by:   Chinese FreeBSD Community
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1917
171f9cbbbfa1f29c854716dc5a1904d9c8d8ea78 ykla 2026-01-05 04:40:56

debug: classified in 03-filenames_plain1 by 'UPDATING'

nuageinit/man: clarify how to enable sudo and doas
Clarify that both `sudo` and `doas` are not part of the base system and
they need to be listed in the `packages` section if the user wants to
enable them.

MFC After:      1 week
Signed-off-by: Gonéri Le Bouder <goneri@lebouder.net>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1944
402f1353707783e2adc8d0bff01faf557820f6f5 Gonéri Le Bouder 2026-01-03 23:10:18

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

nuageinit(7): pert mandoc linter
MFC After:    1 week
9ea30bbb0e3c34b3ea369e217d930e2165610c0c Baptiste Daroussin 2026-01-06 08:24:50

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

cxgbe.4: Update for recent HARDWARE
Adjust document description, description section, and hardware section
to include Chelsio T7. Since this driver now supports many generations,
order reverse chronologically. Compare language to ice.4 and bnxt.4,
the other terabit ethernet drivers.

This list of HARDWARE is obtained from the Chelsio prouduct selector.

MFC after:              3 days (T7 support shipped with 15.0)
Discussed with:         jhb, np
Differential Revision:  https://reviews.freebsd.org/D54276
03e1605cdf17c48d5e0d6d42a9f15b78b3b7adb0 Alexander Ziaee 2026-01-06 14:52:42

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

manuals: Correct some sysctl markup
This enables additional searching the manual by sysctl variable.
This syntax is standardized in style.mdoc(5).

Reported by:    bapt
MFC after:      3 days
75866d71e8d93fe1a1ff469b8a9c6c6c9908a6c8 Alexander Ziaee 2026-01-06 16:02:24

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

sh.1: Restore missing builtin commands
PR:           https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292221
Fixes:          https://cgit.freebsd.org/src/commit/?id=2980318b2747 (sh.1: extend the section about getopts)
MFC after:      3 days
2962dc76877538508944a441fd1570322e969380 Alexander Ziaee 2026-01-06 17:25:26

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

mrsas.4: Add Fujitsu RAID Controller SAS 6Gbit/s 1GB (D3116)
This is an OEM card from Fujitsu using an LSI SAS2208 ROC controller shipped
with many Fujitsu PRIMERGY servers like RX300 S7.

Controller description: https://www.fujitsu.com/global/products/computing/servers/primergy/blades/connection/cb-pmod-110426.html

Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D54566
ccec94bf63de8ee067b03b981a283d9f968c3667 Michael Osipov 2026-01-06 20:31:24

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

iflib: document new sysctls
Document the new tx related sysctls I've added to iflib in the
last few months:  tx_reclaim_ticks & tx_reclaim_thresh

Sponsored by: Netflix
Reviewed by: ziaee
Differential Revision: https://reviews.freebsd.org/D54564
MFC after: 3 days
83e6f0d7807b4ebc74bc58e6f03adde56db942bf Andrew Gallatin 2026-01-06 22:43:24

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

pkgbase.7: Show pkg upgrade to apply updates
MFC after:    3 days
Reviewed by:    ziaee
Closes:         https://github.com/freebsd/freebsd-src/pull/1945
d1f93ea2e1646f1a844f37a855a70de1b186dbd7 Graham Perrin 2026-01-09 04:45:29

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

freebsd-base.7: Fix stray -r
Remote stray "-r" from the example of installing a toolchain
to alternate root.

Reviewed by:    ivy
Differential Revision:  https://reviews.freebsd.org/D54611
a556feb99765a8eae96b2077067dd482c9dd3f57 Juraj Lutter 2026-01-09 09:41:21

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

getopt(3): be more explicit about :: extension
Make it possible to search for literal two colons (::) and actually
find something.  Make the "x"/"x:"/"x::" examples more explicit and
more visibile.

Signed-off-by: Simon Wollwage <rootnode+freebsd@wollwage.com>
Obtained from:  NetBSD, nbuwe <uwe@stderr.spb.ru>, 856d5b6
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291374
Reviewed by: imp, jlduran
Pull Request: https://github.com/freebsd/freebsd-src/pull/1923
4b2a8aab43ff747bcba6c28f5c0431141ec198a0 Simon Wollwage 2025-12-12 05:11:40

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

loader.efi(8): clarify UEFI boot path and boot1.efi usage
Reorganise and clarify the legacy role of boot1.efi in DESCRIPTION to
improve clarity.

Add a minor missing word in the BUGS section ["...caution is required*..."].

See also - PR: 290794

Signed-off-by: Aaditya Singh <aadityavksingh@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1939
7b3fb3caef9495cdfcc1c8ec39907defb65ce860 kitkat1424 2025-12-31 19:41:08

debug: classified in 02-filenames_wildcards by '.*\.[1-9]'

RELNOTES: Add some entries from the past several weeks
Reviewed by:  emaste
Differential Revision:  https://reviews.freebsd.org/D54628
e3bfcf6b594e8388c4a2e1835519a8026e90cf71 Mark Johnston 2026-01-09 17:58:00

debug: classified in 03-filenames_plain1 by 'RELNOTES'

Hardware support

Hardware drivers and architecture-specific code.

ufshci: Fix task management queue num_trackers on failure path
Fix a kernel panic caused by the task management queue using
the transfer request queue’s num_entries value.

Sponsored by:           Samsung Electronic

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D54243
ef2d7cc11d04728f2b97d2b0188d77be77d5c252 Jaeyoon Choi 2026-01-05 02:35:52

debug: classified in 03-filenames_plain1 by 'sys/dev/'

ufshci: Enable admin command retry
Also, This patch fixes an issue where the admin command flag was not
passed through.

Sponsored by:           Samsung Electronic

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D54244
ece6e062ae4b419736c8bb65874ece6be28c2100 Jaeyoon Choi 2026-01-05 02:36:10

debug: classified in 03-filenames_plain1 by 'sys/dev/'

asmc: add per-fan manual mode control via sysctl
Add per-fan manual mode control via dev.asmc.0.fan.N.manual sysctl.

Apple SMCs support manual fan control via the FS! SMC key,
a 16-bit bitmask where each bit controls one fan (0=auto, 1=manual).

This change adds a new sysctl per fan:
    dev.asmc.0.fan.N.manual (0=auto, 1=manual)

When set to manual mode (1), the fan runs at the speed set via
dev.asmc.0.fan.N.targetspeed instead of automatic thermal control.  When
set to auto mode (0), the SMC controls fan speed automatically.

The FS! key was already defined in asmcvar.h but not accessible.
This exposes it for debugging, testing, and advanced fan control.

Implementation uses read-modify-write to allow independent control of
each fan without affecting others.

Reviewed by:    adrian, markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D54437
1ecac45cfc5f0886907c34ec0da2c1b32618665d Abdelkader Boudih 2026-01-05 18:03:23

debug: classified in 03-filenames_plain1 by 'sys/dev/'

ixl: verify flowid is valid before setting rsstype & flowid
According to section 8.3.2.2.1 of the XL710 datasheet,
FLTSTAT indicates if RSS hashing was used (or flow director
or nothing) to arrive at the flowid it is reporting.
We need to check this before reporting the flowid and setting the
rss type. Not checking this allows invalid flowids (0s) to be
reported for some TCP traffic (it seems to mostly impact incoming
connections). This leads to the inp flowid being 0, and egress
traffic being unbalanced (going to tx queue 0, and NIC 0 of an
lacp bundle).

Differential Revision: https://reviews.freebsd.org/D54442
Reviewed by: adrian, kbowling
Sponsored by: Netflix
MFC after: 2 weeks
ac1cd655f647cfd8e8d8c08da00f41abfce212a1 Andrew Gallatin 2026-01-05 17:02:23

debug: classified in 03-filenames_plain1 by 'sys/dev/'

x86: change ap_boot_mtx from spinlock mutex to naive lock
Problem is that the printfs done under the spinlock might be very slow,
then spinlock triggers the panic due to some AP holding the mutex too
long.  We do want to ensure that the printfs are serialized, still.

Also, reduce the scope of the lock. The local APIC and MTRR
initializations are local to the AP, while mca_init() protects the
shared state with mca-private spinlock.

PR:     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289297
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D54464
55305b590797524dd1cecfc9406869700e925e51 Konstantin Belousov 2026-01-03 01:09:32

debug: classified in 03-filenames_plain1 by '['sys/amd64/', 'sys/i386/', 'sys/x86/']'

powerpc: Update CPUTYPE options in make.conf
Document the supported PPC/POWER CPUTYPEs in the example make.conf.

Update bsd.cpu.mk to handle CPUs newer than POWER9, and remove
32-bit CPUTYPEs since we no longer support those at all.

Reviewed by:    imp, jhibbits
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D54257
665ac052aa04c4dc240d67c3c2166ac63e7f86eb Lexi Winter 2026-01-06 04:22:20

debug: classified in 05-summary-prefix by 'powerpc:'

arm64: Add Arm SPE thread mode support
Add support for the using the Arm Statistical Profiling Extension (SPE) in
the hardware tracing framework, hwt(4), thread mode.

SPE is an optional extension added in Armv8.1 to provide profiling of
software using randomised instruction sampling. Thread mode allows tracing
of a single thread, regardless of the CPU it is scheduled on.

Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D53738
6748ac4ee7ce1e6e6888293cf855fed4eb734126 Sarah Walker 2026-01-02 16:27:43

debug: classified in 03-filenames_plain1 by 'sys/arm64/'

arm64: Fix jump to wrong label in case of 0 entries
Broke qemu-system-aarch6 boot with VIRT kernconf

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292156
Fixes:          https://cgit.freebsd.org/src/commit/?id=ea8dc498aa8e ("arm64: Create an L3 table to limit permissions")
Signed-off-by:  Marian Cingel <cingel.marian@gmail.com>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1943
a9f2f92322f211921b955b13b088624efe7f901a Marian Cingel 2026-01-03 14:45:27

debug: classified in 03-filenames_plain1 by 'sys/arm64/'

arm64: Correctly align the SVE signal context
The SVE signal context needs to be correctly aligned. Fix this by
creating a new macro to calculate the needed size to provide this
alignment, and use it when setting and checking the saved SVE signal
context.

Reported by:    cperciva
Reviewed by:    cperciva, markj
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D54396
a9e77eb7016df70723c208fc09fbd01ec23a732d Andrew Turner 2026-01-06 10:35:55

debug: classified in 03-filenames_plain1 by 'sys/arm64/'

mips: remove mips leftovers
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Pull-request: https://github.com/freebsd/freebsd-src/pull/1909
6c6e00b7f16f3bda1b56da6a57d65ff6e26ae3e7 Minsoo Choo 2025-12-01 02:48:05

debug: classified in 05-summary-prefix by 'mips:'

mfi(4): Add subvendor and subdevice for Fujitsu RAID Controller SAS 6Gbit/s 1GB (D3116)
This is an OEM card from Fujitsu using an LSI SAS2208 ROC controller shipped
with many Fujitsu PRIMERGY servers like RX300 S7. This chip is also recognized
by mrsas(4) under the generic name for the controller chip.

Controller description: https://www.fujitsu.com/global/products/computing/servers/primergy/blades/connection/cb-pmod-110426.html

Reviewed by:    ziaee
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D54520
8b210276cde207ca3dc1f7f46d5a6d32e0a1c51d Michael Osipov 2025-12-21 15:53:27

debug: classified in 03-filenames_plain1 by 'sys/dev/'

if_rge: sync with up to date OpenBSD code
a0b4d9e5bd63984bc3ad25b7f2881741e0d73980
Add support for RTL8126 chip revision 0x64a00000 from Carl Henriksson.
While here, update and add microcode for the RTL8126 chipset variant.

46810ff569a9416642fc5f8e86501028008a2e95
For RTL8125, there's no need to check whether RGE_CMD_STOPREQ has been
completed.  As with other chip variants, RGE_CMD_STOPREQ never acknowledges
completion.

5729fb17b5eeba56781da0b5c0525c198c5c2cd8
remove duplicate RGE_PHYSTAT_5000MBPS test

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D54517
Obtained from:  OpenBSD
5d73fca1f4b2bac8833e2b9233fa496059dab745 Brad Smith 2026-01-07 02:24:12

debug: classified in 03-filenames_plain1 by 'sys/dev/'

sdhci_pci(4): Remove incorrect __unused
The slot parameter actually is used as index into the memory resource.

Fixes:  https://cgit.freebsd.org/src/commit/?id=c11bbc7d
9b5d6ab1be32772ba86021e50e709db9a1659226 Marius Strobl 2026-01-07 22:18:21

debug: classified in 03-filenames_plain1 by 'sys/dev/'

acpi: Make taskqueue only run on BSP
This is needed because when we add the suspend-to-idle loop, we only
want to break the BSP out of idle to process the taskqueue while keeping
all the others idled.

Currently assuming BSP to be CPU0, which may not always be the case on
non-x86.

Reviewed by:    kib
Approved by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54406
c0df8f6f0e6a5f77ec9140e8075d09c55fe4c3c7 Aymeric Wibo 2025-12-29 20:01:50

debug: classified in 03-filenames_plain1 by 'sys/dev/'

bnxt: fix i2c read to allow access to different addresses
Allow reading of i2c addresses other than A0. A0 does provide most
information, but doesn't provide things like module temps, and optical
signal levels.

Sponsored by: Netflix
Reviewed by: sumit.saxena_broadcom.com
Differential Revision: https://reviews.freebsd.org/D54590
MFC after: 3 days
b72cb305899ed30daf103b92818c199ccfc52378 Andrew Gallatin 2026-01-08 13:49:38

debug: classified in 03-filenames_plain1 by 'sys/dev/'

amd64: Remove tpm(4) from GENERIC for now
It breaks suspend/resume and no one has had time to investigate and fix
it.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291067
Reviewed by:    emaste
Fixes:          https://cgit.freebsd.org/src/commit/?id=3deb21f1afd5 ("random: TPM_HARVEST should have been named RANDOM_ENABLE_TPM")
Differential Revision:  https://reviews.freebsd.org/D54587
16f8ea6a81b59a82d8c27c6b3aa380617485bfd2 Mark Johnston 2026-01-08 14:54:15

debug: classified in 03-filenames_plain1 by 'sys/amd64/'

Commit group #0: vmm
vmm: Consolidate vm and vcpu definitions

There is quite a lot of duplication of code between amd64, arm64 and
riscv with respect to VM and vCPU state management.  This is a bit
tricky to resolve since struct vm and struct vcpu are private to vmm.c
and both structures contain a mix of machine-dependent and
machine-independent fields.

To allow deduplication without also introducing a lot of churn, follow
the approach of struct pcpu and 1) lift the definitions of those
structures into a new header, sys/dev/vmm/vmm_vm.h, and 2) define
machine-dependent macros, VMM_VM_MD_FIELDS and VMM_VCPU_MD_FIELDS which
lay out the machine-dependent fields.

One disadvantage of this approach is that the two structures are no
longer private to vmm.c, but I think this is acceptable.

No functional change intended.  A follow-up change will move a good deal
of machine/vmm/vmm.c into sys/dev/vmm/vmm_vm.c.

MFC after:      2 months
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53584
a6411f6b7df46edc7167a7844ed443db7a91a031 Mark Johnston 2026-01-08 21:53:31

debug: classified in 03-filenames_plain1 by '['sys/amd64/', 'sys/arm64/', 'sys/dev/', 'sys/riscv/']'


vmm: Deduplicate VM and vCPU state management code

Now that the machine-independent fields of struct vm and struct vcpu are
available in a header, we can move lots of duplicated code into
sys/dev/vmm/vmm_vm.c.  This change does exactly that.

No functional change intended.

MFC after:      2 months
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53585
ed85203fb7a0334041db6da07e45ddda4caef13d Mark Johnston 2026-01-08 21:54:06

debug: classified in 03-filenames_plain1 by '['sys/amd64/', 'sys/arm64/', 'sys/dev/', 'sys/riscv/']'


vmm: Move common accessors and vm_eventinfo into sys/dev/vmm

Now that struct vm and struct vcpu are defined in headers, provide
inline accessors.  We could just remove the accessors outright, but they
don't hurt and it would result in unneeded churn.

As a part of this, consolidate definitions related to struct
vm_eventinfo as well.  I'm not sure if struct vm_eventinfo is really
needed anymore, now that vmmops_run implementations can directly access
vm and vcpu fields, but this can be resolved later.

No functional change intended.

MFC after:      2 months
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53586
5f13d6b60740c021951ae0e4d096903cfa1679e2 Mark Johnston 2026-01-08 21:54:16

debug: classified in 03-filenames_plain1 by '['sys/amd64/', 'sys/arm64/', 'sys/dev/', 'sys/riscv/']'


vmm: Add an include to vmm_ktr.h for vm_name()

Required when KTR is configured.

Remove the pcpu.h include while here, as it seems to be unneeded.

Reported by:    Jenkins
Fixes:          https://cgit.freebsd.org/src/commit/?id=5f13d6b60740 ("vmm: Move common accessors and vm_eventinfo into sys/dev/vmm")
0aaa95ae02803ba0195c5da695ffbb17a79135bc Mark Johnston 2026-01-08 23:29:06

debug: classified in 03-filenames_plain1 by 'sys/dev/'

kshim/usb: Prefer memset to bzero
Replace bzero with the equivalent memset(x,0,x) since the latter is
available in the kshim environment and we have a soft goal of migrating
to standard interfaces when there's a reason...

Sponsored by:           Netflix
b258282ecce3e2ad7ece6bec4f1507f70b85de87 Warner Losh 2026-01-02 19:55:28

debug: classified in 03-filenames_plain1 by 'sys/dev/'

mps/mpr: Remove bogus sys/cdefs.h includes
These are left over from the $FreeBSD$ stuff.

Sponsored by:           Netflix
d650b2ceda4641475e90ba1f6d349eac98aaa963 Warner Losh 2026-01-09 05:48:13

debug: classified in 03-filenames_plain1 by 'sys/dev/'

mps: Add a probe on completion
cam::mps:complete(union ccb *, struct mps_command *, u_int, u32);
    Where u_int is scsas->flags u32 is the device_info.

This can't be done as an fbt because the data needed for it isn't
present out a function boundary.

Sponsored by:           Netflix
6f8e117e5d78709ff70c19e5286949b35099fa9a Warner Losh 2026-01-06 05:13:38

debug: classified in 03-filenames_plain1 by 'sys/dev/'

mpr: Add a probe on completion
cam::mpr:complete(union ccb *, struct mpr_command *, u_int, u32);
    Where u_int is scsas->flags u32 is the device_info.

This can't be done as an fbt because the data needed for it isn't
present out a function boundary.

Sponsored by:           Netflix
0e80273f0d864d28bd3c3ae9dafd58e637743910 Warner Losh 2026-01-06 05:13:38

debug: classified in 03-filenames_plain1 by 'sys/dev/'

bnxt: Fix up ioctl opcodes to support IOC_VOID along with IOC_IN
The driver and applications currently use hard-coded numeric ioctl command
opcodes. These opcodes are interpreted as having the IOC_IN direction (data
copied from the user application to the driver), regardless of the actual packet
size. Consequently, when the packet size is zero and the direction is set to
IOC_IN, the kernel fails these ioctls if COMPAT is disabled.

While the driver and applications should ideally set the direction correctly—
for example, using IOC_VOID when the packet size is zero—the driver will now
be updated to define ioctl opcodes using the _IOC macro to support both
IOC_VOID and IOC_IN. This change ensures backward compatibility with older
applications that exclusively use IOC_IN.

Reviewed by: gallatin
Differential Revision: https://reviews.freebsd.org/D54601
MFC after: 3 days
d53d7b466016408229491cfd2f8bdc742ff642e3 Sumit Saxena 2026-01-09 10:28:53

debug: classified in 03-filenames_plain1 by 'sys/dev/'

libpmc: Import AMD Zen 5 PMU events.
Sponsored by:         Netflix

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1954
bae832487038b2c8778dc6f52700b4353175ccec Ali Mashtizadeh 2026-01-08 22:33:41

debug: classified in 03-filenames_plain1 by 'lib/libpmc/'

smartpqi: update to version 4660.0.2002
This updates the smartpqi driver to Microchip's
latest available public release.

Reviewed by: imp
Approved by: imp

Sponsored by: Microchip Technology Inc.

Differential Revision: https://reviews.freebsd.org/D52507
c558eca47970c8467ed0494145f08d1879050bbd John Hall 2025-08-28 21:11:02

debug: classified in 03-filenames_plain1 by 'sys/dev/'

param.h: remove powerpcspe
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    emaste
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1914
(cherry picked from commit 1bfae8b50814697ac12bc8879ad8013e7ffd77b2)
81516ef418a7b3fb23b423b62dc1f2a5a3bde51b Minsoo Choo 2025-12-03 04:00:39

debug: classified in 03-filenames_plain1 by 'sys/powerpc/'

conf: remove MPC85XXSPE
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    emaste
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1914
(cherry picked from commit 40a49bccf388494f9685a81cfa781050f5f8bb1f)
f69fb0f8307e472e79f34ed7622b85ecb4c3c66d Minsoo Choo 2025-12-03 04:01:00

debug: classified in 03-filenames_plain1 by 'sys/powerpc/'

sdio: add sdio_{read,write}_2
This is equivalent of sdio_readw and sdio_writew in linuxkpi

Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1951
2727bdebb366c3741509eb3553f0fee2453729d3 Minsoo Choo 2026-01-06 16:57:25

debug: classified in 03-filenames_plain1 by 'sys/dev/'

Commit group #1: nvme
nvme: Handle get/set feature payloads

Signed-off-by: Alexey Sukhoguzov <sap@eseipi.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1444
4c18ec0e75e1f2ca99e587d749a9191513e63a29 Alexey Sukhoguzov 2024-10-30 10:48:09

debug: classified in 03-filenames_plain1 by 'sys/dev/'


nvme: Support Autonomous Power State Transition (APST)

APST is an optional NVMe power-saving feature that allows devices
to autonomously enter higher non-operational power states after a
certain amount of idle time, reducing the controller's overall power
consumption.

Signed-off-by: Alexey Sukhoguzov <sap@eseipi.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1444
a24932dcec45ca68fa5ca2f49bbf0df539cfd710 Alexey Sukhoguzov 2024-10-30 11:03:30

debug: classified in 03-filenames_plain1 by 'sys/dev/'


nvme: Add APST payload overriding

The apst_data tunable allows APST configuration to be adjusted
during controller initialization.  It accepts an array of encoded
integers, each defining specific transition parameters.

Relnotes: YES
Signed-off-by: Alexey Sukhoguzov <sap@eseipi.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1444
f0d44ee06b6814224653324e09a948e15a177d1f Alexey Sukhoguzov 2024-10-30 11:04:49

debug: classified in 03-filenames_plain1 by 'sys/dev/'

acpi_ibm: register all appropriate sysctls as uint
All sysctls except thermal sensor readings and the handlerevents
whitelist-separated string are bitmasks or small integers. This avoids some
bitmasks being erroneously displayed as negative values.

Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1824
e881b8ee0bc7bf552c9c0a63c7d84542243f9f0d Quentin Thébault 2025-08-27 10:05:27

debug: classified in 03-filenames_plain1 by 'sys/dev/'

ata-serverworks: Fix incorrect port count for BCM5770 SATA controller
The 1166:0241 PCI device has 8 ports instead of 4.

Signed-off-by: Dmitry Borisov <di.sean@protonmail.com>
Reviewed by: imp, jlduran
Pull Request: https://github.com/freebsd/freebsd-src/pull/1883
247d24a694af84f0c80708ff0a6c4baa7fcca14d Dmitry Borisov 2025-10-29 14:06:57

debug: classified in 03-filenames_plain1 by 'sys/dev/'

smartpqi: Make pqisrc_is_supported_write static
This fixes a build error with -O0 and matches all the other pqisrc_is_*
routines in the file.

--- kernel.full ---
ld: error: undefined symbol: pqisrc_is_supported_write
>>> referenced by smartpqi_request.c:1799 (/.../smartpqi_request.c:1799)
>>>               smartpqi_request.o:(pqisrc_build_scsi_cmd_raidbypass)
73a238643a2e9ef298d961966040587ca0970a58 Navdeep Parhar 2026-01-10 20:15:17

debug: classified in 03-filenames_plain1 by 'sys/dev/'

cxgbe(4): Update shared code and config files
Obtained from:        Chelsio Communications
MFC after:      1 week
Sponsored by:   Chelsio Communications
dda55f83f9b8238ebf2940c9c1e227785db540b2 Navdeep Parhar 2025-11-20 21:27:48

debug: classified in 05-summary-prefix by 'cxgbe\(4\):'

cxgbe(4): Move CPL-specific handling out of eth_rx
IPsec rx uses a new CPL and this prepares eth_rx for IPsec support in
future commits.

Tidy up the comment and code around M_TSTMP while here.

MFC after:      1 week
Sponsored by:   Chelsio Communications
01c0005dced136423829724d6b6e9566de10966c Navdeep Parhar 2026-01-10 02:48:36

debug: classified in 03-filenames_plain1 by 'sys/dev/'

Networking

Network-related commands, library, and kernel.

TCP Stacks, Improve rack to better handle reordering
With a recent bug in the igb (and a few other) driver LRO mis-queuing, rack did things ok, better
than the base stack, due to the rack reordering protections in rack, but there was still room for improvements.
When a series of packets are completely mis-ordered you often times can get the acks shortly after you have
entered recovery and retransmitted the first of the packets indicated in the sack stream. Then the cum-ack
arrives basically acking all those packets. If you look at the time from when you sent the packet to when the
ack came back you can quickly determine that the ack was not to what you just transmitted but instead
was original and you had a completely false recovery entry. Dropping out of that you can then restore the
congestion state and continue on your way. The Dup-acks that also arrive help increase your reordering windows
which makes you less likely to repeat the scenario.

Differential Revision:<https://reviews.freebsd.org/D53832>
138e74ceadb237cdd42fcda11ddef18b509f571d Randall Stewart 2026-01-05 16:30:22

debug: classified in 03-filenames_plain1 by 'sys/netinet/'

Commit group #2: ipfw
ipfw: remove extraneous argument from ipfw_add_protected_rule()

This function is always called with unlocked IPFW_UH_LOCK.
e4e30d5a81367b96dc8255252b527d6a65bb43b3 Gleb Smirnoff 2026-01-05 18:03:10

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'


ipfw: use sparse initializer for dynamic opcodes

No functional change.
bc9c45df1c29370e7bffd813987c08b2f6444b5d Gleb Smirnoff 2026-01-05 18:03:10

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'


ipfw: make create_objects_compat() static

No functional change.
161db3a910a41dfae0eea93f49b08eb7e6253617 Gleb Smirnoff 2026-01-05 18:03:10

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'

tcp: Unifidef use of rss software hash in syncache
Ever since "d9c55b2e8cd6 rss: Enable portions of RSS globally.."
exposed the RSS software hashing functions, it has been possible
to use them without "ifdef RSS".   Do so now in the syncache
so as to get flowids recorded.

Note that the use of the rss hash functions is conditional on IP versions,
so we must ifdef INET to ensure rss_proto_software_hash_v4() is available.

Fixes 73fe85e486d2
Sponsored by: Netflix
Reviewed by: glebius, p.mousavizadeh_protonmail.com, nickbanks_netflix.com, tuexen
Differential Revision: https://reviews.freebsd.org/D54534
21865c970888ad0e2cde06db843ae2a05af550e7 Andrew Gallatin 2026-01-05 19:54:35

debug: classified in 03-filenames_plain1 by 'sys/netinet/'

ng_tty: avoid the sign extention of char
When c is compared to sc->hotchar, both undergo integer promotion, which
can lead to c being sign extended. Fix this by casting c to an unsigned
char.

Reviewed by:    kevans
MFC after:      5 days
Differential Revision:  https://reviews.freebsd.org/D54544
9b2478f60bfda663c84b48e272a2293159e1b0a0 Ahmad Khalifa 2026-01-06 02:07:29

debug: classified in 03-filenames_plain1 by 'sys/netgraph/'

netstat: fix a segfault with --libxo
Fix a segfault when printing the "protocol" field.  The field-format and
encoding-format were expecting different numbers of arguments.

Also, fix the width of the tcp-state field in encoded output.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292228
Fixes:          https://cgit.freebsd.org/src/commit/?id=c2b08c13c20 netstat: add support for UDP-Lite endpoints
MFC after:      1 week
Sponsored by:   ConnectWise
Reviewed by:    tuexen, js, des
Differential Revision: https://reviews.freebsd.org/D54567
3b6615ec0332f901fcc9e9307f78717424f09c1e Alan Somers 2026-01-06 22:19:57

debug: classified in 03-filenames_plain1 by 'usr.bin/netstat/'

iflib: Drop tx lock when freeing mbufs using simple_transmit
Freeing completed transmit mbufs can be time consuming (due to them
being cold in cache, and due to ext free routines taking locks),
especially when we batch tx completions. If we do this when holding
the tx ring mutex, this can cause lock contention on the tx ring mutex
when using iflib_simple_transmit.

To resolve this, this patch opportunistically copies completed mbuf
pointers into a new array (ifsd_m_defer) so they can be freed after
dropping the transmit mutex. The ifsd_m_defer array is
opportunistically used, and may be NULL. If its NULL, then we free
mbufs in the old way. The ifsd_m_defer array is atomically nulled
when a thread is using it, and atomically restored when the freeing
thread is done with it. The use of atomics here avoids
acquire/release of the tx lock to restore the array after freeing
mbufs.

Since we're no longer always freeing mbufs inline, peeking into them to see if a
transmit used TSO or not will cause a useless cache miss, as nothing
else in the mbuf is likely to be accessed soon. To avoid that cache
miss, we encode a TSO or not TSO flag in the lower bits of the mbuf
pointer stored in the ifsd_m array. Note that the IFLIB_NO_TSO flag
exists primarily for sanity/debugging.

iflib_completed_tx_reclaim() was refactored to break out
iflib_txq_can_reclaim() and _iflib_completed_tx_reclaim()
so the that the tx routine can call iflib_tx_credits_update()
just once, rather than twice.

Note that deferred mbuf freeing is not enabled by default, and can be
enabled using the dev.$DEV.$UNIT.iflib.tx_defer_mfree sysctl.

Differential Revision: https://reviews.freebsd.org/D54356
Sponsored by: Netflix
Reviewed by: markj, kbowling, ziaee
14d93f612f26f4e8454e393b75b0e4be0fc9d890 Andrew Gallatin 2026-01-07 19:29:53

debug: classified in 03-filenames_plain1 by 'sys/net/'

tools/cam: Start to add the testing tools for CAM
Create a directory for testing tools arond CAM. These are snippets of
what will eventually be camio. At the moment, it was written using fbt
traces. This is OK, but fragile, so they need to be re-written with the
cam provider. cam_all_but_scsi.d is the first step. It shows how to do
this with the new cam dtrace provider.

Sponsored by:           Netflix
Reviewed by:            adrian
Differential Revision:  https://reviews.freebsd.org/D54472
cd1aa5f9917cc7de255e854954c818e5ef3e9c9b Warner Losh 2026-01-08 06:20:34

debug: classified in 03-filenames_plain1 by 'tools/cam/'

pf: remove redundant zeroing
nlmsg_reserve_object() already zeroes the header before it gives it to
us, so there's no need to explicitly zero these fields again.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
bf19253516ec7c3bac5ccd64d934f970f68f2b2d Kristof Provost 2026-01-06 21:57:58

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'

pf: handle nlattr_add_nested() failure
Sponsored by: Rubicon Communications, LLC ("Netgate")
0df9054bc11633e2a4414e783be74906c743a64d Kristof Provost 2026-01-06 22:01:21

debug: classified in 03-filenames_plain1 by 'sys/netpfil/'

cam: Dtrace scripts to help diagnose weird things
These are sample dtrace scripts that likely need to be modified for
whatever problem you are chasing. Unfortuneately, you have to read the
driver extensively to understand them or how to use them. But studying
the completion routine of mpr/mps will help understand many of the error
and recovery paths.

Sponsored by:           Netflix
92f251f36b31519ed336ac67b768d39b62ebf896 Warner Losh 2026-01-09 06:11:10

debug: classified in 03-filenames_plain1 by 'tools/cam/'

iflib: remove convoluted custom zeroing code
Replace a collection of aliasing violations and ifdefs with memset
(which now expands to __builtin_memset and should be quite reliably
inlined.)  The old code is hard to maintain as evidenced by the most
recent change to if_pkt_info_t updating the defines, but not the zeroing
code.

Reviewed by:    gallatin, erj
Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Fixes:          https://cgit.freebsd.org/src/commit/?id=43d7ee540efe ("iflib: support for transmit side nic KTLS offload")
Differential Revision:  https://reviews.freebsd.org/D54605
31e7dc6b9a000b02353bfc41cbd897533287cda2 Brooks Davis 2026-01-09 14:19:49

debug: classified in 03-filenames_plain1 by 'sys/net/'

net80211: fix bpf tap leak on wlan(4) detach
509a185dd9405141df4d304d7805019b40e736cf Gleb Smirnoff 2026-01-10 18:56:19

debug: classified in 03-filenames_plain1 by 'sys/net80211/'

System administration

Stuff in man section 8 (other than networking).

inetd.conf: Correct rsync example
There is no rsyncd binary in the rsync package; rsync is just invoked
with --daemon.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=122037
Sponsored by:   The FreeBSD Foundation
58a14d9596bd9a72683cbd725e817fdabe926139 Ed Maste 2026-01-05 14:51:28

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

nuageinit: config2_network support dns service cfg
This change enhances `config2_network()` to honor the DNS
configuration, when it's defined through the `services` section.

The `network_data.json` file can hold DNS configuration at two different
places:
- within a network configuration entry
- or `dns` entry in the `services` section, in this case the configuration is global.

An example of such configuration:

{"links": [{"id": "interface0", "type": "phy",
"ethernet_mac_address": "52:54:00:01:59:03"}], "networks": [{"id": "private-ipv4-0", "type": "ipv4", "link": "interface0",
"ip_address": "192.168.123.5", "netmask": "255.255.255.0", "routes": [{"network": "0.0.0.0", "netmask": "0.0.0.0", "gateway":
"192.168.123.1"}], "network_id": "9e5b1ed9-f5e6-4941-a90f-2e06bab858de", "dns_nameservers": ["192.168.123.1"], "services": [{"type":
 "dns", "address": "192.168.123.1"}]}], "services": [{"type": "dns", "address": "192.168.123.1"}]}

See: https://docs.openstack.org/nova/latest/user/metadata.html

MFC After:      1 week
Signed-off-by: Gonéri Le Bouder <goneri@lebouder.net>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1941
7af8b75201b7af353fa74c8feb937b52f5ccf9bb Gonéri Le Bouder 2026-01-03 02:11:55

debug: classified in 03-filenames_plain1 by 'libexec/'

loader.efi: add stride & offset for MacBookPro3,1
Note that there are three variants of this MacBook. We only have the
stride and offset values for the 17" 1680x1050 model.

Reviewed by:    vexeduxr
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1584
be6ba97aaee762c2e5300834f1916ae5dfd5a0b9 Frank Hilgendorf 2025-01-27 21:18:39

debug: classified in 03-filenames_plain1 by 'stand/'

nuageinit: only create the default user when needed
The "default" user should only be created when:

- the `users` key is missing
- or the `default` string is present in the `users` list

Since the `public_keys` is extracted from the meta-data, this patch has
to slightly adjust the way they are loaded.
The change simplify the logic around the default user SSH key injection.
Both `ssh_authorized_keys` and `public_keys` are handled at the same time.

MFC After:      1 week
Signed-off-by: Gonéri Le Bouder <goneri@lebouder.net>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1952
cbc00fcc2b92e6e38b0a180261547b1a22b461bd Gonéri Le Bouder 2026-01-06 17:18:46

debug: classified in 03-filenames_plain1 by 'libexec/'

bhyve: improve console error reporting on arm64
Currently, on arm64, if bhyve fails to initialize the console,
it falls into assert(), which does not look particularly pretty
for users.

Replace the assert with proper error handling so bhyve prints
a meaningful error message and exits with status code 4 (error).
That matches the behavior on amd64.

Approved by:            markj
Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D54504
9fc7fe6427579f1c82a371588df6fd6af3b83dfd Roman Bogorodskiy 2026-01-04 13:59:34

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

lualoader: fix pruning of non-existent default kernel
Removing the kernel from the list of available kernels is sufficient to
avoid rendering it in the list, but we need more for booting to actually
work.  Notably, the 'kernel' loader.conf var was left intact to its
default value, so if one didn't use the kernel selector in the menu then
we'd try to boot the nonexistent 'kernel' instead of the new default
(first autodetected).

There's room to improve the error messages here, but for now let's just
make it actually work correctly.

PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292232
Fixes:  https://cgit.freebsd.org/src/commit/?id=d04415c520b03 ("loader: lua: remove the default kernel [...]")
e30086ab4c8778ea70a3b19e83546ce1b4a16492 Kyle Evans 2026-01-07 18:20:05

debug: classified in 03-filenames_plain1 by 'stand/'

loader.efi: Only use SPCR if enabled.
SerialPort in the SPCR is zeroed when serial redirection is disabled,
rather than the SPCR being omitted from the ACPI tables ony many
systems. Check to see that SerialPort.Address is non-zero before using.

FreeBSD would fail to boot on systems that could have a serial port
redireciton, but don't have it enabled because the loader would create a
bogus hw.uart.console. While one could unset this value to boot, you
couldn't do that automatically very easily. Instead, don't even look
at the SPCR table if the SerialPort is zero'd.

PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292206
MFC After: 3 days
Sponsored by: Netflix
Co-authored-by: Warner Losh <imp@FreeBSD.org>
Closes:  https://github.com/freebsd/freebsd-src/pull/1948
d82698ac68c23d856716dc9f6524b9ef363d7eba Jarmo Jaakkola 2026-01-08 05:14:56

debug: classified in 03-filenames_plain1 by 'stand/'

loader: Only warn when we have neither FDT nor ACPI
Sponsored by:         Netflix
Reviewed by:            adrian, andrew
Differential Revision:  https://reviews.freebsd.org/D54510
3989a3d8170168570c10f4529a8ce7891d432520 Warner Losh 2026-01-08 05:34:28

debug: classified in 03-filenames_plain1 by 'stand/'

nuageinit: set the hostname when user-data is missing
This address the situation reported here
https://github.com/freebsd/freebsd-src/pull/1952#issuecomment-3720210259

The user-data file was missing and the `sethostname` function is never
called. This commit adjusts slightly the logic to avoid the `exit()` call
when the `user-data` file is missing.

MFC After:      1 week
Signed-off-by: Gonéri Le Bouder <goneri@lebouder.net>
Differential Revision:  https://github.com/freebsd/freebsd-src/pull/1953
cae280931c9e1f072d8bf300c377ae120300b898 Gonéri Le Bouder 2026-01-07 21:03:34

debug: classified in 03-filenames_plain1 by 'libexec/'

nuageinit: fix test after recent behaviour change
with recent change nuageinit always create a "freebsd" user, if no
users are specified, which means we do need to get the rootdir in the
testsuite containing a group file otherwise pw complains and the tests
fails.
65e77d34fdff9065616cfaedef3ef53329cdad26 Baptiste Daroussin 2026-01-08 09:52:20

debug: classified in 03-filenames_plain1 by 'libexec/'

bhyve: add UNIX domain socket support to rfb
This commit adds support for a UNIX domain socket to bhyve's remote
framebuffer. It enables the use of the graphical console when the bhyve instance
is running in a jail with no networking, for instance. A VNC client running on
the host can then connect to the UNIX domain socket through the filesystem.

Signed-off-by:  Quentin Thébault <quentin.thebault@defenso.fr>
Sponsored by:   Defenso
Reviewed by:    kevans, markj
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D53814
cbc6f7e941e42639a0314cd121b06493cce8e0e6 Quentin Thébault 2025-11-18 06:44:05

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

sesutil: Remove width modifier on encoded "Desc" field
Remove the width modifier to remove white space padding
added to "description" field when running
`sesutil --libxo:JP show`.

Reviewed by:    asomers
Approved by:    asomers (mentor)
MFC after:      1w
Sponsored by:   ConnectWise
Differential Revision:  https://reviews.freebsd.org/D54536
bf98d6775d7f18c3596b7d3423db0cc11232bd64 Johan Söllvander 2026-01-08 16:15:54

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

bhyve: support MTU configuration for SLIRP net backend
Support configuring MTU for the SLIRP net backend, for example:

  -s 1:0,virtio-net,slirp,mtu=2048,open

Update the manual page accordingly.  While here, also document
MAC address configuration.

Reviewed by:    markj
Approved by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D54133
90b9a77ebeb8019fbd22b3cf992370cd9b0004a2 Roman Bogorodskiy 2025-12-08 17:37:09

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

stand: remove powerpcspe linker script
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    emaste
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1914
(cherry picked from commit 9c72e8e3500408f7ce5fc7be500dd3efc0307674)
fa6736526e18a4343f908f41d8019982e6994f05 Minsoo Choo 2025-12-03 04:14:41

debug: classified in 03-filenames_plain1 by 'stand/'

Cron: add CC and BCC option for crontab variables
Signed-off-by: Lakshmikanth Ayyadevara <lakshmikanth.a.ayyadevara@oracle.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1865
3e72ce4081f4a8d6b1d879dae201d569ce450261 Lakshmikanth Ayyadevara 2025-10-02 16:08:09

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

Fix NULL deref segfault in bhyve's usb_mouse.c
Some of the cases inside umouse_request() (usr.sbin/bhyve/usb_mouse.c)
use the data component of an event, while only partially checking if
it's NULL. 'data' has a NULL check, but then 'data' is immediately
deferenced anyway after the check regardless of if it's NULL or not.

For example:
        case UREQ(UR_GET_STATUS, UT_READ_INTERFACE):
        case UREQ(UR_GET_STATUS, UT_READ_ENDPOINT):
                DPRINTF(("umouse: (UR_GET_STATUS, UT_READ_INTERFACE)"));
                if (data != NULL && len > 1) {
                        USETW(udata, 0);
                        data->blen = len - 2;
                        data->bdone += 2;
                }
                eshort = data->blen > 0;
                break;

There are actually four occurrences of this same bug, each in a
different case in this switch block.

Signed-off-by: Jack Bendtsen <jackdbendtsen@gmail.com>
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282237
Reviewed by: imp, jhb, vexeduxr
MFC After: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/1728
7631790422464de1aec309018e2c444defe5f629 Jack Bendtsen 2025-06-19 07:40:31

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

Comments: FreeBSD.conf should not be overwritten
The files /usr/sbin/pkg/FreeBSD.conf.* currently set base repo to {enable: no}.
We don't want to overwrite /local/etc/pkg/repos/FreeBSD.conf that already exists
when users choose tech preview in the installation.

Signed-off-by: Guilherme Augusto de Souza Candinho <cndghm@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1925
849c0eb0702879d7cd0fdec589aac048b691b2ab Guilherme Augusto de Souza Candinho 2025-12-13 22:55:28

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

bsdinstall: Create separate datasets for directories in /usr/ports
Both distfiles & packages contain compressed files.

Signed-off-by: Ricardo Branco <rbranco@suse.de>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1873
3e8619e535b61c99f0dc50cc6c7e237eb82a8be7 Ricardo Branco 2025-10-12 10:32:02

debug: classified in 04-filenames_plain2 by 'usr.sbin/'

Commit group #3: newfs: Add an option to disable soft updates
newfs: Add an option to disable soft updates

A previous commit turned soft updates on by default for UFS2 without
providing a way to turn them off.  This corrects that by adding a new -u
flag which forces soft updates (and soft updates journaling) off.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Fixes:          https://cgit.freebsd.org/src/commit/?id=61dece6d27fb ("Enable soft updates by default for UFS2 filesystems.")
Reviewed by:    mckusick
Differential Revision:  https://reviews.freebsd.org/D54576
68562f8145e8154e7e276897a546995f0d8f3428 Dag-Erling Smørgrav 2026-01-11 02:34:00

debug: classified in 03-filenames_plain1 by 'sbin/'


newfs: Add -u to getopt string

Fixes:          https://cgit.freebsd.org/src/commit/?id=68562f8145e8 ("newfs: Add an option to disable soft updates")
717ae163919e48f000b94f85dc188e0d92261929 Dag-Erling Smørgrav 2026-01-11 14:07:47

debug: classified in 03-filenames_plain1 by 'sbin/'

Libraries

stdbool.h: Update for C23
When a compiler with C23 or higher is detected, builtin bool, true,
and false are used to conform the C23 standard.

Reviewed by:    imp
Differential Revision: https://reviews.freebsd.org/D44664
f441a225c4eb56deff1edc2402fe85a0ae263ebd Minsoo Choo 2026-01-06 19:57:27

debug: classified in 03-filenames_plain1 by 'include/'

librdmacm/libibverbs: Add bnxtre RDMA provider to OFED build infrastructure
Extend the FreeBSD OFED build framework to include the Broadcom bnxtre RDMA
provider library.

This change:

 -Registers libbnxtre in src.libnames.mk so it is built and installed as part
  of the OFED libraries.
 -Adds bnxtre to the OFED pcap dependency set when MK_OFED is enabled.
 -Declares proper dependency mappings for bnxtre (ibverbs, pthread).
 -Introduces LIBBNXTREDIR for consistent object directory handling.
 -Updates libibverbs and librdmacm build rules to link against libbnxtre,
  enabling Broadcom RoCE device support at runtime.
 -libbnxtre library uses below constructor to register with the libibverbs,
  static attribute((constructor)) void bnxt_re_register_driver(void)

These updates ensure that applications using libibverbs and librdmacm can
discover and use Broadcom bnxt RDMA devices on FreeBSD.

Reviewed by: markj, ssaxena
Differential Revision: https://reviews.freebsd.org/D54368
MFC after: 3 days
821c6c43a33d5b72290ee7f896d28438a3b789e1 Sreekanth Reddy 2026-01-09 11:34:43

debug: classified in 05-summary-prefix by 'lib.*:'

lib: remove powerpcspe
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    emaste
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1914
(cherry picked from commit 907cf3e4378f9d114af41d05a59ef4a075d3efb0)
9cdb2eb66823e19c86cc9d2ebcf0c70c32a40caf Minsoo Choo 2025-12-03 04:12:49

debug: classified in 04-filenames_plain2 by 'lib/'

Filesystems

nfsd: Fix handling of hidden/system during Open/Create
When an NFSv4.n client specifies settings for the archive,
hidden and/or system attributes during a Open/Create, the
Open/Create fails for ZFS.  This is caused by ZFS doing
a secpolicy_xvattr() call, which fails for non-root.
If this check is bypassed, ZFS panics.

This patch resolves the problem by disabling va_flags
for the VOP_CREATE() call in the NFSv4.n server and
then setting the flags with a subsequent VOP_SETATTR().

This problem only affects FreeBSD-15 and main, since the
archive, system and hidden attributes are not enabled
for FreeBSD-14.

I think a similar problem exists for the NFSv4.n
Open/Create/Exclusive_41, but that will be resolved
in a future commit.

Note that the Linux, Solaris and FreeBSD clients
do not set archive, hidden or system for Open/Create,
so the bug does not affect mounts from those clients.

PR:     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292283
Reported by:    Aurelien Couderc <aurelien.couderc2002@gmail.com>
Tested by:      Aurelien Couderc <aurelien.couderc2002@gmail.com>
MFC after:      2 weeks
a6d57f312f18bbeeda8a34e99d0a662b0db9a190 Rick Macklem 2026-01-08 16:27:32

debug: classified in 03-filenames_plain1 by 'sys/fs/'

fusefs: support FUSE_IOCTL
MFC After: 1 week
Signed-off-by: CismonX <admin@cismon.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1470
17ba6f428683b661178b50a9d59f8b9e0dd2138a CismonX 2025-07-05 12:46:27

debug: classified in 03-filenames_plain1 by 'sys/fs/'

Kernel

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

Commit group #4: linuxkpi
linuxkpi: Define `PCI_POSSIBLE_ERROR()` macro

It comes with `PCI_ERROR_RESPONSE` and `PCI_SET_ERROR_RESPONSE()` but we
don't use them so far. Therefore `PCI_POSSIBLE_ERROR()` will always
reture false.

As written in the comment, this macro is a bit weird given the Linux
`pci_read_*() functions can return an error code separately from the
read value.

The `PCI_POSSIBLE_ERROR()` macro started to be used by the amdgpu DRM
driver in Linux 6.10.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54487
ace666bd21a204c62807f2c899402a7dc9ab161a Jean-Sébastien Pédron 2025-08-09 16:14:05

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add a dummy <linux/kdebug.h>

The DRM generic code started to include it in Linux 6.10 but doesn't
seem to use anything inside.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54490
65d7e9033439581af5bc1668827850663f84a5a5 Jean-Sébastien Pédron 2025-08-12 21:58:44

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Split <linux/compiler.h>

On Linux, they split the content into three headers:
1. <linux/compiler.h>
2. <linux/compiler_types.h>
3. <linux/compiler_attributes.h>

The first includes the second, which includes the third.

<linux/compiler_types.h> is also included on the compiler command line
by default! I added that to the compilation flags of the DRM drivers.
This allowed me to drop at least one:

    #ifdef __FreeBSD
    #include <linux/compiler.h>
    #endif

Note that our copy of <linux/compiler.h> contains definitions which are
not defined by Linux' <linux/compiler.h>. I left them alone.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54495
33fa585a0e9032b31c563c8aae001c0c2a4866d4 Jean-Sébastien Pédron 2025-08-17 11:10:43

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Replicate Linux #includes between headers

The DRM drivers (and probably other parts of the Linux kernel) had a
significant cleanup w.r.t. which source file includes what in Linux
6.10. Nonetheless, the DRM drivers still depend on implicit namespace
pollution because some source files do not include all the headers they
should.

This cleanup broke the build with FreeBSD because we do not replicate
the same `#include` directives everywhere.

This commit adds the same `#include` directives in several headers in
order to get the same namespace pollution.

This fixes the build of the DRM drivers from Linux 6.10. An example is
`drm_dp_tunnel.c` which needed `str_yes_no()` defined by
<linux/string_helpers.h> (technically <linux/string_choices.h> in
Linux). It gets it through:

    <linux/i2c.h> -> <linux/regulator/consumer.h> -> <linux/suspend.h> ->
    <linux/swap.h> -> <linux/memcontrol.h> -> <linux/cgroup.h> ->
    <linux/seq_file.h> -> <linux/string_helpers.h>

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54496
b5f7a0b0fd8953c00b154d96b79ba0208c2e1aca Jean-Sébastien Pédron 2025-08-17 11:17:49

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add support for statically-allocated kfifo

The main difference with the dynamically allocated version is that the
structure is initialized with `DECLARE_KFIFO()` which takes the number
of items as an additional argument compared to `DECLARE_KFIFO_PTR()`.

The declared structure is then initialized with `INIT_KFIFO()` which
sets all fields to 0, except `total` which is computed from the size of
the array passed to `DECLARE_KFIFO()`.

The amdgpu DRM driver started to used this in Linux 6.10.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54497
55bd09ae0fc437c9eb135952ac278540b7388add Jean-Sébastien Pédron 2025-09-07 08:37:27

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add a dummy <linux/fpu.h>

The amdgpu DRM driver started to include in from Linux 6.10, but either
it does not use any of it, or linuxkpi provides the necessary API from
another header.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54498
242beec703f771312fac3be1b4ce3092bbc93e25 Jean-Sébastien Pédron 2025-09-07 23:22:05

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add `rol64()`

This is used by <linux/siphash.h> added in a separate future commit.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54499
a9462e32fa75a9a1e3f49964bc42b5303e0dd092 Jean-Sébastien Pédron 2025-09-07 23:22:22

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add get_unaligned_le64()

This function was the only one missing in the `get_unaligned_*()`
family. This is going to be used by the imported `linux_siphash.c` in a
future commit, which itself is used by DRM drivers starting from Linux
6.10.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54500
15f29e1e1978bbc4ed24975ad3666596281076fc Jean-Sébastien Pédron 2025-09-15 21:40:31

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add <linux/siphash.h>

The file is copied as is from Linux 6.10 as it dual-licensend under the
GPLv2 and BSD 3-clause.

The amdgpu DRM driver started to use it in Linux 6.10.

Reviewed by:    bz, emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54501
d448578b445da95806ef9af996a0db9754daadeb Jean-Sébastien Pédron 2025-09-07 13:43:11

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add `radix_tree_deref_slot()`

We don't do reference counting, we only dereference the pointer and
retunr the value.

The amdgpu DRM driver started to use it in Linux 6.10.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54502
4c89b333808a7eae0dad595b13686e9cf60bd4e6 Jean-Sébastien Pédron 2025-09-07 13:45:10

debug: classified in 04-filenames_plain2 by 'sys/'

Commit group #5: Add ASMC_DEBUG make option
Add ASMC_DEBUG make option

This allows folks to enable debug statements in asmc(4) using kernel
configs via the `options ASMC_DEBUG` directive.

While here, remove a duplicate `device vt_efifb` directive in `NOTES`
as it's already handled in the `GENERIC` config

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54511
f224591746bdaf14ad5f63de4738a3146cc2f55f Enji Cooper 2026-01-04 08:27:57

debug: classified in 04-filenames_plain2 by 'sys/'


i386: Fix kernel compilation after introduction of ASMC_DEBUG option

Fixes:          https://cgit.freebsd.org/src/commit/?id=f224591746bd ("Add ASMC_DEBUG make option")
Sponsored by:   The FreeBSD Foundation
fde9fe18219f6e987279a9d042345e7c6fc170d1 Olivier Certner 2026-01-09 16:25:52

debug: classified in 04-filenames_plain2 by 'sys/'


sys/x86/NOTES: Add vt_efifb

Contrary to what is stated in commit f224591746bd ("Add ASMC_DEBUG make
option"), the various NOTES files should list all available options.

Since vt_efifb is supported also on i386, add it back to x86/NOTES
instead of amd64/NOTES.

Fixes:          https://cgit.freebsd.org/src/commit/?id=f224591746bd ("Add ASMC_DEBUG make option")
Sponsored by:   The FreeBSD Foundation
67599eef01f5417715f673ec81fc1467917c7a10 Olivier Certner 2026-01-09 16:23:59

debug: classified in 03-filenames_plain1 by 'sys/x86/'

debug: moved to kernel because 'Need to be grouped with f224591746bdaf14ad5f63de4738a3146cc2f55f'

kern_syscall_deregister: document syscall 0 no-op logic
Document syscall #0 being handled specially in
`kern_syscall_deregister(..)`: it's a reserved syscall and not
dynamically registered, and hence does not need to be deregistered in
the function.

Co-authored-by: ngie@
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D54326
f384784289dba13b90138a89d3df3a8ea063aff9 Anagh Verma 2026-01-06 07:42:56

debug: classified in 04-filenames_plain2 by 'sys/'

linker: Reset DMAP protections in link_elf_unload_file()
On x86, when a preloaded kernel module is unloaded, we free the backing
(physically contiguous) pages.  The ET_REL linker will have adjusted
protections on segments of the preloaded file, which updates the direct
map, so the original protections must be restored when unloading the
module.

Previously this was handled in kmem_bootstrap_free(), but there is no
apparent reason not to handle this within the kernel linker.  Moreover,
we were not resetting permissions in the kernel map on arm64.

Reviewed by:    alc, kib
MFC after:      3 weeks
Differential Revision:  https://reviews.freebsd.org/D54438
203e5a1eeec1153b0bcb230ccfb90531fa8cbeb5 Mark Johnston 2026-01-06 16:48:54

debug: classified in 04-filenames_plain2 by 'sys/'

Commit group #6: linuxkpi
linuxkpi: Define `raw_spinlock_t` in <linux/spinlock.h>

For now, it is synonymous to `spinlock_t`. The DRM generic code uses the
`struct raw_spinlock` and not `raw_spinlock_t`, that's why the
definition is a struct embedding a `struct mtx`, compared to
`spinlock_t` which is a simpler typedef.

The DRM generic code started to use it in Linux 6.10.

Reviewed by:    bz, christos
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54489
ac341353a0434408eec6388f3451be8517252c5f Jean-Sébastien Pédron 2025-08-12 21:55:04

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add <linux/font.h>

The header defines the minimum to allow the DRM generic code to build.
The only function used so far is `get_default_font()`, as part of a
DRM-specific panic handler. We do not use this panic handler on FreeBSD.

For now, it returns a NULL value. It should probably map to a vt(4)
font.

The DRM generic code started to use it in Linux 6.10 as part of the
panic handler.

Reviewed by:    bz, christos
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54491
514d37fa268b8b181e3632d7f138bd09aa15683c Jean-Sébastien Pédron 2025-08-12 22:00:10

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add <linux/kmsg_dump.h>

This header declares register/unregister functions to allow a piece of
code to tell what function to call in case of a panic. Several panic
handlers may be registered.

The DRM generic code started to use it in Linux 6.10 as part of the
panic handler.

Reviewed by:    bz, christos
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54492
e86e4f161e7232b7ac19af906368c664d6167cdc Jean-Sébastien Pédron 2025-08-12 22:02:18

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add WARN_RATELIMIT()

The i915 DRM driver started to use it in Linux 6.10.

Reviewed by:    bz, christos
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54493
3942e85b992138056841cd7c96ea20436a66b740 Jean-Sébastien Pédron 2025-08-12 23:14:52

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Replicate the chain of #include in the `cec*.h` headers

The i915 DRM driver depends on this namespace pollution to access
`debugfs_*` functions, after several explicit #include of
<linux/debugfs.h> were removed in Linux 6.10.

Reviewed by:    bz, christos
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54494
10c6f1f627cd4267f9b95f60a9a30e4609566f8a Jean-Sébastien Pédron 2025-08-13 19:13:10

debug: classified in 04-filenames_plain2 by 'sys/'


linuxkpi: Add `rol32()`

`rol64()` and `rol32()` are used by <linux/siphash.h>. The former was
added previously, before <linux/siphash.h> was added. However the latter
was not, and it broke the build on armv7.

Reported by:    adrian
Reviewed by:    adrian, rpokala
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54588
6c0bcd15e4782ff2e23119a37396d693d09c695d Jean-Sébastien Pédron 2026-01-07 21:18:38

debug: classified in 04-filenames_plain2 by 'sys/'

vm_object.h: tweak OBJ_ONEMAPPING comment even more
The formulation that pages are allowed to have at most one mapping is
not quite clear.  Nothing prevents pages from having more than one
mapping, but the flag must be cleared then.

Reviewed by:    alc, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D54570
dcb80621bbf9a733b91f1a011af873318fac2709 Konstantin Belousov 2026-01-07 06:25:46

debug: classified in 04-filenames_plain2 by 'sys/'

tty(4): Consistently use ISO C99 bool
61002e0371f09fcd024434144657496d9caa3908 Marius Strobl 2026-01-07 17:12:24

debug: classified in 04-filenames_plain2 by 'sys/'

Commit group #7: cam
cam: Start adding dtrace provider 'cam'

Start to provide robust tracing in cam now that clang has broken my
fbt-based dtrace scripts a couple of times.

Sponsored by:           Netflix
Reviewed by:            adrian
Differential Revision:  https://reviews.freebsd.org/D54468
ecb1f465836a40c7cdcbcfb67d7d23c36b48c1eb Warner Losh 2026-01-08 06:19:03

debug: classified in 04-filenames_plain2 by 'sys/'


cam: Add probes for xpt actions

cam::xpt:action(union ccb *)
cam::xpt:done((union ccb *)
cam::xpt:async-cb(void *cbarg, uint32_t async_code, struct cam_path
        *path, void *async_arg);

Called when xpt_action(), xpt_done*() and the xpt async callbacks are
called.

Sponsored by:           Netflix
Reviewed by:            adrian
Differential Revision:  https://reviews.freebsd.org/D54469
1a7151f79664644b2e7c8e69427be8b846e9c1a4 Warner Losh 2026-01-08 06:19:10

debug: Commit manually moved from "unknown" to "kernel".


cam: When inq data isn't valid, pass NULL

When the device isn't there, we don't have valid inq data. Pass NULL in
this case. All the routines that receive this test against NULL already.

Sponsored by:           Netflix
Reviewed by:            adrian
Differential Revision:  https://reviews.freebsd.org/D54470
aaec2a90b5cecd38520ecb0ffa23f116d36933f3 Warner Losh 2026-01-08 06:19:21

debug: classified in 04-filenames_plain2 by 'sys/'

Commit group #8: cache
cache: avoid hardcoded zone alignment

Previously, this was underaligned on CHERI system where pointers are
larger than time_t.

Use the alignment of struct namecache_ts which picks up time_t via strut
timespec and pointers via struct namecache.  This arguably overaligns
cache_zone_small and cache_zone_large on i386 kernels, but I suspect the
actual microarchitectures most i386 binaries are run on do better with
64-bit alignment.

Reviewed by:    olce, markj
Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Fixes:          https://cgit.freebsd.org/src/commit/?id=cf8ac0de8150 ("cache: reduce zone alignment to 8 bytes")
Differential Revision:  https://reviews.freebsd.org/D54376
fb0bdbea2ed4f63ef07061313f8cef89a3d73579 Brooks Davis 2026-01-09 14:15:22

debug: classified in 04-filenames_plain2 by 'sys/'


cache: avoid hardcoded cache padding

Replace CACHE_LARGE_PAD with rounding up to the alignment of struct
namecache_ts.

No functional change.

Reviewed by:    olce, markj
Suggested by:   jhb
Effort:         CHERI upstreaming
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D54553
258ad800929b397c79bd1fc8178e14bfec9ebe78 Brooks Davis 2026-01-09 14:15:35

debug: classified in 04-filenames_plain2 by 'sys/'


cache: avoid hardcoded CACHE_PATH_CUTOFF

Compute the cutoff at compile time instead which will avoid the need
for a CHERI case.

Correct the comment about CACHE_PATH_CUTOFF.  It dates to 5.2.0 not 4.4
BSD.  Historic values are:

32 - introduced (c2935410f6d5f)
35 - NUL terminated and bumped (5d5c174869104)
39 - sized to alignment (bb48255cf5eff)
45 - bumped to improve efficency on 64-bit (3862838921eb8)

No functional change.

Reviewed by:    markj
Suggested by:   jhb
Effort:         CHERI upstreaming
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D54554
1b425afa8d5fb611b17f951e5099c177fd97ffea Brooks Davis 2026-01-09 14:15:43

debug: classified in 04-filenames_plain2 by 'sys/'

conf: remove powerpcspe
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    emaste
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1914
(cherry picked from commit 4a5a1c17ac43356fae053524187bb16f8fc1ac70)
c5d4a124d093f11784833f25d1332a54465678fb Minsoo Choo 2025-12-03 04:06:10

debug: classified in 04-filenames_plain2 by 'sys/'

device_delete_child should be destroying the child, not the dev
MFC After: 1 week
Reviewed by: imp, kib
Pull Request: https://github.com/freebsd/freebsd-src/pull/1934
930a1341d62ccc4be969c2261e3abaf0c0573a9f AZero13 2025-12-18 02:09:31

debug: classified in 04-filenames_plain2 by 'sys/'

linux: support termios2 ioctls
Signed-off-by: mothcompute <mothcompute@protonmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1949
85bf328868c8f6d8fede9d8d4b4ff8a589636990 mothcompute 2026-01-06 03:19:21

debug: classified in 04-filenames_plain2 by 'sys/'

linux: add hidraw ioctl handler
First step towards getting the Linux version of SDL with HIDAPI gamepad
drivers to work. Not quite complte as SDL expects to find some
information in sysfs as well.

Signed-off-by: Alex S <iwtcex@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1938
d5e5fed1edfc3828f594fa8727d1c62c36b54e16 Alex S 2025-12-31 09:11:53

debug: classified in 04-filenames_plain2 by 'sys/'

ixl(4): Enable building driver on ARM64
For consistency with other drivers enable building ixl
on ARM64 target.

Please be advised that it is only compile tested.
Intel will continue to test Ethernet drivers only on x86-64
platforms, and is not going to provide support for issues,
which cannot be reproduced in such environment.

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

Suggested by:   Dave Cottlehuber <dch@FreeBSD.org>
Reviewed by:    manu
Approved by:    kbowling (mentor)
MFC after:      2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D54289
a3d472219c5aa3c211371aebd2effbfade61cb5c Krzysztof Galazka 2026-01-09 22:36:10

debug: classified in 04-filenames_plain2 by 'sys/'

rge: Add to amd64 GENERIC and to sys/conf/NOTES
Reviewed by:  adrian
Differential Revision:  https://reviews.freebsd.org/D54609
e28529ca4d34084452ca9acf63aa40279787239a Brad Smith 2026-01-10 03:57:17

debug: classified in 04-filenames_plain2 by 'sys/'

cddl: remove sparc and mips code
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1910
c29ec2ee9871cc21c3406bf6ed398980acbedcb5 Minsoo Choo 2025-12-01 15:10:06

debug: classified in 04-filenames_plain2 by 'sys/'

Build system

release: Use make's `:H` rather than `/..`
In general we want to strip subdir components, rather than appending
`..`s.

Reviewed by:    lwhsu
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54373
3949c2b8c4691a6dff8be7b38805d56faab91187 Ed Maste 2025-12-26 16:36:43

debug: classified in 02-filenames_wildcards by '.*Makefile'

share/mk: Remove trailing '/' from debug info directories
Signed-off-by: Marian Cingel <cingel.marian@gmail.com>
Reviewed by:    emaste
Pull request:   https://github.com/freebsd/freebsd-src/pull/1947
7359df79d3affeccf17f12f16c23ba3d4c5e0346 Marian Cingel 2026-01-04 22:15:01

debug: classified in 03-filenames_plain1 by 'share/mk/'

Makefile.inc1: Allow safe installkernel with pkgbase
Commit 74a6bb524e5b added a check to install{world,kernel} to avoid
people accidentally running this on pkgbase systems and leaving their
system broken.  This had two issues:

(1) The warning was not sufficiently scary, leading people to think
    this was safe to do as long as they set DESTDIR=/.

(2) The installkernel check was too strict, and prevented installing
    kernels that don't conflict with packaged kernels.

Fix (1) by rewording the warning to be scarier, and while here, add
two new variables (ALLOW_PKGBASE_INSTALL{WORLD,KERNEL}) which could
be set in /etc/make.conf for people who want to break their systems
by default.

Fix (2) by improving the installkernel check to see if the kernel(s)
we're actually installing are packaged.  This means a new kernel can
be installed to /boot/kernel as long as there's no packaged kernel
installed there.  This check understands INSTKERNNAME, so if there
is a packaged kernel in /boot/kernel, the new kernel can still be
installed using INSTKERNNAME=testkernel (or whatever).

MFC after:      2 weeks
Reported by:    christos, jhb, others
Reviewed by:    emaste, christos (previous version)
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D54346
89c017d068704c2bc3da9cb22f43da17a9ce8c24 Lexi Winter 2026-01-05 17:39:47

debug: classified in 02-filenames_wildcards by '.*Makefile'

Makefile.inc1: Fix INSTALLEXTRAKERNELS for one-kernel case
If BUILDKERNELS contains a single kernel, and NO_INSTALLEXTRAKERNELS=no,
then ${BUILDKERNELS:[2..-1]} returns the first kernel in the list and
that kernel ends up in both INSTALLKERNEL and INSTALLEXTRAKERNELS.

This breaks the package build because it means we generate that package
twice, once with an incorrect install path of /boot/kernel.NAME instead
of /boot/kernel.

Only set INSTALLEXTRAKERNELS if we're building at least two kernels.

Fixes:  https://cgit.freebsd.org/src/commit/?id=2c0e9a76c1ce ("Makefile.inc1: Make NO_INSTALLKERNEL less of a hack")
Reviewed by:    jrtc27
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D54539
0b298e314a8b47c1f2bf8a9ff86c050accbd744d Lexi Winter 2026-01-06 01:48:04

debug: classified in 02-filenames_wildcards by '.*Makefile'

zstd: Move to a new zstd package
Zstd is a discrete, self-contained system component.  To match how we
package zlib, bzip2 and xz, move it to its own package, with a separate
lib package.

Add the new package to the minimal set, since this is a core component
that users expect to be installed.

This change adds a new package to the system so, until we have a proper
policy on how to handle this in release/stable branches, it should not
be MFC'd.

MFC after:      never
Reviewed by:    bapt
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53603
9c401bf14854ef20e5e187395a686b0d1b7bcb5f Lexi Winter 2026-01-06 04:23:22

debug: classified in 02-filenames_wildcards by '['.*Makefile', 'release/.*']'

libypclnt: Move to yp package
This was previously in runtime, because pam_unix uses it and we don't
want to pull in the entire yp package as a dependency of runtime.

However, we can now use LIB_PACKAGE here to create a yp-lib package
to contain the library, which is a much more reasonable dependency.
Since libypclnt clearly belongs in the yp package, move it there.

This change moves files between packages so, until we have a proper
policy on how to handle this in release/stable branches, it should
not be MFC'd.

MFC after:      never
Reviewed by:    bapt
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53600
bde17e7663efc2e6abfb137d4bbd937226a66674 Lexi Winter 2026-01-06 04:26:53

debug: classified in 02-filenames_wildcards by '.*Makefile'

lib/libbl[ao]cklist: Use LIB_PACKAGE
This avoids e.g. utilities or ssh depending on the full blocklist
package just because they link against libblocklist.

This change moves files between packages so, until we have a proper
policy on how to handle this in release/stable branches, it should
not be MFC'd.

MFC after:      never
Reviewed by:    bapt
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53605
4028504b4826caf3dac64a30cf0de777e2a6b607 Lexi Winter 2026-01-06 04:28:43

debug: classified in 02-filenames_wildcards by '.*Makefile'

release: stop disabling sendmail
sendmail is already disabled by default everywhere since 14.0

MFC After:      1 week
Approved by:    emaste (re)
Reviewed by:    emaste (re)
Differential Revision:  https://reviews.freebsd.org/D54575
d07198ff72aeddc5a884cfb81b22c22f2abf88f6 Baptiste Daroussin 2026-01-07 13:55:54

debug: classified in 02-filenames_wildcards by '['.*Makefile', 'release/.*']'

Commit group #9: GCE
GCE: Fix growfs path

The sed command was missing the ${DESTDIR} prefix, meaning it was
attempting to modify the build host's /etc/rc.d/growfs instead of
the target image's script. Tested in an arm64 builder that builds
as non-root.

PR:             kern/https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292081
MFC after:      1 day
709c1049fe0c6d0217e81268d4f33f7191474453 William Carrel 2026-01-08 08:49:42

debug: classified in 02-filenames_wildcards by 'release/.*'


GCE: Enable vtnet(4) Multiqueue.

Removes hw.vtnet.mq_disable=1.

This workaround was originally introduced nearly a decade ago to
address stability issues on KVM that have long since been resolved
in both the FreeBSD driver and the GCE hypervisor. Removing this
allows network interrupts to scale across multiple vCPUs.

Tested on n2-highcpu-16 VM with 15.0-RELEASE and confirmed multiple
queue pairs active and interrupts handling across cores.

PR:             kern/https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292081
MFC after:      1 day
f604d84618ad478fa46ec374480cbcbc1d93bf07 William Carrel 2026-01-08 08:51:11

debug: classified in 02-filenames_wildcards by 'release/.*'


GCE: ARM64 Support: Add hw.pci.honor_msi_blacklist=0.

This is required for MSI support on GCE ARM64 instances which is
prerequisite to gve(4) not panicking at boot, and nvme(4) also has
a real sad time without interrupts. Tested on a variety of c4a VMs.

This is meant to be a temporary hack; long term fix would be to
check for the hypervisor and quirk gve(4) device with
PCI_QUIRK_ENABLE_MSI_VM.

PR:             kern/https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292081
MFC after:      1 week
9ae43352c89c776c8171f5881a984bc39acf5d6a William Carrel 2026-01-08 08:56:27

debug: classified in 02-filenames_wildcards by 'release/.*'

Makefile: Update doxygen requirements
MFC after:    3 days
Reviewed by:    imp, ziaee
Signed-off-by:  Minsoo Choo <minsoochoo0122@proton.me>
Closes:         https://github.com/freebsd/freebsd-src/pull/1869
d2f1c8e0d1bebab9fba32d69d261abc101f368ba Minsoo Choo 2026-01-06 18:11:11

debug: classified in 02-filenames_wildcards by '.*Makefile'

release: make sh the default shell
The default shell for root has been changed to sh(1) followup changing
in release images sh(1) the shell for the "freebsd" user.

MFC After:      1 week
Reviewed by:    manu, emaste (re)
Approved by:    manu, emaste (re)
Differential Revision:  https://reviews.freebsd.org/D54602
d64db8892f8519f108d838f8d7e1d3b675ed37cd Baptiste Daroussin 2026-01-08 15:28:34

debug: classified in 02-filenames_wildcards by 'release/.*'

Makefile*: remove powerpcspe
As reported on the freebsd-announce mailing list[1] FreeBSD is
continuing to retire 32-bit support.  Remove powerpcspe from build
infrastructure.

[1] https://lists.freebsd.org/archives/freebsd-announce/2024-February/000117.html

Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    jhibbits, emaste
Pull request:   https://github.com/freebsd/freebsd-src/pull/1914
94d1731e73ccb97df5fc5928bb584cabb8e37f1f Minsoo Choo 2025-12-03 03:57:23

debug: Commit manually moved from "unknown" to "build".

release: remove powerpcspe
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    jhibbits, emaste
Pull request:   https://github.com/freebsd/freebsd-src/pull/1914
7a00382beb3dcdecc75eedc0c4248fe5145ccdc2 Minsoo Choo 2025-12-03 03:49:27

debug: classified in 02-filenames_wildcards by 'release/.*'

bsd.man.mk fix staging
The STAGE_SETS and STAGE_TARGETS need to match
STAGE_DIR.

For each STAGE_SET we have STAGE_DIR.${STAGE_SET}
and create a target stage_files.${STAGE_SET},
the settings all need to be self consistent to work.
9cd89fc5aa3c0e76375732788fe9d4282d65224f Simon J. Gerraty 2026-01-11 02:44:40

debug: classified in 03-filenames_plain1 by 'share/mk/'

bsd.man.mk simplify staging
We actually only need the high level targets stage_files and stage_links
meta.stage.mk will take care of the details.
9fed072b44223f061a0dbf604741091b3bc09aee Simon J. Gerraty 2026-01-11 02:59:20

debug: classified in 03-filenames_plain1 by 'share/mk/'

powerpc: fix release image building for Apple partitions
awk changed somewhere between 14 and 15 and it stopped accepting
a hexadecimal number as its input - it will always return 0.
This results in a very badly written apple boot block.

So just remove it; do the math in shell.

PR:             kern/https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292341
Differential Revision:  https://reviews.freebsd.org/D54639
Reviewed by:    imp
MFC after:      1 week
7afa03963c448a14b1735a10eaf84941b0b74862 Adrian Chadd 2026-01-11 03:59:41

debug: classified in 02-filenames_wildcards by 'release/.*'

EC2: Add extra SSM Parameter names for releases
Record releases in the SSM Parameter Store not just as e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE
but also as .../RELEASE/latest, e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE/latest

The latter parameters will be updated when new AMIs are built with
security and errata updates appplied, and have been backfilled for
15.0.

MFC after:      3 days
MFC to:         stable/15 (14.x will not get security-update AMIs)
Sponsored by:   Amazon
b558c92fd0005d311edbcd02953c17d4a34fb909 Colin Percival 2026-01-11 22:25:51

debug: classified in 02-filenames_wildcards by '.*Makefile'

Internal organizational stuff

git-arc: Try to make patching more useful
Add a raw mode, which fetches the patch file and applies it manually
rather than using arc patch.  This is handy because arc patch will
always try to fetch your remotes if it can't find the base commit in
your repo (even if you ask it not to make a commit).  This is basically
unusable in some of my workspaces where I have 20+ remotes configured,
some of which may be unreachable.

Add a stack mode, which causes git-arc to recursively apply parent
revisions, going up the patch stack.  Thus, to apply a full patch stack,
just apply the final patch with -s.

Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D54403
684c762485d31d769b9e1ebeaababa31f684d2de Mark Johnston 2026-01-05 14:17:11

debug: classified in 03-filenames_plain1 by 'tools/tools/git/'

git-arc: Try to improve documentation
When I originally wrote git-arc, the usage string was the documentation.
Later, a man page was added, largely copied from the usage string.  Over
time they have diverged slightly.

It is silly to have two copies of the same information, so let's make
the man page the source of truth.

While here, document some options for git-arc-patch and rewrite a few
sentences here and there in a way that I hope is clearer.

Reviewed by:    ziaee, ngie, adrian
Differential Revision:  https://reviews.freebsd.org/D54405
1c8dafe618878c563c3740061f83a85b0be10720 Mark Johnston 2026-01-05 14:17:21

debug: classified in 03-filenames_plain1 by 'tools/tools/git/'

MAINTAINERS/CODEOWNERS: Add myself to mpr, mps and mpi3mr
Yea, I realize these are decaying, but I'm going to take a run at
automatically tagging reviews for github pull requests. I suspect that
tagging will help with the 'stale' issues with at least CODEOWNER.  As
better data becomes available, especailly for contrib, I'll update
things.

Sponsored by:           Netflix
9b54998d1bdd5098d5538052024f88edcd625b4f Warner Losh 2026-01-11 06:22:41

debug: classified in 03-filenames_plain1 by '['.github/', 'MAINTAINERS']'

Testing

Convert fully to Python 3. Remove licence text, only keep
SPDX.

Update to use argparse rather than OptionParser (now deprecated).
eb1c0d74cbb99f329767b3d565ae57a3ec032bee George V. Neville-Neil 2026-01-05 11:40:12

debug: classified in 03-filenames_plain1 by 'tools/test/'

Start adding an exercise mode for programs under test.
In exercise mode we collect data for every available counter on a
program and keep all of that in a directory in /tmp.
4a1b69ade6b5e8665dfb4d0cb683854705192a68 George V. Neville-Neil 2026-01-05 12:30:22

debug: classified in 03-filenames_plain1 by 'tools/test/'

Commit group #10: makefs
makefs: tests: Double the timeout of ZFS compression test

The test makefs_zfs_tests:compression is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.

While here, check if the file exists before cleaning up, otherwise, cat
may fail.

Reported by:    Jenkins
Reviewed by:    asomers
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54424
9f28e92637e9a29124f407b74d7665a921865a53 Jose Luis Duran 2026-01-05 20:31:40

debug: classified in 02b-filenames_wildcards2 by 'usr.sbin/.*/tests/.*'


makefs: tests: Double the timeout of ZFS file_extend test

The test makefs_zfs_tests:file_extend is timing out on ci.freebsd.org.
Double the default timeout to allow it to finish.

Reported by:    Jenkins
Reviewed by:    asomers
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54425
065f02174f76a49fbf537ee51ed8068d3d398b08 Jose Luis Duran 2026-01-05 20:32:24

debug: classified in 02b-filenames_wildcards2 by 'usr.sbin/.*/tests/.*'


makefs: tests: Cleanup and remove default flags

Cleanup and remove default atf_check flags for clarity.  The following
two lines are equivalent:

    atf_check $cmd
    atf_check -s exit:0 -e empty -o empty $cmd

Update the links to the reference documents.

Remove the D_flag_cleanup function, as common_cleanup() for these
particular set of tests does two things:

1. Unmount the md(4) device.
2. Destroy the md(4) device.

Essentially, one should only call common_cleanup() if the test body
invokes mount_image().  This is not the case for D_flag_body().

No functional changes intended.

Reviewed by:    ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54427
0a6deb87c2802a47709c58d09b5f9122ed40c157 Jose Luis Duran 2026-01-05 20:32:46

debug: classified in 02b-filenames_wildcards2 by 'usr.sbin/.*/tests/.*'


makefs: tests: Fix -D flag test

As stated in the manual page:

-F is almost certainly not the option you are looking for.  To
create an image from a list of files in an mtree format manifest,
specify it as the last argument on the command line, not as the
argument to -F.

This change does exactly that.  Also bug #192839 has already been fixed.

Reviewed by:    ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54428
96efda9cd55689ef3fa067281d8b0a42a7122536 Jose Luis Duran 2026-01-05 20:33:27

debug: classified in 02b-filenames_wildcards2 by 'usr.sbin/.*/tests/.*'


makefs: tests: Fix timestamp-related tests

Use a variable for mtree that includes the DEFAULT_MTREE_KEYWORDS, in
order to avoid missing the important "time" keyword or passing an
unimplemented "nlink" keyword.

Unskip the "failing" tests, and comment out the specific failing checks,
these will be addressed (or at least discussed) in a different revision.

For MS-DOS tests, use an even value timestamp, as precision is 2s.

For ZFS tests, use import_image instead of mount_image consistently.

Reviewed by:    bnovkov, markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54429
93b15dbc1fbc3c33c9bd53091b28c3b629d0abe1 Jose Luis Duran 2026-01-05 20:34:03

debug: classified in 02b-filenames_wildcards2 by 'usr.sbin/.*/tests/.*'

Correct the data collection arguments. Add proper tempdirs.
e018fedef0a6389240322da9fa4b9fa9971f6e59 George V. Neville-Neil 2026-01-06 08:17:38

debug: classified in 03-filenames_plain1 by 'tools/test/'

Split counting from sampling.
77153a491e3b31475f5faddb21271a0a8e0d4a9b George V. Neville-Neil 2026-01-06 08:55:14

debug: classified in 03-filenames_plain1 by 'tools/test/'

pf: tests: Require python3
Reported by:  Jenkins
Reviewed by:    kp, ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54549
301bc149b96e54af4ebfba2822f4b7b411bb76c1 Jose Luis Duran 2026-01-07 17:51:57

debug: classified in 02b-filenames_wildcards2 by 'tests\/.*'

tests: Increase timeout
Bump the timeout value, to avoid cutoff on emulated architectures on
ci.freebsd.org.

Reported by:    Jenkins
Reviewed by:    ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54550
47015e4546619151f9bff548a3758b72286d04ed Jose Luis Duran 2026-01-07 17:52:26

debug: classified in 02b-filenames_wildcards2 by 'tests\/.*'

Extend the script to collect gprof data
While we're at it, switch to simple waiting from communicate() calls.
e2bedc7d69926426a710d035df51e0a0812d38b1 George V. Neville-Neil 2026-01-08 04:13:04

debug: classified in 03-filenames_plain1 by 'tools/test/'

tools: remove powerpcspe
As reported on the freebsd-announce mailing list[1] FreeBSD is
continuing to retire 32-bit support.  Remove powerpcspe from boot test
tools.

[1] https://lists.freebsd.org/archives/freebsd-announce/2024-February/000117.html

Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Reviewed by:    jhibbits, emaste
Pull request:   698d3c98d8f5814f705908d5bc6d930e3d4c4eda
0f937f171a8da9fa8cbbd060632e271e150c3acd Minsoo Choo 2025-12-03 03:51:59

debug: Commit manually moved from "unknown" to "tests".

Style, typos, and comments

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

aq(4): Style, whitespace and misc cleanup
The compiled objects do not change other than a few diagnostic messages
that include __LINE__.

Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54304
96156003ec0c70de88a448d48d8e9bd37913589f Ed Maste 2025-11-19 15:34:25

debug: classified in 01-style by '[wW]hitespace'

makefs: Fix typo 's/mirrorring/mirroring/'
MFC after:    1 week
73af599fb7be6806b553ac6f470d76711b74286c Jose Luis Duran 2026-01-05 20:35:37

debug: classified in 01-style by '[tT]ypo'

pxeboot.8: Fix mdoc typo for emails, tag spdx
Fixes:                https://cgit.freebsd.org/src/commit/?id=a37825313f62 (Fix mdoc typos for emails, tag spdx)
MFC after:      3 days
1961785e35484a89e49672c5ac7f9da6a7f56b3c Alexander Ziaee 2026-01-06 22:45:42

debug: classified in 01-style by '[tT]ypo'

mrsas.4: Fix devid hex style
c2b407244f3a939d8b09f9a22d872ebdce5f6b19 Michael Osipov 2026-01-07 08:04:14

debug: classified in 01-style by '[sS]tyle'

ps(1): Sort headers
Found these changes by chance in an old patch file.  Should have been
committed along with the ps(1) modifications done in March 2025.

No functional change (intended).

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
730b3e20069b7115d16f02525103c6c05fa04759 Olivier Certner 2026-01-08 15:20:38

debug: classified in 03-filenames_plain1 by 'bin/'

debug: Commit manually moved from "userland" to "style".

Contrib code

libarchive: merge from vendor branch
libarchive 3.8.5

Important bugfixes:
 #2809 bsdtar: fix regression from 3.8.4 zero-length pattern issue bugfix

Obtained from:  libarchive
Vendor commit:  dd897a78c662a2c7a003e7ec158cea7909557bee
MFC after:      1 week
4b047c3af3fec1607ba1cfe04e1d442a17fc1cf6 Martin Matuska 2026-01-05 20:14:54

debug: classified in 03-filenames_plain1 by 'contrib/'

dtrace: Add definitiosn for the cam dtrace provider
Sponsored by:         Netflix
Reviewed by:            adrian
Differential Revision:  https://reviews.freebsd.org/D54471
efb77950fdd6fb03dc172a44b3875948609b7804 Warner Losh 2026-01-08 06:20:28

debug: classified in 05-summary-prefix by 'dtrace:'

zfs: emit .note.GNU-stack section for all ELF targets
On FreeBSD, linking the zfs kernel module with binutils ld 2.44 shows
the following warning:

    ld: warning: aesni-gcm-avx2-vaes.o: missing .note.GNU-stack section implies executable stack
    ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

Some of the `.S` files under `module/icp/asm-x86_64/modes` check whether
to emit the `.note.GNU-stack` section using:

    #if defined(__linux__) && defined(__ELF__)

We could add `&& defined(__FreeBSD__)` to the test, but since all other
`.S` files in the OpenZFS tree use:

    #ifdef __ELF__

it would seem more logical to use that instead. Any recent ELF platform
should support these note sections by now.

Reviewed by:    emaste, kib, imp
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54578
eb1b6ec7a79aff05f5f10e1d6b1c63a0d8dc5f2f Dimitry Andric 2026-01-08 08:35:13

debug: classified in 03-filenames_plain1 by 'sys/contrib'

grep: add testcase to test color when matches is greater than MAX_MATCHES
Reviewed by: imp, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/1442
0a5535d1c5209e73c6b2f3fd6118f9ffcb7e296e Viacheslav Chimishuk 2024-10-06 22:18:17

debug: classified in 03-filenames_plain1 by 'contrib/'

kyua: Add "debug -x|--execute cmd" option
With execenv=jail specified, the "cmd" runs inside the test's jail.

Reviewed by:    ngie, markj
Differential Revision:  https://reviews.freebsd.org/D52642
8a21c17ccfecf0ee54becd46d3e08ccab76ca3d6 Igor Ostapenko 2026-01-11 13:43:33

debug: classified in 03-filenames_plain1 by 'contrib/'

Import latest mtree from NetBSD
Merge commit '7e59b238fcf32f3d365e78ddc702ca494e1ff68d'

This commit partially reverts the previous vendor import, given that the
"type" keyword has been historically mandatory and should not be removed
by "-R all".  This was clarified in the man page.

Reported by:    glebius
PR:             https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219467
MFC after:      1 week
4250d2ad991b7bb9915e4c6b6d93b17369747ff0 Jose Luis Duran 2026-01-11 16:42:18

debug: classified in 03-filenames_plain1 by 'contrib/'

Reverted commits

Revert "librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping"
The commit message has to be rewritten as it is not clear and lacks
some key details about the change.

This reverts commit 35dd53a9e13265f7a479649776453efc5b737a0f.

Reported by: jrtc27
702b3a9a0359680b48b9782cb891c584a4ea5073 Sumit Saxena 2026-01-09 12:01:30

debug: classified in 00-reverts by 'This reverts commit \b([0-9a-fA-F]{40})\b'

sys/_types.h: avoid use of __has_feature()
Only fairly recent GCC versions support and sys/_types.h must work with
quite old compilers and without sys/cdef.h being included.  The prior
workaround works fine, but we can have the same effect with compiler
macro definitions.  In this specific case, compilers that define the
__intcap_t builtin type will define __SIZEOF_INTCAP__.

This reverts commit 029a09f18032353a9ae874590b879322efc6e53a
This reverts commit 19728f31ae421f40e2b0b0c775f4eedd7f927be0

Reviewed by:    imp, des, kib, emaste
Effort:         CHERI upstreaming
Fixes:          https://cgit.freebsd.org/src/commit/?id=85ab981a8e4e ("sys/_types.h: define fallback __(u)intcap_t")
Sponsored by:   Innovate UK
Differential Revision:  https://reviews.freebsd.org/D54009
0a64d16cef172bd3c809a8dc9035cd7d981b2951 Brooks Davis 2026-01-09 14:41:21

debug: classified in 00-reverts by 'This reverts commit \b([0-9a-fA-F]{40})\b'

Commit & revert pair: ophgo: import new .dts
ophgo: import new .dts

Signed-off-by: Martin Filla <freebsd@sysctl.cz>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1844
b55d106df9785d141f9e3e1c916e921df9d877ac Martin Filla 2025-09-09 14:34:38

debug: classified in 00-reverts by 'This reverts commit \b([0-9a-fA-F]{40})\b'


Revert "ophgo: import new .dts"

This reverts commit b55d106df9785d141f9e3e1c916e921df9d877ac.

Per request of original author, manu, and mmel, revert this
change. While this is a genuinely cool device, there's some issues that
need to be sorted out before moving forward:

o Imported dt-bindings that weren't used and could interfere in the
  future.
o no platform code for sophgo, though it likely needs it
o Potential interference from the dts/dtsi files imported for future
  linux device-tree imports. These are the dts files from the vendor
  sdk, and history has down often upstream introduces enough change
  that keeping them here in the mean time lays the groundwork for
  merge conflicts in the future.

That makes this import premature.  Revert until it's more mature.
3ae56f659aad8621a9d26b5ad0caeeaf1092c4ad Warner Losh 2026-01-10 15:08:30

debug: classified in 00-reverts by 'This reverts commit \b([0-9a-fA-F]{40})\b'

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 2026-01-26 19:07:09+00:00.

This work is supported by Tarsnap Backup Inc.

Alternate version: 2026-01-05 (release)