FreeNAS/freenas 449d880src/middlewared/middlewared/plugins/service_/services base.py

NAS-140242 / 27.0.0-BETA.1 / Add concurrent state polling to Phase 1 of unit stop wait (#18431)

virtlogd.socket (and potentially other socket/target units) can be
deactivated implicitly by systemd as a dependency of another unit
stopping. When this happens, the explicit Stop job we issue either never
fires a JobRemoved signal or fires it very late, causing the code to
wait the full 95s timeout even though the unit is already inactive.

Fix by racing the JobRemoved wait against a 200ms-interval ActiveState
poll. Whichever resolves first wins; if the unit becomes inactive first,
Phase 2 is skipped entirely since there is nothing left to wait for.
DeltaFile
+73-19src/middlewared/middlewared/plugins/service_/services/base.py
+73-191 files

LLVM/project 66e6e33clang/test/CodeGenHLSL/resources Texture2D-Load.hlsl

Fix test.
DeltaFile
+3-7clang/test/CodeGenHLSL/resources/Texture2D-Load.hlsl
+3-71 files

FreeNAS/freenas 825ab34src/middlewared/middlewared/plugins smb.py, src/middlewared/middlewared/plugins/interface addresses.py

Fix keepalived boot deadlock in configure_addresses_impl

ix-netif.service runs Before=network-pre.target, but keepalived requires
After=network-online.target. Starting keepalived from configure_addresses_impl
(called via ix-netif.service) caused systemd to queue the start job for ~95s
until network-online.target was eventually satisfied after ix-netif.service
completed - a structural deadlock.

Fix by guarding the keepalived START behind the ix-netif completion sentinel.
If keepalived is already running, RELOAD as before. If it is not running and
the sentinel exists (i.e. we are in a post-boot interface.sync call), START it.
If the sentinel does not exist we are in the early boot call and skip keepalived
entirely; it will be started once the network is online.

Move NETIF_COMPLETE_SENTINEL from smb_/constants.py to the more appropriate
middlewared/utils/interface.py and update importers accordingly.
DeltaFile
+23-15src/middlewared/middlewared/plugins/interface/addresses.py
+3-0src/middlewared/middlewared/utils/interface.py
+1-1src/middlewared/middlewared/plugins/smb.py
+0-2src/middlewared/middlewared/plugins/smb_/constants.py
+27-184 files

LLVM/project 2267795flang/test/Semantics/OpenMP resolve07.f90

Predermined -> predetermined

I can't spell predetermined in a single attempt.
DeltaFile
+1-1flang/test/Semantics/OpenMP/resolve07.f90
+1-11 files

LLVM/project 6feee43flang/lib/Semantics resolve-directives.cpp, flang/test/Semantics/OpenMP resolve07.f90

[flang][OpenMP] Loop IVs inside TEAMS are predetermined private in 5.2+

Mark the induction variables of loops in a TEAMS construct as predetermined
private when OpenMP version is 5.2 or later.
DeltaFile
+41-0flang/test/Semantics/OpenMP/resolve07.f90
+6-0flang/lib/Semantics/resolve-directives.cpp
+47-02 files

LLVM/project 7f34bd2llvm/lib/Target/AArch64 AArch64CollectLOH.cpp AArch64.h

[NewPM] Port AArch64CollectLOHPass (#185789)
DeltaFile
+43-33llvm/lib/Target/AArch64/AArch64CollectLOH.cpp
+7-1llvm/lib/Target/AArch64/AArch64.h
+1-1llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+1-0llvm/lib/Target/AArch64/AArch64PassRegistry.def
+52-354 files

LLVM/project e45c8b6llvm/test/CodeGen/SPIRV/instructions icmp.ll

[NFC][SPIRV] New test for untested SPIRV backend case (#185686)

[This
line](https://github.com/ambergorzynski/llvm-project/blob/main/llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp#L2362)
in the SPIRV backend is uncovered by the existing test suite (checked
using coverage, and by asserting that no tests in the existing test
suite fails if we insert an `abort()` at this line).

We propose a test that covers this line. We demonstrate the test by
inserting an `abort()` at that line in commit
[#e37e88e](https://github.com/llvm/llvm-project/commit/e37e88e2500bd695d9635322af487c0c40ba3b8a).
Running all tests shows that only our proposed test fails in the
presence of the `abort`. We've removed the `abort` ahead of merging.

This is the only test that fails in the presence of the abort (which
includes our new test): `LLVM.CodeGen/SPIRV/instructions/icmp.ll`
DeltaFile
+13-0llvm/test/CodeGen/SPIRV/instructions/icmp.ll
+13-01 files

LLVM/project cfbd53cllvm/lib/Transforms/Scalar SeparateConstOffsetFromGEP.cpp, llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX split-gep.ll

[LLVM] [SeparateConstOffsetFromGEP] Fix sep-const-offset-from-gep invalid assumption (#183402)

`SeparateConstOffsetFromGEP` assumed the index of a GEP was non-negative
(and therefore previous sext/add could be reordered safely) if the GEP
was marked `inbounds`. This can only be assumed if the GEP is working
off of the base address for the object (counter example:
https://alive2.llvm.org/ce/z/FjGgWp).

This fix removes the general assumption of inbounds GEPs and replaces it
with new checks. The transform is valid when:

1. Value tracking shows the index is known non-negative.
2. The GEP is inbounds and the offset from the base ptr is 0.
3. The GEP is inbounds and the offset is within the threshold `(2^(N-1)
- C + 1) * stride`, where N is the bit width of the index, C is a
positive constant in the add, and stride is the type size of the GEP.
4. The GEP is inbounds and the object size is within the threshold
`(2^(N-1) - C + 1) * stride` for positive C or `(2^(N-1) + C) * stride`
for negative C.

    [2 lines not shown]
DeltaFile
+154-52llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
+174-7llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll
+328-592 files

NetBSD/pkgsrc-wip e4c667cinput-headers distinfo, libopeninput distinfo Makefile.common

libopeninput: minor update
DeltaFile
+3-3input-headers/distinfo
+3-3libopeninput/distinfo
+1-1libopeninput/Makefile.common
+7-73 files

LLVM/project ef375caclang/test/Analysis/Scalable/ssaf-linker validation-errors.test cli.test

[clang][ssaf][NFC] Rename ssaf-linker tool to clang-ssaf-linker (#185631)

Addresses:
https://github.com/llvm/llvm-project/pull/184713#issuecomment-4030747461
DeltaFile
+13-13clang/test/Analysis/Scalable/ssaf-linker/validation-errors.test
+10-10clang/test/Analysis/Scalable/ssaf-linker/cli.test
+8-8clang/test/Analysis/Scalable/ssaf-linker/linking.test
+8-8clang/test/Analysis/Scalable/ssaf-linker/linking-errors.test
+7-7clang/test/Analysis/Scalable/ssaf-linker/io.test
+5-5clang/test/Analysis/Scalable/ssaf-linker/validation-errors-permissions.test
+51-518 files not shown
+68-6814 files

FreeBSD/ports 984129bdevel/py-pyxdg Makefile

devel/py-pyxdg: fix PORTNAME
DeltaFile
+1-2devel/py-pyxdg/Makefile
+1-21 files

LLVM/project 8dc4e60clang/test/CodeGenCUDA amdgpu-workgroup-size.cu builtins-amdgcn.cu, clang/test/CodeGenOpenCL builtins-amdgcn-workgroup-size.cl

AMDGPU: Add dereferenceable attribute to dispatch ptr intrinsic

Stop manually setting it on the callsite in clang.
DeltaFile
+24-24clang/test/CodeGenOpenCL/builtins-amdgcn-workgroup-size.cl
+14-8llvm/test/Assembler/amdgcn-intrinsic-attributes.ll
+5-5llvm/test/CodeGen/AMDGPU/implicit-arg-block-count.ll
+3-3clang/test/CodeGenCUDA/amdgpu-workgroup-size.cu
+3-3clang/test/CodeGenCUDA/builtins-amdgcn.cu
+3-3clang/test/Headers/gpuintrin.c
+52-465 files not shown
+58-5511 files

LLVM/project 30db2a7llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer DependencyGraph.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer Scheduler.cpp

[SandboxVec][DAG][NFC] Remove argument from setScheduelued() (#185787)

DGNode::setScheduled() is only used to mark a nodes a scheduled, not the
reverse. The reverse should only happen with a call to
DGNode::resetScheduleState().
DeltaFile
+5-5llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+4-5llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h
+2-2llvm/lib/Transforms/Vectorize/SandboxVectorizer/Scheduler.cpp
+11-123 files

LLVM/project 4853e3bclang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp SemaHLSL.cpp, clang/test/AST/HLSL StructuredBuffers-AST.hlsl

[HLSL] Implement Texture2D::mips[][]

We implement the Textur2D::mips[][] method. We follow the design in DXC.
There is a new member called `mips` with type mips_type. The member will
contain a copy of the handle for the texture.

The type `mips_type` will have a member function `operator[]` that takes
a level, and returns a `mips_slice_type`. The slice will contain the
handle and the level. It also has an operator[] member function that
take a coordinate. It will do a load from the handle with the level and
coordinate, and return that value.

Assisted-by: Gemini
DeltaFile
+290-35clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+65-0clang/test/CodeGenHLSL/resources/Texture2D-Mips.hlsl
+50-0clang/lib/Sema/SemaHLSL.cpp
+14-14llvm/test/Transforms/SimplifyCFG/DirectX/no-sink-dxgetpointer.ll
+12-12llvm/test/Transforms/GVN/no-sink-dxgetpointer.ll
+10-10clang/test/AST/HLSL/StructuredBuffers-AST.hlsl
+441-7117 files not shown
+499-10623 files

OpenBSD/ports bYp72Ilsysutils/glances distinfo Makefile, sysutils/glances/patches patch-pyproject_toml patch-glances_config_py

   update to glances-4.5.1
VersionDeltaFile
1.12+80-4sysutils/glances/pkg/PLIST
1.9+2-2sysutils/glances/distinfo
1.2+3-1sysutils/glances/patches/patch-pyproject_toml
1.19+1-1sysutils/glances/Makefile
1.6+1-1sysutils/glances/patches/patch-glances_config_py
1.3+1-1sysutils/glances/patches/patch-glances_standalone_py
+88-106 files

OpenBSD/ports XLe7TV8mail/courier-imap Makefile

   unbreak previous, and move the two LIB_DEPENDS sections together in Makefile
VersionDeltaFile
1.138+5-6mail/courier-imap/Makefile
+5-61 files

LLVM/project 53739c7clang/include/clang/Analysis/Scalable/Analyses/UnsafeBufferUsage UnsafeBufferUsage.h UnsafeBufferUsageExtractor.h, clang/lib/Analysis/Scalable CMakeLists.txt

Revert "[clang][ssaf] Add UnsafeBufferUsage summary extractor for functions (#182941)"

This reverts commit b7512418d2c1f0ba9ae3016024cb503ded7835d1.

There are bots broken by this commit.
DeltaFile
+38-383clang/unittests/Analysis/Scalable/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+0-281clang/lib/Analysis/Scalable/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+33-17clang/include/clang/Analysis/Scalable/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h
+0-40clang/include/clang/Analysis/Scalable/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.h
+31-0clang/include/clang/Analysis/Scalable/Analyses/UnsafeBufferUsage/UnsafeBufferUsageBuilder.h
+0-1clang/lib/Analysis/Scalable/CMakeLists.txt
+102-7226 files

LLVM/project cfcc50autils/bazel/llvm-project-overlay/lldb BUILD.bazel, utils/bazel/llvm-project-overlay/lldb/source/Plugins plugin_config.bzl

[bazel] Add -Wno-vla-cxx-extension to macOS lldb srcs (#185945)

```
lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp:88:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   88 |   int dispositions[dispositions_size];
      |                    ^~~~~~~~~~~~~~~~~
```

This code contains objc++ which can only be compiled with clang anyways.
DeltaFile
+6-0utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/plugin_config.bzl
+7-02 files

OpenBSD/ports QhrohgGsysutils/lr Makefile, sysutils/xe Makefile

   lr, xe, pandoc: drop MAINTAINER lines per request on ports@
VersionDeltaFile
1.5+1-2sysutils/lr/Makefile
1.5+1-2sysutils/xe/Makefile
1.28+1-2textproc/pandoc/Makefile
+3-63 files

FreeBSD/ports bf6db15chinese/ibus-pinyin Makefile, devel/py-spyder-kernels Makefile

devel/py-pyxdg: bump RUN_DEPENDS consumers after rename
DeltaFile
+1-1sysutils/zeitgeist/Makefile
+1-1chinese/ibus-pinyin/Makefile
+1-1textproc/ibus-uniemoji/Makefile
+1-1x11-wm/nscde/Makefile
+1-1devel/py-spyder-kernels/Makefile
+1-1x11/guake/Makefile
+6-618 files not shown
+24-1524 files

FreeNAS/freenas b91c4e4src/middlewared/middlewared/alembic/versions/26.0 2026-02-17_16-20_add_interface_fec_mode.py 2026-03-11_18-44_add_interface_fec_mode.py, src/middlewared/middlewared/alembic/versions/27.0 2026-03-09_19-16_ScrubNotStarted.py

update migration
DeltaFile
+0-26src/middlewared/middlewared/alembic/versions/26.0/2026-02-17_16-20_add_interface_fec_mode.py
+26-0src/middlewared/middlewared/alembic/versions/26.0/2026-03-11_18-44_add_interface_fec_mode.py
+2-2src/middlewared/middlewared/alembic/versions/27.0/2026-03-09_19-16_ScrubNotStarted.py
+28-283 files

LLVM/project ed42ac3llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-mul-i8-decompose.ll

[X86] Use shift+add/sub for vXi8 splat multiplies (#174110)

Fixes #164200

~~I will create a separate PR to the `llvm-test-suite` repo for the
microbenchmark for this change.~~ The benchmark is in
https://github.com/llvm/llvm-test-suite/pull/316

In my experiments on an EC2 `c6i.4xl`, the change gives a small
improvement for the `x86-64`, `x86-64-v2`, and `x86-64-v3` targets. It
regresses performance on `x86-64-v4` (in particular, when the constant
decomposes into two shifts). The performance summary follows:

```
$ ../MicroBenchmarks/libs/benchmark/tools/compare.py  benchmarks results-baseline-generic-v1.json results-opt-generic-v1.json  |tail -n1
OVERALL_GEOMEAN                         -0.2846         -0.2846             0             0             0             0
$ ../MicroBenchmarks/libs/benchmark/tools/compare.py  benchmarks results-baseline-generic-v2.json results-opt-generic-v2.json  |tail -n1
OVERALL_GEOMEAN                         -0.0907         -0.0907             0             0             0             0
$ ../MicroBenchmarks/libs/benchmark/tools/compare.py  benchmarks results-baseline-generic-v3.json results-opt-generic-v3.json  |tail -n1

    [3 lines not shown]
DeltaFile
+1,769-0llvm/test/CodeGen/X86/vector-mul-i8-decompose.ll
+12-0llvm/lib/Target/X86/X86ISelLowering.cpp
+1,781-02 files

LLVM/project 6f5b4acclang/test/CodeGen scoped-atomic-ops.c, llvm/test/CodeGen/AArch64 sve-streaming-mode-fixed-length-fp-minmax.ll sve-fixed-length-fp-minmax.ll

Merge branch 'users/s-perron/texture2d-load-methods' into users/s-perron/texture2d-subscript-operator
DeltaFile
+927-1,424llvm/test/tools/dsymutil/AArch64/stmt-seq-macho.test
+706-1,470llvm/test/CodeGen/X86/funnel-shift-i512.ll
+1,419-130clang/test/CodeGen/scoped-atomic-ops.c
+1,066-36llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
+692-76llvm/test/CodeGen/AArch64/sve-fixed-length-fp-minmax.ll
+644-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-phi.ll
+5,454-3,1361,893 files not shown
+40,938-18,6861,899 files

FreeBSD/ports ec1c408devel/py-pyxdg Makefile pkg-descr, devel/py-pyxdg/files patch-xdg_BaseDirectory.py

devel/py-xdg: rename to devel/py-pyxdg to match Python package name

While here:
- switch to USE_PYTHON=pep517
- pull in upstream commits addressing Python 3.12, 3.14, 3.15 compat
DeltaFile
+32-0devel/py-pyxdg/Makefile
+0-24devel/py-xdg/Makefile
+0-18devel/py-xdg/files/patch-xdg_BaseDirectory.py
+18-0devel/py-pyxdg/files/patch-xdg_BaseDirectory.py
+9-0devel/py-pyxdg/pkg-descr
+9-0devel/py-pyxdg/distinfo
+68-4230 files not shown
+100-8636 files

LLVM/project bd28ddeclang/include/clang/Basic DiagnosticSemaKinds.td

Reintroduce diagnostic.
DeltaFile
+3-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+3-01 files

LLVM/project 8dfa198clang/test/CodeGen scoped-atomic-ops.c, llvm/test/CodeGen/AArch64 sve-streaming-mode-fixed-length-fp-minmax.ll sve-fixed-length-fp-minmax.ll

Merge branch 'main' into users/s-perron/texture2d-load-methods
DeltaFile
+927-1,424llvm/test/tools/dsymutil/AArch64/stmt-seq-macho.test
+706-1,470llvm/test/CodeGen/X86/funnel-shift-i512.ll
+1,419-130clang/test/CodeGen/scoped-atomic-ops.c
+1,066-36llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
+692-76llvm/test/CodeGen/AArch64/sve-fixed-length-fp-minmax.ll
+644-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-phi.ll
+5,454-3,1361,893 files not shown
+40,938-18,6861,899 files

LLVM/project 22122a6clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp SemaHLSL.cpp

Merge branch 'users/s-perron/texture2d-mips' into users/s-perron/texture-2d-calculate-level-of-detail
DeltaFile
+210-23clang/test/CodeGenHLSL/resources/Texture2D-Load.hlsl
+20-0clang/test/SemaHLSL/Texture2D-Load-errors.hlsl
+5-5clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+1-7clang/lib/Sema/SemaHLSL.cpp
+0-3clang/include/clang/Basic/DiagnosticSemaKinds.td
+236-385 files

LLVM/project cc46bb1clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp SemaHLSL.cpp

Merge branch 'users/s-perron/texture2d-subscript-operator' into users/s-perron/texture2d-mips
DeltaFile
+210-23clang/test/CodeGenHLSL/resources/Texture2D-Load.hlsl
+20-0clang/test/SemaHLSL/Texture2D-Load-errors.hlsl
+5-5clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+1-7clang/lib/Sema/SemaHLSL.cpp
+0-3clang/include/clang/Basic/DiagnosticSemaKinds.td
+236-385 files

LLVM/project b49f572clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp SemaHLSL.cpp

Merge branch 'users/s-perron/texture2d-load-methods' into users/s-perron/texture2d-subscript-operator
DeltaFile
+210-23clang/test/CodeGenHLSL/resources/Texture2D-Load.hlsl
+20-0clang/test/SemaHLSL/Texture2D-Load-errors.hlsl
+5-5clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+1-7clang/lib/Sema/SemaHLSL.cpp
+0-3clang/include/clang/Basic/DiagnosticSemaKinds.td
+236-385 files

LLVM/project 1dbae69clang/lib/Basic/Targets PPC.cpp, clang/lib/CodeGen CodeGenFunction.cpp

now that we normalize CPU on target_clones in Sema, remove normalization in codegen
DeltaFile
+5-5clang/lib/CodeGen/CodeGenFunction.cpp
+2-7clang/lib/Basic/Targets/PPC.cpp
+7-122 files