pkgng/pkgng a320119 — libpkg triggers.c

triggers: drop the leftover srand()
DeltaFile
+0-4libpkg/triggers.c
+0-41 files

FreeBSD/src 43bbd71 — sys/dev/sound/pci/hda hdaa.c

snd_hda: wake display audio and restore amplifier settings

An Intel display-audio codec was observed to remain in D3 after monitor
sleep on DragonFly BSD. Starting a new stream then produced no sound,
and waking the codec alone left the output pin amplifier muted and other
function configuration unrestored.

Read the audio function power state at stream start. If its requested or
actual state is not D0, use the existing power-up routine before
configuring and starting the stream, then restore the function to a
known state:

Restore selectors, pins, EAPD, GPIO/GPO and direct codec patches, then
replay the cached gain and mute values once the pins are configured.
Split widget configuration out of hdaa_audio_commit() into
hdaa_audio_widget_commit() so the wake path can reuse it without
reinitializing the cached amplifier values. Preserve the existing
volume, mute and forced-mute values.


    [35 lines not shown]
DeltaFile
+67-5sys/dev/sound/pci/hda/hdaa.c
+67-51 files

FreeBSD/src 56b4e68 — sys/sys linker_set.h, tools/build/cross-build/include/mac/sys linker_set.h

linker_set: Remove obsolete macros

Removed ABS_SET, BSS_SET, and SET_ENTRY. They were initially
introduced in v1.1 to be used with a.out file. After the migration
to ELFs they are equivalent to TEXT_SET and DATA_SET.
Furthermore, these macros are never used in the src tree.

Event: Oslo Hackathon 2026
Reviewed by:    des, jhb
Differential Revision:  https://reviews.freebsd.org/D61035
DeltaFile
+0-3tools/build/cross-build/include/mac/sys/linker_set.h
+0-3sys/sys/linker_set.h
+0-62 files

LLVM/project 9b94c48 — mlir/include/mlir/IR EnumAttr.td, mlir/test/IR attribute.mlir enum-attr-roundtrip.mlir

