FreeBSD/src 5cc3fa0sys/arm64/arm64 trap.c, sys/sys signalvar.h

arm64: Add exception flag for ksiginfo_t and set in trapsignal

The `ksiginfo_t` flag `KSI_TRAP` is set both for exceptions and when
copying between userspace and the kernel fails. In the latter case, the
exception syndrome register as captured in `struct trapframe` won't be
valid. That means we can't use `KSI_TRAP` to determine whether `tf_esr`
is valid. This motivates the addition of a new flag, here called
`KSI_EXCEPT`, for specifically identifying signals caused by exceptions.
It is added to `ksi_flags` via `trapsignal`.

Signed-off-by: Alex Arslan <ararslan at comcast.net>
Reported by:    andrew
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2053
DeltaFile
+1-0sys/sys/signalvar.h
+1-0sys/arm64/arm64/trap.c
+2-02 files

FreeBSD/src 0b862a7sys/arm64/arm64 exec_machdep.c, sys/arm64/include ucontext.h

arm64: Expose ESR in mcontext

At present, the exception syndrome register (ESR) is not accessible via
the user context on FreeBSD AArch64, which makes it difficult to
determine the cause of an exception. For example, a signal handler might
get a `SIGSEGV` with `SEGV_ACCERR`, but it can't know whether that
occurred due to a bad read or write. The change implemented here
includes ESR in `struct __mcontext`, thereby allowing access via
`ucontext_t` for use by signal handlers, sanitizers, debuggers, etc.

Note that this addition consumes one of the seven spare 64-bit slots in
`struct __mcontext`.

Signed-off-by: Alex Arslan <ararslan at comcast.net>
Reviewed by:    andrew
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2053
DeltaFile
+5-0sys/arm64/arm64/exec_machdep.c
+3-1sys/arm64/include/ucontext.h
+8-12 files

LLVM/project 89f4b84llvm/lib/Transforms/InstCombine InstCombineLoadStoreAlloca.cpp, llvm/test/Transforms/InstCombine ptr-replace-alloca.ll

