FreeBSD/src 7bdf2b5sys/fs/nullfs null_vfsops.c

nullfs: do not allow to mount a vnode over itself

This causes recursion in VFS that is not worth handling.

PR:     275570
Reported by:    Alex S <iwtcex at gmail.com>
Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D57043
DeltaFile
+8-0sys/fs/nullfs/null_vfsops.c
+8-01 files

LLVM/project 856f7d4llvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Extract helper to simplify phi removal in connectEpiVectorL (NFC) (#198203)

Extract the repeated edge-redirect + DomTree update pattern into a
RedirectEdge lambda, and convert the separate removeIncomingValue calls
for check blocks into a loop.
DeltaFile
+21-31llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+21-311 files

LLVM/project 1745344clang/test/CodeGen/AArch64 neon-perm.c, clang/test/CodeGen/AArch64/neon perm.c

rebase

Created using spr 1.3.7
DeltaFile
+1,250-1,357llvm/test/CodeGen/X86/avx512-calling-conv.ll
+203-915llvm/test/CodeGen/X86/vector-compress.ll
+158-868llvm/test/CodeGen/X86/avx512-ext.ll
+154-866llvm/test/CodeGen/X86/avx512-mask-op.ll
+492-120clang/test/CodeGen/AArch64/neon/perm.c
+0-383clang/test/CodeGen/AArch64/neon-perm.c
+2,257-4,509144 files not shown
+4,879-5,730150 files

LLVM/project e78a23cclang/test/CodeGen/AArch64 neon-perm.c, clang/test/CodeGen/AArch64/neon perm.c

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,250-1,357llvm/test/CodeGen/X86/avx512-calling-conv.ll
+203-915llvm/test/CodeGen/X86/vector-compress.ll
+158-868llvm/test/CodeGen/X86/avx512-ext.ll
+154-866llvm/test/CodeGen/X86/avx512-mask-op.ll
+492-120clang/test/CodeGen/AArch64/neon/perm.c
+0-383clang/test/CodeGen/AArch64/neon-perm.c
+2,257-4,509144 files not shown
+4,879-5,730150 files

LLVM/project df90525llvm/lib/Transforms/Scalar JumpTableToSwitch.cpp

[JTS] Readd assertion

Now that VP metadata has been cleaned up a little bit, we can reenable
this assertion.

Reviewers: alexander-shaposhnikov, mtrofin

Pull Request: https://github.com/llvm/llvm-project/pull/198141
DeltaFile
+3-4llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
+3-41 files

LLVM/project 94584e7llvm/lib/Transforms/Scalar JumpTableToSwitch.cpp

rebase

Created using spr 1.3.7
DeltaFile
+3-4llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
+3-41 files

LLVM/project 56ef779llvm/lib/Transforms/Scalar JumpTableToSwitch.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+3-4llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
+3-41 files

LLVM/project c497efbllvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine logical-select.ll

[InstCombine] Convert logical and/or with trunc nuw to i1 into bitwise ops (#198178)

if it is know that `trunc nuw to i1 ` can not be poison logical and/or
can be folded to bitwise ops.

proof https://alive2.llvm.org/ce/z/xQ2Sj-
DeltaFile
+55-0llvm/test/Transforms/InstCombine/logical-select.ll
+13-5llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+68-52 files

LLVM/project f8803b0libcxx/include/__cxx03/__memory uninitialized_algorithms.h, libcxx/include/__memory uninitialized_algorithms.h

[libc++] Require the exact assignment expression to be trivial in __uninitialized_allocator_copy_impl

__uninitialized_allocator_copy_impl has an optimization that replaces allocator_traits::construct with std::copy for raw pointer ranges when the element type is trivially copy constructible and trivially copy assignable.

The copy-assignment trait only checks whether assignment from const T& is trivial. That is weaker than the expression used by std::copy, which evaluates *out = *in. If overload resolution selects a different non-trivial assignment operator for that expression, std::copy can call that operator on uninitialized storage.

Check is_trivially_assignable<_Out&, _In&> instead in both header copies. This matches the assignment expression used by std::copy, preserves the optimized path when that assignment is actually trivial, and avoids making non-const raw pointer callers select the generic allocator_traits::construct overload due to a qualification conversion.

Add a vector copy-constructor regression test with a type whose defaulted copy assignment is trivial but whose templated assignment operator is selected for non-const lvalue sources.

Tested with:
build-libcxx-fresh/bin/llvm-lit -q libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp libcxx/test/libcxx/memory/uninitialized_allocator_copy.pass.cpp
build-libcxx-fresh/bin/llvm-lit -q --param std=c++03 libcxx/test/libcxx/memory/uninitialized_allocator_copy.pass.cpp
build-libcxx-fresh/bin/llvm-lit -q --param std=c++20 libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
build-libcxx-fresh/bin/llvm-lit -q --param std=c++11 libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
DeltaFile
+76-1libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
+1-1libcxx/include/__cxx03/__memory/uninitialized_algorithms.h
+1-1libcxx/include/__memory/uninitialized_algorithms.h
+78-33 files

OpenBSD/ports xhz9R0cx11/tktreectrl Makefile

   drop maintainer
VersionDeltaFile
1.23+1-2x11/tktreectrl/Makefile
+1-21 files

OpenBSD/ports vKvDm03x11/tkhtml Makefile

   drop maintainer
VersionDeltaFile
1.15+1-2x11/tkhtml/Makefile
+1-21 files

LLVM/project 0e92b55compiler-rt/lib/sanitizer_common sanitizer_platform_limits_solaris.cpp

[sanitizer_common] Fix sanitizer_platform_limits_solaris.cpp compilation (#198158)

When switching `clang++` to the default Solaris 11.4 compilation
environment, XPG7 + extensions, `sanitizer_platform_limits_solaris.cpp`
fails to compile:

```
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp:93:53: error: use of undeclared identifier 'ucontext_t'; did you mean 'ucontext_t_sz'?
   93 |   unsigned ucontext_t_sz(void *ctx) { return sizeof(ucontext_t); }
      |                                                     ^~~~~~~~~~
      |                                                     ucontext_t_sz
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp:93:12: note: 'ucontext_t_sz' declared here
   93 |   unsigned ucontext_t_sz(void *ctx) { return sizeof(ucontext_t); }
      |            ^
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp:93:52: error: invalid application of 'sizeof' to a function type
   93 |   unsigned ucontext_t_sz(void *ctx) { return sizeof(ucontext_t); }
      |                                                    ^~~~~~~~~~~~

```

    [4 lines not shown]
DeltaFile
+1-0compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp
+1-01 files

LLVM/project 598acfbcompiler-rt/test/asan/TestCases/Posix coverage-module-unloaded.cpp, compiler-rt/test/sanitizer_common/TestCases get_module_and_offset_for_pc.cpp

[sanitizer][test] Fix coverage-module-unloaded.cpp etc. on Solaris (#198164)

When switching `clang++` to the default Solaris 11.4 compilation
environment, XPG7 + extensions, two tests `FAIL`:

```
  AddressSanitizer-i386-sunos :: TestCases/Posix/coverage-module-unloaded.cpp
  AddressSanitizer-i386-sunos-dynamic :: TestCases/Posix/coverage-module-unloaded.cpp

  SanitizerCommon-asan-i386-SunOS :: get_module_and_offset_for_pc.cpp
  SanitizerCommon-ubsan-i386-SunOS :: get_module_and_offset_for_pc.cpp
  SanitizerCommon-ubsan-x86_64-SunOS :: get_module_and_offset_for_pc.cpp
```

The failure mode is the same in both cases: the tests fail to link with
`main` undefined. This happens because `<sys/mman.h>` defines

```
#define SHARED          0x10

    [13 lines not shown]
DeltaFile
+3-3compiler-rt/test/asan/TestCases/Posix/coverage-module-unloaded.cpp
+2-2compiler-rt/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cpp
+5-52 files

OpenBSD/ports s9KuKakx11/tkdnd Makefile

   drop maintainer
VersionDeltaFile
1.13+1-3x11/tkdnd/Makefile
+1-31 files

OpenBSD/ports ObvC25Vtextproc/TclXML Makefile

   drop maintainer
VersionDeltaFile
1.37+1-2textproc/TclXML/Makefile
+1-21 files

OpenZFS/src 40a8765include/sys zap_impl.h

zap_impl: use flex array field for mzap_phys_t.mz_chunks

mz_phys_t is always a full-block allocation, with mz_chunks[] as an
array over the rest of the block past the header.

Recent Linux compiled with CONFIG_UBSAN will complain about this:

    UBSAN: array-index-out-of-bounds in module/zfs/zap.c:1236:28
    index 2 is out of range for type 'mzap_ent_phys_t [1]'

The fix is straightforward; simply convert this field to a flex member.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18550
DeltaFile
+2-1include/sys/zap_impl.h
+2-11 files

Linux/linux e5d505ekernel/trace Makefile remote_test.c

Merge tag 'trace-v7.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing fixes from Steven Rostedt:

 - Add more functions to the remote allowed list

   randconfig found more functions that are allowed for the remote code
   for s390 and arm. Add them to the allowed list.

 - Fix remote_test error path

   If one of the simple ring buffers fails to load, the code is supposed
   to rollback its initialized buffers. Instead of rolling back the
   buffers for the failed load, it uses the global variable and rolls
   back all the successfully loaded buffers.

* tag 'trace-v7.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing: Fix desc in error path for the trace remote test module
  ring-buffer remote: Avoid unexpected symbol warnings (arm, s390)
DeltaFile
+2-2kernel/trace/Makefile
+2-2kernel/trace/remote_test.c
+4-42 files

LLVM/project 3a2876dmlir/lib/Conversion/MathToSPIRV MathToSPIRV.cpp, mlir/test/Conversion/MathToSPIRV math-to-gl-spirv.mlir

[mlir][SPIR-V] Fix math.powf lowering for non-integer exponents (#197727)

The ConvertFToS usage only works when y is an integer. Use it only for
integer constants, for others: lower as GL.Exp(y * GL.Log(x))
DeltaFile
+72-64mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
+79-26mlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
+151-902 files

OpenBSD/ports ayPwVSkdevel/cmake distinfo, devel/cmake/core/pkg PLIST-help PLIST-main

   Update CMake to 4.3.2
VersionDeltaFile
1.4+22-0devel/cmake/core/pkg/PLIST-help
1.7+5-0devel/cmake/core/pkg/PLIST-main
1.98+2-2devel/cmake/distinfo
1.21+2-2devel/cmake/patches/patch-Source_cmFileCommand_cxx
1.28+2-2devel/cmake/patches/patch-Source_cmInstallCommand_cxx
1.12+1-1devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx
+34-74 files not shown
+38-1110 files

NetBSD/pkgsrc-wip 6f0f726. Makefile

Makefile: sync
DeltaFile
+2-0Makefile
+2-01 files

NetBSD/pkgsrc-wip 00b37b5py-whichllm PLIST Makefile

py-whichllm: add new package
DeltaFile
+106-0py-whichllm/PLIST
+33-0py-whichllm/Makefile
+5-0py-whichllm/distinfo
+4-0py-whichllm/DESCR
+148-04 files

NetBSD/pkgsrc-wip b33b469py-dbgpu PLIST Makefile

wip/py-dbgpu: import py-dbgpu-2025.12

A small, easy-to-use open source database of over 2000 GPUs with
architecture, manufacturing, API support and performance details
sourced from TechPowerUp.
DeltaFile
+35-0py-dbgpu/PLIST
+20-0py-dbgpu/Makefile
+5-0py-dbgpu/distinfo
+3-0py-dbgpu/DESCR
+63-04 files

LLVM/project 47e142bllvm/docs ReleaseNotes.md, llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

[AArch64] Fix handling of x29/x30 in inline assembly clobbers (#167783)

The AArch64 backend was silently ignoring inline assembly clobbers when
numeric register names (x29, x30) were used instead of their
architectural aliases (fp, lr). I found this bug via inline assembly
in Zig, which not normalize the register names the way clang does.

There is an incoplete workaround for this in Rust, but that only
handles `x30/lr`, not `x29/fp`. I thought it would make
sense to fix this properly rather than adding a workaround to Zig.

This patch adds explicit handling in getRegForInlineAsmConstraint() to
map both numeric and alias forms to the correct physical registers,
following the same pattern used by the RISC-V backend.

I've left `x31/sp` without changes, it would nice to have to have
warning when trying to clobber `x31`, just like there is for `sp`,
but that register needs different handling, so it's best done
separately.

    [24 lines not shown]
DeltaFile
+44-0llvm/test/CodeGen/AArch64/inline-asm-clobber-x29-x30.ll
+15-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+5-0llvm/docs/ReleaseNotes.md
+64-03 files

Linux/linux 23e6a1cdrivers/virt/coco/sev-guest sev-guest.c

virt: sev-guest: Do not use host-controlled page order in cleanup path

When issuing an extended guest request (SVM_VMGEXIT_EXT_GUEST_REQUEST),
get_ext_report() allocates a buffer to retrieve a certificate blob from the
host, keeping track of its size in report_req->certs_len.

However, the host may return SNP_GUEST_VMM_ERR_INVALID_LEN, indicating
an invalid buffer size, as well as the expected length of such buffer.
get_ext_report() subsequently updates report_req->certs_len with the
host-controlled value, and cleans up the buffer by computing a page order
from such value. This is incorrect, as the host-provided length may not
match the page order of the original allocation, potentially resulting
in corruption in the page allocator.

Fix this by using alloc_pages_exact() instead, and reusing @npages to
compute the size passed to free_pages_exact(). For consistency, also
use @npages to compute the size when allocating the pages, even though
this last change has no functional effect.


    [6 lines not shown]
DeltaFile
+5-7drivers/virt/coco/sev-guest/sev-guest.c
+5-71 files

LLVM/project d19af7fllvm/utils/lit/lit TestingConfig.py

add comment

Created using spr 1.3.7
DeltaFile
+1-0llvm/utils/lit/lit/TestingConfig.py
+1-01 files

LLVM/project 3597ec5llvm/utils/lit/lit TestingConfig.py

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1-0llvm/utils/lit/lit/TestingConfig.py
+1-01 files

LLVM/project b88cf99llvm/utils/lit/lit TestingConfig.py

add comment

Created using spr 1.3.7
DeltaFile
+1-0llvm/utils/lit/lit/TestingConfig.py
+1-01 files

LLVM/project f94a690llvm/docs Passes.rst AliasAnalysis.rst, llvm/lib/Passes PassRegistry.def

[Passes] Use consistent naming for printer passes (#198144)
DeltaFile
+5-6llvm/lib/Passes/PassRegistry.def
+4-4llvm/docs/Passes.rst
+3-3llvm/docs/AliasAnalysis.rst
+2-2llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll
+2-2llvm/test/Analysis/AliasSet/saturation.ll
+1-1llvm/test/Analysis/MustExecute/const-cond.ll
+17-1829 files not shown
+45-4735 files

Linux/linux e7f24a3arch/x86/kernel relocate_kernel_64.S

Merge tag 'x86-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Ingo Molnar:

 - Fix x86 boot crash for non-kjump kexecs (David Woodhouse)

* tag 'x86-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/kexec: Push kjump return address even for non-kjump kexec
DeltaFile
+8-0arch/x86/kernel/relocate_kernel_64.S
+8-01 files

OPNSense/core e014b02src/etc/inc interfaces.inc

interfaces: dhclient.conf doesn't cope with multi-line request/require #10318

This was changed in 26.1.8 for security reasons since it appeared it would,
but the parser only reads the last statement.  Put them back on a single line.
DeltaFile
+2-6src/etc/inc/interfaces.inc
+2-61 files