LLVM/project b344a11 — flang/lib/Evaluate int-power.h

Post-merge fix: avoid two different algorithms
DeltaFile
+13-1flang/lib/Evaluate/int-power.h
+13-11 files

LLVM/project e9d8621 — mlir/lib/Dialect/SCF/Transforms LoopSpecialization.cpp, mlir/test/Dialect/SCF for-loop-peeling.mlir

[mlir][scf] add support for unsigned loop for back peeling (#234435)

- add support for unsigned loop for back peeling
- fix sub overflow bug in the signed path
- remove unsigned operation check in dispatcher
- return early if unsigned in `peelForLoopAndSimplifyBounds` since
affine.min/max does not hold for unsigned loops
- add tests for edge cases in unsigned, sub overflow and no bound
simplification for unsigned

from https://github.com/llvm/llvm-project/pull/231100

claude helped me with the tests and correctness.
DeltaFile
+166-0mlir/test/Dialect/SCF/for-loop-peeling.mlir
+82-46mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
+248-462 files

Linux/linux 4da9ded — drivers/iommu bcm2712-iommu.c, drivers/iommu/amd init.c iommu.c

Merge tag 'iommu-updates-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux

Pull IOMMU updates from Joerg Roedel:
 "Core:
   - Detect scatterlist length overflows and finalize deferred domain
     attachments before mapping MSI pages
   - Consolidate x86 MSI reserved-region handling and clean up internal
     DMA and SVA helpers

  AMD IOMMU:
   - Add IOMMU PerfOpt support, enabled by amdgpu for supported
     integrated GPUs in identity domains
   - Restrict forced identity mapping to GPUs that require it
   - Fix kdump device-table allocation and reuse, ATS configuration
     error handling, and an interrupt-remapping allocation leak
   - Clean up device probing and initialization
   - Add Vasant Hegde as an AMD IOMMU maintainer

  ARM SMMUv2:

    [66 lines not shown]
DeltaFile
+682-0drivers/iommu/hyperv/hv-iommu-guest.c
+450-178drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
+550-0drivers/iommu/bcm2712-iommu.c
+351-117drivers/iommu/amd/iommu.c
+288-0drivers/iommu/generic_pt/fmt/bcm2712.h
+131-61drivers/iommu/amd/init.c
+2,452-35655 files not shown
+3,717-49061 files

FreeBSD/ports 7bbf490 — print/py-plutoprint Makefile distinfo

print/py-plutoprint: Update to 0.23.0
DeltaFile
+3-3print/py-plutoprint/distinfo
+1-1print/py-plutoprint/Makefile
+4-42 files

LLVM/project b67e7bb — clang/include/clang/Basic MSP430Target.def, clang/include/clang/Basic/Target/MSP430 gen-msp430-def.py

[MSP430] Update msp430 generator (#228006)

- gen-msp430-def.py was updated to include the CPU type. Current CPU types are msp430, msp430x and msp430xv2. This is useful information for determining whether extended instructions are valid on a given target.
- Adds a new hwmult variant called f5series. The script now maps the HWMPY value of 8 to this variant. This is important because the f5series hardware multiplier has a different base address compared to older MPY32 support.
- Also added new tests with a newer target containing a f5series hardware multiplier. The auto mode will now also correctly map to include f5series support if the MCU supports this.

Based on https://reviews.llvm.org/D108301 by Jozef Lawrynowicz.

Co-authored-by: Jozef Lawrynowicz <jozefl.opensrc at gmail.com>
Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+651-639clang/include/clang/Basic/MSP430Target.def
+66-34clang/include/clang/Basic/Target/MSP430/gen-msp430-def.py
+2-2clang/lib/Driver/ToolChains/MSP430.cpp
+4-0clang/test/Driver/msp430-toolchain.c
+2-0clang/test/Driver/msp430-hwmult.c
+725-6755 files

Linux/linux 906b6e1 — drivers/iommu dma-iommu.c, drivers/scsi scsi_transport_sas.c

Merge tag 'dma-mapping-7.4-2026-10-21' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux

Pull dma-mapping updates from Marek Szyprowski:

 - several SWIOTLB initialization cleanups (Aneesh Kumar K.V, Francesco
   Valla)

 - exact page allocation for DMA pages (Qingfang Deng)

 - tools/dma build fixes (Sasha Levin)

 - minor fixes for various corner cases (Marek Szyprowski, Leon
   Romanovsky) and code cleanup (John Garry)

* tag 'dma-mapping-7.4-2026-10-21' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux:
  dma-debug: Skip cacheline tracking for MMIO mappings
  tools/dma: fix building from the top level with O=
  tools/dma: fix building with O=
  dma: swiotlb: Track whether the pool size was explicitly set

    [7 lines not shown]
DeltaFile
+26-28kernel/dma/swiotlb.c
+23-7kernel/dma/direct.c
+6-6drivers/scsi/scsi_transport_sas.c
+7-5drivers/iommu/dma-iommu.c
+7-4kernel/dma/ops_helpers.c
+5-5kernel/dma/mapping.c
+74-5516 files not shown
+106-7722 files

FreeBSD/ports 01489bc — audio/mpz Makefile distinfo

audio/mpz: update the port to version 2.1.8

PR:             299606
Reported by:    portscout
DeltaFile
+3-3audio/mpz/distinfo
+1-1audio/mpz/Makefile
+4-42 files

Linux/linux 26344c0 — Documentation/driver-api vfio-selftests.rst, include/linux/mlx5 mlx5_ifc.h mlx5_ifc_macros.h

Merge tag 'vfio-v7.4-rc1' of https://github.com/awilliam/linux-vfio

Pull VFIO updates from Alex Williamson:

 - Fix missing selftest <libgen.h> include for basename() to support
   non-glibc builds (Hisam Mehboob)

 - Add vfio selftest documentation covering the libvfio helper library
   and guidance for developers to aid in adding and understanding the
   framework (David Matlack)

 - Fix vfio cdev open path to prevent a second open from clobbering the
   vf_token or clearing the KVM reference. Add a selftest to avoid
   future recurrences (Alex Williamson)

 - Extend vfio selftest mix_and_match timeouts, in particular to account
   for systems where generated faults can induce heavy SMM load,
   delaying internal timeouts. Also extend timeout for execution via
   runner to account for various tests exceeding default 45s timeout

    [66 lines not shown]
DeltaFile
+1,928-0tools/testing/selftests/vfio/lib/drivers/mlx5/mlx5.c
+252-0Documentation/driver-api/vfio-selftests.rst
+2-229include/linux/mlx5/device.h
+185-0include/linux/mlx5/mlx5_ifc_macros.h
+178-0include/linux/mlx5/mlx5_ifc.h
+114-0tools/testing/selftests/vfio/lib/drivers/mlx5/mlx5_hw.h
+2,659-22955 files not shown
+3,080-42061 files

NetBSD/src itIFRFJ — sys/dev/raidframe rf_alloclist.c rf_diskqueue.c

   Be more conservative with pool and freelist sizes and address potential deadlocks discovered while working on PR kern/60396.

   Note that with this change we track the total amount of memory allocated to
   both reserved buffers and pools on a per-array basis, and constrain
   "openings" to keep it under control on small-memory machines.

   1) Per suggestion from oster@, rename the "emergency" freelists that are now
      used before dynamic allocation to "reserved" freelists.

   2) Eliminate static pool sizes and compute dynamically instead.  For now,
      most are larger to avoid potential deadlocks discussed below.  With
      some restructuring of the I/O dispatch model they can probably get smaller.

   3) Address an M_WAITOK allocation with PSS_MUTEX held in "forced"
      reconstruction.  It appears this could deadlock rf_RaidIOThread
      and the recon thread.  Added another small set of emergency
      buffers to cover this case.

   4) Reorganize rf_Configure to initialize pools _after_ disk,

    [35 lines not shown]