[mlir][ODS] Allow a space-only separator for bit enums (#237149)

Bit enums required a separator containing `|` or `,`, so a flag set
could not be written as bare keywords like LLVM IR's `nuw nsw`, and
dialects wanting that syntax (e.g. ClangIR overflow flags) had to
hand-write an `EnumProp` parser and printer. This allows `separator = "
"` on new-style `BitEnum`s: the generated `FieldParser` reads case
keywords until the next token is not one, symbolize splits on spaces,
and the op-format `enum` directive parses the same way. Like the
existing check for a separator literal, the format verifier rejects a
case literal written right after such an enum, since the parser would
take it as another case. The `BitEnumBase` assert now requires `|`, `,`,
or a space `" "`, where `|` and `,` may be space-padded, so separators
like `"||"` are rejected; legacy `BitEnumAttr` still requires `|` or
`,`. Builds on llvm/llvm-project#237962, which adds the `EnumInfo`
separator accessors.

Assisted-by: Claude Code (Claude Opus 5.5).
DeltaFile
+40-2mlir/tools/mlir-tblgen/EnumsGen.cpp
+30-7mlir/tools/mlir-tblgen/OpFormatGen.cpp
+24-0mlir/test/IR/enum-attr-roundtrip.mlir
+23-0mlir/test/IR/attribute.mlir
+13-8mlir/include/mlir/IR/EnumAttr.td
+20-0mlir/test/mlir-tblgen/enums-gen.td
+150-177 files not shown
+223-2313 files

OPNSense/core cc49667 — src/etc rc.reboot rc.halt, src/etc/inc system.inc

system: simplify rc.halt and rc.reboot and use it during firmware upgrades as well

Run stop through our /etc/rc.shutdown hook and use the RC scripts everywhere.

Related to: https://forum.opnsense.org/index.php?topic=53287.0
DeltaFile
+1-5src/etc/inc/system.inc
+2-4src/etc/rc.halt
+2-3src/etc/rc.reboot
+1-1src/etc/rc.syshook.d/early/05-upgrade
+6-134 files

FreeBSD/src 78aab3f — lib/libarchive config_freebsd.h

libarchive: update config_freebsd.h

Fixes: use of external filter programs, tests
MFC after: together with 61c70dc16

(cherry picked from commit d48b93e5e97593b3052684abf3e043a3a1c7822f)
DeltaFile
+4-0lib/libarchive/config_freebsd.h
+4-01 files

FreeBSD/src ad4d9c1 — contrib/libarchive/libarchive archive_read_support_format_iso9660.c archive_read.c, contrib/libarchive/libarchive/test test_read_format_zip_streamable_skip.c test_archive_write_close_callback.c

libarchive: merge from vendor branch

libarchive 3.8.11

ChangeLog:
https://github.com/libarchive/libarchive/compare/v3.8.10...v3.8.11

Obtained from:  libarchive
Vendor commit:  03036ffa409a2aa1c5bbad35be2202641a040fda
MFC after:      3 days

(cherry picked from commit 322d4227521380a61850b3d4f2ebd2b42343a254)
DeltaFile
+170-0contrib/libarchive/libarchive/test/test_write_format_pax_mac_meta.c
+65-98contrib/libarchive/tar/creation_set.c
+98-48contrib/libarchive/libarchive/archive_read.c
+106-0contrib/libarchive/libarchive/test/test_archive_write_close_callback.c
+60-43contrib/libarchive/libarchive/archive_read_support_format_iso9660.c
+99-0contrib/libarchive/libarchive/test/test_read_format_zip_streamable_skip.c
+598-18988 files not shown
+2,556-46994 files

FreeBSD/src a114843 — contrib/libarchive/libarchive archive_read_support_format_rar5.c archive_read.c, contrib/libarchive/libarchive/test test_read_format_7zip.c test_read_format_7zip_deflate_arm64_large.7z.uu

libarchive: merge from vendor branch

libarchive 3.8.10

ChangeLog:
https://github.com/libarchive/libarchive/compare/v3.8.9...v3.8.10

Obtained from:  libarchive
Vendor commit:  0c48412be2d94afe1859a807ea7896a18d8900bd
MFC after:      3 days

(cherry picked from commit 61c70dc16a79efcb9db732d37706cd311f555d9a)
DeltaFile
+1,580-0contrib/libarchive/libarchive/test/test_read_format_7zip_deflate_arm64_large.7z.uu
+556-132contrib/libarchive/libarchive/archive_read_support_format_7zip.c
+521-3contrib/libarchive/libarchive/test/test_read_format_7zip.c
+186-324contrib/libarchive/libarchive/archive_read_support_filter_uu.c
+269-234contrib/libarchive/libarchive/archive_read.c
+339-150contrib/libarchive/libarchive/archive_read_support_format_rar5.c
+3,451-843284 files not shown
+14,057-2,764290 files

LLVM/project 443782f — llvm/lib/Transforms/Utils ControlFlowUtils.cpp, llvm/test/Transforms/FixIrreducible basic.ll undef-phis.ll

[ControlFlowHub] Keep the incoming value of a redirected self-loop (#237903)

When reconnectPhis moves a PHI entry for a self-loop of Out (BB == Out)
into the new PHI in the guard block, it replaced the incoming value with
the new PHI itself. That is only right if the incoming value is the
original PHI, and that case is already handled: if the original PHI ends
up with no operands it is replaced by the new PHI everywhere, including
in the new PHI's own operand. Any other value, such as the next value
of an induction variable, was lost.

Keep the incoming value instead. This special case goes back to the
original UnifyLoopExits code, where BB == Out cannot happen.
FixIrreducible
reaches it when the header of an irreducible cycle has a self-loop.

In FixIrreducible/basic.ll the value along the self-loop is now the
input's own undef. In FixIrreducible/undef-phis.ll all the moved values
are now undef, so the PHI is replaced by undef (not poison, after
#237407).

    [3 lines not shown]
DeltaFile
+137-0llvm/test/Transforms/FixIrreducible/phi-self-loop.ll
+4-6llvm/lib/Transforms/Utils/ControlFlowUtils.cpp
+1-2llvm/test/Transforms/FixIrreducible/undef-phis.ll
+1-1llvm/test/Transforms/FixIrreducible/basic.ll
+143-94 files

LLVM/project 26ff0e1 — flang/include/flang/Evaluate tools.h, flang/lib/Evaluate fold-logical.cpp

[Flang][NFC] Remove trivial uses of SearchTypes (#238479)

Second cleanup after #216960

Some uses of `evaluate::SearchTypes` only use for a single TypeCategory.
With KIND not a template parameter anymore and uses only single static
TypeCategory, the visitor code does not need to be polymorphic anymore.
Most of these only look for a specific known-in-advance KIND, such that
we don't even need to loop over all kinds.

For the remaining uses I had the idea to turn `SearchTypes` into a
function that takes a polymorphic lambda. However, some visitor classes
such as `LocationHelper` and `AsConstantHelper` contain more methods
than just the callback method which diminishes the advantage over the
additional change churn.

Change applied using AI
DeltaFile
+40-78flang/lib/Evaluate/fold-logical.cpp
+6-43flang/include/flang/Evaluate/tools.h
+7-30flang/lib/Semantics/expression.cpp
+9-22flang/lib/Semantics/check-case.cpp
+62-1734 files

LLVM/project 98178cd — llvm/test/CodeGen/LoongArch/lasx vec-sext-invec-mask.ll build-vector.ll, llvm/test/CodeGen/LoongArch/lsx scalar-load-to-vector.ll vec-sext.ll

[LoongArch] Load scalars into vector lane 0 with FLD/VLDREPL

Inserting a loaded integer into lane 0 of an undefined vector, which is
also how sub-128-bit vector loads are legalized, was lowered to a scalar
load plus [X]VINSGR2VR. VINSGR2VR merges into its destination, so it
carries a false dependency on the previous value of that register, and
it needs a GPR-to-vector move.

Use FLD.{S/D} for 32/64-bit elements and [X]VLDREPL.{B/H} for 8/16-bit
elements instead. They write the whole register in one instruction.

When the register allocator reuses one vector register for several such
loads, the false dependency serializes otherwise independent chains. In
the GSM autocorrelation loop (9 x i64 multiply-accumulate over i16 taps)
on LA664:

  VF2: 0.953s -> 0.724s
  VF4: 1.446s -> 0.856s
DeltaFile
+76-80llvm/test/CodeGen/LoongArch/lasx/build-vector.ll
+32-50llvm/test/CodeGen/LoongArch/lsx/vec-sext.ll
+33-41llvm/test/CodeGen/LoongArch/lsx/scalar-load-to-vector.ll
+30-36llvm/test/CodeGen/LoongArch/lsx/ir-instruction/uitofp.ll
+28-32llvm/test/CodeGen/LoongArch/lsx/ir-instruction/sitofp.ll
+20-32llvm/test/CodeGen/LoongArch/lasx/vec-sext-invec-mask.ll
+219-27121 files not shown
+521-67427 files

LLVM/project ca4a922 — clang/test/Profile c-mcdc-not.c c-mcdc-nested-ternary.c

[Clang] Use fixed triple for more Profile tests (NFC) (#239186)

The index type size will differ between 32-bit and 64-bit platforms,
producing slightly different IR. Use a fixed 64-bit triple to
keep output consistent.
DeltaFile
+3-3clang/test/Profile/c-mcdc.c
+2-2clang/test/Profile/c-mcdc-not.c
+2-2clang/test/Profile/c-mcdc-nested-ternary.c
+2-2clang/test/Profile/c-mcdc-logicalop-ternary.c
+2-2clang/test/Profile/c-mcdc-class.cpp
+11-115 files

HardenedBSD/src 9f15c88 — sys/dev/sound/pci envy24ht.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+11-22sys/dev/sound/pci/envy24ht.c
+11-221 files

LLVM/project 09c7da1 — llvm/test/CodeGen/LoongArch/lasx scalar-load-to-vector.ll, llvm/test/CodeGen/LoongArch/lsx scalar-load-to-vector.ll

[LoongArch][NFC] Pre-commit tests for loading a scalar into a vector
DeltaFile
+237-0llvm/test/CodeGen/LoongArch/lsx/scalar-load-to-vector.ll
+137-0llvm/test/CodeGen/LoongArch/lasx/scalar-load-to-vector.ll
+374-02 files

HardenedBSD/src 31722be — sys/dev/sound/pci envy24ht.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+11-22sys/dev/sound/pci/envy24ht.c
+11-221 files

HardenedBSD/src d96e806 — lib/libc/string memset.3, sys/netpfil/ipfw ip_fw_table_algo.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+3-2lib/libc/string/memset.3
+1-1sys/netpfil/ipfw/ip_fw_table_algo.c
+4-32 files

HardenedBSD/ports 669c38f — x11-toolkits/plasma6lts-kdeplasma-addons pkg-plist, x11-wm/plasma6-kwin-x11 pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+6,137-0x11/plasma6lts-plasma-workspace/pkg-plist
+4,101-0x11/plasma6lts-plasma-desktop/pkg-plist
+2,080-0x11-toolkits/plasma6lts-kdeplasma-addons/pkg-plist
+1,743-0x11-wm/plasma6lts-kwin/pkg-plist
+0-1,528x11-wm/plasma6-kwin-x11/pkg-plist
+1,526-0x11-wm/plasma6lts-kwin-x11/pkg-plist
+15,587-1,528352 files not shown
+29,872-2,585358 files

OPNSense/core 8810f02 — src/etc rc.reboot rc.halt, src/etc/inc system.inc

system: simplify rc.halt and rc.reboot and use it during firmware upgrades as well

Run stop through our /etc/rc.shutdown hook and use the RC scripts everywhere.

Related to: https://forum.opnsense.org/index.php?topic=53287.0
DeltaFile
+1-5src/etc/inc/system.inc
+1-4src/etc/rc.halt
+1-3src/etc/rc.reboot
+1-1src/etc/rc.syshook.d/early/05-upgrade
+4-134 files

LLVM/project 3582495 — clang/lib/CIR/Lowering CIRPasses.cpp, clang/test/CIR/CodeGen call-conv-lowering-amdgpu-cxx-records.cpp call-conv-lowering-amdgpu-return-types.c

[CIR] Enable CallConvLowering for AMDGPU triples
DeltaFile
+165-0clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-arg-types.c
+158-0clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-return-types.c
+137-0clang/test/CIR/CodeGenHIP/call-conv-lowering-amdgpu-kernel-args.hip
+74-0clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-cxx-records.cpp
+4-4clang/test/CIR/CodeGenHIP/cleanup-alloca-addrspace.hip
+4-2clang/lib/CIR/Lowering/CIRPasses.cpp
+542-61 files not shown
+544-87 files

HardenedBSD/ports a16a6c7 — x11-wm/theseus-ship Makefile

x11-wm/theseus-ship: Deprecate

Depends on broken x11-toolkits/como

PR:             300186
DeltaFile
+3-0x11-wm/theseus-ship/Makefile
+3-01 files

FreeBSD/ports a16a6c7 — x11-wm/theseus-ship Makefile

x11-wm/theseus-ship: Deprecate

Depends on broken x11-toolkits/como

PR:             300186
DeltaFile
+3-0x11-wm/theseus-ship/Makefile
+3-01 files

FreeBSD/ports 5e5d5bf — x11-toolkits/como Makefile

x11-toolkits/como: Make as BROKEN and deprecate

Does not support KDE Plasma 6.8

PR:             300186
DeltaFile
+4-0x11-toolkits/como/Makefile
+4-01 files

HardenedBSD/ports 5e5d5bf — x11-toolkits/como Makefile

x11-toolkits/como: Make as BROKEN and deprecate

Does not support KDE Plasma 6.8

PR:             300186
DeltaFile
+4-0x11-toolkits/como/Makefile
+4-01 files

pkgng/pkgng 31bc16f — libpkg pkg_add.c triggers.c, libpkg/private utils.h

utils: build random names without the shared rand() state
DeltaFile
+33-9libpkg/utils.c
+2-9libpkg/triggers.c
+0-4libpkg/pkg_add.c
+1-0libpkg/private/utils.h
+36-224 files

pkgng/pkgng f222e66 — libpkg dns_utils.c

ldns: do not share a resolver between SRV lookups (thread safety)
DeltaFile
+44-9libpkg/dns_utils.c
+44-91 files

pkgng/pkgng 48269e3 — libpkg pkg_sandbox.c

sandbox: prefer getpwnam_r()
DeltaFile
+4-3libpkg/pkg_sandbox.c
+4-31 files

pkgng/pkgng 6904115 — libpkg pkg_cpe.c pkg_osvf.c

cpe, osvf: use strtok_r() instead of strtok()
DeltaFile
+5-2libpkg/pkg_osvf.c
+3-2libpkg/pkg_cpe.c
+8-42 files

LLVM/project aa607d7 — llvm/lib/Analysis ValueTracking.cpp InstructionSimplify.cpp, llvm/test/Transforms/InstSimplify ldexp.ll

[InstSimplify] Fix poison propagation for ldexp (#239135)
DeltaFile
+12-4llvm/test/Transforms/InstSimplify/ldexp.ll
+0-5llvm/lib/Analysis/InstructionSimplify.cpp
+2-0llvm/lib/Analysis/ValueTracking.cpp
+14-93 files

LLVM/project 7d21367 — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt pkey_free.h, libc/src/sys/mman/linux CMakeLists.txt pkey_free.cpp

[libc] Use a syscall wrapper for pkey_free

This PR move pkey_free behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+39-0libc/src/__support/OSUtil/linux/syscall_wrappers/pkey_free.h
+10-13libc/src/sys/mman/linux/pkey_free.cpp
+17-2utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+13-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+4-3libc/src/sys/mman/linux/CMakeLists.txt
+83-185 files

LLVM/project 51f9073 — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt pkey_alloc.h, libc/src/sys/mman/linux CMakeLists.txt pkey_alloc.cpp

[libc] Use a syscall wrapper for pkey_alloc

This PR move pkey_alloc behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+40-0libc/src/__support/OSUtil/linux/syscall_wrappers/pkey_alloc.h
+11-15libc/src/sys/mman/linux/pkey_alloc.cpp
+17-2utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+13-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+4-3libc/src/sys/mman/linux/CMakeLists.txt
+85-205 files