FreeBSD/doc 80003f7documentation/content/en/books/handbook/virtualization _index.adoc

handbook/virtualization: Fix freebsd-update syntax

Split freebsd-update fetch and install into two subcommands. If running
an EoL FreeBSD, running the two in one command can fail to perform the
install. This matches what was done elsewhere in the tree.

PR:             293517
Reported by:    Graham Perrin
Signed-off-by:  Kit Dallege <xaum.io at gmail.com>
Closes:         https://github.com/freebsd/freebsd-doc/pull/632
DeltaFile
+2-1documentation/content/en/books/handbook/virtualization/_index.adoc
+2-11 files

LLVM/project 13379ef.github/workflows release-llvm-testing-tools.yml

upload

Created using spr 1.3.7
DeltaFile
+6-1.github/workflows/release-llvm-testing-tools.yml
+6-11 files

LLVM/project 9dbb4cfclang/lib/CIR/CodeGen CIRGenBuiltinRISCV.cpp, clang/test/CIR/CodeGenBuiltins/RISCV riscv-zihintpause.c

[CIR][RISCV] Support zihintpause builitin codegen (#188465)

Include one builtin: __builtin_riscv_pause.
DeltaFile
+30-2clang/lib/CIR/CodeGen/CIRGenBuiltinRISCV.cpp
+22-0clang/test/CIR/CodeGenBuiltins/RISCV/riscv-zihintpause.c
+52-22 files

LLVM/project 80b1fbeclang/tools/clang-linker-wrapper LinkerWrapperOpts.td ClangLinkerWrapper.cpp

[ClangLinkerWrapper] Fix `-v` for newer CMake passing it directly (#188883)

Summary:
Normally `-v` is version for tools, but it's also verbose for the
linker. CMake tries to identify the linker by passing `-Wl,-v` which
goes to the linker wrapper instead. Make this only print version on
`--version` and forward the other one to the linker so it appears
transparent to the host ABI. A bit of a hack, but it should work.
DeltaFile
+1-2clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
+1-1clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+2-32 files

LLVM/project 863ee8c.github/workflows release-llvm-testing-tools.yml

fix

Created using spr 1.3.7
DeltaFile
+3-3.github/workflows/release-llvm-testing-tools.yml
+3-31 files

LLVM/project cfad6e1.github/workflows release-llvm-testing-tools.yml

fix

Created using spr 1.3.7
DeltaFile
+2-2.github/workflows/release-llvm-testing-tools.yml
+2-21 files

LLVM/project 84d5486.github/workflows release-llvm-testing-tools.yml

fix

Created using spr 1.3.7
DeltaFile
+2-0.github/workflows/release-llvm-testing-tools.yml
+2-01 files

LLVM/project d1e50fc.github/workflows release-llvm-testing-tools.yml

fix

Created using spr 1.3.7
DeltaFile
+1-1.github/workflows/release-llvm-testing-tools.yml
+1-11 files

LLVM/project d52da40.github/workflows release-llvm-testing-tools.yml, llvm/utils/llvm-testing-tools pyproject.toml README.md

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+36-0.github/workflows/release-llvm-testing-tools.yml
+21-0llvm/utils/llvm-testing-tools/pyproject.toml
+16-0llvm/utils/llvm-testing-tools/src/llvm_testing_tools/wrapper.py
+6-0llvm/utils/llvm-testing-tools/README.md
+0-0llvm/utils/llvm-testing-tools/src/llvm_testing_tools/__init__.py
+79-05 files

LLVM/project ab5ad1allvm/utils/llvm-testing-tools pyproject.toml README.md, llvm/utils/llvm-testing-tools/src/llvm_testing_tools wrapper.py __init__.py

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+21-0llvm/utils/llvm-testing-tools/pyproject.toml
+16-0llvm/utils/llvm-testing-tools/src/llvm_testing_tools/wrapper.py
+6-0llvm/utils/llvm-testing-tools/README.md
+0-0llvm/utils/llvm-testing-tools/src/llvm_testing_tools/__init__.py
+43-04 files

NetBSD/pkgsrc f8WRxalgraphics/png distinfo Makefile

   Pullup ticket #7057 - requested by wiz
   graphics/png: Security fix

   Revisions pulled up:
   - graphics/png/Makefile                                         1.221
   - graphics/png/distinfo                                         1.167

   ---
      Module Name:      pkgsrc
      Committed By:     wiz
      Date:             Thu Mar 26 07:42:55 UTC 2026

      Modified Files:
        pkgsrc/graphics/png: Makefile distinfo

      Log Message:
      png: update to 1.6.56.

      Version 1.6.56 [March 25, 2026]

    [29 lines not shown]
VersionDeltaFile
1.166.2.1+4-4graphics/png/distinfo
1.220.2.1+2-2graphics/png/Makefile
+6-62 files

NetBSD/pkgsrc-wip cc7d695unison-snapshot distinfo Makefile

unison-snapshot: Update to 2.53.8.52

Advance along upstream master.

The significant change is dropping the old wire procotol used in 2.48
through 2.51.   Interop with 2.52.0 and later should remain unchanged.

(This is perhaps an alpha for 2.53.9, but upstream has not said that :-)
DeltaFile
+3-3unison-snapshot/distinfo
+2-2unison-snapshot/Makefile
+5-52 files

LLVM/project 2c0a67dllvm/lib/Target/AArch64 AArch64PostCoalescerPass.cpp

[AArch64] Update preserved analyses for AArch64PostCoalescer (#188875)

Preserving all analyses likely is a wrong assertion since we do not know
what other analyses might exist that we've updated.

Updated to preserve CFG, LiveIntervalsAnalysis and SlotIndexAnalysis
(which is transitively preserved from LiveIntervalsAnalysis)
DeltaFile
+4-1llvm/lib/Target/AArch64/AArch64PostCoalescerPass.cpp
+4-11 files

FreeBSD/src 5f08cdcsys/x86/isa atpic.c icu.h

x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h

This is not the best location, but works for now.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56003
DeltaFile
+0-2sys/x86/isa/atpic.c
+2-0sys/x86/isa/icu.h
+2-22 files

LLVM/project 601d502clang/test/CodeGenHIP incorrect-atomic-scope.hip, clang/test/CodeGenOpenCL incorrect-atomic-scope.cl

[Clang][NFC] Pre-commit tests for #185408

The tests demonstrate how incorrect LLVM IR is generated without diagnostics,
when an OpenCL or HIP scope number is passed to an AMDGPU intrinsic. #185408
lays the groundwork for properly diagnosing this situation by internally
using a separate enum type to represent each set of scope numbers.
DeltaFile
+13-0clang/test/CodeGenOpenCL/incorrect-atomic-scope.cl
+10-0clang/test/CodeGenHIP/incorrect-atomic-scope.hip
+23-02 files

FreeBSD/ports 0b0d782misc/ollama distinfo Makefile, misc/ollama/files patch-x_imagegen_mlx_CMakeLists.txt patch-ml_path.go

misc/ollama: update 0.18.2 → 0.18.3
DeltaFile
+31-0misc/ollama/files/patch-x_imagegen_mlx_CMakeLists.txt
+11-11misc/ollama/distinfo
+3-3misc/ollama/files/patch-ml_path.go
+3-3misc/ollama/files/patch-ml_backend_ggml_ggml_src_ggml-backend-reg.cpp
+3-3misc/ollama/Makefile
+51-205 files

LLVM/project 3b05b1bllvm/utils/llvm-testing-tools pyproject.toml README.md, llvm/utils/llvm-testing-tools/src/llvm_testing_tools wrapper.py __init__.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+21-0llvm/utils/llvm-testing-tools/pyproject.toml
+16-0llvm/utils/llvm-testing-tools/src/llvm_testing_tools/wrapper.py
+6-0llvm/utils/llvm-testing-tools/README.md
+0-0llvm/utils/llvm-testing-tools/src/llvm_testing_tools/__init__.py
+43-04 files

FreeBSD/ports e93f644net/gnu-radius Makefile, net/gnu-radius/files patch-lib_readline.c

net/gnu-radius: Fix the build

The build was failing for two reasons:

1. When devel/readline was installed (e.g. as a dependency of
   editors/emacs), its newer interface caused:

   readline.c:147:51: error: expected expression
      147 |         rl_attempted_completion_function = (CPPFunction *) completion_fp;
          |                                                          ^
   readline.c:147:38: error: use of undeclared identifier 'CPPFunction'
     147 |         rl_attempted_completion_function = (CPPFunction *) completion_fp;
         |                                             ^

   Patch radius's lib/readline.c to use the modern rl_completion_func_t
   type.

2. The elisp files were not being installed, causing a staging error.
   Fix this by installing the elisp in a post-install-EMACS-on target.

    [2 lines not shown]
DeltaFile
+11-0net/gnu-radius/files/patch-lib_readline.c
+5-0net/gnu-radius/Makefile
+16-02 files

NetBSD/src SECpx5Vtools/gcc gcc-version.mk

   genmatch.cc:  bring across several enhancements from mainline GCC.

   in my testing this reduces the size of the emitted "gimple-match.cc"
   by about 35%, reduces the code section sise about 15%, and reduces
   the compile time about 30%.  (this file is the largest single compile
   for all of GCC.)

   this makes it capable of compiling on vax and sparc again, it seems,
   where both were already capable for GCC 14 (which in addition to this
   set, splits the emitted file into 10 sub parts for compiling both
   separately and in parallel.)

   (this is part 1, part 2 will be about mergig the split of the output
   into multiple files, but may be abandoned as this portion helps
   enough.)

   tested on amd64, vax, sparc as only target, powerpc, with some arm64,
   arm, and m68k to come -- may be also very useful for m68k target.


    [29 lines not shown]
VersionDeltaFile
1.32+2-2tools/gcc/gcc-version.mk
+2-21 files

FreeBSD/src f404109sys/vm vm_fault.c

vm_fault: Avoid creating clean, writeable superpage mappings

The pmap layer requires writeable superpage mappings to be dirty.
Otherwise, during demotion, we may miss a hw update of the PDE which
sets the dirty bit.

When creating a managed superpage mapping without promotion, i.e., with
pmap_enter(psind == 1), we must therefore ensure that a writeable
mapping is created with the dirty bit pre-set.  To that end,
vm_fault_soft_fast(), when handling a map entry with write permissions,
checks whether all constituent pages are dirty, and if so, converts the
fault to a write fault, so that pmap_enter() does the right thing.  If
one or more pages is not dirty, we simply create a 4K mapping.

vm_fault_populate(), which may also create superpage mappings, did not
do this, and thus could create mappings which violate the invariant
described above.  Modify it to instead check whether all constituent
pages are already dirty, and if so, convert the fault to a write fault.
Otherwise the mapping is downgraded to read-only.

    [5 lines not shown]
DeltaFile
+18-2sys/vm/vm_fault.c
+18-21 files

FreeBSD/src 8f3227fsys/kern kern_event.c, sys/sys filedesc.h

kqueue: Fix a race when adding an fd-based knote to a queue

When registering a new kevent backed by a file descriptor, we first look
up the file description with fget(), then lock the kqueue, then see if a
corresponding knote is already registered.  If not, and KN_ADD is
specified, we add the knote to the kqueue.

closefp_impl() interlocks with this process by calling knote_fdclose(),
which locks each kqueue and checks to see if the fd is registered with a
knote.  But, if userspace closes an fd while a different thread is
registering it, i.e., after fget() succeeds but before the kqueue is
locked, then we may end up with a mismatch in the knote table, where the
knote kn_fp field points to a different file description than the knote
ident.

Fix the problem by double-checking before registering a knote.  Add a
new fget_noref_unlocked() helper for this purpose.  It is a clone of
fget_noref().  We could simply use fget_noref(), but I like having an
explicit unlocked variant.

    [5 lines not shown]
DeltaFile
+17-0sys/sys/filedesc.h
+13-1sys/kern/kern_event.c
+30-12 files

LLVM/project 0027f6f.github/workflows libc-shared-tests.yml

[libc][ci] Add libc-shared-test CI for MSVC and QEMU for several archs. (#188553)

Includes:
- MSVC: x86, x64, arm64
- QEMU: aarch64, riscv64
DeltaFile
+92-0.github/workflows/libc-shared-tests.yml
+92-01 files

LLVM/project 3833f03llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.perm.ll

[AMDGPU][GlobalISel] Add RegBankLegalize rules for amdgcn_perm intrinsic (#187798)

Add uniform and divergent register bank legalization rules for the amdgcn_perm intrinsic (v_perm_b32). Since this is a VALU-only instruction, the uniform case maps the destination to UniInVgprB32 and all source operands to VgprB32.
DeltaFile
+4-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.perm.ll
+5-12 files

HardenedBSD/src 663efd8lib/libc/gen rtld_get_var.3, lib/msun/arm fenv.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+152-36libexec/rtld-elf/rtld.c
+38-0libexec/rtld-elf/tests/set_var_test.c
+14-7sys/x86/x86/cpu_machdep.c
+17-0lib/libc/gen/rtld_get_var.3
+6-3sys/x86/x86/tsc.c
+6-1lib/msun/arm/fenv.c
+233-4711 files not shown
+286-5917 files

LLVM/project 816a820mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp, mlir/test/Dialect/XeGPU subgroup-distribute-unit.mlir sg-to-wi-experimental-unit.mlir

[MLIR][XeGPU] Fix a bug in Layout interface: isCompatibleWith() function (#188607)

As title
DeltaFile
+12-3mlir/test/Dialect/XeGPU/subgroup-distribute-unit.mlir
+8-6mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+11-0mlir/test/Dialect/XeGPU/sg-to-wi-experimental-unit.mlir
+31-93 files

HardenedBSD/src 381a8e7lib/libc/gen rtld_get_var.3, lib/msun/riscv fenv.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+152-36libexec/rtld-elf/rtld.c
+38-0libexec/rtld-elf/tests/set_var_test.c
+14-7sys/x86/x86/cpu_machdep.c
+17-0lib/libc/gen/rtld_get_var.3
+6-3sys/x86/x86/tsc.c
+6-1lib/msun/riscv/fenv.c
+233-4711 files not shown
+286-5917 files

HardenedBSD/ports ff0188daudio/subtui distinfo Makefile

audio/subtui: Update to 2.13.1

Changelog: https://github.com/MattiaPun/SubTUI/releases/tag/v2.13.1
DeltaFile
+5-5audio/subtui/distinfo
+1-1audio/subtui/Makefile
+6-62 files

FreeBSD/ports ff0188daudio/subtui distinfo Makefile

audio/subtui: Update to 2.13.1

Changelog: https://github.com/MattiaPun/SubTUI/releases/tag/v2.13.1
DeltaFile
+5-5audio/subtui/distinfo
+1-1audio/subtui/Makefile
+6-62 files

LLVM/project 531613emlir/lib/Dialect/MemRef/Transforms ExtractAddressComputations.cpp ElideReinterpretCast.cpp, mlir/lib/Dialect/Tensor/IR TensorOps.cpp

[mlir] Use Repeated<T> in more places to avoid temporary vectors. NFC. (#188846)

Replace `SmallVector<Type/Value>(n, x)` with `Repeated<Type/Value>(n,
x)`. This avoids heap allocations for repeated values.

Also change `ExtractAddressComputations` rebuild callbacks from
`ArrayRef<Value>` to `ValueRange` to enable `Repeated<Value>`
passthrough.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+9-8mlir/lib/Dialect/MemRef/Transforms/ExtractAddressComputations.cpp
+3-2mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+2-1mlir/lib/Dialect/MemRef/Transforms/ElideReinterpretCast.cpp
+2-1mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
+16-124 files

LLVM/project 2cbbc1aclang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.cpp, clang/test/Analysis/Scalable/UnsafeBufferUsage tu-summary-bad-ptr-level.json tu-summary-no-key.json

address comments
DeltaFile
+58-0clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-bad-ptr-level.json
+58-0clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-no-key.json
+53-0clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-bad-element.json
+15-1clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-serialization.test
+5-5clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+3-4clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+192-101 files not shown
+194-127 files