VersionDeltaFile
1.146+141-81sys/dev/raidframe/rf_driver.c
1.131+70-28sys/dev/raidframe/rf_reconstruct.c
1.53+63-31sys/dev/raidframe/rf_map.c
1.60+54-30sys/dev/raidframe/rf_dagutils.c
1.67+29-14sys/dev/raidframe/rf_diskqueue.c
1.30+33-6sys/dev/raidframe/rf_alloclist.c
+390-19013 files not shown
+528-23919 files

LLVM/project 4048e33 — llvm/lib/Target/RISCV RISCVPassRegistry.def RISCVTargetMachine.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+38-11llvm/lib/Target/RISCV/RISCVDeadRegisterDefinitions.cpp
+11-2llvm/lib/Target/RISCV/RISCV.h
+3-3llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-0llvm/lib/Target/RISCV/RISCVPassRegistry.def
+53-164 files

Linux/linux 9f2516f — drivers/platform/mellanox mlxbf-tmfifo.c, drivers/remoteproc remoteproc_virtio.c

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

Pull vhost,virtio updates from Michael Tsirkin:
 "This adds CPR support for vhost.

  Plus some fixes, notably for a host of races we had when callback fire
  around device reset"

* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
  tools/virtio: add missing device-id/virtio.h wrapper header
  vhost/vsock: add VHOST_RESET_OWNER ioctl
  vhost: synchronize with RCU readers when freeing workers
  vhost/vsock: re-scan TX virtqueue on device start
  vhost/vsock: suppress EHOSTUNREACH fast-fail during CPR pause
  vhost/vsock: split out vhost_vsock_drop_backends helper
  virtio_pci: drop callback sync on reset
  virtio_pci_modern: move avq cleanup from reset to del_vqs
  virtio: synchronize callbacks after device reset
  virtio_vdpa: implement synchronize_cbs()

    [5 lines not shown]
