FreeBSD/src ced7461usr.sbin/freebsd-update freebsd-update.sh

freebsd-update: Mention upgrading packages, not just ports

These days most end users are likely using pre-built packages, not
locally-built ports. Thus be sure to mention this as an important case,
and put it ahead of ports.

Reviewed by:    emaste
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D42968
DeltaFile
+2-2usr.sbin/freebsd-update/freebsd-update.sh
+2-21 files

FreeBSD/src 90eda62release/scripts pkg-stage.sh

release: Include comms/usbmuxd to DVD to ensure ipheth(4) works

PR:             291370
Reviewed by:    emaste, aokblast, dch
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54074
DeltaFile
+1-0release/scripts/pkg-stage.sh
+1-01 files

FreeBSD/src f5b8123sys/dev/nvme nvme_ns.c

nvme: Improve error message for invalid format value

Improve the wording of the invalid namespace value. Reword the comment
and move a line of code to the block it logically belongs to.

No functional changes intended.

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D51393
DeltaFile
+5-7sys/dev/nvme/nvme_ns.c
+5-71 files

FreeBSD/src 10efa7csys/dev/nvd nvd.c, sys/dev/nvme nvme.h nvme_ctrlr.c

nvme: Rename NVME_NS_ADDED to NVME_NS_ALIVE and _CHANGED to _DELTA

NVME_NS_ADDED will conflict with a later change, so change it here.
Likewise NVME_NS_CHANGED.

Sponsored by:           Netflix
DeltaFile
+2-2sys/dev/nvme/nvme.h
+2-2sys/dev/nvme/nvme_ctrlr.c
+2-2sys/dev/nvme/nvme_ns.c
+1-1sys/dev/nvd/nvd.c
+7-74 files

FreeBSD/src c6212b7sys/dev/ice ice_lib.c ice_adminq_cmd.h

ice(4): Add support for 40G maximal PMD speed

E823 backplane devices may support 40G as maximal PMD speed.
Extend port topology reading logic to handle this case.
While at that fix indentation according to FreeBSD style(9).

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

Tested by:      gowtham.kumar.ks_intel.com
Approved by:    kbowling (mentor), erj (mentor)
Sponsored by:   Intel Corporation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53587
DeltaFile
+4-3sys/dev/ice/ice_lib.c
+1-0sys/dev/ice/ice_adminq_cmd.h
+5-32 files

FreeBSD/src 4fbdf51. core.c phy.c

rtw89: update Realtek's rtw89 driver

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+642-44core.c
+440-36phy.c
+353-113pci.c
+172-12fw.c
+95-62rtw8851b_rfk.c
+138-12core.h
+1,840-27937 files not shown
+2,558-39443 files

FreeBSD/src e543442. led.c sdio.c

rtw88: update Realtek's rtw88 driver

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+7-6led.c
+4-0sdio.c
+11-62 files

FreeBSD/src 793e642. dma.c, mt7996 mac.c main.c

mt76: update Mediatek's mt76 driver

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+643-156mt7996/mac.c
+317-204mt7996/main.c
+262-96mt7996/init.c
+257-67mt7996/dma.c
+151-157mt7996/mcu.c
+187-44dma.c
+1,817-72440 files not shown
+2,327-94146 files

FreeBSD/src fca83bcmld d3.c, mvm link.c d3.c

iwlwifi: update Intel's mvm/mld drivers

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-809mvm/link.c
+355-200mld/d3.c
+44-338mvm/d3.c
+161-76pcie/gen1_2/trans.c
+1-137mvm/mld-mac80211.c
+5-131mvm/mvm.h
+566-1,69168 files not shown
+1,396-3,18874 files

FreeBSD/src 192bfd7brcmfmac p2p.c cfg80211.c

brcm80211: update Broadcom wireless brcmsmac and brcmfmac drivers

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+10-18brcmfmac/p2p.c
+24-2brcmfmac/cfg80211.c
+9-5brcmfmac/firmware.c
+4-4brcmfmac/sdio.c
+2-2brcmfmac/chip.c
+1-2brcmfmac/p2p.h
+50-332 files not shown
+51-358 files

FreeBSD/src 11a8516. dp_rx.c mac.c

ath12k: update Atheros/QCA's ath12k driver

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+235-117dp_rx.c
+158-115mac.c
+142-16wmi.c
+42-14dp_mon.c
+30-3wmi.h
+16-8qmi.c
+623-27313 files not shown
+682-29719 files

