LLVM/project 072e869llvm/tools/sancov sancov.cpp

Add sancov support for large AArch64 binaries. (#185374)

In AArch64 calls have a +/-128MB range

(https://developer.arm.com/documentation/ddi0602/2025-12/Base-Instructions/BL--Branch-with-link-).
In cases where the .text is larger than that, the linker adds functions
that just jumps to the sanitizer functions and places them to some code
location where the rest of the binary can call it. These functions have
the prefix __AArch64ADRPThunk__.
This commit marks calls to this function as coverage points.
DeltaFile
+6-1llvm/tools/sancov/sancov.cpp
+6-11 files

LLVM/project 4d49a1ellvm/lib/Target/AMDGPU SIInstrInfo.cpp

[AMDGPU] Move constraining of the reg class during SGPR to VGPR copy to existing loop (#182104)
DeltaFile
+12-23llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+12-231 files

LLVM/project df8f645llvm/lib/Target/AArch64 AArch64InstrGISel.td, llvm/lib/Target/AArch64/GISel AArch64RegisterBankInfo.cpp AArch64LegalizerInfo.cpp

[AArch64][GlobalISel] Add G_SQDMULL node

Previously, GISel was failing to lower the sqdmulls.scalar intrinsic. This is just a variation of sqdmull, but on two 32-bit S registers.
To fix this, create a G_SQDMULL node, and lower sqdmulls.scalar to that. This node is linked to the SD patterns for sqdmull, which allow this version of the intrinsic to lower.
DeltaFile
+99-62llvm/test/CodeGen/AArch64/arm64-vmul.ll
+7-0llvm/lib/Target/AArch64/AArch64InstrGISel.td
+2-0llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
+0-2llvm/test/CodeGen/AArch64/arm64-int-neon.ll
+2-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+110-645 files

LLVM/project 52be4b6llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 ptrauth-tail-call-global.ll

[AArch64][PAC] Don't skip global legalization for AUTH_TCRETURN (#182513)

The 77bcab835aca1 folds llvm.ptrauth.resign intrinsic in case intrinsic
discriminant and key match those in call ptrauth bundle. However
assertion is now fired in AArch64AsmPrinter when PAC is enabled and
we're tail calling a global, because AUTH_TCRETURN expects address to be
stored in register.
DeltaFile
+16-0llvm/test/CodeGen/AArch64/ptrauth-tail-call-global.ll
+1-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+17-12 files

LLVM/project 13bd037offload/test/offloading dyn_groupprivate.cpp

Fix test
DeltaFile
+0-24offload/test/offloading/dyn_groupprivate.cpp
+0-241 files

LLVM/project e60216ellvm/lib/Target/X86 X86ISelLowering.cpp

[X86] Use CUR_DIRECTION constant in more places. NFC (#185571)
DeltaFile
+11-7llvm/lib/Target/X86/X86ISelLowering.cpp
+11-71 files

LLVM/project 55c76a4llvm/lib/Transforms/AggressiveInstCombine AggressiveInstCombine.cpp, llvm/test/Transforms/AggressiveInstCombine masked-cmp.ll

[AggressiveInstCombine] trunc to i1 in any or all bits set check (#184246)

trunc (or  (lshr X, C), ...)) to i1 --> (X & CMask) != 0
trunc (and (lshr X, C), ...)) to i1 --> (X & CMask) == CMask

Regression noticed in https://github.com/llvm/llvm-project/pull/184182

Proof: https://alive2.llvm.org/ce/z/8QXWrq
DeltaFile
+82-0llvm/test/Transforms/AggressiveInstCombine/masked-cmp.ll
+27-13llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
+109-132 files

LLVM/project 630664eopenmp/device/include DeviceTypes.h

Add memspaces in openmp device rtl
DeltaFile
+6-1openmp/device/include/DeviceTypes.h
+6-11 files

OPNSense/core 808eb42src/opnsense/scripts/filter/lib/alias __init__.py bgpasn.py

Firewall: Aliases - when system time has driften to the future for some reason, assume we have reacher our ttl. closes https://github.com/opnsense/core/issues/9919
DeltaFile
+3-2src/opnsense/scripts/filter/lib/alias/__init__.py
+2-1src/opnsense/scripts/filter/lib/alias/bgpasn.py
+5-32 files

LLVM/project 9dece6dclang-tools-extra/clang-tidy/modernize UseStdBitCheck.cpp UseStdBitCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] New checker: modernize-use-std-bit to detect std::has_one_bit idiom (#185435)

From
https://graphics.stanford.edu/~seander/bithacks.html#DetermineIfPowerOf2
DeltaFile
+117-0clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-bit.cpp
+108-0clang-tools-extra/clang-tidy/modernize/UseStdBitCheck.cpp
+44-0clang-tools-extra/clang-tidy/modernize/UseStdBitCheck.h
+17-0clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-bit.rst
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+2-0clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
+294-02 files not shown
+296-08 files

LLVM/project 0918e0fllvm/lib/Analysis InstructionSimplify.cpp, llvm/test/Transforms/InstSimplify and-or-implied-cond.ll

[InstSimplify] Simplify and/or of trunc nuw to i1 with op replacement (#185517)

Regression noticed in https://github.com/llvm/llvm-project/pull/184182

proof: https://alive2.llvm.org/ce/z/CMjuSC
DeltaFile
+3-11llvm/test/Transforms/InstSimplify/and-or-implied-cond.ll
+6-2llvm/lib/Analysis/InstructionSimplify.cpp
+9-132 files

HardenedBSD/src 949c0cbsys/dev/pci pci_user.c, sys/fs/p9fs p9fs_vnops.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+386-106usr.sbin/pciconf/pciconf.c
+48-28usr.sbin/pciconf/pciconf.8
+25-27sys/kern/vfs_vnops.c
+43-7sys/fs/p9fs/p9fs_vnops.c
+31-1sys/dev/pci/pci_user.c
+6-6sys/sys/vnode.h
+539-1758 files not shown
+568-18914 files

FreeBSD/src 17ecafb. ChangeLog ssh-pkcs11.c, openbsd-compat bsd-misc.c

Vendor import of OpenSSH 10.2p1

Sponsored by:   The FreeBSD Foundation
DeltaFile
+146-37ChangeLog
+26-5ssh-pkcs11.c
+24-0openbsd-compat/bsd-misc.c
+0-16ssh-pkcs11-helper.c
+8-4regress/test-exec.sh
+5-4channels.c
+209-6617 files not shown
+257-7923 files

HardenedBSD/src c655cc6share/man/man4 pci.4, sys/dev/pci pci_user.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+386-106usr.sbin/pciconf/pciconf.c
+48-28usr.sbin/pciconf/pciconf.8
+25-27sys/kern/vfs_vnops.c
+43-7sys/fs/p9fs/p9fs_vnops.c
+31-1sys/dev/pci/pci_user.c
+9-3share/man/man4/pci.4
+542-1728 files not shown
+568-18914 files

FreeBSD/ports 19a9bb7www/awstats Makefile pkg-plist

www/awstats: Remove awdownloadcsv.pl (security vuln)

Problem:
awdownloadcsv.pl is vulnerable to command injection and path traversal,
ref [1] and [2].
The GitHub issue [1] mentions that it is deprecated, and the readme does
not list this file among the files that are (supposed to be) part of the
distribution.

Solution:
This commit prevents awdownloadcsv.pl to be installed, thus removing the
vulnerability.

[1] https://github.com/eldy/AWStats/issues/276
[2] https://www.openwall.com/lists/oss-security/2026/03/08/8

While here, clean up sorting of IPV6_RUN_DEPENDS.

PR:     293698

    [2 lines not shown]
DeltaFile
+4-3www/awstats/Makefile
+0-1www/awstats/pkg-plist
+4-42 files

OpenZFS/src 5b93d1amodule/zfs arc.c

L2ARC: Fix prev_hdr use-after-free in l2arc_write_sublist

prev_hdr is dereferenced after the sublist lock is dropped for write I/O
but nothing prevents it from being freed during that window. Eliminate
prev_hdr entirely and simplify persistent marker repositioning logic.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Ameer Hamza <ahamza at ixsystems.com>
Closes #18289
DeltaFile
+14-34module/zfs/arc.c
+14-341 files

FreeBSD/ports b029f6cwww/awstats Makefile pkg-plist

www/awstats: Remove awdownloadcsv.pl (security vuln)

Problem:
awdownloadcsv.pl is vulnerable to command injection and path traversal,
ref [1] and [2].
The GitHub issue [1] mentions that it is deprecated, and the readme does
not list this file among the files that are (supposed to be) part of the
distribution.

Solution:
This commit prevents awdownloadcsv.pl to be installed, thus removing the
vulnerability.

[1] https://github.com/eldy/AWStats/issues/276
[2] https://www.openwall.com/lists/oss-security/2026/03/08/8

While here, clean up sorting of IPV6_RUN_DEPENDS.

PR:     293698
MFH:    2026Q1
DeltaFile
+4-3www/awstats/Makefile
+0-1www/awstats/pkg-plist
+4-42 files

OpenZFS/src be5d369man/man4 zfs.4, man/man7 zpoolconcepts.7

man: Update L2ARC documentation for depth cap and write budget fairness

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Ameer Hamza <ahamza at ixsystems.com>
Closes #18289
DeltaFile
+7-11man/man7/zpoolconcepts.7
+7-5man/man4/zfs.4
+14-162 files

OpenZFS/src b27a87finclude/sys arc_impl.h, man/man4 zfs.4

L2ARC: Write budget fairness for metadata monopolization

Under heavy metadata load, metadata passes can monopolize the write
budget every cycle while data passes get nothing written. Track
consecutive monopolized cycles per device in l2ad_meta_cycles. After
l2arc_meta_cycles (default 2) consecutive cycles where metadata fills
the write budget, skip metadata for one cycle to let data run.  Reset
the counter when nothing is written.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Ameer Hamza <ahamza at ixsystems.com>
Closes #18289
DeltaFile
+36-0module/zfs/arc.c
+7-0man/man4/zfs.4
+6-0include/sys/arc_impl.h
+1-0tests/zfs-tests/include/tunables.cfg
+50-04 files

OpenZFS/src 62ca8f7include/sys arc_impl.h, man/man4 zfs.4

L2ARC: Scan-based depth cap for persistent markers

With persistent markers and inclusive scanning, the marker traverses the
entire ARC state across many feed cycles, writing buffers far from the
tail that may no longer be relevant.

Track cumulative bytes scanned per pass in l2arc_ext_scanned. When scans
reach l2arc_ext_headroom_pct (default 25%) of the ARC state size, reset
the pass markers to the tail via lazy reset flags. This keeps markers
focused on the tail zone where buffers soon to be evicted have the most
value for L2ARC.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Ameer Hamza <ahamza at ixsystems.com>
Closes #18289
DeltaFile
+64-0module/zfs/arc.c
+10-0include/sys/arc_impl.h
+6-0man/man4/zfs.4
+1-0tests/zfs-tests/include/tunables.cfg
+81-04 files

OpenZFS/src 15fc3d6include/sys arc_impl.h, module/zfs arc.c

L2ARC: Lazy sublist reset flags for persistent markers

Replace direct marker-to-tail manipulation with per-sublist boolean
flags consumed lazily by feed threads.  Each scanning thread resets its
own marker when it sees the flag, rather than having another thread
manipulate the marker directly.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Ameer Hamza <ahamza at ixsystems.com>
Closes #18289
DeltaFile
+60-36module/zfs/arc.c
+4-2include/sys/arc_impl.h
+64-382 files

OpenZFS/src 22fdaf0include/sys arc_impl.h, module/zfs arc.c

L2ARC: Even sublist headroom distribution with round-robin selection

The dynamic headroom redistribution formula gave later sublists
progressively larger scanning budgets, and random sublist selection
caused uneven coverage across sublists. For depth cap to work
effectively, each sublist should be equally and fairly treated.
Use equal per-sublist headroom (headroom / num_sublists) for even
distribution and deterministic round-robin selection for fair
coverage across cycles.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Ameer Hamza <ahamza at ixsystems.com>
Closes #18289
DeltaFile
+14-10module/zfs/arc.c
+1-0include/sys/arc_impl.h
+15-102 files

LLVM/project 3a3c9d8offload/plugins-nextgen/level_zero/src L0Kernel.cpp

Add check in L0 plugin
DeltaFile
+4-0offload/plugins-nextgen/level_zero/src/L0Kernel.cpp
+4-01 files

FreeNAS/freenas fa6205fsrc/middlewared/middlewared/api/v26_0_0 zpool_query.py, src/middlewared/middlewared/plugins/pool_ pool.py topology.py

NAS-140203 / 26.0.0-BETA.2 / remove zfs.pool.query (replace w/ zpool.query) (by yocalebo) (#18418)

Replace the old zfs.pool.query (backed by the legacy py-libzfs Cython
extension) with a new zpool.query public API backed by the
truenas_pylibzfs C extension.

New: zpool.query API (plugins/zpool/)
- zpool/crud.py: New ZPoolService with a public zpool.query endpoint
(POOL_READ role). Accepts a structured query dict instead of the old
filter_list pattern.
- zpool/query_impl.py: Core implementation that talks directly to
truenas_pylibzfs. Returns pool health, status, properties, topology,
scan/scrub, expansion, and feature flag data. Callers request only the
data they need (properties, topology, scan, expand, features).
- zpool/exceptions.py: ZpoolNotFoundException for explicit
pool-not-found handling.
- API models (api/v26_0_0/zpool_query.py, api/v27_0_0/zpool_query.py):
Pydantic models for ZPoolEntry, ZPoolQuery, ZPoolVdev, ZPoolVdevStats,
ZPoolTopology, ZPoolFeature, ZPoolPropertyValue.

    [46 lines not shown]
DeltaFile
+296-0src/middlewared/middlewared/plugins/zpool/query_impl.py
+173-0src/middlewared/middlewared/api/v26_0_0/zpool_query.py
+70-27src/middlewared/middlewared/plugins/pool_/pool.py
+82-0src/middlewared/middlewared/plugins/zpool/crud.py
+66-3src/middlewared/middlewared/plugins/pool_/topology.py
+28-30tests/api2/test_zpool_capacity_alert.py
+715-6013 files not shown
+789-12119 files

LLVM/project e564ce9clang/lib/CodeGen CGExpr.cpp, clang/test/CodeGenHLSL matrix-member-one-based-swizzle-store.hlsl matrix-member-zero-based-swizzle-store.hlsl

[Matrix] Fix cbuffers support for matrix element expr (#185471)

fixes #184877

This change was threefold.
1. copy the padded cbuffer from memory to a local alloca
2. switch to using the new `getFlattenedIndex` helpers for index
generation
3. convert row major to column major indicies in codegen depending on
LangOptions
DeltaFile
+96-0clang/test/CodeGenHLSL/resources/MatrixElement_cbuffer.hlsl
+24-24clang/test/CodeGenHLSL/matrix-member-one-based-swizzle-store.hlsl
+24-24clang/test/CodeGenHLSL/matrix-member-zero-based-swizzle-store.hlsl
+37-0clang/test/CodeGenHLSL/BasicFeatures/MatrixElementRowColFlags.hlsl
+28-3clang/lib/CodeGen/CGExpr.cpp
+12-12clang/test/CodeGenHLSL/matrix-member-one-based-accessor-scalar-store.hlsl
+221-636 files not shown
+285-12712 files

HardenedBSD/ports 038771bsysutils/usb_modeswitch Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-6sysutils/usb_modeswitch/Makefile
+0-61 files

LLVM/project 961e251llvm/lib/Target/X86 X86AsmPrinter.cpp, llvm/test/CodeGen/X86 asm-modifier.ll asm-modifier-error.ll

[X86] Accept 'a' modifier for 'p' constraint in inline asm (#185590)

GCC supports the %a modifier with the p constraint (e.g., %a0), while
Clang rejected it. The 'a' modifier means "print as address", which on
a 'p' constraint memory operand is what the default path already does.

Like GCC, reject 'a' with other memory constraints (e.g. 'm').

Close https://github.com/llvm/llvm-project/issues/185343
DeltaFile
+30-0llvm/test/CodeGen/X86/asm-modifier.ll
+7-0llvm/lib/Target/X86/X86AsmPrinter.cpp
+6-0llvm/test/CodeGen/X86/asm-modifier-error.ll
+43-03 files

HardenedBSD/ports 1fb1a4cdevel/lazygit distinfo, devel/py-binaryornot Makefile

Merge remote-tracking branch 'origin/freebsd/main' into hardenedbsd/main

Conflicts:
        sysutils/usb_modeswitch/Makefile (unresolved)
DeltaFile
+18-11sysutils/usb_modeswitch/Makefile
+11-9devel/py-binaryornot/Makefile
+15-0www/freenginx-devel/files/extra-patch-rds-csv-nginx-module-config
+11-0www/py-django-recaptcha/files/patch-pyproject.toml
+6-5textproc/R-cran-highr/Makefile
+5-5devel/lazygit/distinfo
+66-3029 files not shown
+134-8935 files

LLVM/project cf1dbb7llvm/test/tools/llubi bitcast_be.ll bitcast_le.ll, llvm/tools/llubi/lib Context.cpp Value.cpp

[llubi] Add support for bitcast (#185205)

Bitcasting pointers to pointers is not fully implemented for now. We
haven't encoded provenance information in the memory. This patch also
fixes the endianness handling of vectors by treating the vector as a
single unit (the endianness handling is now handled by a transparent
accessor `BytesView`).
DeltaFile
+206-228llvm/tools/llubi/lib/Context.cpp
+59-0llvm/test/tools/llubi/bitcast_be.ll
+59-0llvm/test/tools/llubi/bitcast_le.ll
+46-2llvm/tools/llubi/lib/Value.cpp
+20-3llvm/tools/llubi/lib/Context.h
+9-9llvm/test/tools/llubi/loadstore_be.ll
+399-2423 files not shown
+414-2469 files

LLVM/project 97a6aa8mlir/lib/Dialect/GPU/Pipelines GPUToXeVMPipeline.cpp, mlir/lib/Dialect/XeGPU/Transforms XeGPUBlocking.cpp XeGPUPeepHoleOptimizer.cpp

[MLIR][XeGPU][GPU] Optimize GPU to XeVM pipeline (#184711)

Some XeGPU transforms can generate code sequences that can simplified by
folding. But full canonicalization is not required. As an alternative,
remove canonicalize from some parts of the pipeline where only folding
is needed and add folding at the end of XeGPU blocking pass
and XeGPU peephole optimize pass.
DeltaFile
+10-0mlir/lib/Dialect/XeGPU/Transforms/XeGPUBlocking.cpp
+6-0mlir/lib/Dialect/XeGPU/Transforms/XeGPUPeepHoleOptimizer.cpp
+0-2mlir/lib/Dialect/GPU/Pipelines/GPUToXeVMPipeline.cpp
+16-23 files