HardenedBSD/src 69293f0 — sys/crypto/des/arch/i386 des_enc.S, sys/dev/vte if_vte.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+0-10,585sys/i386/linux/linux_systrace_args.c
+0-6,484sys/i386/i386/pmap.c
+0-2,810sys/crypto/des/arch/i386/des_enc.S
+0-2,637sys/i386/linux/syscalls.master
+0-2,493sys/i386/linux/linux_proto.h
+0-2,070sys/dev/vte/if_vte.c
+0-27,079621 files not shown
+2,474-89,651627 files

HardenedBSD/src 8d1f71a — sys/dev/hyperv/hvsock hv_sock.c, sys/dev/ufshci ufshci_req_queue.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+298-0tests/sys/kern/binmisc_test.sh
+122-17tests/sys/netipsec/tunnel/flowlabel.sh
+59-65usr.sbin/binmiscctl/binmiscctl.8
+87-0tests/sys/kern/binmisc_helper.c
+41-44sys/dev/hyperv/hvsock/hv_sock.c
+47-29sys/dev/ufshci/ufshci_req_queue.c
+654-15542 files not shown
+942-47148 files

HardenedBSD/src 4a826f8 — sys/contrib/zstd/lib zstd.h, sys/contrib/zstd/lib/compress zstd_compress.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+775-214sys/contrib/zstd/lib/compress/zstd_compress.c
+713-235sys/contrib/zstd/programs/fileio.c
+439-105sys/contrib/zstd/programs/util.c
+5-364sys/contrib/zstd/lib/legacy/zstd_v02.c
+209-112sys/contrib/zstd/lib/zstd.h
+253-65sys/contrib/zstd/programs/zstd.1
+2,394-1,09589 files not shown
+4,734-2,10795 files

HardenedBSD/ports 7399051 — databases/sqlcipher distinfo, devel/aphpunit distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+39-5editors/fresh/distinfo
+18-1editors/fresh/Makefile.crates
+5-5games/openbve/distinfo
+5-5devel/task/distinfo
+3-3devel/aphpunit/distinfo
+3-3databases/sqlcipher/distinfo
+73-2234 files not shown
+124-6240 files

FreeBSD/ports 161c8b4 — games/openbve Makefile distinfo

games/openbve: update OpenBVE to version 1.14.1.4

Reported by:    portscout
DeltaFile
+5-5games/openbve/distinfo
+2-2games/openbve/Makefile
+7-72 files

HardenedBSD/ports 161c8b4 — games/openbve Makefile distinfo

games/openbve: update OpenBVE to version 1.14.1.4

Reported by:    portscout
DeltaFile
+5-5games/openbve/distinfo
+2-2games/openbve/Makefile
+7-72 files

HardenedBSD/src e76f099 — lib/libthr/thread thr_pspinlock.c

libthr: Fix shared spinlock leak

pshared_destroy takes key instead of the real lock as
parameter.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D62259
DeltaFile
+2-1lib/libthr/thread/thr_pspinlock.c
+2-11 files

FreeBSD/src d419e49 — lib/libthr/thread thr_private.h thr_create.c

libthr: Skip unwinding for thread normal returrn

For a thread returns normally, there is no needeed to unwind the stack.
We split the exit code with a common implementation and pass unwind
to check whether we need to unwind the stack or not.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D62265
DeltaFile
+15-0lib/libthr/thread/thr_exit.c
+1-1lib/libthr/thread/thr_create.c
+1-0lib/libthr/thread/thr_private.h
+17-13 files

FreeBSD/src e76f099 — lib/libthr/thread thr_pspinlock.c

libthr: Fix shared spinlock leak

pshared_destroy takes key instead of the real lock as
parameter.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D62259
DeltaFile
+2-1lib/libthr/thread/thr_pspinlock.c
+2-11 files

HardenedBSD/src d419e49 — lib/libthr/thread thr_private.h thr_create.c

libthr: Skip unwinding for thread normal returrn

For a thread returns normally, there is no needeed to unwind the stack.
We split the exit code with a common implementation and pass unwind
to check whether we need to unwind the stack or not.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D62265
DeltaFile
+15-0lib/libthr/thread/thr_exit.c
+1-1lib/libthr/thread/thr_create.c
+1-0lib/libthr/thread/thr_private.h
+17-13 files

LLVM/project 28d380b — clang/lib/AST DeclObjC.cpp, clang/lib/Sema SemaDeclObjC.cpp

[Modules][ObjC] Objective-C protocols aren't visible in local submodule visibility (#247826)

There's a few spots in DeclObjC and SemaDeclObjC that need to switch
from Decl::isUnconditionallyVisible to Sema::isVisible (sometimes via
ASTContext::isDeclVisible).

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>

rdar://82959731
DeltaFile
+338-4clang/test/Modules/lsv-objc.m
+7-7clang/lib/Sema/SemaDeclObjC.cpp
+4-4clang/lib/AST/DeclObjC.cpp
+349-153 files

LLVM/project b382617 — llvm/lib/Transforms/Utils ValueMapper.cpp

