FreeNAS/freenas ed7cd00src/middlewared/middlewared/plugins usage.py support.py, src/middlewared/middlewared/plugins/device_ netlink_events.py

NAS-141504 / 27.0.0-BETA.1 / Convert system.vendor to the typesafe port pattern (#19173)

## Context
system.vendor was an old-style service with inline BaseModel
args/results and @api_method-wrapped methods. All three methods (name,
unvendor, is_vendored) are private with no over-the-wire surface and
there is no datastore, so it fits the fully-private port pattern — a
lean private shim delegating to plain, fully type-annotated module
functions — rather than a Generic*/Pydantic conversion. The wire shapes
(str | None, bool, None) are unchanged.

## Solution
- vendor.py is now a plain typed logic module (get_vendor,
remove_vendor_file, is_vendored); get_vendor stays importable there for
scripts/vendor_service.py. The lean VendorService shim in __init__.py
keeps the try/except + logging orchestration and delegates to it, with
Config private. unvendor keeps the etc.generate string call since that's
CtxMethod dynamic dispatch.
- Registered VendorService on SystemServicesContainer in main.py so it

    [7 lines not shown]
DeltaFile
+4-57src/middlewared/middlewared/plugins/system_vendor/vendor.py
+40-0src/middlewared/middlewared/plugins/system_vendor/__init__.py
+2-2src/middlewared/middlewared/plugins/usage.py
+2-2src/middlewared/middlewared/plugins/support.py
+1-1src/middlewared/middlewared/plugins/nvmet/subsys.py
+1-1src/middlewared/middlewared/plugins/device_/netlink_events.py
+50-632 files not shown
+53-638 files

FreeBSD/ports 53c8bc3graphics/opennurbs distinfo Makefile

graphics/opennurbs: Update to 8.32.26160.13001
DeltaFile
+3-3graphics/opennurbs/distinfo
+1-1graphics/opennurbs/Makefile
+4-42 files

LLVM/project 31f308ellvm/include/llvm/IR IntrinsicsAMDGPU.td, llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp SIISelLowering.cpp

[AMDGPU] Guard more intrinsics with target features
DeltaFile
+1-51llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+0-42llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+0-24llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+15-2llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+4-4llvm/test/CodeGen/AMDGPU/unsupported-av-store.ll
+4-4llvm/test/CodeGen/AMDGPU/unsupported-av-load.ll
+24-12712 files not shown
+45-14318 files

LLVM/project c1037feclang/lib/CodeGen CodeGenAction.cpp, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[RFC][CodeGen] Add generic target feature checks for intrinsics

This PR adds target-independent infrastructure for annotating LLVM intrinsics
with required subtarget feature expressions.

It introduces a TargetFeatures string field to intrinsic TableGen records.
TableGen emits an intrinsic-to-feature mapping table.

Both SelectionDAG and GlobalISel now perform this check before lowering target
intrinsics. This allows targets to opt in by annotating intrinsic definitions
directly, rather than adding custom checks during lowering, legalization, or
instruction selection.

This PR uses one AMDGPU intrinsic as an example.
DeltaFile
+96-3llvm/lib/MC/MCSubtargetInfo.cpp
+37-0clang/lib/CodeGen/CodeGenAction.cpp
+36-0llvm/lib/IR/DiagnosticInfo.cpp
+33-1llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
+28-0llvm/test/TableGen/intrinsic-target-features.td
+25-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+255-414 files not shown
+391-920 files

LLVM/project d845955llvm/lib/IR Verifier.cpp VerifierAMDGPU.cpp, llvm/test/Verifier callbr-intrinsic.ll

[RFC][IR] Extract AMDGPU-specific verification logic into `VerifierAMDGPU.cpp`

`Verifier.cpp` is large and already mixes generic IR verification with
target-specific checks. We also have a growing amount of AMDGPU verifier logic
downstream, which would all end up in the same file if we don't address this,
and that is not ideal.

This patch extracts AMDGPU-specific verification logic into a separate
`VerifierAMDGPU.cpp` file, with shared infrastructure (`VerifierSupport`) moved
into `VerifierInternal.h`.

This is purely a code organization change, not a target-dependent IR verifier.
All checks remain compiled and linked into `LLVMCore` regardless of the target
triple. The extracted functions are called unconditionally at well-defined
extension points in `Verifier.cpp`, and each function internally gates on
target-specific conditions (for example, triple checks or intrinsic IDs) as
needed. The file is strictly limited to AMDGPU-specific IR constructs (amdgcn
intrinsics, AMDGPU module flags, etc.), and does not contain generic IR rules
that vary by target.

    [10 lines not shown]
DeltaFile
+23-530llvm/lib/IR/Verifier.cpp
+401-0llvm/lib/IR/VerifierAMDGPU.cpp
+233-0llvm/lib/IR/VerifierInternal.h
+6-6llvm/test/Verifier/callbr-intrinsic.ll
+1-0llvm/lib/IR/CMakeLists.txt
+1-0llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
+665-5366 files

FreeNAS/freenas d29e68dsrc/middlewared/middlewared pylibvirt.py, src/middlewared/middlewared/pytest/unit test_gather_pylibvirt_domains_states.py

Skip individual domains that vanish while gathering libvirt state

## Problem
`gather_pylibvirt_domains_states` wraps its whole loop in one try/except. If a queried domain is destroyed between `list_domains()` and reading its state (a TOCTOU race), libvirt raises `VIR_ERR_NO_DOMAIN` and the exception unwinds the entire loop, so every still-running domain after it is dropped from the result and reported as STOPPED/`pid: null` until the next poll. It also logged a full WARNING traceback for what is a benign, self-correcting race, and masked genuine errors (e.g. a bug in the per-domain factory) behind that same generic warning.

## Solution
Moved the try/except inside the loop so a vanished domain is skipped individually while the rest of the batch is still reported correctly (a missing entry falls back to STOPPED via `get_pylibvirt_domain_state`). The failure is classified using the new `is_no_domain_error` helper from truenas_pylibvirt: the no-domain race is logged at DEBUG, anything else at ERROR with `exc_info` so genuine bugs stay visible and no longer poison sibling domains.
DeltaFile
+182-0src/middlewared/middlewared/pytest/unit/test_gather_pylibvirt_domains_states.py
+45-16src/middlewared/middlewared/pylibvirt.py
+227-162 files

FreeBSD/doc 5498939documentation/content/en/books/handbook/virtualization _index.adoc

handbook/virtualization: Fix copy&pasto in driver name

The VMSVGA driver is the one that targets VMware guests, not VBoxSVGA.
Before this fix, the sentence would contradict the one before it. I must
have copied the wrong driver name when I made the original change.

Noticed by:     Takashi Shimizu
DeltaFile
+1-1documentation/content/en/books/handbook/virtualization/_index.adoc
+1-11 files

FreeBSD/src 9f9f0d3lib/libc/net protocols

protocols: Update with IANA list

- Update /etc/protocols with IANA list updated 2026-03-09.
- Document that 240 (pfsync) is not assigned by IANA.
- Document deprecated protocols.

PR:             295739
Reviewed by:    des
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57445

(cherry picked from commit e3fa020202d8e040242016bda275dde83c058549)
DeltaFile
+11-6lib/libc/net/protocols
+11-61 files

FreeBSD/src d661121lib/libc/net protocols

protocols: Update with IANA list

- Update /etc/protocols with IANA list updated 2026-03-09.
- Document that 240 (pfsync) is not assigned by IANA.
- Document deprecated protocols.

PR:             295739
Reviewed by:    des
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57445

(cherry picked from commit e3fa020202d8e040242016bda275dde83c058549)
DeltaFile
+11-6lib/libc/net/protocols
+11-61 files

FreeBSD/ports 7aeb499graphics/mesa-dri pkg-plist

graphics/mesa-dri: Fix plist when X11 is off

According to ${WRKSRC}/src/meson.build code the X11 platform is required for DRI.

PR:             296084
DeltaFile
+49-49graphics/mesa-dri/pkg-plist
+49-491 files

NetBSD/src ErbKwiLsys/dev/pci agpvar.h

   include pcivar.h so that includes can be sorted lexicographically in agp files.
VersionDeltaFile
1.23+3-1sys/dev/pci/agpvar.h
+3-11 files

NetBSD/src rmr7PjIsys/arch/alpha/alpha disksubr.c, sys/arch/arm/arm disksubr.c

   fix typos in comments, mainly s/archtypal/archetypal/.
VersionDeltaFile
1.43+3-3sys/arch/alpha/alpha/disksubr.c
1.27+3-3sys/arch/arm/arm/disksubr.c
1.22+3-3sys/arch/arm/broadcom/bcm2835_vcaudio.c
1.19+3-3sys/arch/evbmips/evbmips/disksubr.c
1.4+3-3sys/arch/evbmips/sbmips/disksubr.c
1.19+3-3sys/arch/evbppc/evbppc/disksubr.c
+18-189 files not shown
+43-4315 files

OpenBSD/ports x7H2h4ktextproc/qxlsx Makefile distinfo, textproc/qxlsx/patches patch-QXlsx_CMakeLists_txt

   Update to qt6-qxlsx-1.5.1.1.
VersionDeltaFile
1.9+22-20textproc/qxlsx/pkg/PLIST
1.11+16-12textproc/qxlsx/patches/patch-QXlsx_CMakeLists_txt
1.11+5-2textproc/qxlsx/Makefile
1.8+2-2textproc/qxlsx/distinfo
+45-364 files

OpenBSD/ports oqUmIbFmath/labplot Makefile

   Regen WANTLIB.
VersionDeltaFile
1.21+2-1math/labplot/Makefile
+2-11 files

FreeNAS/freenas 8f0c035src/middlewared/middlewared pylibvirt.py, src/middlewared/middlewared/pytest/unit test_gather_pylibvirt_domains_states.py

Skip individual domains that vanish while gathering libvirt state

## Problem
`gather_pylibvirt_domains_states` wraps its whole loop in one try/except. If a queried domain is destroyed between `list_domains()` and reading its state (a TOCTOU race), libvirt raises `VIR_ERR_NO_DOMAIN` and the exception unwinds the entire loop, so every still-running domain after it is dropped from the result and reported as STOPPED/`pid: null` until the next poll. It also logged a full WARNING traceback for what is a benign, self-correcting race, and masked genuine errors (e.g. a bug in the per-domain factory) behind that same generic warning.

## Solution
Moved the try/except inside the loop so a vanished domain is skipped individually while the rest of the batch is still reported correctly (a missing entry falls back to STOPPED via `get_pylibvirt_domain_state`). The failure is classified using the new `is_no_domain_error` helper from truenas_pylibvirt: the no-domain race is logged at DEBUG, anything else at ERROR with `exc_info` so genuine bugs stay visible and no longer poison sibling domains.
DeltaFile
+154-0src/middlewared/middlewared/pytest/unit/test_gather_pylibvirt_domains_states.py
+35-16src/middlewared/middlewared/pylibvirt.py
+189-162 files

LLVM/project e0cc08dclang/lib/AST/ByteCode InterpBuiltin.cpp, clang/lib/Headers avx512vnniintrin.h avx512vlvnniintrin.h

[clang][x86] Add constexpr support for VNNI intrinsics (#190549)

Fixes #161340.

It adds constexpr support for VNNI
intrinsics by modifying their header files, their TableGen definitions,
how they're interpreted in InterpBuiltin.cpp and ExprConstant.cpp, and
adds unit tests in the headers' corresponding unit test files.
DeltaFile
+190-1clang/test/CodeGen/X86/avx512vlvnni-builtins.c
+162-0clang/test/CodeGen/X86/avxvnni-builtins.c
+86-1clang/test/CodeGen/X86/avx512vnni-builtins.c
+74-1clang/lib/AST/ByteCode/InterpBuiltin.cpp
+32-35clang/lib/Headers/avx512vnniintrin.h
+29-34clang/lib/Headers/avx512vlvnniintrin.h
+573-723 files not shown
+659-1189 files

LLVM/project a12b7afllvm/lib/Target/X86 X86InstrMisc.td, llvm/test/CodeGen/X86 bmi.ll

[X86] Select BLSI for i8 operands (#202344) (#204746)

Adds a tablegen pattern to select BLSI 32 for `and (neg x), x` at i8.

Fixes #202344
DeltaFile
+94-0llvm/test/CodeGen/X86/bmi.ll
+12-1llvm/lib/Target/X86/X86InstrMisc.td
+106-12 files

FreeBSD/src 9d43654sys/sys vnode.h rangelock.h

struct vnode: assign v_rl.resv1 as v_type and v_rl.resv2 as v_state

(cherry picked from commit da6aa0648c0265d6f7bcba44a26f13ed0453dd7a)
DeltaFile
+8-2sys/sys/vnode.h
+4-0sys/sys/rangelock.h
+12-22 files

FreeBSD/src b8044a0sys/kern vfs_subr.c, sys/sys vnode.h mount.h

vnode: move VIRF_KNOTE to v_v2flag

(cherry picked from commit 64467d2ec3ede11430554fea68b317d27bf4b5c3)
DeltaFile
+4-3sys/sys/vnode.h
+2-3sys/kern/vfs_subr.c
+2-2sys/sys/mount.h
+8-83 files

FreeBSD/src ce6cc3bsys/sys mount.h

sys/mount.h: restore KNF_NOKQLOCK in VFS_KNOTE_{,UN}LOCKED() call to KNOTE()

(cherry picked from commit 43a8585cb2bb0e284df672174a57780e53107d27)
DeltaFile
+4-4sys/sys/mount.h
+4-41 files

FreeBSD/src eb810besys/sys rangelock.h

sys/rangelock.h: explicitly enumerate padding at the end of the structure

(cherry picked from commit 3d505310b1bb259c3e5f39d8c88a465cf1403934)
DeltaFile
+6-0sys/sys/rangelock.h
+6-01 files

FreeBSD/src d56df1fsys/sys vnode.h

sys/vnode.h: remove stale comment

(cherry picked from commit 5e4947f7e08a90ba50f9e8cea9ae5e128717cb5f)
DeltaFile
+0-1sys/sys/vnode.h
+0-11 files

FreeBSD/src c20d129sys/amd64/amd64 genassym.c, sys/i386/i386 genassym.c

x86: remove sys/mount.h from genassym.c

(cherry picked from commit 72ab129799a231e322b119de3f9c1263e76527b8)
DeltaFile
+0-3sys/amd64/amd64/genassym.c
+0-3sys/i386/i386/genassym.c
+0-62 files

FreeBSD/src 18c08fdsys/kern vfs_subr.c

vop_read_pgcache_post(): the vnode is unlocked

(cherry picked from commit 0c85df0065146516d5bacfc80d52d9ee6b33b96d)
DeltaFile
+1-1sys/kern/vfs_subr.c
+1-11 files

FreeBSD/src 5c4e88csys/sys mount.h

vfs: convert VFS_OPs from macros to static inlines

(cherry picked from commit a57420b214b04de3d066236b555925ffbcb93daa)
DeltaFile
+109-97sys/sys/mount.h
+109-971 files

FreeBSD/src e076ee2sys/kern vfs_subr.c

vop_read_pgcache_post(): report inotify IN_ACCESS same as for vop_read_post()

(cherry picked from commit e9a5eb0e5e44e79d0f8dc71274b0183926abd562)
DeltaFile
+4-2sys/kern/vfs_subr.c
+4-21 files

FreeBSD/src fb73898sys/kern vfs_subr.c, sys/sys vnode.h mount.h

vnode: add VIRF_KNOTE flag

(cherry picked from commit 1d5e4020e36e1cc9e906200c9c3c784ef43d977e)
DeltaFile
+12-17sys/sys/vnode.h
+10-4sys/kern/vfs_subr.c
+10-2sys/sys/mount.h
+32-233 files

FreeBSD/src ef9f11asys/kern vfs_subr.c

vfs: work around the race between vget() and vnlru

PR:     281749

(cherry picked from commit 36b155a2b3baa747c1968a9094df9fa7fb0d02b3)
DeltaFile
+6-1sys/kern/vfs_subr.c
+6-11 files

FreeBSD/src 049c784sys/kern vfs_mount.c vfs_subr.c, sys/sys mount.h

vfs: convert vfs_op_thread_* macros to static inlines

(cherry picked from commit 32cf4514cad66ff69ffc96ede20d8debc9b96790)
DeltaFile
+55-36sys/sys/mount.h
+3-3sys/kern/vfs_mount.c
+3-3sys/kern/vfs_subr.c
+2-2sys/kern/vfs_cache.c
+2-2sys/kern/vfs_vnops.c
+65-465 files

DragonFlyBSD/src b38721cusr.bin/uname uname.c uname.1

uname(1): Add '-b' flag to show the kernel's build-ID

The kernel's build-ID has been exposed via the "kern.build_id" sysctl
MIB.  Add a '-b' flag to uname(1) to report it.

Obtained-from: FreeBSD (https://reviews.freebsd.org/D20511)
DeltaFile
+14-2usr.bin/uname/uname.c
+4-3usr.bin/uname/uname.1
+18-52 files