DeltaFile
+69-20drivers/vhost/vsock.c
+31-8drivers/remoteproc/remoteproc_virtio.c
+31-3drivers/virtio/virtio_vdpa.c
+21-5drivers/vhost/vhost.c
+8-7drivers/virtio/virtio_pci_modern.c
+15-0drivers/platform/mellanox/mlxbf-tmfifo.c
+175-4312 files not shown
+215-5918 files

LLVM/project a8d9b1d — llvm/lib/Target/AMDGPU GCNFeatures.td AMDGPUFeatures.td, llvm/test/CodeGen/AMDGPU lds-size-gfx9-4-generic.ll

[AMDGPU] Fix gfx9-4-generic LDS allocation granule

gfx9-4-generic paired gfx950's 1280-byte allocation granule with
gfx942's 64 KiB LDS capacity. A 64 KiB work-group then rounded to
66560 bytes, was deemed not to fit, and dropped occupancy to 1. The
resulting VGPR budget made 1024-lane dispatches fail.

Use gfx942's 512-byte granule, which matches the capacity.

Fixes LCOMPILER-3031.

Change-Id: Ic8d36fd0921a80abd0debaee1fb2c28cd01604d0
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+16-4llvm/test/CodeGen/AMDGPU/lds-size-gfx9-4-generic.ll
+1-5llvm/unittests/TargetParser/TargetParserTest.cpp
+2-2llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
+1-1llvm/lib/Target/AMDGPU/GCNFeatures.td
+20-124 files

LLVM/project 297bb78 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination sadd-with-overflow.ll minmax.ll

[ConstraintElim] Split signed min/max across their operands when checking a compare

The existing constraint systems only record the bounds that hold for both
operands of a min/max (smax(a, b) >= a and >= b, smin(a, b) <= a and <= b). The
other direction is a disjunction, which cannot be recorded as a fact. When a
compare of signed decompositions involves a min/max result, split it into its
operands: the decomposition is monotonic in that result, so it is the max or min
of its values on each side, and the relation holds for all or for either side
respectively.

https://alive2.llvm.org/ce/z/zsGkJ-
DeltaFile
+366-3llvm/test/Transforms/ConstraintElimination/minmax.ll
+111-0llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+4-8llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+481-113 files

LLVM/project 1f03cca — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination add-nsw.ll sadd-with-overflow.ll

[ConstraintElim] A signed sum of operands with opposite signs cannot wrap

If one operand is known non-negative and the other non-positive, the signed
sum is between them, so it cannot overflow.

https://alive2.llvm.org/ce/z/ZF5Yqr
DeltaFile
+97-2llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+19-0llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+3-6llvm/test/Transforms/ConstraintElimination/add-nsw.ll
+119-83 files

LLVM/project 38c66a2 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination sadd-with-overflow.ll

[ConstraintElim] Prove sadd/ssub.with.overflow cannot overflow from the exact sum

Decompose the operands and show that the sum lies in the range of the type. This
handles patterns like A + (B - A), as well as sums involving signed min/max
results, which are split across their respective operands using monotonicity
(for example start + smax(end - start - 1, 0) <= end).