ValueMapper: Don't cache identity mappings of globals and leaf constants

With RF_NoModuleLevelChanges and no materializer, globals and
constants without operands always map to themselves. Return them
directly instead of adding map entries.

Instructions retired by opt -O3:
  tramp3d-v4, x86_64-linux:  -0.13%, -0.18% without likely_module_local
                             hints, -0.10% with -g
  CTMark geomean, arm64:     -0.01%, -0.06% with -g

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+13-0llvm/lib/Transforms/Utils/ValueMapper.cpp
+13-01 files

LLVM/project 203b58a — llvm/docs AMDGPUUsage.md AMDGPUMemoryModel.md

replace plain "scope" with "A/V scope" or "syncscope" as appropriate
DeltaFile
+23-25llvm/docs/AMDGPUMemoryModel.md
+5-5llvm/docs/AMDGPUUsage.md
+28-302 files

LLVM/project e06716b — clang/test/OpenMP thread_limit_gpu.c num_teams_kernel_attribute.cpp, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[OMPIRBuilder] Fix writing of OpenMP num teams kernel attribute
DeltaFile
+50-0clang/test/OpenMP/num_teams_kernel_attribute.cpp
+42-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+6-6clang/test/OpenMP/thread_limit_gpu.c
+7-4llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+105-104 files

LLVM/project 576f120 — llvm/docs/CommandGuide llvm-ir2vec.md, llvm/test/tools/llvm-ir2vec triplets-max-arg-index.ll

[llvm-ir2vec] Add --max-arg-index to bound the Arg relations in IR triplets
DeltaFile
+40-0llvm/test/tools/llvm-ir2vec/triplets-max-arg-index.ll
+18-3llvm/tools/llvm-ir2vec/lib/IRUtils/IRUtils.cpp
+4-1llvm/docs/CommandGuide/llvm-ir2vec.md
+62-43 files

HardenedBSD/src 4e03345 — sys/contrib/zstd/lib zstd.h, sys/contrib/zstd/lib/compress zstd_compress.c

MFV: zstd 1.6.0

Security:       CVE-2026-124851
MFC after:      3 days

(cherry picked from commit 0412a4034e277629245c8bd87978680216bb06b5)
DeltaFile
+775-214sys/contrib/zstd/lib/compress/zstd_compress.c
+713-235sys/contrib/zstd/programs/fileio.c
+439-105sys/contrib/zstd/programs/util.c
+5-364sys/contrib/zstd/lib/legacy/zstd_v02.c
+209-112sys/contrib/zstd/lib/zstd.h
+253-65sys/contrib/zstd/programs/zstd.1
+2,394-1,09577 files not shown
+4,703-2,09683 files

FreeBSD/src 4e03345 — sys/contrib/zstd/lib zstd.h, sys/contrib/zstd/lib/compress zstd_compress.c

MFV: zstd 1.6.0

Security:       CVE-2026-124851
MFC after:      3 days

(cherry picked from commit 0412a4034e277629245c8bd87978680216bb06b5)
DeltaFile
+775-214sys/contrib/zstd/lib/compress/zstd_compress.c
+713-235sys/contrib/zstd/programs/fileio.c
+439-105sys/contrib/zstd/programs/util.c
+5-364sys/contrib/zstd/lib/legacy/zstd_v02.c
+209-112sys/contrib/zstd/lib/zstd.h
+253-65sys/contrib/zstd/programs/zstd.1
+2,394-1,09577 files not shown
+4,703-2,09683 files

LLVM/project ee79d0d — llvm/include/llvm/IR RuntimeLibcalls.td

Use a single libcall for the asan version check
DeltaFile
+2-4llvm/include/llvm/IR/RuntimeLibcalls.td
+2-41 files

FreeBSD/src eca31f2 — stand loader.mk defs.mk, stand/efi/loader Makefile

loader: Add defines for ZLIB_CFLAGS, BZIP2_CFLAGS and ZSTD_CFLAGS

These are scattered in several places, so centralize the setting of
these flags.

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D57861

(cherry picked from commit 53811ed6237972f92a80627ea2c17ece212315a7)
DeltaFile
+9-0stand/defs.mk
+1-2stand/libsa/Makefile
+2-1stand/efi/loader/Makefile
+1-1stand/uboot/Makefile
+1-1stand/loader.mk
+1-1stand/i386/loader/Makefile
+15-63 files not shown
+18-99 files

HardenedBSD/src eca31f2 — stand defs.mk, stand/efi/gptboot Makefile

loader: Add defines for ZLIB_CFLAGS, BZIP2_CFLAGS and ZSTD_CFLAGS

These are scattered in several places, so centralize the setting of
these flags.

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D57861

(cherry picked from commit 53811ed6237972f92a80627ea2c17ece212315a7)
DeltaFile
+9-0stand/defs.mk
+1-2stand/libsa/Makefile
+2-1stand/efi/loader/Makefile
+1-1stand/i386/gptzfsboot/Makefile
+1-1stand/i386/gptboot/Makefile
+1-1stand/efi/gptboot/Makefile
+15-63 files not shown
+18-99 files

