[RISCV] Support 'f' Inline Assembly Constraint for bfloat16 (#184566)
This patch is to add 'f' and 'cf' Inline Assembly Constraint for the `bfloat16` type, so they are passed in the floating point registers.
[ELF] Add target-specific relocation scanning for RISC-V (#181332)
Implement RISCV::scanSectionImpl, following the pattern established
for x86 (#178846) and AArch64 (#181099). This merges the getRelExpr
and TLS handling for SHF_ALLOC sections into the target-specific
scanner, enabling devirtualization and eliminating abstraction
overhead.
- Inline relocation classification into scanSectionImpl with a switch
on relocation type, replacing the generic rs.scan() path.
- Use processR_PC/processR_PLT_PC for common PC-relative and PLT
relocations.
- Handle TLS IE and GD directly (RISC-V does not optimize GD/LD/IE).
- Replace TLS-optimization-specific expressions for TLSDESC, following
the x86 pattern: R_RELAX_TLS_GD_TO_IE -> R_GOT_PC,
R_RELAX_TLS_GD_TO_LE -> R_TPREL. Update relocateAlloc and relax()
to dispatch on relocation type instead of RelExpr for TLSDESC.
- Simplify getRelExpr to only handle relocations needed by
relocateNonAlloc and preprocessRelocs.
[4 lines not shown]
[RISCV] Add register overlap checks to the assembler for vector indexed segment load (#184569)
The destination vector register group cannot overlap the source vector
register group for vector indexed segment load. This patch is to add
register overlap checks to the assembler.
www/caddy: Update to 2.11.2
Changes:
Caddy 2.11.2 contains numerous bug fixes and enhancements! I know
that's a lame summary but it's really all over the place.
Highlights:
- Reverse proxy got a lot of love with certain edge cases related to
PROXY protocol, health check port, and closing body on retries.
Dynamic upstreams are now tracked which enables passive health
checking.
- Performance improvements for metrics.
- New tls_resolvers global option to control DNS resolvers for all
sites when using the ACME DNS challenge.
- Log rolling now supports zstd compression; deprecated roll_gzip,
which will be removed in the future. Use roll_compression instead.
- Refined logging and some error messages.
- Fixed a bug in rewrite handler that could cause some URIs to not
[23 lines not shown]
[clang][deps] Store `IgnoreCWD` on `ModuleDeps` (#184921)
This aligns us with downstream, where we need to be able to query
whether a module depends on CWD or not.
lang/go125: Update to 1.25.8
This is a direct commit to 2026Q1, as the Go framework has diverged.
Changes:
go1.25.8 (released 2026-03-05) includes security fixes to the
html/template, net/url, and os packages, as well as bug fixes to the
go command, the compiler, and the os package. See the Go 1.25.8
milestone on our issue tracker for details.
www/caddy: Update to 2.11.2
Changes:
Caddy 2.11.2 contains numerous bug fixes and enhancements! I know
that's a lame summary but it's really all over the place.
Highlights:
- Reverse proxy got a lot of love with certain edge cases related to
PROXY protocol, health check port, and closing body on retries.
Dynamic upstreams are now tracked which enables passive health
checking.
- Performance improvements for metrics.
- New tls_resolvers global option to control DNS resolvers for all
sites when using the ACME DNS challenge.
- Log rolling now supports zstd compression; deprecated roll_gzip,
which will be removed in the future. Use roll_compression instead.
- Refined logging and some error messages.
- Fixed a bug in rewrite handler that could cause some URIs to not
[22 lines not shown]
[RISCV] Remove outdated TODO in isExtractSubvectorCheap (#184938)
Index 0 is already handled by an early return, so the TODO comment about
extracting index 0 from a mask vector is no longer needed.
lang/go125: Update to 1.25.8
Changes:
go1.25.8 (released 2026-03-05) includes security fixes to the
html/template, net/url, and os packages, as well as bug fixes to the
go command, the compiler, and the os package. See the Go 1.25.8
milestone on our issue tracker for details.
lang/go126: Update to 1.26.1
Changes:
go1.26.1 (released 2026-03-05) includes security fixes to the
crypto/x509, html/template, net/url, and os packages, as well as bug
fixes to the go command, the go fix command, the compiler, and the
os and reflect packages. See the Go 1.26.1 milestone on our issue
tracker for details.
iwlwifi: adjust driver description
Adjust the module driver descriptions for mvm and mld to make it clear
that this is not a driver for Linux but a Linux-based driver for FreeBSD.
Cleanup surroundings.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
iwlwifi: mld: add LINUXKPI_PARAM_PREFIX
Add a LINUXKPI_PARAM_PREFIX to mld to properly export the
power_scheme module_param (sysctl). This is especially needed given
mvm has the same parameter and we need to avoid a clash.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
iwlwifi: mld: move module_init() to SI_ORDER_SECOND
In FreeBSD the iwlwifi driver is a single kernel module.
As for iwlwifi/mvm we need to make sure the common "iwlwifi drv" code
is initialized before trying to register the mld sub-driver
in order for lists, etc. in the registration code to be initialized.
We do this by using an extended (FreeBSD specific) version of
module_init which overrides the order parameter of the SYSINIT.
Otherwise we can randomly (depending on SYSINIT run order) run into
a NULL pointer deref panic.
Sponsored by: The FreeBSD Foundation
PR: 291120
MFC after: 3 days
NAS-140153 / 26.0.0-BETA.2 / Fix SMB sharing kernel client test (by anodos325) (#18383)
This commit fixes an alternate datastream / xattr test that was
accidentally succeeding for a long period of time due to a corresponding
samba xattr buffer management bug that we fixed and upstreamed. This
commit fixes the test now which had neglected to properly reset the
global kernel SMB client state.
Original PR: https://github.com/truenas/middleware/pull/18382
---------
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
NAS-140153 / 27.0.0-BETA.1 / Fix SMB sharing kernel client test (#18382)
This commit fixes an alternate datastream / xattr test that was
accidentally succeeding for a long period of time due to a corresponding
samba xattr buffer management bug that we fixed and upstreamed. This
commit fixes the test now which had neglected to properly reset the
global kernel SMB client state.
[ELF] handleTlsGd: support disabling GD-to-IE/LE optimization. NFC (#184934)
Use this in ARM::scanSectionImpl for R_ARM_TLS_GD32 and the upcoming
RISC-V change.
libzpool: lift zfs_file ops out to separate source file
So its easier to remove and replace on non-Unix platforms.
Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Jorgen Lundman <lundman at lundman.net>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18281