https://alive2.llvm.org/ce/z/ze8LCk
DeltaFile
+539-0llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+160-3llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+699-32 files

LLVM/project ac15a28 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination transfer-samesign-facts.ll

[ConstraintElim] Propagate the sign across an icmp samesign

If one operand of `icmp samesign` is known (non-)negative, so is the other. Add
that as a fact in the signed system.

https://alive2.llvm.org/ce/z/xUgGRM
DeltaFile
+92-8llvm/test/Transforms/ConstraintElimination/transfer-samesign-facts.ll
+16-2llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+108-102 files

FreeBSD/src cb77c4e — sys/dev/amdsmu amdsmu.c

amdsmu: Don't rely on s0i3_last_entry_status metric

This metric seems unreliable and I have observed it occasionally report
1 (successful entry to S0i3) when the time_last_in_s0i3 metric was 0 on
Phoenix, which does not make sense.

So just rely on time_last_in_s0i3 instead.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+5-1sys/dev/amdsmu/amdsmu.c
+5-11 files

HardenedBSD/ports fcd5d01 — devel/shiboken2 pkg-plist, sysutils/elio distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+651-0x11-wm/dwm/files/runtimekeys-patch
+517-1www/bunkerweb/pkg-plist
+95-129textproc/evtx/distinfo
+95-93sysutils/elio/distinfo
+47-65textproc/evtx/Makefile
+0-93devel/shiboken2/pkg-plist
+1,405-381153 files not shown
+2,610-944159 files

FreeBSD/ports 9b1792b — www/zoraxy/files patch-mod_sshprox_embed.go

www/zoraxy: Fix build on non-amd64

sshprox declares UseWinTTY and gotty only for freebsd/amd64, which
breaks the build on all other architectures. amd64 embeds no gotty
binary anyway, so extend the build constraint to all of FreeBSD.

Sponsored by:   Netzkommune GmbH

(cherry picked from commit 2ea38e53e6a3434d2cf581813ba80592681c811c)
DeltaFile
+10-0www/zoraxy/files/patch-mod_sshprox_embed.go
+10-01 files

FreeBSD/ports 2ea38e5 — www/zoraxy/files patch-mod_sshprox_embed.go

www/zoraxy: Fix build on non-amd64

sshprox declares UseWinTTY and gotty only for freebsd/amd64, which
breaks the build on all other architectures. amd64 embeds no gotty
binary anyway, so extend the build constraint to all of FreeBSD.

Sponsored by:   Netzkommune GmbH
DeltaFile
+10-0www/zoraxy/files/patch-mod_sshprox_embed.go
+10-01 files

HardenedBSD/ports 2ea38e5 — www/zoraxy/files patch-mod_sshprox_embed.go

www/zoraxy: Fix build on non-amd64

sshprox declares UseWinTTY and gotty only for freebsd/amd64, which
breaks the build on all other architectures. amd64 embeds no gotty
binary anyway, so extend the build constraint to all of FreeBSD.

Sponsored by:   Netzkommune GmbH
DeltaFile
+10-0www/zoraxy/files/patch-mod_sshprox_embed.go
+10-01 files

HardenedBSD/ports 79c133a — devel/libiec61850 Makefile distinfo

devel/libiec61850: Update to 1.6.2.1
DeltaFile
+3-3devel/libiec61850/distinfo
+1-1devel/libiec61850/Makefile
+4-42 files

FreeBSD/ports 79c133a — devel/libiec61850 Makefile distinfo

devel/libiec61850: Update to 1.6.2.1
DeltaFile
+3-3devel/libiec61850/distinfo
+1-1devel/libiec61850/Makefile
+4-42 files

Linux/linux 4169c9c — arch/powerpc/kernel irq.c

powerpc/irq: Fix build with CONFIG_PROC_FS=n

