Commit Graph

305300 Commits

Author SHA1 Message Date
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
Lexi Winter ce8dc5b124 freebsd-base.7: Document the optional set
MFC after:	3 days
Reviewed by:	ziaee, emaste
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D54065
2025-12-05 02:43:51 +00:00
Robert Clausecker fc88be257e Revert "stddef.h: add unreachable() for C23 compliance"
Seems like a number of ports are *really* unhappy with this new
macro.  These ports will have to be fixed and the patch reworked
to perhaps not affect C++ (see D54041).  A general discussion on
how we expose new language features may also need to take place.

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

This reverts commit b381d09802.
2025-12-05 00:25:10 +01:00
Rene Ladan 8102307c7b misc: retire tcberner from portmgr
Hat:	portmgr
2025-12-04 22:26:29 +01:00
John Baldwin 61ffc1bf8c MAC: Rename mac_cred_create_swapper to mac_cred_create_kproc0
Reported by:	markj
Reviewed by:	olce
Differential Revision:	https://reviews.freebsd.org/D54052
2025-12-04 14:52:59 -05:00
John Baldwin f6910b09a2 sys: Remove/update references to the swapper process in various comments
Reviewed by:	olce, markj
Differential Revision:	https://reviews.freebsd.org/D54051
2025-12-04 14:52:59 -05:00
John Baldwin 431b3b224d thread0: Stop calling thread0 "swapper"
Just leave it as "kernel".  While here, replace "parked" with "-" (the
typical wait channel for idle threads).

Reviewed by:	olce, kib, markj
Differential Revision:	https://reviews.freebsd.org/D54039
2025-12-04 14:52:59 -05:00
Joseph Mingrone 97939604f4 git-arc: Add patch -b option
With the new patch -b option, switch to a new branch before applying
changes from Differential revisions.

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

Sponsored by:	The FreeBSD Foundation

Reviewed by:	imp, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D54024
2025-12-04 15:45:05 -04:00
Gleb Smirnoff fd131b47f2 net: remove dom_ifmtu
It is a remnant of a network stack design that was supposed to support
multiple network protocols.  Today it is clear that we are left with IPv4
and IPv6 only.  Only IPv6 may have an MTU different to the interface MTU.
2025-12-04 11:16:25 -08:00
Gleb Smirnoff c7f05ef824 net: routing table attach never fails 2025-12-04 11:12:03 -08:00
Gleb Smirnoff 27ff90cd3d tests/carp: make a 0.2 second pause before configuring second jail
for all scenarios where both jails have same priority/advskew.  There is a
tiny chance that on both sides carp_master_down() will be executed in
parallel and advertisements will also fly through the bridge(4) in
parallel, thus both sides will switch to MASTER before receiving the
announcement from peer.  This makes the test to fail.  So far this
flakyness was observed for carp:vrrp_v4 only, but in theory it is possible
for any of the patched scenarios.

Note that this sleep does not prolong execution of the tests, as the first
jail is already configured, and if we slept before configuring the second,
we would sleep less in wait_for_carp().
2025-12-04 10:52:01 -08:00
Gleb Smirnoff e353cbffd6 tests/carp: make sleep interval in the wait loop smaller
Makes tests to finish slightly faster.
2025-12-04 10:52:01 -08:00
Mitchell Horne 2ace05b65a pfind(9): follow-up fixes and improvements
(Found on a branch from a year ago.)

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

Reviewed by:	0mp
Fixes:	07d78399eb ("pfind(9): Update to recent behavior")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D53548
2025-12-04 14:37:18 -04:00