FreeBSD/src 989a887. core.c qmi.c

ath11k: update Atheros/QCA's ath11k driver

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+49-11core.c
+5-14qmi.c
+3-14ahb.c
+16-0hal.c
+5-5mac.c
+2-1ce.c
+80-453 files not shown
+84-469 files

FreeBSD/src f4669ef. snoc.c mac.c

ath10k: update Atheros/QCA's ath10k driver

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-11snoc.c
+10-2mac.c
+1-2leds.c
+1-0wmi.c
+15-154 files

FreeBSD/src 112a691sys/compat/linuxkpi/dummy/include/linux percpu.h percpu-defs.h

linuxkpi: Add dummy <linux/percpu{,-defs}.h>

There are no consumers right now except the upcoming <linux/eventfd.h>.
This is meant to reproduce the same includes as Linux, in case consumers
of <linux/eventfd.h> implicitly rely on namespace pollution.

Reviewed by:    bz, emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50851
DeltaFile
+0-0sys/compat/linuxkpi/dummy/include/linux/percpu.h
+0-0sys/compat/linuxkpi/dummy/include/linux/percpu-defs.h
+0-02 files

FreeBSD/src bc14dcdtests/sys/net if_bridge_test.sh

tests/if_bridge: mark several tests as requring vlan(4) or gif(4)

This makes them "skip" instead of "fail" if the module is not present.
DeltaFile
+11-0tests/sys/net/if_bridge_test.sh
+11-01 files

FreeBSD/src 8f0b210sys/modules/dtb/am335x Makefile

Update path for TI Am335x device trees

Since Linux DTS has been starting to using vendor subdirs we need
to update this aswell.

Approved by: manu (mentor)
Differential revision: https://reviews.freebsd.org/D53890
DeltaFile
+7-7sys/modules/dtb/am335x/Makefile
+7-71 files

FreeBSD/src ef8a5aflibexec/rtld-elf rtld.c

rtld-elf: Mark LD_SHOW_AUXV insecure

This prevents dumping the memory layout of setugid processes.

MFC after:      3 days
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54033

(cherry picked from commit 5242bcff202fa2a5a39895423c8d8c11c02ad76a)
DeltaFile
+1-1libexec/rtld-elf/rtld.c
+1-11 files

FreeBSD/src 5c7176busr.sbin/certctl certctl.8

certctl.8: Prefer the new TRUSTDESTDIR variable

With the reimplementation in C of certctl, the environment variable
previously known as CERTDESTDIR was renamed to TRUSTDESTDIR for
consistency.

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

Reviewed by:    des
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D54044
DeltaFile
+2-2usr.sbin/certctl/certctl.8
+2-21 files

FreeBSD/src 9c5b56asys/dts/arm ufw.dts

sys/dts/arm/ufs.dts: fix compile error

Fix compile error due to the include file am33xx.dtsi has been moved.
The Linux device-tree archive has split the general directory
(ARM/ARM64...) into vendor specific subdirectories since Linux 6.5.

Reviewed by: kp
Approved by: manu (mentor)
Differential revision: https://reviews.freebsd.org/D53894
DeltaFile
+1-1sys/dts/arm/ufw.dts
+1-11 files

FreeBSD/src 8291ea8sys/netinet6 nd6_rtr.c

netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK in defrtr_ipv6_only_ifp

