FreeNAS/freenas e5913b2src/middlewared/middlewared/plugins smb.py

NAS-143145 / 27.0.0-BETA.1 / always trigger smbd service reload on attachment op (#19784)

This commit adds a manual reload of the smb.conf whenever we trigger a
filesystem attachment event for an SMB share. Established SMB sessions
will only check for changes to smb.conf every 180 seconds which can
cause TCON refused messages. This behavior regressed when we
transitioned from the old libzfs python library, which necessitated a
large-scale service / filesystem attachment refactor.

(cherry picked from commit 9eacfecef44b6200e470a11fae26083ee941e6b1)
DeltaFile
+8-1src/middlewared/middlewared/plugins/smb.py
+8-11 files

FreeNAS/freenas 255eee1src/middlewared/middlewared/plugins smb.py

NAS-143145 / 26.0.0-RC.1 / always trigger smbd service reload on attachment op (by anodos325) (#19792)

This commit adds a manual reload of the smb.conf whenever we trigger a
filesystem attachment event for an SMB share. Established SMB sessions
will only check for changes to smb.conf every 180 seconds which can
cause TCON refused messages. This behavior regressed when we
transitioned from the old libzfs python library, which necessitated a
large-scale service / filesystem attachment refactor.

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

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+8-1src/middlewared/middlewared/plugins/smb.py
+8-11 files

LLVM/project 04d87a2mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp, mlir/lib/Conversion/GPUToROCDL LowerGpuOpsToROCDLOps.cpp

[mlir] Migrate AMDGPU/ROCDL to targets, not chipset versions

**migration tl;dr:** Replace usages of `amdgpu::Chipset` with `ROCDL::TargetInfo`, ideally move from `chipset=` to `arch=`. If you don't use upstream pipelines, call 'TargetInfo::migrateArchFeaturesToModuleFlags` at the appropriate location.

Further note: if you've got a build pipeline that's getting a `gfxXXX` name from something like `rocm_agent_enumerator`, using a full triple name like the ones you get from `rocminfo` is preferred.

`amdgpu::Chipset` was an awkward hack that was hard to keep up to date
with changes in the compiler/new architectures, and didn't properly
support generic targets (and has been strongly disfavored by the
compiler team).

This PR replaces `amdgpu::Chipset` with `ROCDL::TargetInfo`, a
structure that uses LLVM's TargetParser and the underlying LLVM
features tables to get the real nature of the target being compiled
for.

This also helps MLIR move to
new-style (`-mtriple=amdgpuX.YZ-amd-amdhsa`) over "old
style" (`-mtriple=amdgcn-amd-amdhsa -mcpu=gfxXYZ`) triples.

    [36 lines not shown]
DeltaFile
+316-323mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+105-0mlir/test/Dialect/LLVMIR/rocdl-attach-target-arch.mlir
+87-4mlir/lib/Dialect/GPU/Transforms/ROCDLAttachTarget.cpp
+46-40mlir/lib/Dialect/AMDGPU/Transforms/EmulateAtomics.cpp
+49-24mlir/test/Dialect/AMDGPU/amdgpu-emulate-atomics.mlir
+30-30mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
+633-421103 files not shown
+1,181-718109 files

LLVM/project 8dbdda4mlir/include/mlir/Dialect/LLVMIR ROCDLTargetInfo.h, mlir/lib/Dialect/LLVMIR CMakeLists.txt

[mlir][ROCDL] Add TargetInfo to replace Chipset, allow features queries

Add a now ROCDL::TargetInfo struct that parses AMDGPU triples and
target names using the same logic that Clang and LLVM
use (TargetParser) and maintains the set of features available on a
given GPU.

This is an improvement over the old `amdgpu::Chipset` struct since
that was just a version number and often became stale compared to the
knowledge exposed by LLVM, such as gfx1170 having OCP FP8 support even
though other gfx11 chips don't have it.

This struct also allows for moving to new-style
triples (amdgpu9.42-amd-amdhsa vs amdgcn-amd-amdhsa--gfx942, for
example), which is an ongoing migration in other parts of the compiler
that this PR lets us follow.

It also enables compiling for generic targets, like `gfx11-generic`,
which can be run on all chips in a generation.

    [15 lines not shown]
DeltaFile
+392-0mlir/unittests/Dialect/LLVMIR/ROCDLTargetInfoTest.cpp
+242-0mlir/lib/Dialect/LLVMIR/IR/ROCDLTargetInfo.cpp
+193-0mlir/include/mlir/Dialect/LLVMIR/ROCDLTargetInfo.h
+2-0mlir/unittests/Dialect/LLVMIR/CMakeLists.txt
+2-0mlir/lib/Dialect/LLVMIR/CMakeLists.txt
+831-05 files

LLVM/project ba2e1dfmlir/unittests/Dialect/LLVMIR ROCDLTargetInfoTest.cpp

Drop namespacing
DeltaFile
+3-2mlir/unittests/Dialect/LLVMIR/ROCDLTargetInfoTest.cpp
+3-21 files

LLVM/project 3dc5f50llvm/include/llvm/CodeGen MachineConstantPool.h MachineBasicBlock.h

[CodeGen] Remove dead accessors and variables in Machine* (NFC) (#224216)

MachineBasicBlock::PrefetchTargets:
Introduced on April 10, 2026 in commit
2f422a52fde267757ce48041af6e731421fed2a3 without any uses.

MachineInstrSpan::getInitial:
Introduced on August 14, 2013 in commit
c3f912b945ce6813e874b7a11c29ea2b3f2b54ff without any callers.

MachineConstantPool::getDataLayout:
The last use was removed on July 7, 2015 in commit
42e9f967127e5efea4c3b8638c9c4da8ad885fba.

SEHHandler / LandingPadInfo::SEHHandlers:
The last uses were removed on June 13, 2022 in commit
a2232da2a5d207126e1777fb33b61a16109ae38e.

MachineFunction::PersonalityTypeCache:
Moved from MachineModuleInfo on December 1, 2016 in commit
d0ee66c2e9de28cb1111663ba42468305f8d55fa without any uses.
DeltaFile
+0-11llvm/include/llvm/CodeGen/MachineFunction.h
+0-4llvm/include/llvm/CodeGen/MachineBasicBlock.h
+0-2llvm/include/llvm/CodeGen/MachineConstantPool.h
+0-173 files

LLVM/project ba60d57libc/test/src/math/exhaustive cos.wc sin.wc, llvm/test/CodeGen/AMDGPU bf16.ll amdgcn.bitcast.960bit.ll

Merge branch 'main' into users/mayanez/fix/globalopt-comdat-dead
DeltaFile
+1,091,085-0libc/test/src/math/exhaustive/sin.wc
+1,090,178-0libc/test/src/math/exhaustive/cos.wc
+65,634-64,263llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+11,404-11,457llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+5,656-7,977llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+6,369-6,125llvm/test/CodeGen/AMDGPU/bf16.ll
+2,270,326-89,8228,697 files not shown
+2,751,363-330,8118,703 files

LLVM/project fd0ecaclldb/include/lldb/DataFormatters TypeSynthetic.h, lldb/include/lldb/ValueObject ValueObject.h

[lldb] Surface GetIndexOfChildWithName errors instead of dropping them (#224059)

`ValueObjectSynthetic::GetChildMemberWithName` and
`SBValue::GetIndexOfChildWithName` called `llvm::consumeError` on the
`llvm::Expected` returned by `GetIndexOfChildWithName` and reported the
failure as a null `ValueObjectSP` / `UINT32_MAX`, so the reason a lookup
failed never reached anyone. Log them instead: `LLDBLog::DataFormatters`
from ValueObject and formatter code, `LLDBLog::API` at the SB boundary.
That is the convention `BlockPointer.cpp` and `LibCxx.cpp` already
follow.

Also, in `ValueObjectSynthetic::GetIndexOfChildWithName`:

- A front-end with `TypeOptions::eTypeOptionCustomSubscripting` that
failed to find the child left `index` at its `SIZE_MAX` initializer,
dropped the front-end's error unread, then cached `SIZE_MAX` in
`m_name_toindex` and returned it as a valid index. Return the
front-end's error instead.
- Call `GetNumChildren(max)` rather than

    [13 lines not shown]
DeltaFile
+36-32lldb/source/ValueObject/ValueObjectSynthetic.cpp
+5-0lldb/include/lldb/ValueObject/ValueObject.h
+2-2lldb/include/lldb/DataFormatters/TypeSynthetic.h
+1-1lldb/source/API/SBValue.cpp
+44-354 files

FreeBSD/ports 60b4312japanese/jvim3 Makefile, japanese/jvim3/files patch-src-unix.h patch-src__unix.c

japanese/jvim3: Refactor

Add USES=localbase.
Remove ALL_TARGET, PLIST_SUB.
Switch MAKE_ARGS to CANNNA_MAKE_ARGS.
Lint with portclippy and portfmt
Switch LN to RLN.
Add post-install-DOCS-on.
Regenerate patch files.

PR:             276459
Approved by:    fluffy (mentor)
DeltaFile
+30-34japanese/jvim3/Makefile
+9-9japanese/jvim3/files/patch-src-makjunix.mak
+0-15japanese/jvim3/files/patch-mkcmdtab.c
+15-0japanese/jvim3/files/patch-src_mkcmdtab.c
+4-4japanese/jvim3/files/patch-src__unix.c
+3-3japanese/jvim3/files/patch-src-unix.h
+61-651 files not shown
+64-687 files

FreeBSD/ports e91fdcbjapanese/jvim3 Makefile, japanese/jvim3/files patch-src_vim.h

japanese/jvim3: Fix simd(7) issue

Update MASTER_SITES.
Take maintainership.
Remove cygwin.txt, vim-jp.htm and vim32.ini from PORTDOCS.
Change the option name of DIRECT_CANNNA to CANNA.
Add XORG=xorgproto.
Add patch file for simd(7) issue.

PR:             276459
Approved by:    fluffy (mentor)
DeltaFile
+11-10japanese/jvim3/Makefile
+13-0japanese/jvim3/files/patch-src_vim.h
+24-102 files

FreeBSD/ports 8f520fajapanese/jvim3 Makefile

japanese/jvim3: Remove the japanese/onew dependancy

japanese/onew has been removed, so update Makefile.

PR:             276459
Approved by:    fluffy (mentor)
DeltaFile
+2-34japanese/jvim3/Makefile
+2-341 files

LLVM/project 3676329clang/docs ReleaseNotes.md, clang/include/clang/Parse Parser.h

[Clang][Parser] Accept contextual _except in MS compatibility mode (#223551)

Clang already accepts _try, _finally, and _leave under
-fms-compatibility, but rejects the corresponding _except spelling
because __except is recognized contextually by the parser rather than as
a reserved token.

This patch extends the contextual handler check to accept _except in
Microsoft compatibility mode and uses that check consistently in SEH and
C++ try-handler parsing. _except remains an ordinary identifier outside
the handler position, and -fms-extensions alone does not enable the
alias.

The change is limited to parsing; it does not modify SEH lowering, LLVM
IR, optimization, or runtime behavior.

Assisted-by: Claude Opus 5 (via VS Code)

---------

Co-authored-by: Adam Glass <adamglass at microsoft.com>
DeltaFile
+44-0clang/test/Parser/ms-seh-single-underscore.c
+17-3clang/lib/Parse/Parser.cpp
+20-0clang/test/Parser/ms-seh-single-underscore-strict.c
+5-10clang/lib/Parse/ParseStmt.cpp
+5-0clang/docs/ReleaseNotes.md
+2-1clang/include/clang/Parse/Parser.h
+93-146 files

FreeBSD/src 2c59dd4sys/dev/acpica acpi.c

acpi: Set status to AE_ERROR if device suspend failed

Previously, we would be returning AE_OK from acpi_EnterSleepState().

Reviewed by:    olce
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59735
DeltaFile
+1-0sys/dev/acpica/acpi.c
+1-01 files

LLVM/project 402b3f1clang/lib/AST/ByteCode InterpBuiltin.cpp

[clang][bytecode] Remove unnecessary stack operations in builtin_expect (#224288)
DeltaFile
+2-4clang/lib/AST/ByteCode/InterpBuiltin.cpp
+2-41 files

LLVM/project bb2451ellvm/test/Transforms/LoopVectorize/VPlan vplan-printing-metadata.ll

[VPlan] Add test showing dropped metadata in narrowToSingleScalar (NFC) (#224321)

Add test showing dropped metadata in narrowToSingleScalar.
DeltaFile
+67-0llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-metadata.ll
+67-01 files

FreeBSD/ports a11dc43x11-wm/mango Makefile distinfo, x11-wm/mango/files patch-src_dispatch_bind.c

x11-wm/mango: Update to 0.17.2

ChangeLog:

1. https://github.com/mangowm/mango/releases/tag/0.17.2

Reported by:    DreamMaoMao <notifications at github.com>
DeltaFile
+0-11x11-wm/mango/files/patch-src_dispatch_bind.c
+3-3x11-wm/mango/distinfo
+1-1x11-wm/mango/Makefile
+4-153 files

LLVM/project 2f2e096clang/lib/AST/ByteCode ByteCodeEmitter.h

[clang][bytecode] Remove default parameter value (#224306)

Passing nullptr doesn't make sense.
DeltaFile
+1-1clang/lib/AST/ByteCode/ByteCodeEmitter.h
+1-11 files

LLVM/project e3c4c16lldb/include/lldb/Target Process.h, lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp

[lldb] Substitute breakpoint opcodes in expedited memory (#224304)

A stub may send expedited memory in a stop reply, and
`ProcessGDBRemote::SetThreadStopInfo` puts those bytes straight into the
memory cache.  When a range covers a breakpoint lldb manages itself, the
cache then holds the trap opcode, and every later read of that address
returns the trap instead of the instruction underneath.  However, A read
reply does not have this problem: `ReadMemoryFromInferior` calls
`RemoveBreakpointOpcodesFromBuffer` before returning. The expedited path
never did, so this fix adds `Process::AddCacheData` to do the same and
use
it at the two places that cache expedited memory.

`TestWriteOverSoftwareBreakpoint.py` catches this once the stub
expedites a
range that covers the breakpoint:

```
AssertionError: bytearray(b'\x00\x00 \xd4') != bytearray(b'\xcd\x00\x00\x90')

    [4 lines not shown]
DeltaFile
+10-0lldb/source/Target/Process.cpp
+2-2lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+4-0lldb/include/lldb/Target/Process.h
+16-23 files

LLVM/project 642d7e9clang/docs ReleaseNotes.md, clang/include/clang/Parse Parser.h

[clang][Parse] Fix stale `CurParsedObjCImpl` after an `@implementation` ends early (#219953)

Fixes #209503

`ObjCImplParsingDataRAII` only reset `CurParsedObjCImpl` in its
destructor, but an `@implementation` can be finished well before that:
`CheckNestedObjCContexts` ends it as soon as a nested
`@interface`/`@protocol`/`@implementation` shows up, and that container
is then parsed inside the same frame. Anything defined in there still
looked like it was inside the already finished `@implementation`, so
`ParseFunctionDefinition` queued the body into a `LateParsedObjCMethods`
that nobody was going to drain again, and the destructor's
`assert(LateParsedObjCMethods.empty())` fired. The fatal `#include` in
the report is a red herring, by the way — it only hides the diagnostics
for the function that gets queued.

`finish()` now restores the previous `CurParsedObjCImpl` the moment the
`@implementation` ends, instead of the destructor nulling it later.
Restoring rather than clearing also covers the mirror image: an

    [7 lines not shown]
DeltaFile
+27-0clang/test/Parser/GH209503.mm
+8-1clang/include/clang/Parse/Parser.h
+4-1clang/lib/Parse/ParseObjc.cpp
+3-0clang/docs/ReleaseNotes.md
+42-24 files

FreeBSD/src 13d5f20libexec/rc/rc.d nuageinit

nuageinit: fix support on OpenStack

Change added in 90a7728cd8905cd26b90d06f7873df8bad43ae9a contained a
lot of bugs:
- If all network interfaces correctly respond to DHCP, then pwait was
waiting forever.
- If there was more than 1 interface, then "cat
/tmp/ephemeraldhcp.*.pid" joined pid numbers into one long string.
- "for iface in $left; do kill -15 $left; done" is not using $iface.

Tested by:      adam.mizerski at ovhcloud.com
Sponsored by:   OVHcloud
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2436
DeltaFile
+6-8libexec/rc/rc.d/nuageinit
+6-81 files

LLVM/project aeacd02llvm/lib/Target/DirectX DXILResourceAccess.cpp, llvm/test/CodeGen/DirectX/ResourceAccess non-unique.ll looped-phi-nodes.ll

[HLSL][DirectX] handle updatecounter in dxil resource access pass (#223591)

Recognize UpdateCounter operation in 'getStoreLoadOperand' and treat it
like Store or Load, the source of a usage of a resource. The operand
returned by this function is no longer always a Ptr so, handle when it
is a target extension type.

Closes #222400 

Assisted by GPT-5.6 Sol
DeltaFile
+63-0llvm/test/CodeGen/DirectX/ResourceAccess/handle-to-index.ll
+23-10llvm/lib/Target/DirectX/DXILResourceAccess.cpp
+24-0llvm/test/CodeGen/DirectX/ResourceAccess/looped-phi-nodes.ll
+14-0llvm/test/CodeGen/DirectX/ResourceAccess/non-unique.ll
+124-104 files

LLVM/project 1a2f45blldb/docs/resources lldbgdbremote.md

[lldb][docs] Put missing ';' in qMemoryRegionInfo ProtectionKey doc (#224341)

These are all name:value; and are documented as such but I forgot to add
the ; for this one.

Found while reviewing #224319.
DeltaFile
+1-1lldb/docs/resources/lldbgdbremote.md
+1-11 files

NetBSD/src qa5Vuj0usr.sbin/npf/npfctl npf_build.c

   improve table load error in npf

   an EEXIST should clearly state already defined and a load failure should
   also clearly be stated. do not class all error returns under EEXIST
   since npf_table_insert can return other errors aside EEXIST.
VersionDeltaFile
1.64+6-2usr.sbin/npf/npfctl/npf_build.c
+6-21 files

LLVM/project 4081877llvm/lib/Transforms/InstCombine InstCombineAndOrXor.cpp, llvm/test/Transforms/InstCombine bit-checks.ll

[InstCombine] Support trunc nuw condition in foldAndOrOfICmps (#222407)

Fixes regressions seen in
https://github.com/llvm/llvm-project/pull/184182

one proof: https://alive2.llvm.org/ce/z/8eRbWu
DeltaFile
+32-0llvm/test/Transforms/InstCombine/bit-checks.ll
+15-12llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+47-122 files

LLVM/project de27be0llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes SeedCollection.cpp

[SandboxVec][NFC] Make sbvec-collect-seeds a static opt (#224153)
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedCollection.cpp
+1-11 files

LLVM/project fce4106llvm/lib/Object GOFFObjectFile.cpp

GOFFObjectFile - use snprintf instead of sprintf (#224336)

Change sprintf to snprintf
DeltaFile
+1-1llvm/lib/Object/GOFFObjectFile.cpp
+1-11 files

OpenBSD/ports sZjhFYjlang/luajit distinfo Makefile

   update to luajit-2.1.1788856981
VersionDeltaFile
1.45+2-3lang/luajit/Makefile
1.18+2-2lang/luajit/distinfo
+4-52 files

FreeNAS/freenas 5a9eb75src/middlewared/middlewared/api/v27_0_0 zpool.py, src/middlewared/middlewared/plugins/zpool zpool_query.py query_impl.py

Return zpool and vdev guids as decimal strings
DeltaFile
+91-0src/middlewared/middlewared/pytest/unit/api/handler/version/test_zpool_guid_downgrade.py
+32-7src/middlewared/middlewared/api/v27_0_0/zpool.py
+7-4tests/api2/test_zpool_query.py
+9-2src/middlewared/middlewared/plugins/zpool/query_impl.py
+1-1src/middlewared/middlewared/plugins/zpool/zpool_query.py
+140-145 files

FreeNAS/freenas a7894e0src/middlewared/middlewared/api/v26_0_0 zpool_query.py, src/middlewared/middlewared/api/v27_0_0 zpool.py

Rename the ZPool-prefixed zpool models and service to Zpool
DeltaFile
+70-70src/middlewared/middlewared/api/v27_0_0/zpool.py
+45-45src/middlewared/middlewared/api/v26_0_0/zpool_query.py
+22-22src/middlewared/middlewared/plugins/zpool/zpool.py
+19-19src/middlewared/middlewared/plugins/zpool/create_rules.py
+6-6src/middlewared/middlewared/plugins/zpool/zpool_query.py
+6-6src/middlewared/middlewared/plugins/zpool/zpool_create.py
+168-16815 files not shown
+213-21321 files

FreeNAS/freenas fb09b24src/middlewared/middlewared/api/v27_0_0 zpool.py, src/middlewared/middlewared/plugins/zpool zpool_create.py create_impl.py

Add zpool.create
DeltaFile
+410-0tests/unit/test_zpool_create_rules.py
+315-0src/middlewared/middlewared/plugins/zpool/create_rules.py
+226-0src/middlewared/middlewared/plugins/zpool/create_impl.py
+171-0src/middlewared/middlewared/plugins/zpool/zpool_create.py
+151-3src/middlewared/middlewared/api/v27_0_0/zpool.py
+147-0tests/api2/test_zpool_create.py
+1,420-34 files not shown
+1,501-410 files