pkgng/pkgng f2c8cf4libpkg pkg_abi.c

pkg_abi.c: simplify os_string_table

Make it an array with pkg_os indexes eliminating the need to search for
the pkg_os and returning the index when searching by string.
DeltaFile
+12-17libpkg/pkg_abi.c
+12-171 files

pkgng/pkgng 3adfda1libpkg pkg_abi.c

pkg_abi.c: mostly centralize OS bits

Convert os_string_table into an OS table with things previously handled
by functions with case statements.  This should be must more downstream
friendly.
DeltaFile
+18-55libpkg/pkg_abi.c
+18-551 files

pkgng/pkgng d6a674flibpkg pkg_abi.c

pkg_abi.c: simplify arch_string_table

Make it an array with pkg_arch indexes eliminating the need to search
for the pkg_arch and returning the index when searching by string.
DeltaFile
+17-23libpkg/pkg_abi.c
+17-231 files

pkgng/pkgng c0d9d70libpkg pkg_abi.c

pkg_abi.c: tidy arch_trans definition

One per line with blank lines between groups.  Remove trite comments.
DeltaFile
+29-15libpkg/pkg_abi.c
+29-151 files

pkgng/pkgng 936c518libpkg pkg_abi.c

pkg_abi.c: simplify architecture translation

Use the array size instead of a NULL sentinal to terminate iteration.
Remove the named type since we're only using the array twice in a single
loop.
DeltaFile
+9-11libpkg/pkg_abi.c
+9-111 files

LLVM/project 3ecf872clang/lib/Format Format.cpp, clang/unittests/Format FormatTest.cpp

