LLVM/project ef22f0bllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly BUILD.gn

[gn] port 9976e5702f05a40 (WebAssembly GISel)
DeltaFile
+40-0llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/BUILD.gn
+40-01 files

LLVM/project 019ecdfllvm/lib/Target/SystemZ SystemZAsmPrinter.cpp SystemZAsmPrinter.h, llvm/test/CodeGen/SystemZ zos-func-alias.ll zos-alias-unsupported.ll

[SystemZ][GOFF] Implement emitGlobalAlias for GOFF/HLASM (#180041)

HLASM has a requirement where aliasing labels need to be emitted at the
same time as the aliasee label, similar to AIX. I used their
implementation for reference with some modifications as we can only
alias functions and we must emit all symbol attributes before the label
is emitted to ensure the XATTR instruction contains the correct
attributes.

---------

Co-authored-by: Tony Tao <tonytao at ca.ibm.com>
DeltaFile
+50-0llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+17-0llvm/test/CodeGen/SystemZ/zos-func-alias.ll
+16-0llvm/test/CodeGen/SystemZ/zos-alias-unsupported.ll
+8-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
+91-44 files

LLVM/project 734eb95llvm/test/TableGen/DecoderEmitter large-islands.td, llvm/utils/TableGen DecoderEmitter.cpp

[Tablegen] Don't emit decoder tables with islands larger than 64 bits (#179651)

I have a downstream target which has 128-bit instructions where some
instructions can have large sections of encoding to be determined ahead
of time. This results in the island calculations for decoder tables to
emit checks over 64-bits.

This change will emit multiple separate checks when the island exceeds
64-bits.
DeltaFile
+38-0llvm/test/TableGen/DecoderEmitter/large-islands.td
+8-2llvm/utils/TableGen/DecoderEmitter.cpp
+46-22 files

FreeNAS/freenas bbff999src/middlewared/middlewared/plugins network.py, src/middlewared/middlewared/plugins/interface addresses.py sync.py

NAS-139666 / 26.0.0-BETA.1 / add configure_addresses_impl (#18159)

This is a replacement for the `interface.configure` method. This shifts
the remaining part of the configuration of interfaces in
`interface.sync` to `truenas_pynetif`. This has benefit of opening a
single socket for the entirety of ALL network configuration tasks. It
also removes all fork+exec's in the code path (with exception of a
dhcpd). Both single node tests
[here](http://jenkins.eng.ixsystems.net:8080/job/master/job/custom/1987/)
and
[here](http://jenkins.eng.ixsystems.net:8080/job/master/job/custom/1988/)
show no obvious signs of regressions.
DeltaFile
+219-0src/middlewared/middlewared/plugins/interface/addresses.py
+38-34src/middlewared/middlewared/plugins/network.py
+52-15src/middlewared/middlewared/plugins/interface/sync.py
+48-0src/middlewared/middlewared/plugins/interface/sync_data.py
+16-30src/middlewared/middlewared/plugins/interface/bond.py
+11-12src/middlewared/middlewared/plugins/interface/vlan.py
+384-911 files not shown
+392-1017 files

LLVM/project c0c42c4utils/bazel/llvm-project-overlay/llvm BUILD.bazel

Revert "Fix Bazel build for d005cb2" (#180271)

Reverts #180134, as the change it fixes was itself reverted in #180252
DeltaFile
+5-25utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+5-251 files

LLVM/project 4a94cddutils/bazel/llvm-project-overlay/llvm BUILD.bazel

[bazel][WebAssembly][GlobalISel] Port 9976e5702f05a4019123ee1ad2bb9a8b69ca7dcb (#180270)

Co-authored-by: Pranav Kant <prka at google.com>
DeltaFile
+36-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+36-01 files

LLVM/project 4986fc1utils/bazel/llvm-project-overlay/llvm BUILD.bazel

Revert "Fix Bazel build for d005cb2 (#180134)"

This reverts commit 6f5b84232c4ce5d724029cde25662e4968e4ec26.
DeltaFile
+5-25utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+5-251 files

NetBSD/pkgsrc-wip 0ee50b7aegisub TODO

aegisub: update TODO: does nothing on startup
DeltaFile
+2-1aegisub/TODO
+2-11 files

FreeNAS/freenas 5e77c1asrc/middlewared/middlewared/utils mount.py rootfs.py

NAS-139635 / 26.0.0-BETA.1 / A bunch of type hints for utils (#18153)

DeltaFile
+73-16src/middlewared/middlewared/utils/mount.py
+18-11src/middlewared/middlewared/utils/rootfs.py
+13-12src/middlewared/middlewared/utils/secrets.py
+7-7src/middlewared/middlewared/utils/threading.py
+6-5src/middlewared/middlewared/utils/security.py
+1-1src/middlewared/middlewared/utils/security_descriptor.py
+118-521 files not shown
+119-537 files

FreeBSD/ports 4c67574net-mgmt/check_mk_agent distinfo Makefile

net-mgmt/check_mk_agent: Update 2.3.0p16 => 2.4.0p20

Commit log:
https://github.com/Checkmk/checkmk/commits/7e6a4f8/agents/check_mk_agent.freebsd

Upstream hasn't created tags for new versions since 2.4.0p12, so we use
the hash.

PR:             292480
Approved by:    Ian Valentine <ivalentine at arizona.edu> (maintainer, timeout 3 weeks)
Co-authored-by: Lukas Engelhardt <lukas.engelhardt at gmx.de>
DeltaFile
+7-7net-mgmt/check_mk_agent/distinfo
+6-7net-mgmt/check_mk_agent/Makefile
+13-142 files

LLVM/project 638fba8llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUAsmUtils.cpp

AMDGPU: Add syntax for s_wait_event values

Previously this would just print hex values. Print names for the
recognized values, matching the sp3 syntax.
DeltaFile
+42-3llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+30-0llvm/test/MC/AMDGPU/gfx12_err.s
+27-0llvm/test/MC/AMDGPU/gfx12_asm_sopp.s
+16-10llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.wait.event.ll
+20-0llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
+18-0llvm/test/MC/AMDGPU/gfx11_asm_err.s
+153-138 files not shown
+209-1514 files

LLVM/project c716b5bclang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaAMDGPU.cpp

AMDGPU: Add llvm.amdgcn.s.wait.event intrinsic

Exactly match the s_wait_event instruction. For some reason we already
had this instruction used through llvm.amdgcn.s.wait.event.export.ready,
but that hardcodes a specific value. This should really be a bitmask that
can combine multiple wait types.

gfx11 -> gfx12 broke compatabilty in a weird way, by inverting the
interpretation of the bit but also shifting the used bit by 1. Simplify
the selection of the old intrinsic by just using the magic number 2, which
should satisfy both cases.
DeltaFile
+42-9llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.wait.event.ll
+27-0clang/test/SemaOpenCL/builtins-amdgcn-s-wait-event.cl
+24-0clang/lib/Sema/SemaAMDGPU.cpp
+11-0llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+7-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+2-4llvm/lib/Target/AMDGPU/SOPInstructions.td
+113-131 files not shown
+114-137 files

LLVM/project 85d94e1lldb/source/Plugins/Process/Utility StopInfoMachException.h, lldb/test/API/macosx/stop-reason-exception TestMachExceptionData.py main.c

Make StopInfoMachException return the right data. (#180088)

When I changed lldb so that the StopInfo's compute their own stop reason
data (before it was oddly done in SBThread::GetStopReasonData...) I
didn't notice that StopInfoMachException was relying on that routine's
default of returning the Value as the 0th exception data, and didn't
actually return its own data.
This fixes that, and makes us report the exception type, and the code
and subcode if the exception has them. I also added a test for this.

rdar://169755672
DeltaFile
+36-0lldb/test/API/macosx/stop-reason-exception/TestMachExceptionData.py
+28-0lldb/source/Plugins/Process/Utility/StopInfoMachException.h
+5-0lldb/test/API/macosx/stop-reason-exception/main.c
+4-0lldb/test/API/macosx/stop-reason-exception/Makefile
+73-04 files

LLVM/project 13d8870llvm/lib/Target/AMDGPU SIInstrInfo.h, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

[MC][TableGen] Expand Opcode field of MCInstrDesc (#179652)

Increase width of Opcode to `int` from `short` to allow more capacity.
DeltaFile
+82-82llvm/lib/Target/AMDGPU/SIInstrInfo.h
+50-50llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
+37-37llvm/test/TableGen/RegClassByHwMode.td
+29-29llvm/test/TableGen/GlobalISelEmitter/DefaultOpsGlobalISel.td
+22-22llvm/test/TableGen/GlobalISelEmitter/Subreg.td
+14-14llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+234-23464 files not shown
+480-47370 files

FreeNAS/freenas fa3f9e3src/middlewared/middlewared/alembic/versions/26.04 2026-02-06_18-18_convert-api-keys.py 2026-01-02_18-18_convert-api-keys.py

Update revision
DeltaFile
+113-0src/middlewared/middlewared/alembic/versions/26.04/2026-02-06_18-18_convert-api-keys.py
+0-113src/middlewared/middlewared/alembic/versions/26.04/2026-01-02_18-18_convert-api-keys.py
+113-1132 files

FreeNAS/freenas 39f47a1src/middlewared/middlewared/plugins auth.py, src/middlewared/middlewared/utils/account authenticator.py utmp.py

Remove python-pam and plumb in pam_truenas

This commit removes the python-pam Python library dependency from
TrueNAS middleware and replaces it with truenas_pypam. The most
significant change is the migration of API key authentication from
simple PBKDF2 password hashing to SCRAM-SHA512 (Salted Challenge
Response Authentication Mechanism) as defined in RFC5802. SCRAM is an
authentication protocol that uses PBKDF2-HMAC-SHA512 for key
derivation. API keys are now stored with SCRAM-derived credentials
including salt, stored_key, server_key, and iteration count fields in
the database. A database migration automatically converts existing
PBKDF2-hashed API keys to SCRAM format transparently—existing API keys
will continue to work without requiring regeneration. The commit adds a
new SCRAM authentication mechanism for challenge-response authentication
with replay resistance and mutual validation capabilities, while
maintaining the existing API_KEY_PLAIN mechanism for simple
authentication.

The refactoring includes comprehensive changes to the authentication

    [10 lines not shown]
DeltaFile
+375-508src/middlewared/middlewared/utils/account/authenticator.py
+230-233tests/unit/test_utmp.py
+0-397src/middlewared/middlewared/utils/account/utmp.py
+0-358tests/unit/test_pam_tdb.py
+194-123src/middlewared/middlewared/plugins/auth.py
+47-115src/middlewared/middlewared/utils/account/faillock.py
+846-1,73435 files not shown
+1,525-2,19541 files

FreeNAS/freenas 2d54c35src/middlewared/middlewared/plugins auth.py, src/middlewared/middlewared/utils/account authenticator.py utmp.py

Remove python-pam and plumb in pam_truenas

This commit removes the python-pam Python library dependency from
TrueNAS middleware and replaces it with truenas_pypam. The most
significant change is the migration of API key authentication from
simple PBKDF2 password hashing to SCRAM-SHA512 (Salted Challenge
Response Authentication Mechanism) as defined in RFC5802. SCRAM is an
authentication protocol that uses PBKDF2-HMAC-SHA512 for key
derivation. API keys are now stored with SCRAM-derived credentials
including salt, stored_key, server_key, and iteration count fields in
the database. A database migration automatically converts existing
PBKDF2-hashed API keys to SCRAM format transparently—existing API keys
will continue to work without requiring regeneration. The commit adds a
new SCRAM authentication mechanism for challenge-response authentication
with replay resistance and mutual validation capabilities, while
maintaining the existing API_KEY_PLAIN mechanism for simple
authentication.

The refactoring includes comprehensive changes to the authentication

    [10 lines not shown]
DeltaFile
+375-508src/middlewared/middlewared/utils/account/authenticator.py
+230-233tests/unit/test_utmp.py
+0-397src/middlewared/middlewared/utils/account/utmp.py
+0-358tests/unit/test_pam_tdb.py
+194-123src/middlewared/middlewared/plugins/auth.py
+47-115src/middlewared/middlewared/utils/account/faillock.py
+846-1,73435 files not shown
+1,525-2,19541 files

LLVM/project 57d1fbfllvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine and-compare.ll

[InstCombine] Limit (icmp eq/ne (and (add A, Addend), Msk), C) fold to one use of and (#172858)

If the and has multiple uses, the fold can increase the instruction
count.
DeltaFile
+17-0llvm/test/Transforms/InstCombine/and-compare.ll
+2-2llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+19-22 files

HardenedBSD/src 59f7ac5sys/amd64/vmm/io ppt.c, sys/dev/acpica acpi.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+97-254sys/dev/qlnx/qlnxe/qlnx_os.c
+108-81sys/x86/cpufreq/hwpstate_amd.c
+111-51sys/amd64/vmm/io/ppt.c
+26-54usr.sbin/bhyve/pci_passthru.c
+21-20sys/dev/qlnx/qlnxe/ecore_l2.c
+31-4sys/dev/acpica/acpi.c
+394-46435 files not shown
+495-52341 files

HardenedBSD/src 3b7e046lib/libpmc/pmu-events/arch/x86/graniterapids uncore-cache.json uncore-interconnect.json

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+3,745-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-cache.json
+1,979-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-interconnect.json
+1,925-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-io.json
+1,230-0lib/libpmc/pmu-events/arch/x86/graniterapids/cache.json
+1,145-0lib/libpmc/pmu-events/arch/x86/graniterapids/pipeline.json
+890-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-memory.json
+10,914-010 files not shown
+12,550-016 files

HardenedBSD/ports 24b556cdevel/transient Makefile, graphics/satty distinfo Makefile.crates

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+215-277graphics/satty/distinfo
+107-138graphics/satty/Makefile.crates
+73-156x11-fonts/uw-ttyp0/pkg-plist
+45-2net/mosquitto/pkg-plist
+28-16devel/transient/Makefile
+21-6lang/gcc16-devel/files/patch-gcc_configure
+489-59548 files not shown
+675-69154 files

LLVM/project eff21afllvm/include/llvm/TargetParser AVRTargetParser.h Triple.h, llvm/lib/TargetParser AVRTargetParser.cpp

Revert "[llvm-objdump][AVR] Detect AVR architecture from ELF flags for disassembling" (#180252)

Reverts llvm/llvm-project#174731 due to introducing a cyclic dependency
when building LLVM with modules enabled: LLVM_Utils -> LLVM_Object ->
LLVM_Utils
DeltaFile
+0-55llvm/test/tools/llvm-objdump/ELF/AVR/mattr.test
+0-50llvm/lib/TargetParser/AVRTargetParser.cpp
+0-30llvm/include/llvm/TargetParser/AVRTargetParser.h
+0-16llvm/tools/llvm-objdump/llvm-objdump.cpp
+0-2llvm/test/tools/llvm-objdump/ELF/AVR/lit.local.cfg
+0-2llvm/include/llvm/TargetParser/Triple.h
+0-1551 files not shown
+0-1567 files

FreeBSD/src f592357sys/kern uipc_socket.c

sockets: repair sctp_peeloff(2)

The shim function soattach() may be passed a non-listening socket by SCTP.

NB: the change makes soattach() more hairy, but long term plan is that
this function goes away.

PR:     293010
Fixes:  64f7e3c9c178ab35cb1f8fdf791aec74ede6f6b2
DeltaFile
+9-3sys/kern/uipc_socket.c
+9-31 files

HardenedBSD/src f592357sys/kern uipc_socket.c

sockets: repair sctp_peeloff(2)

The shim function soattach() may be passed a non-listening socket by SCTP.

NB: the change makes soattach() more hairy, but long term plan is that
this function goes away.

PR:     293010
Fixes:  64f7e3c9c178ab35cb1f8fdf791aec74ede6f6b2
DeltaFile
+9-3sys/kern/uipc_socket.c
+9-31 files

LLVM/project 6bdb7b0lldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

Cleanup the use of m_is_secondary_thread from PR #179799. (#180255)

This ivar was passed to the thread function for the private state thread
- mostly because the equivalent variable was passed in in the original
version of the code. But it was never used, so I didn't notice that the
ivar equivalent wasn't being initialized. I'm going to keep the ivar
because it will be useful when debugging to easily see whether you are
on the main or secondary private state thread.

So in this change, I set m_is_secondary_thread properly in the
constructor, but remove passing it to the thread function since it
wasn't needed there.
DeltaFile
+2-5lldb/source/Target/Process.cpp
+4-2lldb/include/lldb/Target/Process.h
+6-72 files

FreeNAS/freenas 5114265src/middlewared/middlewared/utils/nvmet spdk.py

NAS-139283 / 26.0.0-BETA.1 / Use bdev_aio rather than bdev_uring for ZVOL based namespaces (#18158)

DeltaFile
+6-2src/middlewared/middlewared/utils/nvmet/spdk.py
+6-21 files

LLVM/project bfe80fbclang/cmake/caches cross-linux-toolchain.cmake

[CMake] Add multi-target cross to ARM/AArch64 Linux toolchain CMake cache file. (#179598)

This cache file can be used to build a multi-target cross Windows/Linux
to ARM/Aarch64/etc. Linux toolchain.

[Replacement for CrossWinToARMLinux.cmake on the buildbot]
DeltaFile
+360-0clang/cmake/caches/cross-linux-toolchain.cmake
+360-01 files

LLVM/project 09b70ddclang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CIR/CodeGenBuiltins/X86 keylocker.c

[CIR] Support x86 encodeKey builtins (#179308)

This PR implements CodeGen for encodeKey builtins in CIR upstream.
Issue https://github.com/llvm/llvm-project/issues/167765
DeltaFile
+151-0clang/test/CIR/CodeGenBuiltins/X86/keylocker.c
+38-3clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+189-32 files

FreeBSD/ports 60eadf0net-p2p/go-ethereum distinfo Makefile, net-p2p/go-ethereum/files patch-vendor_github.com_karalabe_hid_hid__enabled.go

net-p2p/go-ethereum: Update 1.12.2 => 1.16.8

The karalabe/hid vendored package was trying to include hidapi source
files that don't exist in the vendor directory. This patch modifies
the build to use FreeBSD's installed hidapi library instead.

Changes:
- Link against system libhidapi library.
- Use hidapi headers instead of including source.
- Add necessary C standard library headers for FreeBSD.

Changelogs:
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.0
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.1
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.2
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.3
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.4
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.5
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.6

    [48 lines not shown]
DeltaFile
+23-0net-p2p/go-ethereum/files/patch-vendor_github.com_karalabe_hid_hid__enabled.go
+5-5net-p2p/go-ethereum/distinfo
+4-4net-p2p/go-ethereum/Makefile
+0-1net-p2p/go-ethereum/pkg-plist
+32-104 files

HardenedBSD/ports 9eb294ex11/nvidia-kmod Makefile

x11/nvidia-kmod: Fix build with clang 21

PR:             292869
Reported by:    dim
Reviewed by:    ashafer
DeltaFile
+7-0x11/nvidia-kmod/Makefile
+7-01 files