FreeBSD/src 72a6197sys/compat/linuxkpi/common/include/linux const.h, sys/compat/linuxkpi/common/include/vdso const.h

linuxkpi: Define `ULL()`

It simply appends "ULL" to its argument.

The amdgpu DRM driver used it at some point in the development cycle of
Linux 6.14 but the use case was dropped later. Let's still add it to
linuxkpi because it will help if we need to do a git bisect in drm-kmod.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57703
DeltaFile
+12-0sys/compat/linuxkpi/common/include/linux/const.h
+12-0sys/compat/linuxkpi/common/include/vdso/const.h
+24-02 files

FreeBSD/src de51e9asys/compat/linuxkpi/common/include/asm intel-family.h

linuxkpi: Defined more Intel vendor/family/model constants

The i915 DRM driver started to use them in Linux 6.14.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57699
DeltaFile
+20-0sys/compat/linuxkpi/common/include/asm/intel-family.h
+20-01 files

FreeBSD/src a68dcfasys/compat/linuxkpi/common/include/asm processor.h, sys/compat/linuxkpi/common/src linux_compat.c

linuxkpi: Define and fill `struct cpuinfo_x86->x86_stepping`

This will be used in a follow-up commit to implement `x86_match_cpu()`.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57698
DeltaFile
+1-0sys/compat/linuxkpi/common/include/asm/processor.h
+1-0sys/compat/linuxkpi/common/src/linux_compat.c
+2-02 files

FreeBSD/src 8aa6851sys/compat/linuxkpi/common/include/linux bitmap.h

linuxkpi: Add const qualifier to `bitmap_weight()` 1st arg

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57581
DeltaFile
+1-1sys/compat/linuxkpi/common/include/linux/bitmap.h
+1-11 files

FreeBSD/src b55cc81sys/compat/linuxkpi/common/include/linux cgroup_dmem.h

linuxkpi: Add <linux/cgroup_dmem.h>

In this header, we declare empty stubs for all functions, as if
`CONFIG_CGROUP_DMEM` was disabled is Linux.

The DRM TTM memory manager started to use this in Linux 6.14.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57702
DeltaFile
+58-0sys/compat/linuxkpi/common/include/linux/cgroup_dmem.h
+58-01 files

FreeBSD/src 272a126sys/compat/linuxkpi/common/include/linux mount.h shmem_fs.h, sys/compat/linuxkpi/common/src linux_shmemfs.c

linuxkpi: Define `struct vfsmount` in <linux/mount.h>

In the context of the DRM drivers, this is used to show GEM objects in a
shmfs virtual filesystem. The new `shmem_file_setup_with_mnt()` - also
introduced in this commit as an alias to `shmem_file_setup()` - takes a
`struct vfsmount` as its first argument to indicate which shmfs mount
should be used.

For now, the structure is empty. As we don't present GEM objects in a
virtual filesystem right now, we can defer the actual implementation of
this structure once we have an actual use for it.

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

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57572
DeltaFile
+14-0sys/compat/linuxkpi/common/include/linux/mount.h
+9-0sys/compat/linuxkpi/common/src/linux_shmemfs.c
+5-0sys/compat/linuxkpi/common/include/linux/shmem_fs.h
+1-0sys/compat/linuxkpi/common/include/linux/fs.h
+29-04 files

FreeBSD/src 682f135sys/dev/qat/include/common adf_accel_devices.h, sys/dev/qat/qat_api/common/crypto/sym lac_sym_dp.c lac_sym_alg_chain.c

qat: driver updates to enhance qat infrastructure

- Updated QAT infrastructure FW version/AE mask/num_banks fields
  to facilitate integration of future QAT products.
- Exposed service as sym;asym instead of cy for gen4
- Enhanced cpaGetInstances() for accurate instance retrieval
- Added 57-bit virtual address support to lac_lock_free_stack
- Minor bug fixes and improvements

Signed-off-by: Hareshx Sankar Raj <hareshx.sankar.raj at intel.com>

Reviewed by:    markj
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D57746
DeltaFile
+34-26sys/dev/qat/qat_api/common/utils/lac_lock_free_stack.h
+32-24sys/dev/qat/qat_api/common/crypto/sym/lac_sym_dp.c
+25-25sys/dev/qat/qat_hw/qat_4xxx/adf_4xxx_hw_data.c
+24-17sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c
+17-18sys/dev/qat/qat_common/adf_freebsd_admin.c
+19-15sys/dev/qat/include/common/adf_accel_devices.h
+151-12541 files not shown
+390-31647 files

