FreeBSD/src 4a7d42fsys/riscv/include cpufunc.h, sys/riscv/vmm vmm_riscv.c

riscv: Add macro for hfence.gvma instruction

Add an inline function hfence_gvma() for hfence.gvma instruction.

Signed-off-by:  Doongar Singh <doonbsd at gmail.com>
Reviewed by:    mhorne, markj
Differential Revision:  https://reviews.freebsd.org/D54857

(cherry picked from commit 972c488bf4117d9eb29e5753c6c5a2250154df3d)
DeltaFile
+7-0sys/riscv/include/cpufunc.h
+1-1sys/riscv/vmm/vmm_riscv.c
+8-12 files

FreeBSD/ports f6ac00adatabases/mysql84-server distinfo Makefile

databases/mysql84-{server|client}: Update to 8.4.8

Bugs Fixed

    InnoDB: Under certain circumstances, when using the que_eval_sql
interface, a race condition could occur. (Bug #118705, Bug #38310595)

    Running SET PERSIST on a system variable after an upgrade can result
in duplicate variable entries across different sections in
mysqld-auto.cnf. (Bug #38680162)

    Binary log purged before persisted binlog_expire_* options were
loaded. (Bug #38554467)

    When 2 of 6 instances in a geographically dispersed InnoDB Cluster
lost connectivity, the primary server became unresponsive, causing the
COMMIT and INSERT operations to become unresponsive as well. (Bug

    mysqldump's --order-by-primary option sorted data by every index on

    [14 lines not shown]
DeltaFile
+3-3databases/mysql84-server/distinfo
+1-1databases/mysql84-server/Makefile
+4-42 files

FreeNAS/freenas f99498atests/sharing_protocols/nvmet test_nvmet_ha_failover.py

Fix NVMe-oF failover test reliability and add diagnostics

- Fix flush method: send_flush() -> flush_namespace()
- Add read retry loop for namespaces not ready after failover
- Increase teardown sleep from 5s to 15s for cleanup
- Add fixture lifecycle logging to diagnose teardown issues
- Verify service state and port release after stop
DeltaFile
+51-7tests/sharing_protocols/nvmet/test_nvmet_ha_failover.py
+51-71 files

FreeBSD/src db0c875sys/riscv/riscv pmap.c

riscv: smarter DMAP construction (again)

Extend pmap_bootstrap_dmap() to build the DMAP with 4K-page granularity.

Recently we have been approximating it with 2MB mappings. The motivation
again is the problematic FU540 hardware, which seems to require more
accurate mappings still to avoid triggering its PMP errata.

Although this hardware alone is of little consequence, constructing the
DMAP accurately/correctly may help avoid future surprises.

The implementation contains some repetitive code. This could be
expressed differently, but my guiding principle for these early routines
is that being simple and explicit about what we are doing makes them
easier to comprehend.

See also 762a3224cde6 ("riscv: smarter DMAP construction).

Tested by:      Klaus Küchemann <maciphone2 at googlemail.com>

    [5 lines not shown]
DeltaFile
+83-15sys/riscv/riscv/pmap.c
+83-151 files

FreeNAS/freenas 98f45bctests/sharing_protocols/nvmet test_nvmet_ha_failover.py

Fix NVMe-oF crash failover tests for gradual namespace availability

- Add flush before crash failover to reach stable storage
- Increase namespace verification retries from 5 to 60
- Handles namespaces initializing gradually after crash
DeltaFile
+7-1tests/sharing_protocols/nvmet/test_nvmet_ha_failover.py
+7-11 files

FreeNAS/freenas df856b9tests requirements.txt

Add nvmeof-client to requirements.txt for tests
DeltaFile
+1-0tests/requirements.txt
+1-01 files

FreeNAS/freenas fb45d20tests/sharing_protocols/nvmet test_nvmet_ha_failover.py

Add TestFailback and fix test isolation

- Add TestFailback crash->orderly failback cycle tests (4 tests)
- Change TestFailover fixtures to class scope to fix backend switching
- Add restore_original_master fixture to restore HA state after tests
- Add MAX_FAILOVER_TIME checks for both failover and failback operations
DeltaFile
+361-5tests/sharing_protocols/nvmet/test_nvmet_ha_failover.py
+361-51 files

FreeNAS/freenas 0e4f65btests/sharing_protocols/nvmet test_nvmet_ha_failover.py

Add large-scale HA failover test (51 subsystems/70 namespaces)

- Add TestFailoverScale class with 8 parametric variations
- Use ThreadPoolExecutor for parallel connection/verification
- Add MAX_FAILOVER_TIME check (60s limit)
- Set 15-minute timeout for test (ZVOL overhead)
- Update docstring to document both test suites
DeltaFile
+412-4tests/sharing_protocols/nvmet/test_nvmet_ha_failover.py
+412-41 files

FreeNAS/freenas cfce5catests/sharing_protocols/nvmet test_nvmet_ha_failover.py

By default only run a subset of test_failover
DeltaFile
+14-0tests/sharing_protocols/nvmet/test_nvmet_ha_failover.py
+14-01 files

FreeNAS/freenas ae87725tests/sharing_protocols/nvmet test_nvmet_ha_failover.py

Add test_failover for NVMe-oF
DeltaFile
+918-0tests/sharing_protocols/nvmet/test_nvmet_ha_failover.py
+918-01 files

FreeBSD/ports 7578e2esecurity/p11-kit distinfo pkg-plist

security/p11-kit: update to 0.26.2

(cherry picked from commit a8abb5097b47035b1bc7953facf713d03fe3670d)
DeltaFile
+3-3security/p11-kit/distinfo
+1-1security/p11-kit/pkg-plist
+1-1security/p11-kit/Makefile
+5-53 files

LLVM/project 92dc328llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp SPIRVGlobalRegistry.cpp

[SPIRV] Replace SPIRVType with SPIRVTypeInst as much as we can

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+310-308llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+201-191llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+204-165llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+94-94llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
+56-55llvm/lib/Target/SPIRV/SPIRVPostLegalizer.cpp
+37-31llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
+902-8449 files not shown
+997-93515 files

LLVM/project 61c2432utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Fix llvm reference
DeltaFile
+1-1utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-11 files

LLVM/project b069cebclang/lib/CodeGen CGObjCRuntime.cpp CGObjCRuntime.h

address reviewer
DeltaFile
+56-53clang/lib/CodeGen/CGObjCRuntime.cpp
+5-17clang/lib/CodeGen/CGObjCRuntime.h
+2-5clang/lib/CodeGen/CodeGenFunction.h
+2-1clang/lib/CodeGen/CGObjCMac.cpp
+65-764 files

LLVM/project afd53aeutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Fix layering checks
DeltaFile
+27-59utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+27-591 files

FreeBSD/src b9d3945sys/dev/ahci ahci_pci.c

ahci: Restrict NVMe redirection by BAR size

Attempts to access vendor-specific registers on emulator of older
Intel hardware was reported to confuse one.  Since the redirection
obviously require BAR size bigger than normal 2KB of AHCI, add
the condition, similar to what Linux is doing.

Requested by:   kib
MFC after:      2 weeks
DeltaFile
+2-1sys/dev/ahci/ahci_pci.c
+2-11 files

LLVM/project 6a40a96llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp SPIRVGlobalRegistry.cpp

[SPIRV] Replace SPIRVType with SPIRVTypeInst as much as we can

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+309-308llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+187-179llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+161-127llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+75-75llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
+56-55llvm/lib/Target/SPIRV/SPIRVPostLegalizer.cpp
+36-31llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
+824-7759 files not shown
+918-86615 files

LLVM/project d1dc843llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/CodeGen/AMDGPU loop-vector-sink.ll undef-handling-crash-in-ra.ll

[AMDGPU] Enable sinking of free vector ops that will be folded into their uses (#162580)

Sinking ShuffleVectors / ExtractElement / InsertElement into user blocks
can help enable SDAG combines by providing visibility to the values
instead of emitting CopyTo/FromRegs. The sink IR pass disables sinking
into loops, so this PR extends the CodeGenPrepare target hook
shouldSinkOperands.

Co-authored-by: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>

---------

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
DeltaFile
+184-10llvm/test/CodeGen/AMDGPU/loop-vector-sink.ll
+53-1llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+0-2llvm/test/CodeGen/AMDGPU/undef-handling-crash-in-ra.ll
+237-133 files

LLVM/project d78ea38llvm/lib/Transforms/Scalar LoopStrengthReduce.cpp

[CodeGen][LSR][NPM] Make LoopStrengthReduce pass preserve LCSSA
DeltaFile
+4-0llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+4-01 files

LLVM/project f997acdllvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Target TargetOptions.h TargetMachine.h

add a target option to disable machine verifier
DeltaFile
+9-5llvm/include/llvm/Target/TargetOptions.h
+8-4llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+3-1llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+3-0llvm/include/llvm/Target/TargetMachine.h
+3-0llvm/include/llvm/Passes/CodeGenPassBuilder.h
+26-105 files

LLVM/project 4294b26llvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/test/CodeGen/AMDGPU llc-pipeline-npm.ll

[CodeGen][NPM] Disable Machine verifier at the end of default pipelines
DeltaFile
+4-8llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+3-6llvm/test/CodeGen/AMDGPU/llc-pipeline-npm.ll
+0-3llvm/include/llvm/Passes/CodeGenPassBuilder.h
+7-173 files

NetBSD/pkgsrc mfBhD4udoc CHANGES-2026

   Updated devel/py-zope.deferredimport, textproc/py-validate-pyproject
VersionDeltaFile
1.1013+3-1doc/CHANGES-2026
+3-11 files

HardenedBSD/src f75002fkrb5/lib/gssapi version.map, krb5/lib/krb5 version.map

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+1,744-0sys/arm64/include/hypervisor.h
+1,192-0krb5/lib/krb5/version.map
+405-0sys/arm64/vmm/vmm_reset.c
+172-155usr.sbin/syslogd/tests/syslogd_test.sh
+308-0krb5/lib/gssapi/version.map
+148-0krb5/plugins/kdb/db2/version.map
+3,969-155104 files not shown
+5,094-539110 files

HardenedBSD/ports e4644c2editors/vscode pkg-plist, net-im/tox Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+1,510-128editors/vscode/pkg-plist
+425-0sysutils/try-rs/distinfo
+211-0sysutils/try-rs/Makefile.crates
+14-20net-im/tox/Makefile
+19-0sysutils/try-rs/Makefile
+0-18net-im/tox/files/patch-toxcore_network.c
+2,179-16654 files not shown
+2,344-29460 files

LLVM/project 20d3aa9lld/ELF Target.h Writer.cpp, lld/ELF/Arch X86_64.cpp

[NFC][ELF] Remove redundant and unused file argument from deleteFallThruJmpInsn (#180540)

This was added in 94317878d826 ("LLD Support for Basic Block Sections")
and was only ever used for getRelocTargetVA. It was always redundant
even back then, as it was always the same as is.file, and so passing it
separately made it confusing and less obvious which file it was
referring to, but 2b5cb1bf628f ("[ELF] getRelocTargetVA: pass Ctx and
Relocation. NFC") removed that one use so it is now completely unused.
Remove it, and if anyone ever finds a need for it, they can just use
is.file like should have been done in the first place.
DeltaFile
+6-6lld/ELF/Arch/X86_64.cpp
+1-1lld/ELF/Target.h
+1-1lld/ELF/Writer.cpp
+8-83 files

FreeBSD/src 87632ddsys/contrib/openzfs/include/os/freebsd/spl/sys types32.h, sys/contrib/openzfs/lib/libspl/include/sys types32.h

openzfs sys/types32.h: use abi_compat.h for time32_t

The time32_t typedef leaks into openzfs compilation environment
through sys/event.h.  Simultaneously, openzfs provides its own
definition that is only correct for amd64 on FreeBSD.

Try to fix it by using sys/abi_compat.h directly.  Since toolchain build
from the make buildworld uses host abi_compat.h, add a preprocessor
symbol __HAVE_TIME32_T to signal consumers that time32_t is typedef'ed.
If not defined, fall back to old and wrong time32_t, which is enough for
bootstraping toolchain.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135
DeltaFile
+6-1sys/sys/abi_compat.h
+5-0sys/contrib/openzfs/lib/libspl/include/sys/types32.h
+2-1sys/contrib/openzfs/include/os/freebsd/spl/sys/types32.h
+13-23 files

FreeBSD/src ec6cf0csys/sys user.h

sys/user.h: remove XXXSKE markers

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135
DeltaFile
+3-3sys/sys/user.h
+3-31 files

FreeBSD/src 154778esys/compat/freebsd32 freebsd32.h, sys/kern kern_proc.c

sys/compat/freebsd32: ki_pd is missing from struct kinfo_proc32

This is missed by the sizeof(struct kinfo_proc32) assert due to another
bug: namely, the use of uint64_t type that has different alignment on
i386 than on amd64 host.

Fixes:  85078b8573332c2c83a79adea8a61b519fb3b6af
Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135
DeltaFile
+1-0sys/kern/kern_proc.c
+1-0sys/compat/freebsd32/freebsd32.h
+2-02 files

FreeBSD/src c3a04a9sys/sys abi_compat.h

sys/abi_compat.h: normalize include guard name

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135
DeltaFile
+3-3sys/sys/abi_compat.h
+3-31 files

FreeBSD/src 3dc7210sys/compat/freebsd32 freebsd32_misc.c freebsd32.h

sys/compat/freebsd32: use freebsd32_uint64_t for struct ffclock_estimate32

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55135
DeltaFile
+2-2sys/compat/freebsd32/freebsd32_misc.c
+1-1sys/compat/freebsd32/freebsd32.h
+3-32 files