[InstCombine] Use copyMetadata in PointerReplacer::replace (#201827)

PointerReplacer::replace creates a new load that differs from the
original only in its pointer operand; the loaded type is unchanged.  It
was using copyMetadataForLoad(), which is meant for the case where the
load's *type* changes.  Since the type is the same here, plain
copyMetadata() is correct and preserves all metadata directly.
DeltaFile
+20-0llvm/test/Transforms/InstCombine/ptr-replace-alloca.ll
+1-1llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+21-12 files

LLVM/project 19c3293clang/lib/Headers __clang_hip_libdevice_declares.h, clang/test/Headers openmp-device-functions-bool.c __clang_hip_libdevice_declares.cpp

clang/HIP: Remove __ockl_fdot2 declaration

The builtin headers should not be in the business of exporting
ockl functions, and only declaring the minimum which are actively
used by the builtin headers.
DeltaFile
+20-67clang/test/Headers/openmp-device-functions-bool.c
+0-49clang/test/Headers/__clang_hip_libdevice_declares.cpp
+0-9clang/lib/Headers/__clang_hip_libdevice_declares.h
+20-1253 files

LLVM/project c4f2f25lldb/source/Plugins/Process/Windows/Common ProcessWindows.cpp IOHandlerProcessSTDIOWindows.cpp

[NFC][lldb][Windows] extract IOHandlerProcessSTDIOWindows (#201651)

Co-authored-by: Nerixyz <nero.9 at hotmail.de>
DeltaFile
+11-179lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+172-0lldb/source/Plugins/Process/Windows/Common/IOHandlerProcessSTDIOWindows.cpp
+63-0lldb/source/Plugins/Process/Windows/Common/IOHandlerProcessSTDIOWindows.h
+2-0lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
+1-0lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
+249-1795 files

FreeBSD/src 8f6c577usr.sbin/bhyve bhyverun.c, usr.sbin/bhyve/aarch64 bhyverun_machdep.c

bhyve(8): allow cpu pinning using N-M:X-Y ranges

bhyve's -p allows to pin guest's virtual CPU vcpu to hostcpu, however
this becomes very tedious work when you have to pin more than a single
CPU.

This allows to pass a range to -p, e.g. -p 0-3:4-7 which will pin the
cpus 0:4, 1:5, 2:6, 3:7. The ranges must be equal and the CPU numbers
must be ascending.

Sponsored by: Armenian Bioinformatics Institute
Reviewed by:    corvink, markj
Tested by:      bnovkov
MFC after:      3 weeks
Differential Revision:  https://reviews.freebsd.org/D54937
DeltaFile
+30-8usr.sbin/bhyve/bhyverun.c
+3-2usr.sbin/bhyve/aarch64/bhyverun_machdep.c
+3-2usr.sbin/bhyve/amd64/bhyverun_machdep.c
+3-2usr.sbin/bhyve/riscv/bhyverun_machdep.c
+39-144 files

LLVM/project c941964llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp SPIRVNonSemanticDebugHandler.h, llvm/test/CodeGen/SPIRV/debug-info debug-type-function-omit.ll debug-type-function-int-string-dedup.ll

[SPIRV] Extend NSDI debug handling for DebugTypeFunction. (#197003)

Extend NSDI handling for
[DebugTypeFunction](https://github.khronos.org/SPIRV-Registry/nonsemantic/NonSemantic.Shader.DebugInfo.html#DebugTypeFunction).

Changes:

- Collect required types with DebugInfoFinder instead of walking
DbgVariableRecords only. This allows processing types that might not be
available in these records, and avoids code duplication for the
traversals.
- Emit DebugTypeFunction for DISubroutineType when every signature slot
maps to an emitted debug type.
- Reset per-module state in beginModule().
- Replace parallel FileStringRegs/BasicTypeNameRegs with a StringMap
OpString cache, deduplicating identical strings.
- Add LLVM DINode flag lowering for NSDI.
- Cache DebugInfoNone, OpTypeVoid and OpTypeInt32 registers to avoid
duplicate instructions.
DeltaFile
+290-65llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+96-28llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+44-0llvm/test/CodeGen/SPIRV/debug-info/debug-type-function-omit.ll
+44-0llvm/test/CodeGen/SPIRV/debug-info/debug-type-function-int-string-dedup.ll
+42-0llvm/test/CodeGen/SPIRV/debug-info/debug-type-function-void-prototypes.ll
+39-0llvm/test/CodeGen/SPIRV/debug-info/debug-type-function-multi-scalar-params.ll
+555-935 files not shown
+734-9311 files

LLVM/project ae3ef53llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/lib/Target/AArch64/GISel AArch64RegisterBankInfo.cpp

[AArch64][GlobalISel] Add patterns for signed scalar extend intrinsics (#201617)

Follow on from https://github.com/llvm/llvm-project/pull/201546
Add patterns for signed versions of scalar extend intrinsics as well.
DeltaFile
+2-8llvm/test/CodeGen/AArch64/arm64-arith-saturating.ll
+5-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+2-0llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
+9-83 files

LLVM/project efd8008llvm/lib/CodeGen TargetPassConfig.cpp, llvm/lib/Target/AMDGPU AMDGPUTargetMachine.cpp

CodeGen: Fix CGPassBuilderOption::EnableGlobalISelOption for -global-isel=0

SET_OPTION assigned the cl::boolOrDefault into std::optional<bool>;
BOU_FALSE (=2) converts to true, so -global-isel=0 was stored as true
instead of false.
DeltaFile
+51-0llvm/unittests/CodeGen/CGPassBuilderOptionTest.cpp
+2-2llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+2-1llvm/lib/CodeGen/TargetPassConfig.cpp
+1-0llvm/unittests/CodeGen/CMakeLists.txt
+56-34 files

LLVM/project d4c2ae0libcxx/test/libcxx/transitive_includes cxx03.csv cxx11.csv

test
DeltaFile
+0-16libcxx/test/libcxx/transitive_includes/cxx03.csv
+0-16libcxx/test/libcxx/transitive_includes/cxx11.csv
+0-16libcxx/test/libcxx/transitive_includes/cxx14.csv
+0-16libcxx/test/libcxx/transitive_includes/cxx17.csv
+0-16libcxx/test/libcxx/transitive_includes/cxx20.csv
+0-805 files

FreeNAS/freenas 5376608src/middlewared/middlewared/plugins/alert alert.py runtime.py

NAS-141266 / 27.0.0-BETA.1 / Restructure alert plugin to the lean typesafe layout (#19071)

## Problem
The alert plugin passed mypy but didn't follow the typesafe convention
the other converted plugins use: the eponymous `alert` service lived in
`alert.py` as an 1100-line `Service` with all logic, models, and helpers
inline, `__init__.py` was empty, and the two sibling services each
combined their service class and service part in one off-convention
file.

## Solution
- Move `AlertService` into a lean `__init__.py` that exposes only the
endpoint stubs; each delegates to plain functions in `lifecycle.py` /
`runtime.py` / `oneshot.py` / `queries.py` that take `(context, state)`.
- Lift all mutable runtime state into a dedicated `AlertState` object
(`state.py`) built once in `__init__`. Concurrency is intentionally
unchanged — it still relies on the asyncio event loop plus the existing
`process_alerts` job lock, with no new lock introduced.
- Pull the standalone pieces into `state.py`, `alert_classes.py`, and

    [5 lines not shown]
DeltaFile
+0-1,108src/middlewared/middlewared/plugins/alert/alert.py
+533-0src/middlewared/middlewared/plugins/alert/runtime.py
+0-226src/middlewared/middlewared/plugins/alert/service.py
+219-0src/middlewared/middlewared/plugins/alert/queries.py
+214-0src/middlewared/middlewared/plugins/alert/__init__.py
+147-0src/middlewared/middlewared/plugins/alert/alertservice.py
+1,113-1,33410 files not shown
+1,704-1,41616 files

LLVM/project fdd3e7cllvm/cmake/modules HandleLLVMOptions.cmake

[llvm][cmake] Pass /Brepro to linker (#201708)

* The /Brepro flag should also be passed to the linker. The `BUILD.gn`
correctly does
[this](https://github.com/llvm/llvm-project/blob/70f7167ce2622a610a6d6dca4d5934ea8a07a056/llvm/utils/gn/build/BUILD.gn#L332).
* The /Brepro flag in `clang-cl` omits the timestamp for .obj files
while the linker flag omits the timestamp for .exe and .dll files.
DeltaFile
+2-1llvm/cmake/modules/HandleLLVMOptions.cmake
+2-11 files

FreeBSD/src b5a9689libexec/rc rc, share/man/man8 rc.8

rc: Bail if /dev/null is not a device

On startup, check that /dev/null exists and is a character device.
Otherwise, one of two things will happen: either /dev is a writable
directory and we will immediately create /dev/null as a regular file
and dump garbage into it, or it does not and we will spit out a stream
of error messages about failing to create /dev/null.

PR:             295782
MFC after:      1 week
Reviewed by:    jhb, emaste
Differential Revision:  https://reviews.freebsd.org/D57447
DeltaFile
+11-1share/man/man8/rc.8
+5-0libexec/rc/rc
+16-12 files

FreeBSD/src ddf6fadusr.sbin/etcupdate etcupdate.8 etcupdate.sh

etcupdate: Make nobuild the default

The common case for etcupdate is to run it after building and installing
the world, in which case we already have an object directory to draw on.
Add a -b option to turn nobuild off (opposite of -B), and turn nobuild
on by default.

MFC after:      1 week
Reviewed by:    jhb, emaste
Differential Revision:  https://reviews.freebsd.org/D57306
DeltaFile
+17-13usr.sbin/etcupdate/etcupdate.8
+5-2usr.sbin/etcupdate/etcupdate.sh
+22-152 files

LLVM/project 091152eclang/lib/Driver Driver.cpp, clang/lib/Driver/ToolChains Clang.cpp HIPUtility.cpp

clang: Construct toolchains with normalized triples

Avoid littering calls to normalize around by ensuring toolchains
always use a normalized triple. The test changes are due to
inconsistencies in the behavior of the triple APIs. If the arch name
is empty, normalize leaves it unchanged. If the triple is archname--,
normalize will expand the empty groups to be unknown. setArchName
will introduce the empty groups, which occurs in some of the triple
modifying driver path (mostly the handling of the endianness -m flags).

Driver is still holding onto a raw, unnormalized string triple but
leave that for a later cleanup.

Co-authored-by: Claude Sonnet 4 <noreply at anthropic.com>
DeltaFile
+19-14clang/lib/Driver/Driver.cpp
+6-8clang/lib/Driver/ToolChains/Clang.cpp
+4-4clang/lib/Driver/ToolChains/HIPUtility.cpp
+3-3clang/lib/Driver/ToolChains/Hexagon.cpp
+2-2clang/test/Driver/aarch64-cortex-a76.c
+2-2clang/test/Driver/aarch64-cortex-a35.c
+36-3318 files not shown
+64-6024 files

LLVM/project 86d0c2blldb/test/API/tools/lldb-server TestGdbRemote_qThreadStopInfo.py

[lldb][Windows] enable TestGdbRemote_qThreadStopInfo (#201868)
DeltaFile
+0-1lldb/test/API/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py
+0-11 files

LLVM/project 57bf068libcxx/include generator

test
DeltaFile
+10-10libcxx/include/generator
+10-101 files

LLVM/project c8faaf9llvm/test/tools/llubi call_unknown.ll, llvm/tools/llubi/lib Interpreter.cpp

[llubi] Don't check type after the program exited (#201862)

Closes https://github.com/llvm/llvm-project/issues/201791.
DeltaFile
+12-0llvm/test/tools/llubi/call_unknown.ll
+2-0llvm/tools/llubi/lib/Interpreter.cpp
+14-02 files

LLVM/project de1ff3ellvm/lib/Target/AMDGPU MIMGInstructions.td, llvm/test/MC/AMDGPU gfx1250_asm_vimage_err.s gfx1250_asm_vimage.s

[AMDGPU] Allow null operands in VImage tensor instructions (#200911)

NULL is equivalent to passing a block of SGPRs that are set to zero, and
is allowed for 3+ opnds.
DeltaFile
+0-12llvm/test/MC/AMDGPU/gfx1250_asm_vimage_err.s
+12-0llvm/test/MC/AMDGPU/gfx1250_asm_vimage.s
+9-0llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_vimage.txt
+2-2llvm/lib/Target/AMDGPU/MIMGInstructions.td
+23-144 files

LLVM/project 383e5d2clang/include/clang/Options Options.td, clang/test/Driver objc-constant-literals.m

[Driver] Don't warn on ObjC constant-literal flags for non-ObjC inputs (#200303)

-fobjc-constant-literals and the per-kind
-f[no-]constant-ns{number,array, dictionary}-literals flags are only
acted on for Objective-C inputs. When a build system passes them
uniformly to every source via a shared response file, they go unclaimed
on assembly and C/C++ inputs and trigger:

  error: argument unused during compilation: '-fobjc-constant-literals'
         [-Werror,-Wunused-command-line-argument]

Mark the options NoArgumentUnused so the unused argument is ignored
regardless of input type or whether the cc1 or cc1as path runs. The
behavior of the flags is unchanged: only the positive forms are
forwarded to cc1, and only for ObjC inputs.

rdar://175647747
DeltaFile
+29-0clang/test/Driver/objc-constant-literals.m
+4-4clang/include/clang/Options/Options.td
+33-42 files

FreeNAS/freenas a771454src/freenas/etc/systemd/system/getty@tty1.service.d override.conf

midcli: safeguard for possible memory leaks in python-prompt-toolkit
DeltaFile
+2-0src/freenas/etc/systemd/system/getty@tty1.service.d/override.conf
+2-01 files

NetBSD/pkgsrc-wip c45d703webkit-gtk60/patches patch-Source_bmalloc_bmalloc_AvailableMemory.cpp patch-Source_bmalloc_libpas_src_libpas_pas__monotonic__time.c

webkit-gtk60: update comments, remove bmalloc patches

Since 2.52.4, the default on NetBSD is to use the system allocator,
so the NetBSD patches for bmalloc are not needed any longer.
DeltaFile
+0-101webkit-gtk60/patches/patch-Source_bmalloc_bmalloc_AvailableMemory.cpp
+0-29webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__monotonic__time.c
+0-24webkit-gtk60/patches/patch-Source_bmalloc_bmalloc_BPlatform.h
+0-22webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__page__malloc.c
+0-22webkit-gtk60/patches/patch-Source_bmalloc_bmalloc_AvailableMemory.h
+0-19webkit-gtk60/patches/patch-Source_bmalloc_libpas_src_libpas_pas__platform.h
+0-2176 files not shown
+4-27812 files

LLVM/project 19e5608libcxx/include generator

test
DeltaFile
+59-48libcxx/include/generator
+59-481 files

FreeBSD/ports 7980701net/self-service-password pkg-plist distinfo

net/self-service-password: Update 1.7.3 => 1.8.0

While here, switch to HTTPS MASTER_SITES.

Changelog:
https://github.com/ltb-project/self-service-password/releases/tag/v1.8.0

PR:             295876
Reported by:    Krzysztof <ports at bsdserwis.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2

(cherry picked from commit 5a463e4a7f9d5c969d0bdbe21cb06d28ab1b9f6e)
DeltaFile
+16-3net/self-service-password/pkg-plist
+3-3net/self-service-password/distinfo
+2-2net/self-service-password/Makefile
+21-83 files

FreeNAS/freenas e03f733src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/pytest/unit/api/base/types test_certificate.py

Address review
DeltaFile
+8-3src/middlewared/middlewared/api/base/model.py
+7-0src/middlewared/middlewared/pytest/unit/api/base/types/test_certificate.py
+15-32 files

LLVM/project 19b0cecclang/include/clang/AST DeclTemplate.h, clang/lib/AST DeclTemplate.cpp

Revert "[clang] Reland: fix getTemplateInstantiationArgs (#201373)"

This reverts commit bcdb732df219fc5de7c16b9712d52aa56b22fed0.
DeltaFile
+429-194clang/lib/Sema/SemaTemplateInstantiate.cpp
+165-275clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+146-150clang/lib/Sema/SemaTemplate.cpp
+95-96clang/include/clang/AST/DeclTemplate.h
+129-59clang/lib/Sema/SemaConcept.cpp
+92-60clang/lib/AST/DeclTemplate.cpp
+1,056-83455 files not shown
+1,715-1,49361 files

FreeBSD/ports 5a463e4net/self-service-password pkg-plist distinfo

net/self-service-password: Update 1.7.3 => 1.8.0

While here, switch to HTTPS MASTER_SITES.

Changelog:
https://github.com/ltb-project/self-service-password/releases/tag/v1.8.0

PR:             295876
Reported by:    Krzysztof <ports at bsdserwis.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2
DeltaFile
+16-3net/self-service-password/pkg-plist
+3-3net/self-service-password/distinfo
+2-2net/self-service-password/Makefile
+21-83 files

FreeNAS/freenas 19273f8.github/workflows mypy.yml, src/middlewared/middlewared/api/base decorator.py model.py

`middlewared.api` typing hints
DeltaFile
+56-49src/middlewared/middlewared/api/base/decorator.py
+48-33src/middlewared/middlewared/api/base/model.py
+10-13src/middlewared/middlewared/api/base/jsonschema.py
+6-5src/middlewared/middlewared/api/base/excluded.py
+3-3src/middlewared/middlewared/api/base/handler/accept.py
+2-4.github/workflows/mypy.yml
+125-1071 files not shown
+127-1097 files

LLVM/project a1a789ellvm/include/llvm/IR GlobalValue.h, llvm/include/llvm/Transforms/Utils AssignGUID.h

Reland #184065
DeltaFile
+61-17llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+45-30llvm/lib/LTO/LTO.cpp
+57-2llvm/lib/IR/Globals.cpp
+49-3llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+49-0llvm/include/llvm/Transforms/Utils/AssignGUID.h
+42-5llvm/include/llvm/IR/GlobalValue.h
+303-57116 files not shown
+835-400122 files

FreeBSD/ports a98ed7cwww/nextcloud-news distinfo Makefile

www/nextcloud-news: Update to 28.5.1
DeltaFile
+3-3www/nextcloud-news/distinfo
+1-1www/nextcloud-news/Makefile
+4-42 files