Commit Graph

305340 Commits

Author SHA1 Message Date
Martin Matuska 8b78d412ae zfs: world changes after 89f729dcc merge
Remove, unbind and obsolete libuutil and libtpool
Update zfs_configh and zfs_gitrev.h
2025-12-07 23:09:12 +01:00
Martin Matuska 66e8575559 zfs: merge openzfs/zfs@89f729dcc
Notable upstream pull request merges:
 #17932 1f3444f2b zpool: fix special vdev -v -o conflict
 #17934 -multiple Remove libuutil
 #17941 88d012a1d Fix snapshot automount expiry cancellation deadlock
 #17942 36e4f1888 Fix taskq NULL pointer dereference on timer race
 #17946 39303feba chksum: run 256K benchmark on demand, preserve
                  chksum_stat_data
 #17948 -multiple Remove libtpool
 #17957 e37937f42 ztest: fix broken random call
 #17960 928eccc5b DDT: Reduce global DDT lock scope during writes
 #17961 48f33c1ef DDT: Make children writes inherit allocator
 #17975 7f7d4934c FreeBSD: Fix uninitialized variable error
 #17980 a5b665df3 DDT: Switch to using wmsums for lookup stats
 #18004 ffaea0831 FreeBSD: Remove HAVE_INLINE_FLSL use

Obtained from:	OpenZFS
OpenZFS commit:	89f729dcca
2025-12-07 22:38:13 +01:00
Dag-Erling Smørgrav c51876a107 libsysdecode: Use consistent include path
mkioctls should look at the same set of headers as mktables does.

MFC after:	1 week
Fixes:          139d114acc ("libsysdecode use MKTABLES_INCLUDEDIR")
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	sjg
Differential Revision:	https://reviews.freebsd.org/D54106
2025-12-07 14:06:41 +01:00
Jonathan T. Looney 3f10e59850 ip6: Add explicit lock order information to catch LOR
Over the past several years, we have had sporadic reports of a lock
order reversal between the tcphash lock and the in6_ifaddr_lock.
These seems to be hard to reproduce reliably, and the WITNESS backtrace
points to code which uses the correct locking order.

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

PR:		289184
Reported by:	bz, gbe
Reviewed by:	bz, glebius
Differential Revision:	https://reviews.freebsd.org/D54088
2025-12-06 19:58:46 +00:00
Gleb Smirnoff 6f4debc004 tcp: fix build with RSS
PR:	291439
Fixes:	73fe85e486
2025-12-06 08:32:08 -08:00
Gleb Smirnoff a83191c928 net: fix LINT-NOIP build
Fixes:	fd131b47f2
2025-12-06 08:23:19 -08:00
Christos Margiolis 643a606fa2 sndctl(8): Do not free and re-open device
There was a reason for this, but it does not apply anymore.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54031
2025-12-06 15:28:08 +01:00
Jose Luis Duran d20da5c973 locale: Update Unicode to CLDR 48
Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53983
2025-12-06 12:20:20 +00:00
Jose Luis Duran 13ae4904ad locale: Update to UCD 17.0.0
Starting with Unicode 17.0.0, the zipped versions of the data files are
only published in https://www.unicode.org/Public/<version>/ucd/

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

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

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

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

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

Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53981
2025-12-06 12:20:19 +00:00
Jose Luis Duran 36cfa8093d locale: make install
Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53962
2025-12-06 12:20:18 +00:00
Jose Luis Duran 95f37aa3e5 cldr2def.pl: Fix make install
Follow up on 86c71e97d1 ("pkgbase: locales: Also tag the files dir"),
and adapt cldr2def.pl script in order to fix make install.

Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53961
2025-12-06 12:20:18 +00:00
Jose Luis Duran 9df8243a2e locale: make posix
Run make posix to generate monetary definition files with the
international parameters missing from localeconv(3)'s lconv struct.

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

Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53917
2025-12-06 12:20:17 +00:00
Jose Luis Duran 30aa5507f3 locale: make build to bump widths.txt
Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53916
2025-12-06 12:20:16 +00:00
Jose Luis Duran faf33e0501 cldr2def.pl: Add international currency parameters
Add the missing international monetary parameters present in the lconv
struct.

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

Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53915
2025-12-06 12:20:16 +00:00
Jose Luis Duran 09701dc19c cldr2def.pl: Cleanup white space
No functional change intended.

Reviewed by:	bapt
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53914
2025-12-06 12:20:15 +00:00
Bjoern A. Zeeb c68126ec25 ath11k: add new files to module Makefile
Add the new files to the module Makefile as well, so they do not get lost.
2025-12-06 10:24:29 +00:00
Bjoern A. Zeeb 9c2f321630 ath11k: start making compile some more
There is more work to do to make this compile again but we will do that
when we get to the driver.  For now just take the most noise out of it.
2025-12-06 10:21:31 +00:00
Bjoern A. Zeeb c95ea407b3 ath11k: update Atheros/QCA's ath11k driver
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Merge commit '989a88787ef2c1a73f44b82031a6f4f4470e2676'

Sponsored by:   The FreeBSD Foundation
2025-12-06 10:16:36 +00:00
Bjoern A. Zeeb fe7b6fc324 LinuxKPI: ath10k: adjust for led changes to keep ath10k compiling
Add the conditional compile time option defaulting to off as we do
not support leds in LinuxKPI to ath10k for the new file.

Add empty struct gpio_led to LinuxKPI.

MFC after:	3 days
2025-12-06 09:59:11 +00:00
Bjoern A. Zeeb 9954217599 ath10k: update Atheros/QCA's ath10k driver
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Merge commit 'f4669ef6cf7860919442e67106e83f616ed36f51'.

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

