NetBSD/src 22yuj0Vsys/arch/luna68k/include vmparam.h, sys/arch/m68k/m68k pmap_motorola.c

   VM_KERNEL_PT_PAGES is an old-pmap parameter, so segregate it to
   the old-pmap, and default it there to a common value that individual
   platforms can override if desired.
VersionDeltaFile
1.106+7-2sys/arch/m68k/m68k/pmap_motorola.c
1.35+1-6sys/arch/next68k/include/vmparam.h
1.46+1-6sys/arch/x68k/include/vmparam.h
1.31+1-6sys/arch/luna68k/include/vmparam.h
1.51+1-6sys/arch/mac68k/include/vmparam.h
1.45+1-6sys/arch/mvme68k/include/vmparam.h
+12-329 files not shown
+25-6615 files

NetBSD/src gKHTIxUsys/arch/vax/vax machdep.c

   Fix an error in rev 1.202; that change did not properly account for the
   VAX page that needs to be reserved for the console routines.
VersionDeltaFile
1.203+4-4sys/arch/vax/vax/machdep.c
+4-41 files

LLVM/project d233eaeflang/test/Lower/OpenMP target-scope.f90 depend-iterator.f90, mlir/test/Target/LLVMIR omptarget-debug-record-pos.mlir omptarget-region-host-device-llvm.mlir

Update tests
DeltaFile
+6-6flang/test/Lower/OpenMP/target-scope.f90
+2-2flang/test/Lower/OpenMP/depend-iterator.f90
+1-1mlir/test/Target/LLVMIR/omptarget-debug-record-pos.mlir
+1-1mlir/test/Target/LLVMIR/omptarget-region-host-device-llvm.mlir
+1-1mlir/test/Target/LLVMIR/openmp-iterator.mlir
+1-1mlir/test/Target/LLVMIR/openmp-target-spmd-num-threads-i64.mlir
+12-126 files

FreeBSD/ports a4391ddsysutils/heirloom/files patch-id_id.c

sysutils/heirloom: Fix with LLVM 21

FreeBSD 16-CURRENT recently imported LLVM 21. Seemingly ambiguous
code as in the patch is now flagged as an error.

(cherry picked from commit c9bc2a71a2129e4c222c8043c7261635b83b08ba)
DeltaFile
+11-0sysutils/heirloom/files/patch-id_id.c
+11-01 files

FreeBSD/ports c9bc2a7sysutils/heirloom/files patch-id_id.c

sysutils/heirloom: Fix with LLVM 21

FreeBSD 16-CURRENT recently imported LLVM 21. Seemingly ambiguous
code as in the patch is now flagged as an error.

MFH:            2026Q2
DeltaFile
+11-0sysutils/heirloom/files/patch-id_id.c
+11-01 files

LLVM/project ed5197blldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

fixup! protect bp cache with a lock
DeltaFile
+7-0lldb/source/Target/Process.cpp
+1-0lldb/include/lldb/Target/Process.h
+8-02 files

FreeNAS/freenas abc7e01src/freenas/usr/local/bin truenas-initrd.py, src/middlewared/middlewared/plugins boot.py