FreeBSD/src 03ac6feusr.sbin/ctld kernel.cc

ctld: Simplify handling of non-iSCSI and non-NVMe kernel ports

Just add these directly to the kports object rather than treating them
as iSCSI ports.

Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D57283
DeltaFile
+22-13usr.sbin/ctld/kernel.cc
+22-131 files

FreeBSD/src 31b7d80sys/dev/acpi_support acpi_ibm.c

acpi_support/acpi_ibm.c: move the 'key' definition to the block that uses it

This eliminates a warning from compilation of kernels without
EVDEV_SUPPORT.

Fixes:  7e7f8b2c6641 ("acpi_ibm: Report mic mute key evdev events")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2sys/dev/acpi_support/acpi_ibm.c
+2-21 files

FreeBSD/src 9e2d8ectests/sys/net/routing test_rtsock_l3.c

tests/test_rtsock_l3: fix flaky temporal route addition tests

If RTM_DELETE arrives before RTM_ADD, the test will skip the first
reply and then timeout after attempting to read another message from
the rtsock_fd.

See the CI test failure[0] for more details.

[0] https://ci.freebsd.org/job/FreeBSD-main-riscv64-test/16628/testReport/sys.net.routing/test_rtsock_l3/rtm_add_v6_temporal1_success/

Reviewed by:    pouria
Fixes:          e02d3fe70c7247027c85d60179c331618554ba34
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+34-12tests/sys/net/routing/test_rtsock_l3.c
+34-121 files

FreeBSD/src 6c74462usr.bin/truss syscalls.c setup.c

truss: add AF_NETLINK syscall argument decoding support

Track AF_NETLINK socket file descriptors in procinfo using fd_domain
entries and use them to detect Netlink traffic across later syscalls.

Add Netlink payload decoding support for sendto(), recvfrom(), and
sendmsg() paths by integrating sysdecode_netlink() into BinString and
Msghdr argument handling, with fallback to existing binary/iovec
printing when decoding fails.

Reviewed by:    kp
Signed-off-by:  Ishan Agrawal <iagrawal9990 at gmail.com>
Sponsored by:   Google LLC (GSoC 2026)
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2295
DeltaFile
+37-31usr.bin/truss/syscalls.c
+38-2usr.bin/truss/setup.c
+9-0usr.bin/truss/truss.h
+1-1usr.bin/truss/syscall.h
+85-344 files

FreeBSD/src 7ecd9afusr.sbin/virtual_oss/virtual_oss virtual_oss.8

virtual_oss.8: Document `/dev/bluetooth/` prefix magic

Without this one could be led to believe they should have an actual
`/dev/bluetooth/xxx` device in devfs from just reading the examples.

Event:          Halifax Hackathon 202606
Reviewed by:    christos
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D57818
DeltaFile
+22-1usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
+22-11 files

FreeBSD/src 31461c8usr.sbin/virtual_oss/virtual_oss virtual_oss.8

virtual_oss.8: Use `.Pa` macro to refer to devices

Suggested by:   christos
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+16-7usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
+16-71 files

FreeBSD/src 29b8220sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel: Use ipi instead of thread_lock + sched_bind

Reviewed by:    olce
Event:          Halifax Hackathon 202606
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55628
DeltaFile
+278-151sys/x86/cpufreq/hwpstate_intel.c
+278-1511 files

FreeBSD/src 0976744lib/libnetbsd/sys types.h

libnetbsd: Avoid bringing in all of sys/param.h in sys/types.h

It's okay to hard-code NBBY, as the value is somewhat unlikely to
change.

The pollution from sys/param.h makes it harder to import test code from
NetBSD since it can introduce conflicting definitions, e.g.,
MIN()/MAX().

Reviewed by:    ngie
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57754
DeltaFile
+1-1lib/libnetbsd/sys/types.h
+1-11 files

FreeBSD/src 7e7f8b2share/man/man4 acpi_ibm.4, sys/dev/acpi_support acpi_ibm.c

acpi_ibm: Report mic mute key evdev events

While here, make the naming of micmute_led more consistent.

PR:             296140
Event:          Halifax Hackathon 202606
Reported by:    David Lundqvist
Reviewed by:    olce
Tested by:      David Lundqvist, Oleksandr Kryvulia
Co-authored-by: David Lundqvist
Sponsored by:   The FreeBSD Foundation
DeltaFile
+41-29sys/dev/acpi_support/acpi_ibm.c
+5-1share/man/man4/acpi_ibm.4
+46-302 files