Merge commit '99ad6f4f54c86845d6e3f03541913c07fcdeef59'
2025-12-06 09:47:42 +00:00
Bjoern A. Zeeb 8b4477f6b8 rtw88: update Realtek's rtw88 driver
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7d0a66e4bb9081d75c82ec4957c50034cb0ea449 ( tag: v6.18 ).

Merge commit 'e543442afe3ad5b27616575be2d2402b988656eb' into rtw88

Sponsored by:	The FreeBSD Foundation
2025-12-06 09:41:49 +00:00
Jessica Clarke ced7461021 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
2025-12-06 00:33:20 +00:00
Li-Wen Hsu 90eda62996 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
2025-12-06 07:57:48 +08:00
Warner Losh 10efa7c302 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
2025-12-05 16:18:12 -07:00
Warner Losh f5b812331d 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
2025-12-05 16:18:12 -07:00
Krzysztof Galazka c6212b7da1 ice(4): Add support for 40G maximal PMD speed
E823 backplane devices may support 40G as maximal PMD speed.
Extend port topology reading logic to handle this case.
While at that fix indentation according to FreeBSD style(9).

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

Tested by:	gowtham.kumar.ks_intel.com
Approved by:	kbowling (mentor), erj (mentor)
Sponsored by:	Intel Corporation
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53587
2025-12-05 23:02:51 +01:00
Bjoern A. Zeeb e543442afe 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
2025-12-05 21:28:01 +00:00
Bjoern A. Zeeb 989a88787e 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
2025-12-05 21:26:52 +00:00
Bjoern A. Zeeb f4669ef6cf 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
2025-12-05 21:10:48 +00:00
Jean-Sébastien Pédron 112a6912e1 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
2025-12-05 15:12:01 -05:00
Gleb Smirnoff bc14dcd113 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.
2025-12-05 11:29:43 -08:00
Oskar Holmlund 8f0b210894 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
2025-12-05 19:32:50 +01:00
Jose Luis Duran 5c7176bba3 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
2025-12-05 17:36:49 +00:00
Oskar Holmlund 9c5b56aa03 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
2025-12-05 18:27:57 +01:00
Gleb Smirnoff 8291ea8761 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).
2025-12-05 08:29:00 -08:00
Gleb Smirnoff 59062fd0b2 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.
2025-12-05 08:29:00 -08:00
Dag-Erling Smørgrav 69e041521a 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
2025-12-05 15:57:44 +01:00
Dag-Erling Smørgrav 4c2295c158 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
2025-12-05 15:57:37 +01:00
Siva Mahadevan 27ff0bbcfd libc/limits_test: add no-op testcase to satisfy kyua
This test suite is purely tested with compile-time assertions, so
it needs a dummy runtime test to ensure that kyua reports the
file as passing.

Pull Request:	https://github.com/freebsd/freebsd-src/pull/1915
Sponsored by:	The FreeBSD Foundation
Reviewed by:	fuz
Approved by:	markj (mentor)
MFC after:	1 month
Signed-off-by:	Siva Mahadevan <me@svmhdvn.name>
2025-12-05 15:12:46 +01:00
Richard Scheffenegger 9155d4b273 tcp: retire do_newsack - always adhere to RFC6675 SACK
Depreciation notice for net.inet.tcp.newsack is in 15.0.
Remove this tunable for HEAD, streamlining the code slightly.

Reviewed by:    tuexen, cc, nickbanks_netflix.com, #transport
Sponsored by:   NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D54072
2025-12-05 14:10:37 +01:00
Kristof Provost f6aa57c86b snmp_pf: use the libpfctl wrapper to retrieve astats
Extend the test case to verify this works as expected.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-12-05 13:24:52 +01:00
Kristof Provost 08f54dfca1 pf: convert DIOCRGETASTATS to netlink
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-12-05 13:24:52 +01:00
Kristof Provost 4aa79010bc pfctl: move astats query into libpfctl
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-12-05 13:24:51 +01:00
Baptiste Daroussin 836a0d4632 ncurses: readd "bsdpads"
During the import of ncurses 6.5 some bsd specifics configuration where
lost and reintroduce quickly after the import, unfortunatly there was a
typo in this fix which caused the "bsdpads" to not be enabled in
ncurses.

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

PR:		287358
MFC After:	3 days
2025-12-05 11:24:58 +01:00
Tom Jones a0dd602239 xhci: Add header values for Debug Capability (DbC)
Add header values for xHCI debug capability. These values are defined in
section 7.6 of xHCI Specification 1.2b (April 2023).

Reviewed by: imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53897
2025-12-05 10:18:02 +00:00
Tom Jones 2343516042 xhci: Correct name of HCCPARAMS Register
On inital import the name of HCCPARAMS1 was misnamed as HCSPARAMS0.
HCCPARAMS1 is defined in section 5.3.6 of xHCI Specification 1.2b (April
2023).

Reviewed by:	adrian
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53895
2025-12-05 10:17:45 +00:00
Tom Jones f327659e04 xhci: Add some Alder lake device ids
Reviewed By:	aokblast
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52994
2025-12-05 10:16:59 +00:00
Warner Losh c3ea7bfc72 cam: set reladr in scsi_read_capacity_16
The reladr field wasn't being set, so pmi and reladr args were
nops. That's OK, because they are passed as 0 in the one place in the
tree we use this.

Sponsored by:		Netflix
2025-12-05 00:13:22 -07:00