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

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

LLVM/project 25ae460.github/workflows commit-access-review.yml

workflows/commit-access-review: Use a GitHub App access token instead of llvmbot

This replaces the use of an access token associated with the llvmbot
account with one that is generated by a GitHub App.  This is slightly
better, because it eliminates the need to periodically rotate the
llvmbot tokens, which is difficult to do, since it requires sharing
a password and 2fa code among all the admins.

The tokens generated by the app automatically expire after an hour, and
the private key that is used to request it can be easily rotated by
an LLVM Organization owner.  Also, since a single private key can
be used to generate many tokens, there is only one secret to rotate
instead of many.
DeltaFile
+11-1.github/workflows/commit-access-review.yml
+11-11 files

LLVM/project 478b9a3.github/workflows commit-access-review.yml

Update permissions
DeltaFile
+2-0.github/workflows/commit-access-review.yml
+2-01 files

LLVM/project b9b9cfe.github/workflows commit-access-review.yml

Some cleanups
DeltaFile
+1-1.github/workflows/commit-access-review.yml
+1-11 files

LLVM/project 79ad091llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine fneg.ll

[InstCombine] Preserve fdiv metadata on fneg folds (#179157)

Copy metadata from the original fdiv when folding fneg into fdiv or
hoisting fneg above fdiv. This keeps !fpmath (and other metadata)
intact, preventing !fpmath loss seen in libclc tanpi function. fneg only
flips sign bit, so it does not affect precision.
DeltaFile
+33-0llvm/test/Transforms/InstCombine/fneg.ll
+11-4llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+44-42 files

LLVM/project 388bd13.github/workflows commit-access-review.yml

Add uses
DeltaFile
+1-0.github/workflows/commit-access-review.yml
+1-01 files

LLVM/project 234736aclang-tools-extra/docs/clang-tidy/checks list.rst, clang-tools-extra/docs/clang-tidy/checks/cert dcl58-cpp.rst env33-c.rst

[clang-tidy][NFC] Fix incorrect `list.rst` modification by `add_new_check.py` (#179297)

We have observed unexpected and extensive modifications to `list.rst` in
a few Pull Requests. After some investigation I found that
`add_new_check.py` was misclassifying existing checks, leading to
instability in the generated documentation list.

More specifically:
- The script relies on `http-equiv=refresh` meta tags to identify alias
checks, which is missing in several existing checks, causing them to be
incorrectly listed as regular checks.
- The script fails to detect fix-its in checks that use CamelCase helper
methods.

With this patch, running `add_new_check.py` now generates a stable and
correct `list.rst` consistent with the actual codebase state.
DeltaFile
+2-6clang-tools-extra/docs/clang-tidy/checks/list.rst
+2-0clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.rst
+2-0clang-tools-extra/docs/clang-tidy/checks/cert/dcl58-cpp.rst
+2-0clang-tools-extra/docs/clang-tidy/checks/cert/env33-c.rst
+2-0clang-tools-extra/docs/clang-tidy/checks/cert/err52-cpp.rst
+2-0clang-tools-extra/docs/clang-tidy/checks/cert/flp30-c.rst
+12-64 files not shown
+18-710 files

LLVM/project 5f7e5e5llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/MC/AMDGPU gfx8_asm_vop3.s gfx7_asm_vop3.s

Address review comments

Created using spr 1.3.6-beta.1
DeltaFile
+121,423-138,333llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+43,323-44,825llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+42,349-42,348llvm/test/MC/AMDGPU/gfx8_asm_vop3.s
+41,419-41,418llvm/test/MC/AMDGPU/gfx7_asm_vop3.s
+36,428-36,427llvm/test/MC/AMDGPU/gfx9_asm_vop3.s
+28,175-28,174llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
+313,117-331,52512,458 files not shown
+2,497,968-1,797,95512,464 files

LLVM/project 398c8callvm/lib/CodeGen/SelectionDAG ScheduleDAGSDNodes.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+7-1llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
+7-11 files