HardenedBSD/src 9d769e9sys/net if_gre.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+12-4sys/net/if_gre.c
+12-41 files

HardenedBSD/src c3e0ed8sys/net if_gre.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+12-4sys/net/if_gre.c
+12-41 files

LLVM/project 25d709ellvm/lib/Target/SystemZ SystemZAsmPrinter.cpp, llvm/test/CodeGen/SystemZ zos-ada-relocations.ll

[SystemZ] Emit external aliases for indirect function descriptors in the ADA section (#183443)

This is the last of the three patches aimed to support indirect symbol
handling for the SystemZ backend.

An external alias is emitted for indirect function descriptors within
the ADA section, rather than a temporary alias, while also setting all
of the appropriate symbol attributes that are needed for the HLASM
streamer to emit the correct XATTR and ALIAS instructions for the
indirect symbols.

Moreover, this patch updates the
`CodeGen/SystemZ/zos-ada-relocations.ll` test as the ADA section is
currently the only user of indirect symbols on z/OS.

Depends on https://github.com/llvm/llvm-project/pull/183442.
DeltaFile
+7-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+5-1llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll
+12-52 files

HardenedBSD/ports f9df619. UPDATING, deskutils/xdpi Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+82-0security/vuxml/vuln/2026.xml
+30-0deskutils/xdpi/Makefile
+12-9sysutils/cbsd/files/cbsdd.in
+19-0UPDATING
+5-8x11-wm/mangowc/Makefile
+13-0ports-mgmt/packagekit/files/patch-backends_freebsd_PackageDatabase.hpp
+161-1762 files not shown
+305-12768 files

LLVM/project cf28f23llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AMDGPU zext-duplicate-shift.ll

[SLP] Reject duplicate shift amounts in matchesShlZExt reorder path (#183627)

In the reordered RHS path of matchesShlZExt, the code never checked that
each shift amount (0, Stride, 2×Stride, …) appears at most once. When
the same shift appeared in multiple lanes, it still filled Order,
producing a non-permutation (e.g. Order = [0,0,0,1]). That led to bad
shuffle masks and miscompilation (e.g. shuffles with poison).

The patch adds an explicit duplicate check: before setting Order[Idx] =
Pos, it ensures Pos has not been seen before, using a SmallBitVector
SeenPositions(VF). If a position is seen twice, the function returns
false and the optimization is not applied.
DeltaFile
+14-8llvm/test/Transforms/SLPVectorizer/AMDGPU/zext-duplicate-shift.ll
+5-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+19-82 files

LLVM/project 282a2b7clang/lib/Analysis/Scalable/Serialization JSONFormat.cpp, clang/lib/Analysis/Scalable/Serialization/JSONFormat JSONFormatImpl.cpp TUSummary.cpp

[clang][ssaf] Add `JSONFormat` support for `TUSummaryEncoding`

This PR adds `JSONFormat` support for reading and writing
`TUSummaryEncoding`. The implementation exploits similarities in the
structures of `TUSummary` and `TUSummaryEncoding` by reusing existing
`JSONFormat` support for `TUSummary`. Duplication of tests has been
avoided by parameterizing the test fixture that runs all relevant
read/write tests against `TUSummary`, for `TUSummaryEncoding`. This
ensures that the two serialization paths remain in lockstep.
DeltaFile
+0-1,182clang/lib/Analysis/Scalable/Serialization/JSONFormat.cpp
+638-502clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
+596-0clang/lib/Analysis/Scalable/Serialization/JSONFormat/JSONFormatImpl.cpp
+504-0clang/lib/Analysis/Scalable/Serialization/JSONFormat/TUSummary.cpp
+407-0clang/lib/Analysis/Scalable/Serialization/JSONFormat/TUSummaryEncoding.cpp
+148-0clang/lib/Analysis/Scalable/Serialization/JSONFormat/JSONFormatImpl.h
+2,293-1,6845 files not shown
+2,358-1,68611 files

FreeBSD/ports b06ccc7dns/blocky distinfo Makefile

dns/blocky: Update to 0.29.0

ChangeLog:      https://github.com/0xERR0R/blocky/releases/tag/v0.29.0
MFH:            2026Q1
DeltaFile
+5-5dns/blocky/distinfo
+1-2dns/blocky/Makefile
+6-72 files

LLVM/project 403fd76llvm/lib/CodeGen SlotIndexes.cpp, llvm/test/CodeGen/AArch64 misched-detail-resource-booking-01.mir

[SlotIndexes] Further pack indices to improve spill placement time (#182640)

This patch makes it so that renumbering indices when inserting
instructions into the SlotIndexes analysis renumbers the entire list if
the list is otherwise densely packed. This fixes a case we saw on
AArch64 with a lot of spills where every single spill instruction
insertion required a renumbering of most of the instructions in a large
function, making the operation approximately quadratic.

This is not NFC as heuristics depend on the SlotIndex numbers, although
this should mostly be a wash as LRs should be extended ~equally.
DeltaFile
+1,389-1,365llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+38-38llvm/test/CodeGen/AArch64/misched-detail-resource-booking-01.mir
+6-6llvm/test/CodeGen/AMDGPU/remat-sop.mir
+9-0llvm/lib/CodeGen/SlotIndexes.cpp
+2-2llvm/test/CodeGen/X86/statepoint-live-in.ll
+2-2llvm/test/CodeGen/X86/statepoint-regs.ll
+1,446-1,4136 files

Linux/linux aed968fdrivers/cxl pmem.c, drivers/cxl/core port.c pmem.c

Merge tag 'cxl-fixes-7.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl

Pull cxl fixes from Dave Jiang:

 - Fix incorrect usages of decoder flags

 - Validate payload size before accessing contents

 - Fix race condition when creating nvdimm objects

 - Fix deadlock on attach failure

* tag 'cxl-fixes-7.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl:
  cxl/region: Test CXL_DECODER_F_NORMALIZED_ADDRESSING as a bitmask
  cxl: Test CXL_DECODER_F_LOCK as a bitmask
  cxl/mbox: validate payload size before accessing contents in cxl_payload_from_user_allowed()
  cxl: Fix race of nvdimm_bus object when creating nvdimm objects
  cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.ko
  cxl/port: Hold port host lock during dport adding.

    [2 lines not shown]
DeltaFile
+18-34drivers/cxl/core/port.c
+32-10drivers/cxl/core/pmem.c
+21-1drivers/cxl/pmem.c
+18-0drivers/cxl/core/core.h
+9-4drivers/cxl/core/memdev.c
+9-2drivers/cxl/core/mbox.c
+107-513 files not shown
+117-549 files

LLVM/project dce48f2clang/lib/Driver/ToolChains AMDGPU.cpp, clang/test/Driver amdgpu-openmp-sanitize-options.c

[OpenMP] Enable internalization of 'ockl.bc' for OpenMP (#183685)

Fix linking of 'ockl.bc' for OpenMP by switching from
`-mlink-bitcode-file` to `-mlink-builtin-bitcode`
DeltaFile
+1-1clang/lib/Driver/ToolChains/AMDGPU.cpp
+1-1clang/test/Driver/amdgpu-openmp-sanitize-options.c
+2-22 files

LLVM/project c05e323llvm/lib/Target/WebAssembly WebAssemblyFixIrreducibleControlFlow.cpp

[WebAssembly] Incorporate SCCs into WebAssemblyFixIrreducibleControlFlow (#181755)

Rather than mapping out full "reachability" between blocks in a region
to find loops and using `LoopBlocks` to find the bodies of said loops,
use SCCs (strongly-connected components) to provide this information.

This brings in LLVM's generic `SCCIterator` (which uses Tarjan's
algorithm) as the implementation for sorting the basic blocks of the CFG
into their SCCs.

This PR greatly reduces the compile-time footprint of the pass, making
memory use and time taken negliable where it might have previously
caused stalls and OOM before (e.g. #47793,
usagi-coffee/tree-sitter-abl#114)

------

Supersedes #179722


    [10 lines not shown]
DeltaFile
+151-136llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
+151-1361 files

LLVM/project dcdbaffllvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/RISCV clmul.ll clmulr.ll

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+25,051-14,920llvm/test/CodeGen/RISCV/clmul.ll
+16,004-0llvm/test/MC/AMDGPU/gfx13_asm_vopd3.s
+13,198-0llvm/test/CodeGen/RISCV/clmulr.ll
+12,863-0llvm/test/CodeGen/RISCV/clmulh.ll
+11,178-0llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+10,242-0llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+88,536-14,9203,624 files not shown
+297,206-108,3723,630 files

LLVM/project a0bde8dllvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/RISCV clmul.ll clmulr.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+25,051-14,920llvm/test/CodeGen/RISCV/clmul.ll
+16,004-0llvm/test/MC/AMDGPU/gfx13_asm_vopd3.s
+13,198-0llvm/test/CodeGen/RISCV/clmulr.ll
+12,863-0llvm/test/CodeGen/RISCV/clmulh.ll
+11,178-0llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+10,242-0llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+88,536-14,9203,624 files not shown
+297,206-108,3723,630 files

LLVM/project 852c6efmlir/include/mlir/Conversion/LLVMCommon Pattern.h, mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp

[mlir][LLVM] Let decomposeValue/composeValue handle aggregates (#183405)

This commit updates the LLVM::decomposeValue and LLVM::composeValue
methods to handle aggregate types - LLVM arrays and structs, and to have
different behaviors on dealing with types like pointers that can't be
bitcast to fixed-size integers. This allows the "any type" on
gpu.subgroup_broadcast to be more comprehensive - you can broadcast a
memref to a subgroup by decomposing it, for example.

(This branched off of getting an LLM to implement
ValueuboundsOpInterface on subgroup_broadcast, having it add handling
for the dimensions of shaped types, and realizing that there's no
fundamental reason you can't broadcast a memref or the like)

---------

Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+144-42mlir/lib/Conversion/LLVMCommon/Pattern.cpp
+69-0mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
+10-4mlir/include/mlir/Conversion/LLVMCommon/Pattern.h
+10-4mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
+8-4mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+241-545 files

LLVM/project 4bcec5allvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/RISCV clmul.ll clmulr.ll

Rebase, address review comment

Created using spr 1.3.6-beta.1
DeltaFile
+25,051-14,920llvm/test/CodeGen/RISCV/clmul.ll
+16,004-0llvm/test/MC/AMDGPU/gfx13_asm_vopd3.s
+13,198-0llvm/test/CodeGen/RISCV/clmulr.ll
+12,863-0llvm/test/CodeGen/RISCV/clmulh.ll
+11,178-0llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+10,242-0llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+88,536-14,9203,624 files not shown
+297,206-108,3723,630 files

LLVM/project 538c68fllvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/RISCV clmul.ll clmulr.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+25,051-14,920llvm/test/CodeGen/RISCV/clmul.ll
+16,004-0llvm/test/MC/AMDGPU/gfx13_asm_vopd3.s
+13,198-0llvm/test/CodeGen/RISCV/clmulr.ll
+12,863-0llvm/test/CodeGen/RISCV/clmulh.ll
+11,178-0llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+10,242-0llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+88,536-14,9203,623 files not shown
+297,204-108,3703,629 files

LLVM/project 480ddf7llvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/RISCV clmul.ll clmulr.ll

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+25,051-14,920llvm/test/CodeGen/RISCV/clmul.ll
+16,004-0llvm/test/MC/AMDGPU/gfx13_asm_vopd3.s
+13,198-0llvm/test/CodeGen/RISCV/clmulr.ll
+12,863-0llvm/test/CodeGen/RISCV/clmulh.ll
+11,178-0llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+10,242-0llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+88,536-14,9203,623 files not shown
+297,204-108,3703,629 files

LLVM/project 6328640llvm/test/CodeGen/AMDGPU llvm.exp10.f64.ll llvm.exp.f64.ll, llvm/test/CodeGen/RISCV clmul.ll clmulr.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+25,051-14,920llvm/test/CodeGen/RISCV/clmul.ll
+16,004-0llvm/test/MC/AMDGPU/gfx13_asm_vopd3.s
+13,198-0llvm/test/CodeGen/RISCV/clmulr.ll
+12,863-0llvm/test/CodeGen/RISCV/clmulh.ll
+11,178-0llvm/test/CodeGen/AMDGPU/llvm.exp10.f64.ll
+10,242-0llvm/test/CodeGen/AMDGPU/llvm.exp.f64.ll
+88,536-14,9203,623 files not shown
+297,204-108,3703,629 files

Linux/linux 962336bdrivers/mmc/host dw_mmc-rockchip.c sdhci-brcmstb.c, include/linux/mmc host.h

Merge tag 'mmc-v7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc

Pull MMC fixes from Ulf Hansson:
 "MMC core:
   - Avoid bitfield RMW for claim/retune flags

  MMC host:
   - dw_mmc-rockchip: Fix runtime PM support for internal phase support
   - mmci: Fix device_node reference leak in of_get_dml_pipe_index()
   - sdhci-brcmstb: Use correct register offset for V1 pin_sel restore"

* tag 'mmc-v7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
  mmc: core: Avoid bitfield RMW for claim/retune flags
  mmc: sdhci-brcmstb: use correct register offset for V1 pin_sel restore
  mmc: dw_mmc-rockchip: Fix runtime PM support for internal phase support
  mmc: mmci: Fix device_node reference leak in of_get_dml_pipe_index()
DeltaFile
+37-1drivers/mmc/host/dw_mmc-rockchip.c
+5-4include/linux/mmc/host.h
+1-1drivers/mmc/host/sdhci-brcmstb.c
+1-0drivers/mmc/host/mmci_qcom_dml.c
+44-64 files

LLVM/project 48eb40blldb/tools/lldb-dap Variables.cpp Variables.h, lldb/unittests/DAP VariablesTest.cpp

[lldb-dap] Adjust VariableReferenceStorage lifetime management. (#183176)

Adjusting `VariableReferenceStorage` to only need to track permanent vs
temporary storage by making `VariableStore` the common base class.

Moved the subclasses of `VariableStore` into the Variables.cpp file,
since they're no long referenced externally.

Expanding on the tests by adding an updated core dump with variables in
the argument scope we can use to validate variable storage.
DeltaFile
+834-33lldb/unittests/DAP/Inputs/linux-x86_64.core.yaml
+550-80lldb/unittests/DAP/Inputs/linux-x86_64.out.yaml
+298-278lldb/tools/lldb-dap/Variables.cpp
+108-16lldb/unittests/DAP/VariablesTest.cpp
+19-70lldb/tools/lldb-dap/Variables.h
+39-11lldb/tools/lldb-dap/SBAPIExtras.h
+1,848-4889 files not shown
+1,887-54315 files

FreeBSD/ports 6408024shells/ksh-devel Makefile

shells/ksh-devel: Fixup conflict with ksh93

ksh-devel only conflicts with ksh93 when it installs the same binary.
DeltaFile
+1-1shells/ksh-devel/Makefile
+1-11 files

HardenedBSD/ports 6408024shells/ksh-devel Makefile

shells/ksh-devel: Fixup conflict with ksh93

ksh-devel only conflicts with ksh93 when it installs the same binary.
DeltaFile
+1-1shells/ksh-devel/Makefile
+1-11 files

FreeBSD/src afbfc2asys/net if_gre.c

gre: unbreak LINT-NOINET

- Move some of the braces under their respective conditionals to make the
statements more self-encapsulated and only define the `aliasreq` union
in the event either INET or INET6 is defined.

- Fix a copy-paste error: `in_gre_ioctl` should be `in6_gre_ioctl` in the
  INET6 case.

Reported by:    tinderbox
Fixes:          e1e18cc12e68 ("if_gre: Add netlink support with tests")
Differential Revision: https://reviews.freebsd.org/D55546
DeltaFile
+12-4sys/net/if_gre.c
+12-41 files

HardenedBSD/src afbfc2asys/net if_gre.c

gre: unbreak LINT-NOINET

- Move some of the braces under their respective conditionals to make the
statements more self-encapsulated and only define the `aliasreq` union
in the event either INET or INET6 is defined.

- Fix a copy-paste error: `in_gre_ioctl` should be `in6_gre_ioctl` in the
  INET6 case.

Reported by:    tinderbox
Fixes:          e1e18cc12e68 ("if_gre: Add netlink support with tests")
Differential Revision: https://reviews.freebsd.org/D55546
DeltaFile
+12-4sys/net/if_gre.c
+12-41 files

LLVM/project ca0e7d3flang-rt/lib/runtime character.cpp, flang-rt/unittests/Runtime CharacterTest.cpp

[flang] [flang-rt] Addition of the Fortran 2023 TOKENIZE intrinsic. (#181030)

This implements the TOKENIZE intrinsic per the Fortran 2023 Standard.

TOKENIZE is a more complicated addition to the flang intrinsics, as it
is the first subroutine that has multiple unique footprints. Intrinsic
functions have already addressed this challenge, however subroutines and
functions are processed slightly differently and the function code was
not a good 1:1 solution for the subroutines. To solve this the function
code was used as an example to create error buffering within the
intrinsics Process and select the most appropriate error message for a
given subroutine footprint.

A simple FIR compile test was added to show the proper compilation of
each case. A thorough negative path test has also been added, ensuring
that all possible errors are reported as expected.

Testing prior to commit:


    [50 lines not shown]
DeltaFile
+437-0flang-rt/lib/runtime/character.cpp
+267-0flang/test/Semantics/tokenize-errors.f90
+208-0flang-rt/unittests/Runtime/CharacterTest.cpp
+106-1flang/lib/Evaluate/intrinsics.cpp
+102-0flang/lib/Optimizer/Builder/IntrinsicCall.cpp
+29-0flang/lib/Optimizer/Builder/Runtime/Character.cpp
+1,149-14 files not shown
+1,200-110 files

Linux/linux 78d964cdrivers/block zloop.c, drivers/block/drbd drbd_actlog.c drbd_main.c

Merge tag 'block-7.0-20260227' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fixes from Jens Axboe:
 "Two sets of fixes, one for drbd, and one for the zoned loop driver"

* tag 'block-7.0-20260227' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  zloop: check for spurious options passed to remove
  zloop: advertise a volatile write cache
  drbd: fix null-pointer dereference on local read error
  drbd: Replace deprecated strcpy with strscpy
  drbd: fix "LOGIC BUG" in drbd_al_begin_io_nonblock()
DeltaFile
+23-30drivers/block/drbd/drbd_actlog.c
+24-7drivers/block/zloop.c
+9-5drivers/block/drbd/drbd_main.c
+4-1drivers/block/drbd/drbd_interval.h
+2-2drivers/block/drbd/drbd_receiver.c
+2-1drivers/block/drbd/drbd_req.c
+64-466 files

OpenZFS/src f8e5af5module/zfs vdev_rebuild.c

Fix redundant declaration of dsl_pool_t

Remove redundant dsl_pool variable and duplicate spa_get_dsl()
call in vdev_rebuild_thread.

Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Akash B <akash-b at hpe.com>
Closes #18263
DeltaFile
+5-6module/zfs/vdev_rebuild.c
+5-61 files

Linux/linux 530b0b6io_uring timeout.c cmd_net.c

Merge tag 'io_uring-7.0-20260227' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:
 "Just two minor patches in here, ensuring the use of READ_ONCE() for
  sqe field reading is consistent across the codebase. There were two
  missing cases, now they are covered too"

* tag 'io_uring-7.0-20260227' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring/timeout: READ_ONCE sqe->addr
  io_uring/cmd_net: use READ_ONCE() for ->addr3 read
DeltaFile
+2-2io_uring/timeout.c
+1-1io_uring/cmd_net.c
+3-32 files

FreeBSD/ports 583f1afx11/cde-devel/files patch-programs_dtterm_Makefile.am

x11/cde-devel: Update missing patch

Fixes:  bfc3172764d638ef6f323cbaa2de439bd81dda62
DeltaFile
+5-5x11/cde-devel/files/patch-programs_dtterm_Makefile.am
+5-51 files

HardenedBSD/ports 583f1afx11/cde-devel/files patch-programs_dtterm_Makefile.am

x11/cde-devel: Update missing patch

Fixes:  bfc3172764d638ef6f323cbaa2de439bd81dda62
DeltaFile
+5-5x11/cde-devel/files/patch-programs_dtterm_Makefile.am
+5-51 files