Commit fbb22ceaaf8f ("powerpc/irq: Make irqstats array based") made
arch_show_interrupts() call irq_proc_emit_counts(). That function lives
in kernel/irq/proc.c, which is only built with CONFIG_PROC_FS, so
kernels without procfs no longer link:

  powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':
  arch/powerpc/kernel/irq.c:134:(.text+0x4b8c): undefined reference to `irq_proc_emit_counts'

arch_show_interrupts() is only called from irq_seq_show(), which is in
kernel/irq/proc.c as well, so build it only with CONFIG_PROC_FS, as x86
already does.

Fixes: fbb22ceaaf8f ("powerpc/irq: Make irqstats array based")
Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202609271531.8kf2NTjK-lkp@intel.com/
Signed-off-by: Sasha Levin <sashal at kernel.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+2-0arch/powerpc/kernel/irq.c
+2-01 files

LLVM/project 5eaa4e7 — llvm/lib/Target/AMDGPU GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU machine-scheduler-rematerialization-scoring.mir machine-scheduler-sink-trivial-remats.mir

[AMDGPU][Scheduler] Restore local spill rejection in occupancy mode (#233979)

When rematerializing for higher occupancy, the scheduler can retain a
schedule that introduces spills even when the saved order is spill-free.
The `!TargetOcc` guard disables local spill rejection. Since occupancy
is tracked using `max(WavesBefore, WavesAfter)`, global finalization can
still consider the target reached even when the trial schedule is worse.

The guard was introduced in 7cc7a9412893 (#180646) alongside a fix for
rollback using temporary `DBG_VALUE` placeholders. dc34d163d8c9
(#192443) replaced that representation with the shared MIR
rematerializer, removing the placeholder-specific slot-index issue.

Re-enable the existing `mayCauseSpilling` check in occupancy mode to
reject such trials and restore the instruction order saved before
rescheduling, while preserving rematerialization. Global finalization
still handles rematerialization rollback. Add a MIR regression that
spills before the fix and remains spill-free afterward.


    [5 lines not shown]
DeltaFile
+61-0llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats-spills.mir
+11-11llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats.mir
+2-3llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+1-1llvm/test/CodeGen/AMDGPU/machine-scheduler-rematerialization-scoring.mir
+75-154 files

LLVM/project e8da3ae — clang/test/CIR/CodeGenBuiltins/X86 avx512f-builtins.c, llvm/test/CodeGen/AArch64 aarch64-combine-gather-lanes.mir

Merge branch 'flangast-main' into users/meinersbur/flang_KIND-detemplatization
DeltaFile
+791-26llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
+193-0llvm/test/Transforms/MemProfContextDisambiguation/mergenodes-matching-calls.ll
+137-1clang/test/CIR/CodeGenBuiltins/X86/avx512f-builtins.c
+117-0llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-prefetch.ll
+102-0llvm/test/CodeGen/X86/abdu-vector-128.ll
+36-36llvm/test/CodeGen/AArch64/aarch64-combine-gather-lanes.mir
+1,376-63193 files not shown
+2,634-653199 files

DragonFlyBSD/src f25f77d — sys/bus/cam/scsi scsi_da.c

kernel - Fix I/O stalls caused by TRIM ops

* I/O can stall out in physstr when TRIM ops are delpoyed.  The
  cause is that the da_softc->outstanding_cmds_rd tracker used by
  the I/O balancer was decrementing the field on TRIM completions.

* Fix by ensuring that the tracker only applies to READ commands.

* Refactor scheduling checks in dastart().  The checks were a bit broken
  but worked due to a catch-all in dadone().  Refactor so they work properly.

* Refactor conditional/block syntax a bit for readability.

Reported-by: myself and numerous others
DeltaFile
+51-31sys/bus/cam/scsi/scsi_da.c
+51-311 files

FreeBSD/ports d44ea91 — security/caldera-ot Makefile

security/caldera-ot: Bump PORTREVISION. devel/bacnet-stack was updated to 1.6.1
DeltaFile
+1-1security/caldera-ot/Makefile
+1-11 files

HardenedBSD/ports d44ea91 — security/caldera-ot Makefile

security/caldera-ot: Bump PORTREVISION. devel/bacnet-stack was updated to 1.6.1
DeltaFile
+1-1security/caldera-ot/Makefile
+1-11 files

HardenedBSD/ports 94cd869 — sysutils/bacnet-stack-apps Makefile distinfo

sysutils/bacnet-stack-apps: Update to 1.6.1
DeltaFile
+3-3sysutils/bacnet-stack-apps/distinfo
+1-1sysutils/bacnet-stack-apps/Makefile
+4-42 files