LLVM/project df9a3f2 — llvm/tools/dsymutil DwarfLinkerForBinary.h

[dsymutil] Make numbers explicitly unsigned to fix c++20 issue. (#247933)

When built with C++ 20 as the standard (-DCMAKE_CXX_STANDARD=20), LLVM
can't decide whether these are 'const yaml::Hex32' or 'int' numbers,
leading to an operator overload error. Making these numbers explicitly
unsigned fixes the problem.
DeltaFile
+1-1llvm/tools/dsymutil/DwarfLinkerForBinary.h
+1-11 files

LLVM/project d4cc021 — llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU llvm.amdgcn.wmma.gfx1250.ll llvm.amdgcn.wmma.gfx1200.ll

[AMDGPU] Fold integer wmma with zero multiplicand to the accumulator

For integer wmma and swmmac, $A \times 0 + C = C$, so if A or B is zero
the result is just C. The sign or neg modifiers, clamp, reuse hints and
sparsity index cannot change this, because the product is zero and C
cannot overflow.

```llvm
%r = call <8 x i32> @llvm.amdgcn.wmma.i32.16x16x64.iu8.v8i32.v8i32(i1 0, <8 x i32> %a, i1 0, <8 x i32> zeroinitializer, <8 x i32> %c, i1 0, i1 0, i1 1)
  -->
%r = %c
```

Floating point variants are not folded, since $0 \times \infty$ and
$0 \times \mathrm{NaN}$ give NaN and $-0.0 + 0.0 = +0.0$.
DeltaFile
+87-0llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.wmma.gfx1200.ll
+60-0llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.wmma.gfx1250.ll
+15-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+162-03 files

LLVM/project cce183b — llvm/docs AMDGPUMemoryModel.md

[AMDGPU][Docs] Introduce A/V scope in the memory model

- Define the availability/visibility (A/V) scope of an operation, which may
  differ from the syncscope of an atomic operation, and the execution scope
  instance of an operation.
- Distinguish "inclusive scopes" (based on syncscope) from "inclusive A/V
  scopes"
- Replace the "common scope" and "X's scope instance" terminology in the
  availability and visibility rules.

Assisted-by: AI
DeltaFile
+58-43llvm/docs/AMDGPUMemoryModel.md
+58-431 files

LLVM/project d48c653 — llvm/include/llvm/CodeGen MIR2Vec.h

[NFC][MIR2Vec] Check that CommonOperands covers every operand type (#246057)

Add an ExcludedOperandTypes list (MO_Register, MO_DbgInstrRef) and a
static_assert that CommonOperands and ExcludedOperandTypes together have
one entry per MachineOperandType. A newly added operand type now breaks
the build instead of silently getting a zero embedding.
DeltaFile
+9-2llvm/include/llvm/CodeGen/MIR2Vec.h
+9-21 files

LLVM/project 4e3ec84 — clang/test/OpenMP thread_limit_gpu.c num_teams_kernel_attribute.cpp, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[OMPIRBuilder] Fix writing of OpenMP num teams kernel attribute
DeltaFile
+50-0clang/test/OpenMP/num_teams_kernel_attribute.cpp
+44-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+6-6clang/test/OpenMP/thread_limit_gpu.c
+4-4llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+104-104 files

LLVM/project 245a396 — llvm/lib/Analysis IR2Vec.cpp, llvm/tools/llvm-ir2vec/lib/IRUtils IRUtils.cpp

Address comments
DeltaFile
+4-2llvm/lib/Analysis/IR2Vec.cpp
+2-0llvm/tools/llvm-ir2vec/lib/IRUtils/IRUtils.cpp
+6-22 files

LLVM/project 245f9fa — llvm/test/CodeGen/AMDGPU stacksave_stackrestore.ll

Pre-commit tests for the stackrestore fix
DeltaFile
+1,529-0llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
+1,529-01 files

LLVM/project 552d2f3 — llvm/lib/Target/AMDGPU AMDGPURegisterBankInfo.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU stacksave_stackrestore.ll

[AMDGPU][GISel] Capture the stack pointer at stacksave
DeltaFile
+254-190llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
+15-8llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+8-1llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+6-2llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-stacksave-stackrestore.mir
+0-3llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
+283-2045 files

LLVM/project 1b3a21d — llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-amdgpu-wave-address.mir inst-select-amdgpu-wave-address.mir

Relax the verifier to accept VRegs for G_AMDGPU_WAVE_ADDRESS
DeltaFile
+20-15llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-wave-address.mir
+5-9llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgpu-wave-address.mir
+3-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+28-263 files

LLVM/project 0f24bb8 — llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-amdgpu-wave-address.mir inst-select-amdgpu-wave-address.mir

Pre-commit tests for relaxing verifier
DeltaFile
+43-2llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-wave-address.mir
+20-1llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgpu-wave-address.mir
+63-32 files