NAS-140816 / 26.0.0-BETA.2 / Remove truenas-initrd.py and now dead dependencies (by anodos325) (#18838)

This commit removes local copy of truenas-initrd.py script, which is now
provided by https://github.com/truenas/upgrade_pyutils.

Since this script was the only consumer of the rootfs util to toggle
readonly property on filesystem it is also removed.

Original PR: https://github.com/truenas/middleware/pull/18830

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+0-228src/freenas/usr/local/bin/truenas-initrd.py
+0-158src/middlewared/middlewared/utils/rootfs.py
+1-0src/middlewared/middlewared/plugins/boot.py
+1-3863 files

LLVM/project 8fd0b3fllvm/include/llvm/Analysis InstructionSimplify.h, llvm/lib/Analysis InstructionSimplify.cpp

[InstSimplify] Fix invalid dereference in simplifyBinaryIntrinsic (#194825)

For the simplifyBinaryIntrinsic interface the `Call` argument passed in
may be null, which differs from other interfaces such as
simplifyIntrinsic and simplifyUnaryIntrinsic which require `Call` to be
non-null. See FoldBinaryIntrinsic in InstSimplifyFolder.h where the
`Call` argument has a default value of null.

That means for all uses of `Call` in simplifyBinaryIntrinsic we must
first check the pointer is not null to avoid an invalid dereference.
This PR fixes the case for the get.active.lane.mask intrinsic.

There isn't currently an easy way to test this fix because the only
place I can see where FoldBinaryIntrinsic is called without a null
`Call` is VPlanTransforms.cpp and we don't currently invoke the function
for get.active.lane.mask intrinsics.
DeltaFile
+3-0llvm/lib/Analysis/InstructionSimplify.cpp
+1-0llvm/include/llvm/Analysis/InstructionSimplify.h
+4-02 files

LLVM/project c1a184bllvm/include/llvm/CodeGen MachineFunction.h, llvm/lib/CodeGen MachineOperand.cpp

[LLVM][SelectionDAG] Be more specific when constructing the MMO for masked stores. (#194689)
DeltaFile
+2-2llvm/test/CodeGen/X86/masked_expandload_isel.ll
+2-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+1-1llvm/lib/CodeGen/MachineOperand.cpp
+1-1llvm/include/llvm/CodeGen/MachineFunction.h
+6-54 files

LLVM/project 3482affmlir/lib/Dialect/Vector/Transforms VectorTransferOpTransforms.cpp, mlir/test/Dialect/Vector vector-transfer-drop-unit-dims-patterns.mlir

[mlir][vector] drop unit dim from memrefs for xfer_read/write with non-reduced mask (#187076)

Handles the case where the mask does not need to be trimmed, i.e. it's
already equal to the reduced vector type, for
`XferRead/WriteDropUnitDims` patterns.

Signed-off-by: Ege Beysel <beysel at roofline.ai>
DeltaFile
+62-22mlir/test/Dialect/Vector/vector-transfer-drop-unit-dims-patterns.mlir
+21-10mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
+83-322 files

LLVM/project 6252237llvm/include/llvm/ADT ScopedHashTable.h, llvm/unittests/ADT ScopedHashTableTest.cpp

[llvm][ADT] Add erase method to ScopedHashTableScope (#193516)

This PR introduces an `erase` method to `ScopedHashTable`, designed to
remove the most recent value associated with a given key within the
scope stack. To support efficient deletion, the internal
`ScopedHashTableVal` structure has been refactored into a doubly linked
list, allowing the predecessor of a node to be identified in O(1) time
during removal. Fix the MLIR CSE issue
https://github.com/llvm/llvm-project/pull/191135#discussion_r3100850607.
Part of https://github.com/llvm/llvm-project/pull/193778.
DeltaFile
+49-0llvm/include/llvm/ADT/ScopedHashTable.h
+30-0llvm/unittests/ADT/ScopedHashTableTest.cpp
+79-02 files

FreeBSD/ports 60877b7x11/hyprviz distinfo Makefile

x11/hyprviz: Update to 0.9.0

Changelog: https://github.com/timasoft/hyprviz/releases/tag/v0.9.0

Reported by:    GitHub (watch releases)
DeltaFile
+17-17x11/hyprviz/distinfo
+14-4x11/hyprviz/Makefile
+7-7x11/hyprviz/Makefile.crates
+38-283 files

NetBSD/src sKG81dBexternal/bsd/file Makefile.inc

   Use tabs instead of whitespace, make things line up nicer.
VersionDeltaFile
1.10+5-7external/bsd/file/Makefile.inc
+5-71 files

FreeNAS/freenas 3a5da1dsrc/middlewared/middlewared/plugins/system_advanced gpu.py

ruff?
DeltaFile
+0-1src/middlewared/middlewared/plugins/system_advanced/gpu.py
+0-11 files

LLVM/project cec9634llvm/test/CodeGen/X86 horizontal-reduce-umax.ll

[X86] horizontal-reduce-umax.ll - regenerate vpternlog asm comments (#194835)
DeltaFile
+10-10llvm/test/CodeGen/X86/horizontal-reduce-umax.ll
+10-101 files

FreeNAS/freenas cd917d3src/freenas/etc modules, src/freenas/etc/initramfs-tools modules

simplify truenas-initrd script
DeltaFile
+68-4src/middlewared/middlewared/plugins/system_advanced/gpu.py
+19-0src/freenas/etc/initramfs-tools/scripts/init-top/truenas_bind_vfio
+17-0src/freenas/etc/initramfs-tools/hooks/truenas_vfio
+7-0src/freenas/etc/modules
+6-0src/freenas/etc/initramfs-tools/modules
+3-0src/freenas/etc/modprobe.d/nvidia.conf
+120-41 files not shown
+121-47 files

LLVM/project 5fe6facutils/bazel/llvm-project-overlay/lldb BUILD.bazel

[Bazel] Fixes 6617aac (#194834)

This fixes 6617aac292a1718c9adb7dcd4f5aaab0cd5f39d7.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+3-1utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+3-11 files

FreeBSD/src 2783fb7sys/arm64/arm64 locore.S

arm64: Fix a MTE check

It should be for FEAT_MTE2 as the registers aren't implemented for
FEAT_MTE.

While here fix the style of the comment explaining the check.

Reported by:    markj
Fixes:          58de79153622 ("arm64: mte: configure initial state for system registers")
Sponsored by:   Arm Ltd
DeltaFile
+3-3sys/arm64/arm64/locore.S
+3-31 files

FreeBSD/src 01ff0fasys/arm64/arm64 pmap.c vm_machdep.c, sys/arm64/include proc.h armreg.h

arm64: Support some per-thread sctlr_el1 fields

This will be used to enable MTE from userspace.

Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D55950
DeltaFile
+11-0sys/arm64/arm64/pmap.c
+4-0sys/arm64/arm64/vm_machdep.c
+2-1sys/arm64/include/proc.h
+1-0sys/arm64/arm64/exec_machdep.c
+1-0sys/arm64/include/armreg.h
+19-15 files

FreeNAS/freenas ef99166src/middlewared/middlewared/plugins/system_advanced gpu.py

update comment
DeltaFile
+2-3src/middlewared/middlewared/plugins/system_advanced/gpu.py
+2-31 files

FreeNAS/freenas 2f7f5absrc/middlewared/middlewared/plugins/vm utils.py clone.py

NAS-140814 / 26.0.0-BETA.2 / Copy VM NVRAM and TPM state on clone (by Qubad786) (#18839)

## Context

In continuation of the changes made in
https://github.com/truenas/middleware/pull/18764, the same fixes have
been applied to the VM cloning process ensuring that when a VM is cloned
- relevant files are copied over of the VM as well so tpm/secure boot
function as intended.

Original PR: https://github.com/truenas/middleware/pull/18828

Co-authored-by: M. Rehan <mrehanlm93 at gmail.com>
DeltaFile
+104-0src/middlewared/middlewared/plugins/vm/utils.py
+46-0src/middlewared/middlewared/plugins/vm/clone.py
+150-02 files

FreeNAS/freenas efd69b4src/middlewared/middlewared/plugins/system_advanced gpu.py

moar simplify
DeltaFile
+5-4src/middlewared/middlewared/plugins/system_advanced/gpu.py
+5-41 files

LLVM/project 1e10f9aclang/lib/Lex ModuleMap.cpp, clang/unittests/Lex ModuleMapTest.cpp CMakeLists.txt

[clang][Lex] Collapse relative extern module paths when recursing to prevent unbounded path length growth. (#193691)

Ref #147220.

### Problem Description
Bazel's use of clang modules for its `layering_check` emits `extern
module` declarations relative to some base path meaning those paths
usually include long sequences of `../` followed by the path to the
module itself.

When parsing `extern module` in the module file, we (I believe
intentionally) silently ignore missing module files. Currently in the
problem case if the file existence check failed for any _other_ reason
it also silently ignores it. This means that `-fmodules-strict-decluse`
that bazel uses for the layering_check can throw a spurious
`err_undeclared_use_of_module` error which is the problem reported in
#147220.

Clang's `extern module` parsing chooses to concatenate these relative

    [17 lines not shown]
DeltaFile
+132-0clang/unittests/Lex/ModuleMapTest.cpp
+7-0clang/lib/Lex/ModuleMap.cpp
+1-0clang/unittests/Lex/CMakeLists.txt
+140-03 files

LLVM/project 9b4f445flang/test/Lower assignment.f90 allocatable-callee.f90, flang/test/Lower/Intrinsics count.f90

[flang][NFC] Converted five tests from old lowering to new lowering (part 53) (#194772)

Convert five tests to use new HLFIR lowering instead of legacy FIR
lowering:
Lower/allocatable-callee.f90, Lower/allocatable-caller.f90,
Lower/assignment.f90, Lower/assumed-shape-caller.f90,
Lower/Intrinsics/count.f90
DeltaFile
+157-115flang/test/Lower/assignment.f90
+51-45flang/test/Lower/allocatable-callee.f90
+35-40flang/test/Lower/Intrinsics/count.f90
+33-35flang/test/Lower/assumed-shape-caller.f90
+25-17flang/test/Lower/allocatable-caller.f90
+301-2525 files

FreeBSD/ports 617b8efgraphics/R-cran-DiagrammeR distinfo Makefile

graphics/R-cran-DiagrammeR: Update to 1.0.12

Reported by:    portscout
DeltaFile
+3-3graphics/R-cran-DiagrammeR/distinfo
+2-2graphics/R-cran-DiagrammeR/Makefile
+5-52 files

LLVM/project 7d0308cllvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize epilog-vectorization-fixed-order-recurrences.ll

[VPlan] Check FOR/FMinMaxNum epilogue restrictions in VPlan. (#191815)

Move checking of FOR/FMinMaxNum restriction checks for epilogue
vectorization to hasUnsupportedHeaderPhiRecipe and perform checks
directly on VPlan.

This unifies the checking code and enables epilogue vectorization of
VPlans with dead FORs, although the latter should be cleaned up by
scalar optimizations earlier in practice.

PR: https://github.com/llvm/llvm-project/pull/191815
DeltaFile
+72-23llvm/test/Transforms/LoopVectorize/epilog-vectorization-fixed-order-recurrences.ll
+32-34llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+104-572 files

FreeBSD/ports 05c682bnet/ntpd-rs distinfo Makefile.crates

net/ntpd-rs: Update to 1.7.2

 - Update to version 1.7.2
 - Install man pages

PR:             294721
DeltaFile
+63-75net/ntpd-rs/distinfo
+30-36net/ntpd-rs/Makefile.crates
+10-2net/ntpd-rs/Makefile
+4-0net/ntpd-rs/pkg-plist
+107-1134 files

FreeNAS/freenas 6699702src/freenas/etc/initramfs-tools/hooks truenas_vfio, src/freenas/usr/local/bin truenas-initrd.py

remove gpu from initrd
DeltaFile
+0-160src/freenas/usr/local/bin/truenas-initrd.py
+67-4src/middlewared/middlewared/plugins/system_advanced/gpu.py
+8-2src/freenas/etc/initramfs-tools/hooks/truenas_vfio
+75-1663 files

LLVM/project 6446435llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine fcmp-select.ll

[InstCombine] Fold select of ordered fcmps of fabs over NaN-scrubber selects to a single select (#192182)

Fold `select (fcmp <ordered> (fabs (select isKnownNeverNaN X, X, Y)),
K), ...` into a single compare/select directly on `X`. The outer fcmp is
limited to ordered predicates, since only they preserve the original
non-NaN behavior.


fixes #143649 
alive2: https://alive2.llvm.org/ce/z/G8UmjY


Generalized proof (needs local alive2 build):
```alive2
declare double @llvm.fabs.f64(double)

define double @src(double %x, double %y, double %k) {
entry:
  %ord = fcmp ord double %x, 0.000000e+00

    [14 lines not shown]
DeltaFile
+248-0llvm/test/Transforms/InstCombine/fcmp-select.ll
+77-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+325-02 files

LLVM/project aa190f5mlir/include/mlir/Dialect/X86 X86.td, mlir/lib/Dialect/X86/IR X86Dialect.cpp

[mlir][x86] Support for `f8` AMX tiled dot-product. (#194786)

This patch enable AMX tiled dot-product support for `f8E4M3FN` and
`f8E5M2` types in MLIR by lowering to below llvm instrincs:

- `llvm.x86.tdpbf8ps`
- `llvm.x86.tdpbhf8ps`
- `llvm.x86.tdphbf8ps`
- `llvm.x86.tdphf8ps`
DeltaFile
+64-0mlir/test/Dialect/X86/AMX/legalize-for-llvm.mlir
+28-9mlir/include/mlir/Dialect/X86/X86.td
+34-0mlir/test/Target/LLVMIR/amx.mlir
+9-2mlir/lib/Dialect/X86/IR/X86Dialect.cpp
+135-114 files