HardenedBSD/ports 827b542net-p2p/reticulum distinfo Makefile

HBSD: Bump net-p2p/reticulum

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+3-3net-p2p/reticulum/distinfo
+2-1net-p2p/reticulum/Makefile
+5-42 files

LLVM/project 1b47242llvm/lib/Transforms/Instrumentation ControlHeightReduction.cpp, llvm/test/Transforms/PGOProfile chr-convergent.ll

[CHR] Skip regions containing convergent calls (#180882)

CHR (Control Height Reduction) merges multiple biased branches into a
single speculative check, cloning the region into hot/cold paths. On
GPU targets, the merged branch may be divergent (evaluated per-thread),
splitting the wavefront: some threads take the hot path, others the
cold path.

A convergent call like ds_bpermute (a cross-lane operation on AMDGPU)
requires a specific set of threads to be active — when thread X reads
from thread Y, thread Y must be active and participating in the same
call. After CHR cloning, thread Y may have gone to the cold path while
thread X is on the hot path, so the hot-path ds_bpermute reads a stale
register value from thread Y instead of the intended value.

This caused a miscompilation in rocPRIM's lookback scan: CHR duplicated
a region containing ds_bpermute, and the hot-path copy executed with a
different set of active threads, reading incorrect cross-lane data and
causing a memory access fault.

    [2 lines not shown]
DeltaFile
+137-0llvm/test/Transforms/PGOProfile/chr-convergent.ll
+20-1llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
+157-12 files

FreeBSD/src 5d6dfa5share/man/man5 src.conf.5

src.conf.5: regen documenting WITH_IPFILTER_IPFS

(cherry picked from commit b9b1262a8ef95857101e538145703894e3b880b7)
DeltaFile
+5-1share/man/man5/src.conf.5
+5-11 files

FreeBSD/src f981908tools/build/options WITH_IPFILTER_IPFS

options: describe WITH_IPFILTER_IPFS

Add a description for WITH_IPFILTER_IPFS.

Fixes:          0ff0c19e7f70 ("ipfilter: Disable ipfs(8) by default")
(cherry picked from commit c112ad75605ccdfcb8bbce2f57b0e7a077f057f8)
DeltaFile
+3-0tools/build/options/WITH_IPFILTER_IPFS
+3-01 files

LLVM/project 3b2c1dbmlir/python/mlir/dialects ext.py, mlir/test/python/dialects ext.py

[MLIR][Python] Support type definitions in Python-defined dialects (#182805)

In this PR, we added basic support of type definitions in Python-defined
dialects, including:
- IRDL codegen for type definitions
- Type builders like `MyType.get(..)` and type parameter accessors (e.g.
`my_type.param1`)
- Use Python-defined types in Python-defined oeprations

```python
class TestType(Dialect, name="ext_type"):
    pass

class Array(TestType.Type, name="array"):
    elem_type: IntegerType[32] | IntegerType[64]
    length: IntegerAttr

class MakeArrayOp(TestType.Operation, name="make_array"):
    arr: Result[Array]

    [3 lines not shown]
DeltaFile
+127-7mlir/python/mlir/dialects/ext.py
+73-0mlir/test/python/dialects/ext.py
+200-72 files

LLVM/project ccfd59allvm/test/CodeGen/WebAssembly load-ext.ll

[NFC][WebAssembly] Expanding load-ext testcases for the MVP CPU target (#182864)

Some features tested in load-ext require sign-ext. 
To test this, add tests targeting the MVP CPU.
DeltaFile
+576-72llvm/test/CodeGen/WebAssembly/load-ext.ll
+576-721 files

LLVM/project 13838eflld/ELF/Arch X86_64.cpp, lld/test/ELF ztext.s x86-x32-abs.s

[ELF] Adjust allowed dynamic relocation types for x86-64 (#182905)

First, disallow R_X86_64_PC64 - generally only absolute relocations are
allowed in getDynRel. glibc and musl don't support R_X86_64_PC64 as
dynamic relocations.

Second, support R_X86_64_32 as dynamic relocation for the ILP32 ABI
(x32). GNU ld's behavior looks like:

- R_X86_64_32 => R_X86_64_RELATIVE
- R_X86_64_64 with addend 0 => R_X86_64_RELATIVE
- R_X86_64_64 with non-zero addend => R_X86_64_RELATIVE64 (unsupported
  by musl; compilers do not generate such constructs to the best of my
  knowledge)

For now we require R_X86_64_64 to be resolved at link-time for x32.

Fix #140465
DeltaFile
+25-13lld/test/ELF/ztext.s
+34-0lld/test/ELF/x86-x32-abs.s
+0-10lld/test/ELF/Inputs/ztext.s
+2-3lld/ELF/Arch/X86_64.cpp
+61-264 files

LLVM/project 05a0394libc/shared/math bf16mulf128.h, libc/src/__support/math CMakeLists.txt bf16mulf128.h

[libc][math] Refactor bf16mul family to header-only (#182018)

Refactors the bf16mul math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182017

Target Functions:
  - bf16mul
  - bf16mulf
  - bf16mulf128
  - bf16mull
DeltaFile
+69-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+41-0libc/src/__support/math/CMakeLists.txt
+32-0libc/src/__support/math/bf16mulf128.h
+28-0libc/shared/math/bf16mulf128.h
+26-0libc/src/__support/math/bf16mul.h
+26-0libc/src/__support/math/bf16mulf.h
+222-012 files not shown
+339-4018 files

LLVM/project b311c02mlir/lib/Dialect/Affine/Utils LoopFusionUtils.cpp, mlir/test/Dialect/Affine loop-fusion-4.mlir

[MLIR][Affine] Fix assert in slice compute cost (#182712)

Fixes https://github.com/llvm/llvm-project/issues/180029.
DeltaFile
+54-0mlir/test/Dialect/Affine/loop-fusion-4.mlir
+5-2mlir/lib/Dialect/Affine/Utils/LoopFusionUtils.cpp
+59-22 files

LLVM/project 79b2ed3llvm/test/Transforms/ThinLTOBitcodeWriter split-internal2.ll

[NFC][ThinLTO] Check that refs between split modules have the same GUID
DeltaFile
+9-0llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
+9-01 files

LLVM/project a17a305llvm/lib/Analysis InstCount.cpp, llvm/test/Analysis/InstCount instcount.ll

[LLVM] Metric added - largest number of basic blocks in a single func… (#182970)

This metric gets the size of the biggest count of basic blocks in a
single function.
DeltaFile
+3-0llvm/lib/Analysis/InstCount.cpp
+1-0llvm/test/Analysis/InstCount/instcount.ll
+4-02 files

OpenBSD/src kdLvmLCsys/dev/acpi acpidmar.c

   Make acpidmar useful for general IOMMU use on amd64.

   1. Remove panics in favor of error returns
   2. Make unmap ordering clear (PTEs > invalidate IOTLB > free IOVA)
   3. Add locking so concurrent mappings cannot race installing intermediate
   page table levels (when marked MPSAFE)

   For AMD-Vi:

   1. Add cache flush for page tables and IVHD command/event data
   structures (no-op on coherent IOMMUs)
   2. Add per-page/range IOTLB invalidation
   3. Fix device/interrupt-table invalidations to be keyed by requester device ID
   4. Move batch completion variable from stack to softc

   For Intel VT-d:

   1. Finish queued invalidation (QI) with batching
   2. Add page-selective invalidation (PSI) with address-mask coalescing

    [4 lines not shown]
VersionDeltaFile
1.9+1,086-228sys/dev/acpi/acpidmar.c
+1,086-2281 files

OpenBSD/src 1pom5lpusr.bin/ssh sshconnect2.c

   Use fmprintf instead of logit for challenge-response name and info to
   preserve UTF-8 characters where appropriate.  Prompted by github PR#452,
   with & ok djm@.
VersionDeltaFile
1.383+17-9usr.bin/ssh/sshconnect2.c
+17-91 files

FreeBSD/src 7ae432esys/kern vfs_mount.c

vfs_mount.c: Don't call VFS_MOUNT() if only exports are being updated

PR#293198 reports a hang within ZFS when exports
are being updated concurrently with a VOP_SETEXTATTR().
The hang appears to be caused by mishandling of the
z_teardown_lock, but fixing handling of this lock appears
to be a major effort. Since the hang occurs when
VFS_MOUNT() acquires a write/exclusive z_teardown_lock,
which rarely occurs, except when exports are being updated,
this patch avoids the VFS_MOUNT() call for this case.

Avoiding a VFS_MOUNT() call fixes the hang for the case
reported by PR#293198 and is also an optimization.
As such, this patch avoids the VFS_MOUNT() call when only exports
are being updated similar to what was already being done
within vnet prisons.

PR:     293198

(cherry picked from commit 935cf3284f520c90a63baaadb762caaa30084f5c)
DeltaFile
+31-21sys/kern/vfs_mount.c
+31-211 files

LLVM/project 6b63c59llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp, llvm/lib/Target/X86 X86AsmPrinter.cpp X86AsmPrinter.h

[NewPM][X86] Port AsmPrinter to NewPM

This patch makes AsmPrinter work with the NewPM. We essentially create
three new passes that wrap different parts of AsmPrinter so that we can
separate out doIntialization/doFinalization without needing to
materialize all MachineFunctions at the same time. This has two main
drawbacks for now:

1. We do not transfer any state between the three new AsmPrinter passes.
   This means that debuginfo/CFI currently does not work. This will be
   fixed in future passes by moving this state to MachineModuleInfo.
2. We probably incur some overhead by needing to setup up analysis
   callbacks for every MF rather than just per module. This should not
   be large, and can be optimized in the future on top of this if
   needed.
3. This solution is not really clean. However, a lot of cleanup is going
   to be difficult to do while supporting two pass managers. Once we
   remove LegacyPM support, we can make the code much cleaner and better
   enforce invariants like a lack of state between

    [5 lines not shown]
DeltaFile
+65-0llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+46-0llvm/lib/Target/X86/X86AsmPrinter.cpp
+38-0llvm/lib/Target/X86/X86AsmPrinter.h
+17-6llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+16-4llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+9-0llvm/test/CodeGen/X86/npm-asmprint.ll
+191-101 files not shown
+198-107 files

LLVM/project 25f69d7llvm/lib/Target/X86 X86AsmPrinter.cpp X86AsmPrinter.h

[NFCi][NewPM][x86] Use callbacks to get analyses in AsmPrinter

This allows for overriding these call backs when using the NewPM which
has different methods for obtaining analysis results.

Reviewers: RKSimon, arsenm, phoebewang, mingmingl-llvm, aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/182796
DeltaFile
+15-5llvm/lib/Target/X86/X86AsmPrinter.cpp
+3-0llvm/lib/Target/X86/X86AsmPrinter.h
+18-52 files

LLVM/project abc443bllvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/lib/Target/AMDGPU R600TargetMachine.cpp AMDGPUTargetMachine.cpp

[CodeGen][NewPM] Adjust pipeline for AsmPrinter

AsmPrinter needs to be split into three passes (begin, per MF, end) to
avoid the need to materialize all machine functions at the same time.
Update the CodeGenPassBuilder hooks for this.

Reviewers: aeubanks, paperchalice, arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/182795
DeltaFile
+26-10llvm/include/llvm/Passes/CodeGenPassBuilder.h
+18-3llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
+17-2llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+14-2llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+75-174 files

LLVM/project 683d15fllvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Target TargetMachine.h

[CodeGen][NewPM] Plumb MCContext through buildCodeGenPipeline

Otherwise we cannot create an MCStreamer without getting MMI, which we
cannot do until we have started running AsmPrinter without also plumbing
MMI through CodeGenPassBuilder.

Reviewers: arsenm, paperchalice, aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/182794
DeltaFile
+7-6llvm/include/llvm/Passes/CodeGenPassBuilder.h
+5-6llvm/include/llvm/Target/TargetMachine.h
+3-3llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+3-2llvm/tools/llc/NewPMDriver.cpp
+2-2llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+2-2llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
+22-213 files not shown
+25-249 files

FreeBSD/ports 1225ae3sysutils/amdmsrtweaker/files patch-Makefile

sysutils/amdmsrtweaker: fix build on recent FreeBSD

bmake has recently started to support $^ in addition to $>, causing
both to expand and leading to a build error like

c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall \
-Werror -pedantic  -o amdmsrt Info.o AmdMsrTweaker.o WinRing0.o \
Worker.oInfo.o AmdMsrTweaker.o WinRing0.o Worker.o
c++: error: no such file or directory: 'Worker.oInfo.o'

Fix the error by avoiding both $^ and $>.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q1

(cherry picked from commit 87999cd890995b259fa61e70dba80e8a8d153964)
DeltaFile
+11-0sysutils/amdmsrtweaker/files/patch-Makefile
+11-01 files

FreeBSD/ports 1678e49biology/ncbi-cxx-toolkit Makefile

biology/ncbi-cxx-toolkit: only for aarch64, amd64

This port uses SIMD intrincis to compute CRC checksums.
It's probably easy to add a generic code path if desired.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q1
Sponsored by:   Raptor Computing Systems, LLC

(cherry picked from commit 2ea396c568c8df2627010da3d0f55ba9a98e7a85)
DeltaFile
+3-1biology/ncbi-cxx-toolkit/Makefile
+3-11 files

FreeBSD/ports c1fa97bbiology/infernal Makefile

biology/infernal: not for ppc64le

Project can use VMX, but only on big endian platforms.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q1
Sponsored by:   Raptor Computing Systems, LLC

(cherry picked from commit 8e33257234d52d48e390cce3d55162aebaa6c59d)
DeltaFile
+1-1biology/infernal/Makefile
+1-11 files

FreeBSD/ports 202a315games/punchy Makefile

games/punchy: only supported where v8 is

See also:       293314
MFH:            2026Q1
Approved by:    portmgr (build fix blanket)
Sponsored by:   Raptor Computing Systems, LLC

(cherry picked from commit 2935cd39853341c42133a36b7c3ac455a16c19eb)
DeltaFile
+3-0games/punchy/Makefile
+3-01 files

FreeBSD/ports 9ad923dbiology/ncbi-blast+ Makefile

biology/ncbi-blast+: only for aarch64, amd64

This port uses SIMD intrincis to compute CRC checksums.
It's probably easy to add a generic code path if desired.

Approved by:    portmgr (build fix blanket)
MFH:            2026Q1
Sponsored by:   Raptor Computing Systems, LLC

(cherry picked from commit c306479f2b4a4dd7c6d7b7c716574a25a0748986)
DeltaFile
+3-2biology/ncbi-blast+/Makefile
+3-21 files

FreeBSD/ports 0cdbb48japanese/kdrill Makefile, japanese/kdrill/files patch-Imakefile

japanese/kdrill: fix build

This adds a missing parenthesis to $(LOCALBASE).
It is unclear why this hasn't been noticed earlier.

While we are at it, define LICENSE.

Fixes:          2546bd0290761071e3ad392427d7c2ba4e5a396b
Approved by:    portmgr (build fix blanket)
MFH:            2026Q1
Sponsored by:   Raptor Computing Systems, LLC

(cherry picked from commit 8552be0c42f43fbc0a2db02c7982e8355c6b52a4)
DeltaFile
+6-1japanese/kdrill/Makefile
+1-1japanese/kdrill/files/patch-Imakefile
+7-22 files

LLVM/project 757066cllvm/include/llvm/CodeGen AsmPrinter.h, llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp

[NFCi][AsmPrinter] Refactor getting analyses to callbacks

As part of making AsmPrinter work with the new pass manager, we need to
be able to override how we get analyses. This patch does that by
refactoring getting all analyses/other related functionality to
callbacks that are set by default but can be overriden later (like by a
NewPM wrapper pass).

Reviewers: aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/182793
DeltaFile
+62-43llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+13-3llvm/include/llvm/CodeGen/AsmPrinter.h
+75-462 files

LLVM/project faf0432llvm/lib/Transforms/Scalar GVN.cpp, llvm/test/Transforms/GVN/PRE protected-field-ptr.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+41-0llvm/test/Transforms/GVN/PRE/protected-field-ptr.ll
+6-0llvm/lib/Transforms/Scalar/GVN.cpp
+47-02 files

FreeBSD/src 4791189usr.sbin/syslogd/tests syslogd_format_test_common.sh

syslogd/tests: use kern.features to detect INET support

This fixes INET feature detection with kernel configs
that do not include the kern.conftxt sysctl, such as
riscv64 currently[0].

[0] https://ci.freebsd.org/view/Test/job/FreeBSD-main-riscv64-test/16514/testReport/usr.sbin.syslogd/syslogd_forwarded_format_test/O_flag_bsd_forwarded_legacy/

Reviewed by:    markj
Approved by:    emaste (mentor)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55383

(cherry picked from commit c721ceeb3ef0b29d06e6c3c634579f3bc85cc28b)
DeltaFile
+1-2usr.sbin/syslogd/tests/syslogd_format_test_common.sh
+1-21 files

FreeBSD/src 86a8a67sys/riscv/conf GENERIC

riscv: GENERIC: enable KERN_TLS

This unskips 585 sys/kern/ktls_test testcases[0] in CI. All 585 tests currently pass.

[0] https://ci.freebsd.org/view/Test/job/FreeBSD-main-riscv64-test/16514/testReport/sys.kern/

Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55376

(cherry picked from commit 1e649491b8567151270095fda3bce8faea394952)
DeltaFile
+1-0sys/riscv/conf/GENERIC
+1-01 files

HardenedBSD/src 869908busr.bin/less lesspipe.sh

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+1-1usr.bin/less/lesspipe.sh
+1-11 files

HardenedBSD/src 653a013usr.bin/less lesspipe.sh

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1-1usr.bin/less/lesspipe.sh
+1-11 files