LLVM/project c57f8acllvm/lib/Target/SPIRV SPIRVSymbolicOperands.td SPIRVInstrInfo.td

[SPIR-V] Fix FmaKHR CapabilityOperand and Op (#179174)

Specification:
https://github.khronos.org/SPIRV-Registry/extensions/KHR/SPV_KHR_fma.html
DeltaFile
+1-1llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
+1-1llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
+2-22 files

FreeBSD/src ed3a246sys/dev/uart uart_tty.c

uart: fix sleeping while holding mutex in uart_tty_detach()

Move swi_remove() call before acquiring the tty lock. swi_remove() calls
intr_event_remove_handler() which may sleep via msleep(), causing a lock
order violation when called with the tty mutex held.

The software interrupt handler removal operates on the interrupt event
structure independently and does not require the tty lock. This matches
the pattern used in other drivers such as tcp_hpts.c where swi_remove()
is called without holding other locks.

Reviewed by:    imp, kevans
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D54953
DeltaFile
+2-1sys/dev/uart/uart_tty.c
+2-11 files

FreeBSD/src d3f2185libexec/rc/rc.d zfs

rc: run the zfs rc script before tmp

The tmp rc script has much the same problem that the var does: it wants
to test if /tmp is writable, and mount a tmpfs if it's not.  This means
that we actually want our zfs datasets mounted first, because we might
have a /tmp dataset that changes the story.

The ordering problem is particularly noticable with a r/o zfs root,
since the write test will fail and we'll mount a tmpfs that later gets
covered by our /tmp dataset.  If that /tmp dataset inherited readonly,
then we're still in trouble.

This also fixes `tmpmfs=yes`, which would again get covered by a zfs
dataset with the existing ordering.

Reviewed by:    des
Differential Revision:  https://reviews.freebsd.org/D54995
DeltaFile
+1-1libexec/rc/rc.d/zfs
+1-11 files

LLVM/project 7c48059llvm/lib/CodeGen CodeGenPrepare.cpp, llvm/lib/Transforms/Utils BasicBlockUtils.cpp

Reland "[BasicBlockUtils] Fix dominator tree update for entry block in splitBlockBefore() (#178895)"
DeltaFile
+19-44llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
+25-0llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
+2-2llvm/lib/CodeGen/CodeGenPrepare.cpp
+46-463 files

LLVM/project c373d76lldb/source/Target Thread.cpp ExecutionContext.cpp, lldb/test/API/functionalities/scripted_frame_provider TestScriptedFrameProvider.py

[lldb] Fix variable access in old SBFrames after inferior function calls (#178823)

When a user holds an SBFrame reference and then triggers an inferior
function
call (via expression evaluation or GetExtendedBacktraceThread),
variables in
that frame become inaccessible with "register fp is not available"
errors.

This happens because inferior function calls execute through
ThreadPlanCallFunction, which calls ClearStackFrames() during cleanup to
invalidate the unwinder state. ExecutionContextRef objects in the old
SBFrames
were tracking StackFrameLists via weak_ptr, which became stale when
ClearStackFrames() created new instances.

The fix uses stable StackFrameList identifiers that persist across
ClearStackFrames():
- ID = 0: Normal unwinder frames (constant across all instances)

    [35 lines not shown]
DeltaFile
+330-3lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+144-0lldb/test/API/macosx/extended-backtrace-api/TestExtendedBacktraceAPI.py
+106-33lldb/source/Target/Thread.cpp
+56-18lldb/source/Target/ExecutionContext.cpp
+53-0lldb/test/API/macosx/extended-backtrace-api/main.m
+29-11lldb/source/Target/StackFrameList.cpp
+718-658 files not shown
+809-8514 files

FreeBSD/ports 533c248security/wazuh-manager distinfo Makefile

security/wazuh-manager: Fixes cpython several vulnerabilities

- cpython source package was updated to afc40bdd3dd71f343fd9016f6d8eebbacbd6587c
- Bump PORTREVISION
DeltaFile
+2-2security/wazuh-manager/distinfo
+1-0security/wazuh-manager/Makefile
+3-22 files

FreeBSD/src 120ca8dsys/kern sched_ule.c sched_shim.c, sys/sys smp.h

Re-introduce kern.sched.topology_spec

Move it back from kern.sched.ule.topology_spec.
Make it scheduler-agnostic.
Provide trivial report for UP kernels.

Apparently the MIB is used by some third-party software.  Obviously it
did not worked on UP or 4BSD configs.

PR:     292574
Reviewed by:    olce
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55062
DeltaFile
+0-92sys/kern/sched_ule.c
+91-0sys/kern/sched_shim.c
+47-34sys/kern/subr_smp.c
+6-3sys/sys/smp.h
+144-1294 files

LLVM/project 618df12llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU isel-amdgcn-cs-chain-intrinsic-w32.ll isel-amdgcn-cs-chain-intrinsic-w64.ll

[AMDGPU] Allow hoising of V_READFIRSTLANE_B32 for uniform operand

readfirstlane can be moved across control flow for uniform inputs.
The MachineInstr::NoConvergent attribute allows hoisting
which is otherwise prohibited for a convergent instruction.
DeltaFile
+82-82llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll
+52-52llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w64.ll
+24-24llvm/test/CodeGen/AMDGPU/llvm.amdgcn.make.buffer.rsrc.ll
+33-0llvm/test/CodeGen/AMDGPU/readanylane.ll
+16-16llvm/test/CodeGen/AMDGPU/isel-amdgpu-cs-chain-intrinsic-dyn-vgpr-w32.ll
+11-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+218-1744 files not shown
+227-18010 files

LLVM/project 0e961a2llvm/include/llvm/CodeGen SelectionDAGNodes.h, llvm/lib/CodeGen/SelectionDAG InstrEmitter.cpp SelectionDAGDumper.cpp

Add SDNodeFlag::NoConvergent
DeltaFile
+6-1llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+3-0llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
+3-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+12-13 files

LLVM/project 6d52d26llvm/lib/Transforms/Utils BasicBlockUtils.cpp, llvm/unittests/Transforms/Utils BasicBlockUtilsTest.cpp

Revert "[BasicBlockUtils] Fix dominator tree update for entry block in splitBlockBefore() (#178895)" (#179373)

This reverts commit ad8d5349d46734826aaeae4a2ebdc6f427a5bad8.

LLVM Buildbot detected a failure,
https://lab.llvm.org/buildbot/#/builders/210/builds/8229
DeltaFile
+44-19llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
+0-25llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
+44-442 files

FreeBSD/src 1cd151elib/libc/gen Makefile.inc, sys/conf kmod.mk

METALOG: Order keyword entries

To facilitate comparison with mtree -C generated output, keep the
keywords ordered.

No functional change intended.

Reviewed by:    imp
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54872

(cherry picked from commit fe962e33d86f888b496b17251c8bedebf92be8ee)
DeltaFile
+3-3lib/libc/gen/Makefile.inc
+1-1usr.sbin/services_mkdb/Makefile
+1-1sys/conf/kmod.mk
+1-1sys/modules/Makefile
+6-64 files

FreeBSD/src 4fe6070lib/libc/gen Makefile.inc, share/man Makefile

METALOG: Order keyword entries

To facilitate comparison with mtree -C generated output, keep the
keywords ordered.

No functional change intended.

Reviewed by:    imp
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54872

(cherry picked from commit fe962e33d86f888b496b17251c8bedebf92be8ee)
DeltaFile
+3-3lib/libc/gen/Makefile.inc
+2-2share/man/Makefile
+1-1sys/conf/kmod.mk
+1-1sys/modules/Makefile
+1-1usr.sbin/services_mkdb/Makefile
+8-85 files

FreeBSD/src b29f674tests/sys/netpfil/pf pflog.sh

pflog: tests: Fix rdr_action_head()

Fix a typo in the rdr_action_head() test.

Fixes:          685fb4253819 ("pf: Log the intended action when a NAT rule matches a packet")
MFC after:      1 week

(cherry picked from commit 964d91ee1d7a1405383aeb4fce72c4e3bc80af35)
DeltaFile
+1-1tests/sys/netpfil/pf/pflog.sh
+1-11 files

NetBSD/pkgsrc yj6Ul6Bx11/xss-lock DESCR

   xss-lock: update DESCR
VersionDeltaFile
1.2+2-1x11/xss-lock/DESCR
+2-11 files

NetBSD/pkgsrc s900KFwx11/lxqt-panel Makefile distinfo, x11/lxqt-panel/patches patch-panel_CMakeLists.txt

   lxqt-panel: drop a linker workaround that's no longer required
VersionDeltaFile
1.6+1-14x11/lxqt-panel/patches/patch-panel_CMakeLists.txt
1.71+2-2x11/lxqt-panel/Makefile
1.24+2-2x11/lxqt-panel/distinfo
+5-183 files

LLVM/project 79fcfcellvm/include/llvm/CodeGen TargetLowering.h

[CodeGen] Remove legacy getTgtMemIntrinsic overload

It is now fully unused.

commit-id:028dd72d
DeltaFile
+1-19llvm/include/llvm/CodeGen/TargetLowering.h
+1-191 files

LLVM/project 8050acellvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU waitcnt-unscoped.ll llvm.amdgcn.load.to.lds.ll

[AMDGPU] Return two MMOs for load-to-lds and store-from-lds intrinsics

Accurately represent both the load and the store part of those
intrinsics.

The test changes seem to be mostly fairly insignificant changes caused by
subtly different scheduler behavior.

commit-id:0269189c
DeltaFile
+59-51llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+3-4llvm/test/CodeGen/AMDGPU/waitcnt-unscoped.ll
+2-4llvm/test/CodeGen/AMDGPU/llvm.amdgcn.load.to.lds.ll
+2-4llvm/test/CodeGen/AMDGPU/memory-legalizer-lds-dma-volatile-and-nontemporal.ll
+66-634 files

LLVM/project 611f22dllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU BUILD.gn

[gn build] Port 5cc4b05380ae
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
+1-01 files

FreeBSD/ports 08813casysutils/qdirstat Makefile distinfo

sysutils/qdirstat: Update to 2.0
DeltaFile
+9-8sysutils/qdirstat/Makefile
+3-3sysutils/qdirstat/distinfo
+1-0sysutils/qdirstat/pkg-plist
+13-113 files

LLVM/project 5cc4b05llvm/lib/Target/AMDGPU AMDGPUHazardLatency.cpp AMDGPUHazardLatency.h, llvm/test/CodeGen/AMDGPU gfx11-sgpr-hazard-latency.mir atomic_optimizations_local_pointer.ll

[AMDGPU] Add scheduling DAG mutation for hazard latencies (#170075)

Improve waitcnt merging in ML kernel loops by increasing latencies on
VALU writes to SGPRs.
Specifically this helps with the case of V_CMP output feeding V_CNDMASK
instructions.
DeltaFile
+169-0llvm/test/CodeGen/AMDGPU/gfx11-sgpr-hazard-latency.mir
+45-51llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
+40-39llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
+77-0llvm/lib/Target/AMDGPU/AMDGPUHazardLatency.cpp
+24-0llvm/lib/Target/AMDGPU/AMDGPUHazardLatency.h
+8-12llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
+363-1024 files not shown
+372-10610 files

FreeBSD/src 052a791sys/dev/acpica acpi.c

acpi: add Darwin OSI quirk for Apple Mac hardware

Mac firmware hides the Intel integrated GPU (iGPU) on dual GPU x86
systems, i.e., with AMD/NVIDIA dGPUs, when the Darwin OSI is not
installed via ACPI.

Prior to this change, FreeBSD always used the dGPU. This is fine in
practice, but consumed more power than when the iGPU is used,
resulting in reduced battery life.

Linux handles this in `drivers/acpi/osi.c` by detecting Apple
hardware via DMI, disabling all Windows OSI strings, and
by explicitly installing the Darwin OSI ACPI handler. This change
applies equivalent logic to the acpi(4) driver on FreeBSD.

This feature can be enabled/disabled using the
`hw.acpi.apple_darwin_osi` tunable. Setting this tunable to `0`
restores the previous behavior by explicitly disabling the added
support.

    [3 lines not shown]
DeltaFile
+72-0sys/dev/acpica/acpi.c
+72-01 files

LLVM/project 6f0b873llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/lib/Target/AMDGPU SIISelLowering.cpp

[CodeGen] Refactor targets to override the new getTgtMemIntrinsic overload (NFC) (#175844)

This is a fairly mechanical change. Instead of returning true/false,
we either keep the Infos vector empty or push one entry.
DeltaFile
+113-60llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+78-59llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+40-21llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+36-22llvm/lib/Target/ARM/ARMISelLowering.cpp
+36-22llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+26-18llvm/lib/Target/X86/X86ISelLowering.cpp
+329-20216 files not shown
+411-27522 files

LLVM/project ad8d534llvm/lib/Transforms/Utils BasicBlockUtils.cpp, llvm/unittests/Transforms/Utils BasicBlockUtilsTest.cpp

[BasicBlockUtils] Fix dominator tree update for entry block in splitBlockBefore() (#178895)

06dfbb50d70eea4ae38d655842626a0b9b224d5c fixed dominator update for
entry block in `SplitBlockPredecessors()`, this patch fixes dominator
tree update for entry block in `splitBlockBefore()` with
`UpdateAnalysisInformation()`.
DeltaFile
+19-44llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
+25-0llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
+44-442 files

LLVM/project 7ba94c2compiler-rt/lib/sanitizer_common sanitizer_posix_libcdep.cpp

[compiler-rt][common] Don't unmap stacks not mapped by the runtime

When the sanitizer hasn't mapped the alternate signal stack, but the
host program has (like LLVM), the runtime still tries to unilaterally
unmap the alternate stack. Instead, the runtime should just check if
it's actually mmaped the alternate stack, and only unmap it if it has.
DeltaFile
+8-1compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
+8-11 files

HardenedBSD/src e78ac23contrib/less less.nro screen.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,013-472contrib/less/less.nro
+337-149contrib/less/screen.c
+215-142contrib/less/lesskey.nro
+106-50contrib/less/mark.c
+80-56contrib/less/cmdbuf.c
+69-67contrib/less/option.c
+1,820-93660 files not shown
+2,818-1,48166 files

HardenedBSD/src 8caf27dcrypto/heimdal/kdc mit_dump.c, sys/dev/iicbus iicbb.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+4-3sys/dev/iicbus/iicbb.c
+1-1crypto/heimdal/kdc/mit_dump.c
+5-42 files

FreeBSD/ports be88687security/nmap Makefile pkg-plist, security/nmap/files patch-configure patch-libdnet-stripped_configure

security/nmap: Update to 7.98
DeltaFile
+46-10security/nmap/files/patch-configure
+17-17security/nmap/files/patch-libdnet-stripped_configure
+7-7security/nmap/files/patch-libdnet-stripped_src_eth-bsd.c
+0-14security/nmap/files/patch-libssh2_src_openssl.h
+10-3security/nmap/Makefile
+8-1security/nmap/pkg-plist
+88-523 files not shown
+99-649 files

FreeBSD/ports 51ce0absecurity/nmap-devel Makefile, security/nmap-devel/files patch-configure patch-libdnet-stripped_configure

security/nmap-devel: Sync patches and build configs with security/nmap
DeltaFile
+56-0security/nmap-devel/files/patch-configure
+17-3security/nmap-devel/files/patch-libdnet-stripped_configure
+11-0security/nmap-devel/files/patch-libdnet-stripped_src_eth-bsd.c
+6-2security/nmap-devel/Makefile
+4-3security/nmap-devel/files/patch-libpcap_Makefile.in
+3-3security/nmap-devel/files/patch-libdnet-stripped_src_intf.c
+97-116 files

HardenedBSD/ports d18b349comms/py-streamdeck distinfo, devel/py-spin Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+31-31devel/py-ty/distinfo
+15-15devel/py-ty/Makefile.crates
+23-0devel/py-spin/Makefile
+20-0devel/py-yamllint/files/patch-pyproject.toml
+3-3emulators/86Box/distinfo
+3-3comms/py-streamdeck/distinfo
+95-5214 files not shown
+122-7120 files

LLVM/project a084def.github renovate.json

[Github] Try changing package name

To see if this actually captures the python upgrades within that file.
The previous commit did not fix the issue.
DeltaFile
+1-1.github/renovate.json
+1-11 files