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

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

FreeBSD/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

FreeBSD/ports 215352a — devel/bacnet-stack Makefile distinfo

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

HardenedBSD/ports 215352a — devel/bacnet-stack Makefile distinfo

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

NetBSD/pkgsrc BkJ0WB4 — devel/ocaml-parmap Makefile

   ocaml-parmap depends on ocaml-dune-configurator.
VersionDeltaFile
1.2+2-1devel/ocaml-parmap/Makefile
+2-11 files

Linux/linux 56070f0 — arch/arm64/kvm/hyp/nvhe hyp-main.c alloc.c, arch/arm64/kvm/vgic vgic-v5.c vgic-irs-v5.c

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull KVM updates from Paolo Bonzini:
 "ARM:

   - pKVM state isolation: years after pKVM started being enabled
     upstream, we finally get the basics in the form of state isolation.
     The vcpu state is now off-limit for the host for protected VMs

   - pKVM also grows a hypervisor-private memory allocator, allowing it
     to deal with sub-page allocation, much like everywhere else

   - pKVM also lands a trace_printk() equivalent, which hopefully will
     make debugging a bit easier

   - First shot at annotating portions of the KVM/arm64 code to be
     extracted and built on s390. The real fun is yet to come

   - Allow pre-faulting of stage-2 canonical mappings from userspace,

    [301 lines not shown]
DeltaFile
+1,872-0arch/arm64/kvm/vgic/vgic-v5-tables.c
+1,843-6tools/testing/selftests/kvm/arm64/vgic_v5.c
+1,217-0arch/arm64/kvm/vgic/vgic-irs-v5.c
+1,212-0arch/arm64/kvm/hyp/nvhe/alloc.c
+909-264arch/arm64/kvm/hyp/nvhe/hyp-main.c
+1,120-32arch/arm64/kvm/vgic/vgic-v5.c
+8,173-302350 files not shown
+23,671-4,010356 files

FreeBSD/ports 55d4895 — www/librewolf Makefile distinfo

www/librewolf: Update 158.0-1 => 158.0.1-2

Release Notes:
https://www.firefox.com/en-US/firefox/158.0.1/releasenotes/

Changelogs:
https://librewolf.dev/librewolf/bsys6/releases/tag/158.0.1-1
https://librewolf.dev/librewolf/bsys6/releases/tag/158.0.1-2

PR:             299870
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q4

(cherry picked from commit 847c77f97b6e29c54266cc4e829c7f98273d898d)
DeltaFile
+3-3www/librewolf/distinfo
+2-2www/librewolf/Makefile
+5-52 files

HardenedBSD/ports 847c77f — www/librewolf Makefile distinfo

www/librewolf: Update 158.0-1 => 158.0.1-2

Release Notes:
https://www.firefox.com/en-US/firefox/158.0.1/releasenotes/

Changelogs:
https://librewolf.dev/librewolf/bsys6/releases/tag/158.0.1-1
https://librewolf.dev/librewolf/bsys6/releases/tag/158.0.1-2

PR:             299870
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q4
DeltaFile
+3-3www/librewolf/distinfo
+2-3www/librewolf/Makefile
+5-62 files

FreeBSD/ports 847c77f — www/librewolf Makefile distinfo

www/librewolf: Update 158.0-1 => 158.0.1-2

Release Notes:
https://www.firefox.com/en-US/firefox/158.0.1/releasenotes/

Changelogs:
https://librewolf.dev/librewolf/bsys6/releases/tag/158.0.1-1
https://librewolf.dev/librewolf/bsys6/releases/tag/158.0.1-2

PR:             299870
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q4
DeltaFile
+3-3www/librewolf/distinfo
+2-3www/librewolf/Makefile
+5-62 files

HardenedBSD/ports 2e4f302 — textproc/evtx Makefile distinfo

textproc/evtx: Update to 0.13.0
DeltaFile
+95-129textproc/evtx/distinfo
+47-65textproc/evtx/Makefile
+142-1942 files

FreeBSD/ports 2e4f302 — textproc/evtx Makefile distinfo

textproc/evtx: Update to 0.13.0
DeltaFile
+95-129textproc/evtx/distinfo
+47-65textproc/evtx/Makefile
+142-1942 files

NetBSD/pkgsrc WDILNLS — doc CHANGES-2026

   Added devel/ocaml-parmap version 1.2.5.
VersionDeltaFile
1.7208+2-1doc/CHANGES-2026
+2-11 files

LLVM/project 46de45e — llvm/lib/CodeGen RegAllocBase.h RegAllocFast.cpp, llvm/test/CodeGen/ARM inlineasm-error-t-toofewregs.ll

RegAlloc: Fix dead flags of defs after failed allocation (#233796)

After an allocation failure, the error register may be assigned to
multiple defs of the same instruction. If one of these is dead and
another live, the instruction fails the verifier check added in #233110.

In RegAllocBase, add the failed defs to the error register's regunit
live ranges so a later assignment cannot also def it, and make the dead
flags of the error defs agree with any def already assigned the
register. In RegAllocFast, clear the dead flags of registers with a
live def on instructions using an error assignment.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+44-0llvm/lib/CodeGen/RegAllocBase.cpp
+20-0llvm/lib/CodeGen/RegAllocFast.cpp
+6-0llvm/lib/CodeGen/RegAllocBase.h
+2-1llvm/test/CodeGen/Thumb2/inlineasm-error-t-toofewregs-mve.ll
+2-1llvm/test/CodeGen/ARM/inlineasm-error-t-toofewregs.ll
+74-25 files