FreeBSD/src a3d65cdsys/dev/sound/pcm feeder_eq.c sound.h

sound: Rename SD_F_EQ_ENABLED to SD_F_EQ

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+3-3sys/dev/sound/pcm/feeder_eq.c
+2-2sys/dev/sound/pcm/sound.h
+1-1sys/dev/sound/pcm/mixer.c
+1-1sys/dev/sound/pcm/feeder_chain.c
+7-74 files

FreeBSD/src ede0236sys/dev/sound/pcm feeder_chain.c sound.h

sound: Retire unused SD_F_EQ_PC

This flag is neither set anywhere, nor is there a way to set it from
userland, so it is effectively useless, and currently the effect is that
EQ can only be enabled for primary playback channels.

Retire the flag and keep this behavior, and think later whether we want
to allow virtual channels to get their own EQ feeder as well.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-4sys/dev/sound/pcm/feeder_chain.c
+2-2sys/dev/sound/pcm/sound.h
+4-62 files

FreeBSD/src e1c951dshare/man/man7 groups.7

groups.7: Document audio group

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    emaste
Pull-Request:   https://ron-dev.freebsd.org/FreeBSD/src/pulls/35

(cherry picked from commit 7f2d790824692b16ab2bf64a9b1e176f192cf319)
DeltaFile
+5-1share/man/man7/groups.7
+5-11 files

FreeBSD/src 4c932a4lib/libsysdecode flags.c netlink.c

netlink: decode netlink message flags symbolically

Generate an nlm_flag table definition for mktable from
netlink/netlink.h, add a sysdecode_nlm_flag() helper to
libsysdecode, and use it when decoding netlink message headers.

This enables mktable to generate netlink message flag lookup tables and
replaces raw hexadecimal output for recognized NLM_F_* flag values
with their symbolic names.

Reviewed by:    kp
Signed-off-by:  Ishan Agrawal <iagrawal9990 at gmail.com>
Sponsored by:   Google LLC (GSoC 2026)
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2294
DeltaFile
+8-0lib/libsysdecode/flags.c
+5-2lib/libsysdecode/netlink.c
+2-1lib/libsysdecode/sysdecode.h
+1-0lib/libsysdecode/mktables
+16-34 files

FreeBSD/src 34397aesys/riscv/include ucontext.h

riscv: Use namespace-safe type __uint64_t to not depend on sys/types.h
DeltaFile
+5-5sys/riscv/include/ucontext.h
+5-51 files

FreeBSD/src d7a3930sys/riscv/include vector.h ucontext.h, sys/riscv/riscv vector.c exec_machdep.c

riscv: Vector Extension (RVV) support.

RVV is a scalable SIMD (Single Instruction, Multiple Data) extension
designed to accelerate data-intensive workload such as AI, machine-learning
and DSP.

RVV exposes vector-length agnostic (VLA) execution and programming model,
with implementation defined vector register file size, dynamic vector
length selection, flexible register grouping, and rich instruction
semantics, serving as the foundation for portable, high-throughput
data-parallel acceleration.

Spec: https://github.com/riscvarchive/riscv-v-spec

RVV extends a base scalar RISC-V ISA with 32 vector registers and seven
unprivileged control-status registers (CSRs) to control the engine. Each
vector register could be up to 2^16 bits in length, depending on
implementation.


    [12 lines not shown]
DeltaFile
+240-0sys/riscv/riscv/vector.c
+180-7sys/riscv/riscv/exec_machdep.c
+54-1sys/riscv/riscv/swtch.S
+36-0sys/riscv/include/vector.h
+20-2sys/riscv/include/ucontext.h
+14-1sys/riscv/riscv/trap.c
+544-118 files not shown
+587-1714 files

FreeBSD/src 9417b11stand/efi/loader bootinfo.c

loader/efi: pre-allocate memory map buffer before ExitBootServices

Move the memory map allocation before the ExitBootServices retry
loop to ensure no boot service calls occur between GetMemoryMap
and ExitBootServices.  This simplifies the control flow by removing
the inner sizing loop and matches the strategy used by the Linux
EFI stub.

Identified while investigating an ExitBootServices hang on
AMD AGESA 1.3.0.0a firmware (Gigabyte B650 GAMING X AX V2).