It is not clear what exactly this function is locking against.  Seems
like just use some generic interface lock.  The IF_AFDATA_LOCK goes
away soon together with if_afdata[], so put at least something in its
place.  Note that this code is dead anyway (#ifdef EXPERIMENTAL).
DeltaFile
+9-6sys/netinet6/nd6_rtr.c
+9-61 files

FreeBSD/src 59062fdsys/netinet6 scope6.c

netinet6: use IF_ADDR_LOCK instead of IF_AFDATA_LOCK

It is not clear what exactly this function is locking against.  Seems
like just use some generic interface lock.  The IF_AFDATA_LOCK goes
away soon together with if_afdata[], so put at least something in its
place.
DeltaFile
+9-5sys/netinet6/scope6.c
+9-51 files

FreeBSD/src 74b10f0libexec/rtld-elf rtld.c

rtld-elf: Mark LD_SHOW_AUXV insecure

This prevents dumping the memory layout of setugid processes.

MFC after:      3 days
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54033

(cherry picked from commit 5242bcff202fa2a5a39895423c8d8c11c02ad76a)
DeltaFile
+1-1libexec/rtld-elf/rtld.c
+1-11 files

FreeBSD/src 68c9bf7sys/sys bus.h

bus: Apply consistent style to prototypes

Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.

(cherry picked from commit 6facc476f3056037f8b5cdb5546554ab3a887463)
DeltaFile
+10-10sys/sys/bus.h
+10-101 files

FreeBSD/src 844f76clib/libc/locale xlocale_private.h

libc: Simplify __get_locale()

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D53908

(cherry picked from commit 5af240c54bd2d9548536c904e841499e1651bcc8)
DeltaFile
+2-4lib/libc/locale/xlocale_private.h
+2-41 files

FreeBSD/src 3cbf647share/man/man9 device_get_children.9 Makefile, sys/kern subr_bus.c

bus: Add device_has_children predicate

Add a device_has_children() function which can be used to check if a
device has children without allocating a list of them which we aren't
going to use, or even counting them.

Also modify device_get_children() so it can be used to query the count
without allocating a list.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    imp, markj
Differential Revision:  https://reviews.freebsd.org/D53918

(cherry picked from commit 330d4437f2100fc05e576763f4f6a7198080663a)
DeltaFile
+39-8share/man/man9/device_get_children.9
+18-0sys/kern/subr_bus.c
+1-0share/man/man9/Makefile
+1-0sys/sys/bus.h
+59-84 files

FreeBSD/src 69e0415usr.bin/fsync fsync.c

fsync: Open files in non-blocking mode

This avoids blocking forever when invoked on a fifo.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D54084
DeltaFile
+1-1usr.bin/fsync/fsync.c
+1-11 files

FreeBSD/src 4c2295csys/sys bus.h

bus: Return 0 if reading an ivar fails

In the non-INVARIANTS case, return 0 rather than stack garbage if
reading an ivar fails (in the INVARIANTS case, we still panic).

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    jhb
Differential Revision:  https://reviews.freebsd.org/D54078
DeltaFile
+1-1sys/sys/bus.h
+1-11 files

FreeBSD/src 27ff0bblib/libc/tests/gen limits_test.c

libc/limits_test: add no-op testcase to satisfy kyua

This test suite is purely tested with compile-time assertions, so
it needs a dummy runtime test to ensure that kyua reports the
file as passing.

Pull Request:   https://github.com/freebsd/freebsd-src/pull/1915
Sponsored by:   The FreeBSD Foundation
Reviewed by:    fuz
Approved by:    markj (mentor)
MFC after:      1 month
Signed-off-by:  Siva Mahadevan <me at svmhdvn.name>
DeltaFile
+4-1lib/libc/tests/gen/limits_test.c
+4-11 files

FreeBSD/src 5b08474contrib/sqlite3 sqlite3.c sqlite3.h

sqlite3: Update to 3.50.4

Release notes at https://www.sqlite.org/releaselog/3_50_4.html.

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

Merge commit 'e7e917ee3cf2b3010b1c511c6ebaf8b65b983ad7'

(cherry picked from commit 07d5a9b1b2dd95d95137c6c2afcb84ad40c05b75)
DeltaFile
+122-81contrib/sqlite3/sqlite3.c
+45-45contrib/sqlite3/sqlite3.h
+1-1contrib/sqlite3/sqlite3rc.h
+1-1contrib/sqlite3/sqlite3.pc.in
+1-1contrib/sqlite3/VERSION
+170-1295 files

FreeBSD/src e37206acontrib/sqlite3 sqlite3.c sqlite3.h

sqlite3: Update to 3.50.4

Release notes at https://www.sqlite.org/releaselog/3_50_4.html.

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

Merge commit 'e7e917ee3cf2b3010b1c511c6ebaf8b65b983ad7'

(cherry picked from commit 07d5a9b1b2dd95d95137c6c2afcb84ad40c05b75)
DeltaFile
+122-81contrib/sqlite3/sqlite3.c
+45-45contrib/sqlite3/sqlite3.h
+1-1contrib/sqlite3/sqlite3rc.h
+1-1contrib/sqlite3/VERSION
+1-1contrib/sqlite3/sqlite3.pc.in
+170-1295 files