[clang-format] Detect language for file templates (#191502)

Fixes #191295.
DeltaFile
+9-1clang/lib/Format/Format.cpp
+4-0clang/unittests/Format/FormatTest.cpp
+13-12 files

Linux/linux 1f5ffc6include/linux irq-entry-common.h

Fix mismerge of the arm64 / timer-core interrupt handling changes

Commit c43267e6794a ("Merge tag 'arm64-upstream' of git://...") had a
conflict in the irq entry/exit code due to commit c5538d0141b3 ("entry:
Split kernel mode logic from irqentry_{enter,exit}()") having moved the
core code in irqentry_enter/exit() from kernel/entry/common.c into
helper inline functions in include/linux/irq-entry-common.h.

On the other side of the merge, the timer-core code had introduced
deferred hrtimer rearming infrastructure in commit 0e98eb14814e ("entry:
Prepare for deferred hrtimer rearming"), adding two calls to
hrtimer_rearm_deferred() in irqentry_enter().

When merging the two, moving the two calls to the new location wasn't a
problem, but afterwards I had made the mistake of looking what had
happened in linux-next.  And linux-next had a very different merge
resolution in commit 04f02dc3ea74 ("Merge tag 'entry-for-arm64-26-04-08'
into sched/hrtick"), which had unified the two calls into one single
call-site in irqentry_exit_to_kernel_mode_preempt().

    [19 lines not shown]
DeltaFile
+2-2include/linux/irq-entry-common.h
+2-21 files

HardenedBSD/src 20f8a79lib/libifconfig libifconfig_sfp.c sfp.lua, share/examples/sound mmap.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+450-0sys/net/cmis.h
+297-0share/examples/sound/mmap.c
+240-47sys/dev/asmc/asmc.c
+241-0tests/sys/cam/ctl/opcodes.sh
+227-1lib/libifconfig/libifconfig_sfp.c
+120-0lib/libifconfig/sfp.lua
+1,575-4843 files not shown
+2,063-19049 files

HardenedBSD/src 6a86eeashare/man/man4 asmc.4, sys/dev/asmc asmc.c asmcvar.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+240-47sys/dev/asmc/asmc.c
+29-0share/man/man4/asmc.4
+19-0sys/dev/asmc/asmcvar.h
+288-473 files

HardenedBSD/src 92a1aaclib/msun/aarch64 fenv.c fenv.h, lib/msun/arm Makefile.inc

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+18-0lib/msun/aarch64/fenv.c
+9-5lib/msun/aarch64/fenv.h
+10-0lib/msun/aarch64/Symbol.map
+0-1lib/msun/arm/Makefile.inc
+0-1lib/msun/i387/Makefile.inc
+0-1lib/msun/powerpc/Makefile.inc
+37-83 files not shown
+38-109 files

HardenedBSD/ports 4955ea7Mk/Uses python.mk, security/netbird distinfo Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+24-0sysutils/unixexec/Makefile
+5-5security/netbird/distinfo
+4-0sysutils/unixexec/pkg-descr
+4-0Mk/Uses/python.mk
+1-2security/netbird/Makefile
+3-0sysutils/unixexec/distinfo
+41-71 files not shown
+42-77 files

OpenBSD/ports ZMt31VLsecurity/nss distinfo Makefile

   security/nss: update to 3.122.1, will be required for firefox 150

   see https://hg-edge.mozilla.org/projects/nss/raw-file/tip/doc/rst/releases/nss_3_122_1.rst
VersionDeltaFile
1.170+2-2security/nss/distinfo
1.211+1-1security/nss/Makefile
+3-32 files

LLVM/project 73c7a61clang/lib/Driver/ToolChains Hexagon.cpp, clang/test/Driver hexagon-toolchain-linux.c hexagon-toolchain-elf.c

[Hexagon] Add LTO options to Hexagon driver link args (#191336)

The Hexagon driver's constructHexagonLinkArgs() was not calling
addLTOOptions(). This meant that LTO plugin options weren't forwarded to
the linker.

This caused a crash when using ThinLTO with -fenable-matrix on
llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:
LowerMatrixIntrinsicsPass did not run in the LTO backend because
-enable-matrix was not forwarded via -plugin-opt.

Add the addLTOOptions() call to both the musl and bare-metal code paths
in constructHexagonLinkArgs().
DeltaFile
+13-0clang/test/Driver/hexagon-toolchain-linux.c
+12-0clang/test/Driver/hexagon-toolchain-elf.c
+8-0clang/lib/Driver/ToolChains/Hexagon.cpp
+33-03 files

NetBSD/src fBzYQHztests/usr.bin/xlint/lint1 t_integration.sh

   tests/lint: increase test timeout for pmax

   The lint1 test timed out after 300 seconds, reaching msg_333. 400
   seconds should be enough to reach all test cases.
VersionDeltaFile
1.87+2-2tests/usr.bin/xlint/lint1/t_integration.sh
+2-21 files

OPNSense/core 78856fdsrc/etc/inc console.inc

console: add a missing newline after waiting prompt
DeltaFile
+1-0src/etc/inc/console.inc
+1-01 files

NetBSD/src mR7SR5Nsys/arch/arm/arm ast.c

   Remove code that is (now) unnecessary - we should always have an active
   TTBR0
VersionDeltaFile
1.33+4-16sys/arch/arm/arm/ast.c
+4-161 files

LLVM/project 4b2030fllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.fsub.ll llvm.amdgcn.reduce.fadd.ll

[AMDGPU] DPP wave reduction for double types - 2

Supported Ops: `fadd` and `fsub`
DeltaFile
+1,030-130llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fsub.ll
+1,008-130llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fadd.ll
+12-10llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2,050-2703 files

LLVM/project f03f6b8llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.fmin.ll llvm.amdgcn.reduce.fmax.ll

[AMDGPU] DPP wave reduction for double types - 1

Supported Ops: `fmin` and `fmax`
DeltaFile
+1,112-234llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fmin.ll
+1,112-234llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.fmax.ll
+27-13llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2,251-4813 files

LLVM/project aae5ff8llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.reduce.xor.ll llvm.amdgcn.reduce.and.ll

[AMDGPU] DPP wave reduction for long types - 3

Supported Ops: `and`, `or`, `xor`
DeltaFile
+984-132llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.xor.ll
+960-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.and.ll
+960-108llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.or.ll
+12-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2,916-3494 files

LLVM/project 8c0d49dllvm/lib/Target/AMDGPU SIISelLowering.cpp

Review comments:
use input wave instruction for checks
DeltaFile
+7-7llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+7-71 files

LLVM/project c9a7d36llvm/lib/Target/AMDGPU SIISelLowering.cpp

Update review comments
DeltaFile
+5-4llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+5-41 files

FreeBSD/src 3e27114share/man/man4 asmc.4, sys/dev/asmc asmc.c asmcvar.h

asmc: add raw SMC key read/write interface

This patch adds a debugging interface to read and write arbitrary
Apple SMC keys by name through sysctl, enabling hardware exploration
 and control of undocumented features.

The interface provides four sysctls under dev.asmc.0.raw.*:
  - key - Set the 4-character SMC key name (e.g., "AUPO")
  - value - Read/write key value as a hex string
  - len - Auto-detected key value length (can be overridden)
  - type - Read-only 4-character type string (e.g., "ui8", "flt")

Implementation includes a new asmc_key_getinfo() function using SMC
command 0x13 to query key metadata. The interface automatically
detects key lengths and types, uses hex string encoding for
arbitrary binary values, and is safe for concurrent access via
CTLFLAG_NEEDGIANT.

This interface was essential for discovering that the AUPO key

    [5 lines not shown]
DeltaFile
+240-47sys/dev/asmc/asmc.c
+29-0share/man/man4/asmc.4
+19-0sys/dev/asmc/asmcvar.h
+288-473 files

HardenedBSD/src 3e27114share/man/man4 asmc.4, sys/dev/asmc asmc.c asmcvar.h

asmc: add raw SMC key read/write interface

This patch adds a debugging interface to read and write arbitrary
Apple SMC keys by name through sysctl, enabling hardware exploration
 and control of undocumented features.

The interface provides four sysctls under dev.asmc.0.raw.*:
  - key - Set the 4-character SMC key name (e.g., "AUPO")
  - value - Read/write key value as a hex string
  - len - Auto-detected key value length (can be overridden)
  - type - Read-only 4-character type string (e.g., "ui8", "flt")

Implementation includes a new asmc_key_getinfo() function using SMC
command 0x13 to query key metadata. The interface automatically
detects key lengths and types, uses hex string encoding for
arbitrary binary values, and is safe for concurrent access via
CTLFLAG_NEEDGIANT.

This interface was essential for discovering that the AUPO key

    [5 lines not shown]
DeltaFile
+240-47sys/dev/asmc/asmc.c
+29-0share/man/man4/asmc.4
+19-0sys/dev/asmc/asmcvar.h
+288-473 files

LLVM/project c9f09d3clang-tools-extra/clang-tidy/bugprone SignedBitwiseCheck.cpp, clang-tools-extra/clang-tidy/hicpp SignedBitwiseCheck.cpp

[clang-tidy] Rename hicpp-signed-bitwise to bugprone-signed-bitwise (#190449)

Part of https://github.com/llvm/llvm-project/issues/183462.

Closes https://github.com/llvm/llvm-project/issues/183465.

---------

Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
DeltaFile
+0-240clang-tools-extra/test/clang-tidy/checkers/hicpp/signed-bitwise.cpp
+240-0clang-tools-extra/test/clang-tidy/checkers/bugprone/signed-bitwise.cpp
+0-198clang-tools-extra/test/clang-tidy/checkers/hicpp/signed-bitwise-standard-types.cpp
+198-0clang-tools-extra/test/clang-tidy/checkers/bugprone/signed-bitwise-standard-types.cpp
+0-102clang-tools-extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp
+102-0clang-tools-extra/clang-tidy/bugprone/SignedBitwiseCheck.cpp
+540-54016 files not shown
+765-73422 files

FreeBSD/ports 81dc803Mk/Uses python.mk

python.mk: deprecate USE_PYTHON=distutils

setup.py as a command line tool is deprecated. Still a valid
configuration file for setuptools in USE_PYTHON=pep517 mode.

More information: https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
DeltaFile
+4-0Mk/Uses/python.mk
+4-01 files

HardenedBSD/ports 81dc803Mk/Uses python.mk

python.mk: deprecate USE_PYTHON=distutils

setup.py as a command line tool is deprecated. Still a valid
configuration file for setuptools in USE_PYTHON=pep517 mode.

More information: https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
DeltaFile
+4-0Mk/Uses/python.mk
+4-01 files

Linux/linux 5c0f43e. MAINTAINERS, kernel pid.c pid_namespace.c

Merge tag 'kernel-7.1-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull pid_namespace updates from Christian Brauner:

 - pid_namespace: make init creation more flexible

   Annotate ->child_reaper accesses with {READ,WRITE}_ONCE() to protect
   the unlocked readers from cpu/compiler reordering, and enforce that
   pid 1 in a pid namespace is always the first allocated pid (the
   set_tid path already required this).

   On top of that, allow opening pid_for_children before the pid
   namespace init has been created. This lets one process create the pid
   namespace and a different process create the init via setns(), which
   makes clone3(set_tid) usable in all cases evenly and is particularly
   useful to CRIU when restoring nested containers.

   A new selftest covers both the basic create-pidns-then-init flow and
   the cross-process variant, and a MAINTAINERS entry for the pid

    [12 lines not shown]
DeltaFile
+238-0tools/testing/selftests/pid_namespace/pidns_init_via_setns.c
+11-8kernel/pid.c
+9-2MAINTAINERS
+0-9kernel/pid_namespace.c
+4-1kernel/fork.c
+3-2kernel/signal.c
+265-223 files not shown
+269-249 files

LLVM/project f32f6a8llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv vp-splice-bf16.ll fixed-vectors-vp-splice-bf16.ll

[RISCV] Enable use of vfslide1up in lowerVPSpliceExperimental for bf16 vectors with Zvfbfa (#192169)
DeltaFile
+97-0llvm/test/CodeGen/RISCV/rvv/vp-splice-bf16.ll
+95-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vp-splice-bf16.ll
+7-73llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vp-splice.ll
+0-77llvm/test/CodeGen/RISCV/rvv/vp-splice.ll
+1-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+200-1515 files

LLVM/project 5f62baeflang/docs Directives.md, flang/include/flang/Support Fortran.h

[flang][cuda] Fix ignore_tkr(m) to also cover CUDA unified attribute (#192131)

The ignore_tkr(m) directive suppresses CUDA managed attribute checking
on dummy arguments, but it was not covering the unified attribute. This
caused a spurious error when passing a plain host array to a unified
dummy with ignore_tkr(m):
```
error: dummy argument 'x=' has ATTRIBUTES(UNIFIED) but its associated actual argument has no CUDA data attribute
```
Extend the IgnoreTKR::Managed check in AreCompatibleCUDADataAttrs to
accept Unified in addition to Managed and no-attribute.
DeltaFile
+12-1flang/test/Semantics/cuf10.cuf
+4-3flang/docs/Directives.md
+2-2flang/lib/Support/Fortran.cpp
+1-1flang/include/flang/Support/Fortran.h
+19-74 files

OpenBSD/src mM9nxrQsys/dev/pci/drm/i915/gt/uc intel_guc_submission.c

   init GuC TLB invalidation xarray with XA_FLAGS_LOCK_IRQ

   The xarray is used from interrupt context:

   xa_lock_irqsave
   wait_wake_outstanding_tlb_g2h
   intel_guc_tlb_invalidation_done
   ct_process_request
   ct_handle_event
   ct_handle_hxg
   ct_handle_msg
   ct_receive
   ct_try_receive_message
   intel_guc_ct_event_handler
   intel_guc_to_host_event_handler
   guc_irq_handler
   gen11_other_irq_handler
   gen11_gt_identity_handler
   gen11_gt_bank_handler

    [5 lines not shown]
VersionDeltaFile
1.28+1-1sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
+1-11 files