Signed-off-by:          Christos Longros <chris.longros at gmail.com>
Reviewed by:            imp
Differential Revision:  https://reviews.freebsd.org/D56249
DeltaFile
+46-39stand/efi/loader/bootinfo.c
+46-391 files

FreeBSD/src 9522100sys/arm64/arm64 gicv5.c gicv5_fdt.c

arm64: Fix build of gicv5 driver without SMP

Fixes:          c84261da6f6c ("arm64: Add an initial GICv5 driver")
DeltaFile
+5-0sys/arm64/arm64/gicv5.c
+2-0sys/arm64/arm64/gicv5_fdt.c
+7-02 files

FreeBSD/src f6b37f4share/man/man4 ntsync.4 Makefile

ntsync.4: add the man page

Reviewed by:    ziaee
Discussed with: Alex S <iwtcex at gmail.com>
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D57659
DeltaFile
+308-0share/man/man4/ntsync.4
+1-0share/man/man4/Makefile
+309-02 files

FreeBSD/src b7d2f7ctests/sys/fs/fusefs destroy.cc mockfs.cc

fusefs: fix two intermittency bugs in the destroy tests

* Though undocumented, statfs(2) can sometimes return EBADF or ENOENT
  while an unmount is in progress.

* In MockFS::write_response, write(2) may fail if m_fuse_fd has already
  been closed.  This doesn't happen in the normal sequence of events,
  but it can happen if some process unrelated to the test nosily decides
  to access the test file system while it's being unmounted.

PR:             296237
Reported by:    siva
MFC after:      2 weeks
Sponsored by:   ConnectWise
Reviewed by:    siva
Differential Revision: https://reviews.freebsd.org/D57787
DeltaFile
+15-1tests/sys/fs/fusefs/destroy.cc
+2-0tests/sys/fs/fusefs/mockfs.cc
+17-12 files

FreeBSD/src 8177936sys/kern vnode_if.src kern_exec.c, sys/ufs/ffs ffs_inode.c ffs_softdep.c

vfs: rename vop_mmapped() to vop_update_atime()

This reflects the actual functionality of the VOP.  While there, add the
explicit struct timespec argument for the VOP allowing the caller to set
specific atime, not just request an update for it.

Requested by:   rmacklem
Reviewed by:    rmacklem
Discussed with: jah
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57681
DeltaFile
+28-14sys/ufs/ufs/ufs_vnops.c
+2-1sys/kern/vnode_if.src
+1-1sys/kern/kern_exec.c
+1-1sys/ufs/ffs/ffs_inode.c
+1-1sys/ufs/ffs/ffs_softdep.c
+1-1sys/ufs/ufs/ufs_extern.h
+34-191 files not shown
+35-207 files

FreeBSD/src 91413e8sys/compat/linuxkpi/common/src linux_compat.c

linuxkpi ioctl handler: restore the user data pointer

instead of trying to hack around it with LINUX_IOCTL_MIN_PTR.  Since
linux file ioctl methods expect the user address in the data argument,
this should work for all ioctls, including the variable-length cases
like ibcore.

Only do it for the FreeBSD ABI, where we know how to reliably access the
original syscall arguments.

Reviewed by:    Ariel Ehrenberg <aehrenberg at nvidia.com>, markj
Discussed with: zishun.yi.dev at gmail.com
Sponsored by:   NVidia networking
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57612
DeltaFile
+44-4sys/compat/linuxkpi/common/src/linux_compat.c
+44-41 files

FreeBSD/src 7e093e5sbin/ifconfig ifconfig.c

ifconfig: Fix handling of unsupported -j option with MK_JAIL=no

The ifconfig(8) utility built with MK_JAIL=no does not support the
-j option.  When the option is specified, Perror() is called without
setting errno, which can result in errno being reported as zero and
a misleading error message being displayed.

Also remove "[-j jail]" from the usage message when built with
MK_JAIL=no.

Event:  Halifax Hackathon 202606
DeltaFile
+12-6sbin/ifconfig/ifconfig.c
+12-61 files

FreeBSD/src 6a606e7sys/dev/usb/serial uchcom.c

usb: Add missing unsetup while detaching uchcom

Reviewed by:    christos
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57329

(cherry picked from commit 2934783fa80de2854d9527ae11db85c47ac65a91)
DeltaFile
+1-0sys/dev/usb/serial/uchcom.c
+1-01 files