FreeBSD/src 3219371tests/sys/netinet fibs_test.sh

tests/fibs_test: unskip udp_dontroute6 testcase

This test now consistently passes (300+ consecutive runs).

Approved by:    lwhsu (mentor)
Signed-off-by:  Siva Mahadevan <me at svmhdvn.name>
PR:             244172
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit e93e57d3da2ea54598b5db01cc12a3acd656faba)
DeltaFile
+0-3tests/sys/netinet/fibs_test.sh
+0-31 files

LLVM/project 8062e82clang/docs ReleaseNotes.rst, clang/lib/CodeGen CGCall.cpp CodeGenModule.cpp

[Clang] Emit LLVM flatten attribute instead of per-callsite alwaysinline (#188615)

Follow-up to #174899 which added the flatten function attribute to LLVM
IR and implemented recursive inlining in the `AlwaysInliner` pass.

This patch updates Clang to emit the LLVM flatten attribute on functions
with `__attribute__((flatten))`, instead of the previous approach of
marking each call site with `alwaysinline`. This completes the
transition to matching GCC's flatten semantics.

  Changes:
  - Remove the callsite `alwaysinline` annotation logic from CGCall.cpp
  - Emit the flatten function attribute in CodeGenModule.cpp
  - Update clang/test/CodeGen/flatten.c to reflect the new IR output
- Update clang/test/CodeGen/AArch64/sme-inline-callees-streaming-attrs.c
to reflect the new behavior
  - Add release notes documenting the behavior change

RFC:
https://discourse.llvm.org/t/rfc-function-level-flatten-depth-attribute-for-depth-limited-inlining
DeltaFile
+81-34clang/test/CodeGen/AArch64/sme-inline-callees-streaming-attrs.c
+20-12clang/test/CodeGen/flatten.c
+0-11clang/lib/CodeGen/CGCall.cpp
+10-0clang/docs/ReleaseNotes.rst
+3-0clang/lib/CodeGen/CodeGenModule.cpp
+114-575 files

FreeBSD/ports af9d567net/eturnal Makefile

net/eturnal: bump port after lang/erlang update

PR:             290976
Approved by:    portmgr (build fix blanket)
Sponsored by:   SkunkWerks, GmbH
DeltaFile
+1-1net/eturnal/Makefile
+1-11 files

LLVM/project 98fe008offload/test/offloading interop-print.c

[offload] Un-XFAIL interop-print.c test for nvidia (#194447)
DeltaFile
+0-2offload/test/offloading/interop-print.c
+0-21 files

LLVM/project 2962f64llvm/include/llvm/IR DebugInfoMetadata.h DIBuilder.h, llvm/lib/IR DIBuilder.cpp LLVMContextImpl.h

Allow DIBasicType (and others) to have a scope and location (#190217)

DIBasicType derives from DIType and so it already has slots to store the
scope and location of the type. However, the DIBasicType constructor
(and corresponding DIBuilder method) does not expose this, presumably
because it is not needed by C or C++.

In Ada it is more common to create one's own basic type. So, for Ada
exposing this functionality would be handy.

This patch adds a new overload of DIBuilder::createBasicType to allow
this. Because only Ada uses fixed point types, the patch simply updates
these DIBuilder methods unconditionally.

Note that DwarfUnit already handles this scenario and so no changes were
needed there.
DeltaFile
+114-81llvm/include/llvm/IR/DebugInfoMetadata.h
+54-28llvm/lib/IR/DIBuilder.cpp
+34-17llvm/lib/IR/LLVMContextImpl.h
+40-7llvm/include/llvm/IR/DIBuilder.h
+39-0llvm/test/Bitcode/fixedpoint_scope.ll
+21-17llvm/lib/IR/DebugInfoMetadata.cpp
+302-1505 files not shown
+358-16811 files

FreeBSD/src 4846afcrelease/scripts pkg-stage.sh

pkg-stage: Improve symlink creation

Invoke ln with -n and -f.  In normal use it doesn't matter, but during
development this might be run in a partially populated leftover tree.

Reviewed by:    ivy
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52883
DeltaFile
+2-2release/scripts/pkg-stage.sh
+2-21 files

FreeNAS/freenas 26f6468src/middlewared/middlewared/etc_files/local/avahi/services ADISK.service.py, src/middlewared/middlewared/etc_files/local/truenas-discovery truenas-discoveryd.conf.py

NAS-140780 / 26.0.0-BETA.2 / Use truenas-discovery service (by anodos325) (#18805)

This commit replaces avahi, wsdd, and netbios services with a unified
truenas-discovery service. This simplifies the middleware implementation
of these services. Tests are adjusted so that we have more direct
testing that middleware configuration changes are reflected in the
in-memory running configuration of the truenas-discoveryd daemon. During
testing / validation I discovered that there were some escape avenues
whereby the configuration may not be properly reloaded after netbios
name or workgroup changes.

Original PR: https://github.com/truenas/middleware/pull/18801

---------

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+589-0tests/api2/test_service_announcement.py
+0-479tests/api2/test_310_service_announcement.py
+13-160src/middlewared/middlewared/utils/mdns.py
+63-0src/middlewared/middlewared/etc_files/local/truenas-discovery/truenas-discoveryd.conf.py
+0-63src/middlewared/middlewared/etc_files/local/avahi/services/ADISK.service.py
+58-0src/middlewared/middlewared/etc_files/local/truenas-discovery/services.d/ADISK.conf.py
+723-70228 files not shown
+939-1,04234 files

LLVM/project 6aec182llvm/lib/Target/PowerPC PPCISelLowering.cpp PPCInstrInfo.td

[PowerPC] Further refactor atomic loads

Depending on the availability of the word-part feature, different code
is generated for 1 and 2 byte atomic loads. This change moves the decision
to use the word-part feature from C++ into TableGen patterns. This is done
via:

 - move code from `EmitPartwordAtomicBinary()` into new function
   'signExtendOperandIfUnknown()'
 - decouple functions `EmitPartwordAtomicBinary()` and `EmitAtomicBinary()`
 - remove the size from the name of the pseudo instructions; instead,
   introduce a pseudo instruction which is used in case the word-part
   feature is missing
 - update the handling of the pseudo instruction insertion accordingly

A side effect of this change is the implementation requires 11 pseudo
instructions less.
DeltaFile
+56-48llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+42-16llvm/lib/Target/PowerPC/PPCInstrInfo.td
+98-642 files

LLVM/project 538090cllvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU hsa-gfx125x-v4-user-sgpr-err.s hsa-gfx12-v4-user-sgpr-err.s

[AMDGPU] Validate user SGPR count against HW range, not field width

The previous validation checked only the field width,
allowing values that exceeded the actual hardware limits
(e.g. 0–16 on gfx6-gfx120 and 0–32 on gfx125x) as long
as they fit in the bit width.
Tighten validation to reject out-of-range user SGPR counts.
DeltaFile
+14-0llvm/test/MC/AMDGPU/hsa-gfx125x-v4-user-sgpr-err.s
+13-0llvm/test/MC/AMDGPU/hsa-gfx12-v4-user-sgpr-err.s
+2-5llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+29-53 files

FreeBSD/src 43e7448sys/fs/fuse fuse_vnops.c fuse_node.c

fusefs: better handling for low-memory conditions

Under conditions of low memory, getblk can fail.  fusefs was not
handling those failures very systematically.  It was always using
PCATCH, which appears to have been originally copy/pasted from the NFS
client code, but isn't always appropriate:

* During fuse_vnode_setsize_immediate, which can be called from many
  different VOPs and from the vn_delayed_setsize mechanism, remove
  PCATCH.  Some of these callers cannot tolerate allocate failure.

* In fuse_inval_buf_range, don't assume that getblk will always succeed.

* When calling fuse_inval_buf_range from VOP_ALLOCATE,
  VOP_COPY_FILE_RANGE, or VOP_WRITE (with IO_DIRECT), return EINTR if
  the allocation fails.

* When calling fuse_inval_buf_range from VOP_DEALLOCATE, remove PCATCH.
  This VOP must not fail with EINTR.

    [8 lines not shown]
DeltaFile
+17-7sys/fs/fuse/fuse_vnops.c
+1-5sys/fs/fuse/fuse_node.c
+18-122 files

FreeBSD/src fac95c7lib/libsys pdfork.2

pdfork.2: correct pdrfork's HISTORY section

Since pdrfork will be included in FreeBSD 15.1

Reviewed by:    kib
Differential Revision: https://reviews.freebsd.org/D56513

(cherry picked from commit 9d39213d222395eb40323102db018cbedf773ddf)
DeltaFile
+2-2lib/libsys/pdfork.2
+2-21 files

LLVM/project 0f42045clang/lib/Sema SemaOpenMP.cpp

remove experimental/unnecessary forward decl

Created using spr 1.3.5
DeltaFile
+1-5clang/lib/Sema/SemaOpenMP.cpp
+1-51 files

FreeBSD/src ea27ec1tools/build/options makeman.lua

makeman.lua: Downgrade `make showconfig` error to warning

The sh-based makeman silently ignored errors from `make showconfig`.
Ignore errors also from makeman.lua (but emit a warning).

We may want to revisit this in the future, but want makeman.lua to
behave identically for now.

PR:             294822
Reviewed by:    kevans
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56663
DeltaFile
+4-1tools/build/options/makeman.lua
+4-11 files

FreeBSD/ports c04bae0net/hostapd210 Makefile

net/hostapd210: Deprecate and expire

No longer supported by upstream.
DeltaFile
+3-0net/hostapd210/Makefile
+3-01 files

FreeBSD/src 0988abdtests/sys/netgraph eiface_test.sh Makefile

tests/netgraph: Add a test for races between if_detach() and vnet_if_return()

A ng_eiface(4) or physical interface does not involve the cloner hence
the detaching is a bit different with epair(4). Add more tests to cover
that.

PR:             292993
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56609
DeltaFile
+67-0tests/sys/netgraph/eiface_test.sh
+2-0tests/sys/netgraph/Makefile
+69-02 files

FreeBSD/src afa4648tests/sys/net if_clone_test.sh, tests/sys/netgraph eiface_test.sh

tests: Temporarily skip two testcases

The changes [1] and [2] made to CURRENT introduce races between ifnet
detach and vmove operations. That requires extra effort to fix. They
are not MFCed to stable branches so the latter are not affected.
Temporarily skip two affected tests on CURRENT right now.

[1] 0bf42a0a05b9 bpf: virtualize bpf_iflist
[2] a4d766caf711 bpf: add a crutch to support if_vmove

PR:             292993
Discussed with: kp
DeltaFile
+2-0tests/sys/net/if_clone_test.sh
+2-0tests/sys/netgraph/eiface_test.sh
+4-02 files

FreeBSD/src f4be169tests/sys/net if_clone_test.sh

tests/net/if_clone_test: Add a test for races between if_detach() and if_vmove_reclaim()

Ideally we shall have tests for all possible races. It is races between
if_detach(), if_vmove_loan(), if_vmove_reclaim() and vnet_if_return().
Well that requires too many tests and it appears to be less valuable to
have them all. So focus on potential in future regressions related to
recent fixes [1] and [2] only.

[1] ee9456ce3753 ifnet: Fix races in if_vmove_reclaim()
[2] ba7f47d47dc1 ifnet: if_detach(): Fix races with vmove operations

MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56606
DeltaFile
+29-0tests/sys/net/if_clone_test.sh
+29-01 files

FreeBSD/ports b1176a3security/wpa_supplicant210 Makefile

security/wpa_supplicant210: Deprecate and expire

No longer supported by upstream.
DeltaFile
+3-0security/wpa_supplicant210/Makefile
+3-01 files

FreeBSD/doc f8d0c45documentation/content/en/books/handbook/zfs _index.adoc

Fix instructions for writing the ZFS bootcode on EFI systems

The previous instructions used "gpart bootcode" which do not work
anymore and result in broken boot on EFI systems. Change the
instructions to mount the EFI partition first and then copy the boot
loader file into the target directory on it. Add a note that the target
file is architecture specific, pointing users to uefi(8) where the file
names are listed per architecture.

PR:                     293912
Reviewed by:            imp
Differential Revision:  https://reviews.freebsd.org/D56643
DeltaFile
+7-1documentation/content/en/books/handbook/zfs/_index.adoc
+7-11 files

FreeBSD/ports 54d64eanet/hostapd29 Makefile

net/hostapd29: Deprecate and expire

No longer supported by upstream.
DeltaFile
+3-0net/hostapd29/Makefile
+3-01 files

FreeBSD/ports 8082c53security/wpa_supplicant29 Makefile

security/wpa_supplicant29: Deprecate and expire

No longer supported by upstream.
DeltaFile
+3-0security/wpa_supplicant29/Makefile
+3-01 files

LLVM/project 822493allvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-lse2.ll aarch64-atomicrmw-v8a.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

rebase

Created using spr 1.3.5
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project 3224a85llvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-lse2.ll aarch64-atomicrmw-rcpc.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project 7c17ccfllvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-rcpc3.ll aarch64-atomicrmw-lse2.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

rebase

Created using spr 1.3.5
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project 0d5cfeallvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-rcpc3.ll aarch64-atomicrmw-lse2.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project 7e2c29allvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-lse2.ll aarch64-atomicrmw-v8a.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

rebase

Created using spr 1.3.5
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project fdd90c0llvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-v8a.ll aarch64-atomicrmw-rcpc3.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project c08ca7ellvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-v8a.ll aarch64-atomicrmw-rcpc3.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

rebase

Created using spr 1.3.5
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project 4e1ac7bllvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-rcpc3.ll aarch64-atomicrmw-rcpc.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files

LLVM/project 4575076llvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-v8a.ll aarch64-atomicrmw-rcpc3.ll, llvm/test/CodeGen/RISCV/rvv setcc-int-vp.ll

rebase and reformat

Created using spr 1.3.5
DeltaFile
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+1,250-1,305llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+704-882llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll
+8,934-6,5581,525 files not shown
+62,189-31,9861,531 files