FreeNAS/freenas 1067fb9src/freenas/usr/lib/systemd/system-preset 10-truenas.preset, src/middlewared/middlewared/plugins/service_/services incus.py

NAS-139000 / 25.10.2 / Make sure lxcfs is not enabled automatically (#17902)

## Problem

The **`lxcfs`** service currently runs independently, even when **Incus
is not running**.
However, Incus expects `lxcfs` to be active **only when Incus itself is
set up and running**.
Keeping `lxcfs` running outside of Incus’s lifecycle leads to
unnecessary background services and inconsistent service management.

## Solution

Disable the standalone `lxcfs` service and tie its lifecycle directly to
Incus:

* Stop `lxcfs` automatically when Incus is stopped
* Allow `lxcfs` to start automatically **only as a dependency of
Incus**, since Incus explicitly requires it

    [2 lines not shown]
DeltaFile
+2-0src/middlewared/middlewared/plugins/service_/services/incus.py
+1-0src/freenas/usr/lib/systemd/system-preset/10-truenas.preset
+3-02 files

LLVM/project 32236edlibcxx/include/__ranges empty_view.h, libcxx/test/libcxx/ranges/range.adaptors/range.empty nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `empty_view` (#173215)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/ranges
- https://wg21.link/range.empty

Towards #172124
DeltaFile
+30-0libcxx/test/libcxx/ranges/range.adaptors/range.empty/nodiscard.verify.cpp
+5-5libcxx/include/__ranges/empty_view.h
+35-52 files

LLVM/project b988d41libcxx/include/__ranges drop_while_view.h, libcxx/test/libcxx/ranges/range.adaptors/range.drop.while nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `drop_while_view` (#173211)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/ranges
- https://wg21.link/range.drop.while

Towards #172124
DeltaFile
+46-0libcxx/test/libcxx/ranges/range.adaptors/range.drop.while/nodiscard.verify.cpp
+5-5libcxx/include/__ranges/drop_while_view.h
+51-52 files

LLVM/project 29d7b4clibcxx/include/__ranges chunk_by_view.h, libcxx/test/libcxx/diagnostics ranges.nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `chunk_by_view ` (#173178)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/ranges
- https://wg21.link/range.chunk.by

Towards #172124
DeltaFile
+53-0libcxx/test/libcxx/ranges/range.adaptors/range.chunk.by/nodiscard.verify.cpp
+6-6libcxx/include/__ranges/chunk_by_view.h
+0-3libcxx/test/libcxx/diagnostics/ranges.nodiscard.verify.cpp
+59-93 files

LLVM/project b6bf708libcxx/include/__ranges common_view.h, libcxx/test/libcxx/ranges/range.adaptors/range.common.view nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `common_view` (#173176)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/ranges
- https://wg21.link/range.common

Towards #172124
DeltaFile
+61-0libcxx/test/libcxx/ranges/range.adaptors/range.common.view/nodiscard.verify.cpp
+7-7libcxx/include/__ranges/common_view.h
+68-72 files

LLVM/project c15a73elibcxx/include/__ranges as_rvalue_view.h, libcxx/test/libcxx/ranges/range.adaptors/range.as_rvalue_view nodiscard.verify.cpp

[libc++][ranges] Applied `[[nodiscard]]` to `as_rvalue_view` (#173145)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/ranges
- https://wg21.link/range.as.rvalue

Towards #172124
DeltaFile
+63-0libcxx/test/libcxx/ranges/range.adaptors/range.as_rvalue_view/nodiscard.verify.cpp
+8-8libcxx/include/__ranges/as_rvalue_view.h
+71-82 files

LLVM/project cbcda2dlibcxx/include typeinfo typeindex, libcxx/include/__new exceptions.h

[libc++] Applied `[[nodiscard]]` to more Language Support  classes (#171078)

[[nodiscard]] should be applied to functions where discarding the return
value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/support

Towards #172124

Implemented in this release:
- [x] `type_info`
- [x] `type_index`
- [x] `bad_alloc`, `bad_array_new_length`
DeltaFile
+36-12libcxx/test/libcxx/diagnostics/new.nodiscard.verify.cpp
+33-0libcxx/test/libcxx/language.support/nodiscard.verify.cpp
+12-9libcxx/include/typeinfo
+5-3libcxx/include/typeindex
+2-2libcxx/include/__new/exceptions.h
+88-265 files

LLVM/project 66f48a7libcxx/include regex, libcxx/test/libcxx/diagnostics regex.nodiscard.verify.cpp

[libc++][regex] Applied `[[nodiscard]]` (#170974)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https//wg21.link/re
DeltaFile
+62-4libcxx/test/libcxx/diagnostics/regex.nodiscard.verify.cpp
+30-26libcxx/include/regex
+92-302 files

FreeBSD/ports 10e4b13math/calc Makefile

math/calc: Stop conflicting with itself

My initial hope was that pkg would identify and skip tautologies, and
the tests I ran seemed to work at the time, but it doesn't work in
practice. Instead, teach calc not to conflict with calc, and calc-tiny
not to conflict with calc-tiny.
DeltaFile
+5-1math/calc/Makefile
+5-11 files

LLVM/project 869b44dmlir/include/mlir/Dialect/Linalg/Transforms Transforms.h, mlir/test/Dialect/Linalg fusion-multiuse-producer.mlir

[MLIR][Linalg] Use Top-Down traversal to safely optimize multi-use producer fusion (#172216)

Switches the greedy rewrite traversal for the multi-use producer fusion
pattern to Top-Down (Pre-Order).

The previous Bottom-Up (Post-Order) traversal led to a critical SSA
violation when a producer (P) had multiple users (I and C) and the first
user (I) appeared before the current consumer (C) in the block.
Processing the outer consumer (C) first and attempting to fuse P into C
would create a new fused operation, F. The rewrite would attempt to
replace P's result (used by I) with the output of F. However, since I is
located before F in the block, this replacement breaks SSA dominance
rules, leading to a crash. To ensure correctness, the first use (I) must
be processed and fused before the second use (C). Using Top-Down
traversal ensures that operations are visited and rewritten in the
correct flow order.

Take a look at this example, which represents a three-operation chain
where the first operation, P (**%13:2**), has two users: an intermediate

    [42 lines not shown]
DeltaFile
+71-0mlir/test/Dialect/Linalg/fusion-multiuse-producer.mlir
+3-1mlir/test/lib/Dialect/Linalg/TestLinalgElementwiseFusion.cpp
+3-0mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
+77-13 files

FreeBSD/ports e4750ebwww/chawan distinfo Makefile

www/chawan: Fix DISTNAME

Use just version in DISTNAME "is a no go" © diizzy.

Reported by:    diizzy (via email)
Approved by:    blanket
Fixes:          4a0169a0f3f9 (new port: A text-mode web browser and pager)
DeltaFile
+3-3www/chawan/distinfo
+1-4www/chawan/Makefile
+4-72 files

LLVM/project 964bf90mlir/cmake/modules AddMLIRPython.cmake

disable LTO by default
DeltaFile
+8-0mlir/cmake/modules/AddMLIRPython.cmake
+8-01 files

FreeBSD/ports bfc1414www/servlet-api Makefile

www/servlet-api: Deprecate and expire port

PR:             291875
DeltaFile
+3-0www/servlet-api/Makefile
+3-01 files

LLVM/project 67b6d1dllvm/lib/Target/AArch64 AArch64SchedOlympus.td, llvm/test/CodeGen/AMDGPU rsq.f64.ll

Merge branch 'main' into users/kparzysz/depinfo-modifier
DeltaFile
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+4,532-3,195llvm/test/CodeGen/AMDGPU/rsq.f64.ll
+5,310-0llvm/test/tools/llvm-mca/AArch64/Olympus/neon-instructions.s
+3,983-0llvm/test/tools/llvm-mca/AArch64/Olympus/writeback-loads-stores.s
+3,801-0llvm/test/tools/llvm-mca/AArch64/Olympus/basic-instructions.s
+3,380-0llvm/lib/Target/AArch64/AArch64SchedOlympus.td
+31,686-3,1951,028 files not shown
+71,277-15,5181,034 files

LLVM/project 1298b3bflang/lib/Parser unparse.cpp

[flang][OpenMP] Order Unparse functions for OpenMP classes, NFC (#173391)

DeltaFile
+396-402flang/lib/Parser/unparse.cpp
+396-4021 files

HardenedBSD/ports 06fab7bports-mgmt/pkg distinfo Makefile

HBSD: Resolve merge conflict

Bring our ports-mgmt/pkg to 2.5.1.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+3-9ports-mgmt/pkg/distinfo
+1-1ports-mgmt/pkg/Makefile
+4-102 files

HardenedBSD/ports 7d37720graphics/kphotoalbum pkg-plist, net/igmpproxy/files patch-src_rttable.c patch-fix-buffer-overflow_igmp.c

Merge remote-tracking branch 'internal/freebsd/main' into hardenedbsd/main

Conflicts:
        ports-mgmt/pkg/distinfo (unresolved)
DeltaFile
+229-0x11-toolkits/qt6-declarative/files/patch-QTBUG-142331
+150-4graphics/kphotoalbum/pkg-plist
+17-20x11/xfce4-screensaver/files/patch-src_gs-lock-plug.c
+33-0net/igmpproxy/files/patch-src_rttable.c
+22-0net/igmpproxy/files/patch-fix-buffer-overflow_igmp.c
+14-8textproc/crow-translate/Makefile
+465-3243 files not shown
+590-13649 files

FreeNAS/freenas cf75564src/freenas/usr/libexec/netdata/python.d truenas_pool.chart.py

Add dimensions to truenas pool charts in case of new pools
DeltaFile
+8-3src/freenas/usr/libexec/netdata/python.d/truenas_pool.chart.py
+8-31 files

FreeNAS/freenas 602e74dsrc/freenas/usr/lib/systemd/system-preset 10-truenas.preset, src/middlewared/middlewared/plugins/service_/services docker.py

Make sure containerd is not enabled automatically
DeltaFile
+1-0src/freenas/usr/lib/systemd/system-preset/10-truenas.preset
+1-0src/middlewared/middlewared/plugins/service_/services/docker.py
+2-02 files

FreeNAS/freenas 3e3131bsrc/freenas/usr/lib/systemd/system-preset 10-truenas.preset, src/middlewared/middlewared/plugins/service_/services incus.py

Make sure lxcfs is not enabled automatically
DeltaFile
+2-0src/middlewared/middlewared/plugins/service_/services/incus.py
+1-0src/freenas/usr/lib/systemd/system-preset/10-truenas.preset
+3-02 files

LLVM/project 1478422llvm/lib/Target/AArch64 AArch64InstrGISel.td, llvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp AArch64RegisterBankInfo.cpp

[GlobalISel][AArch64] Add support for sli/sri intrinsics (#173364)

GISel previously failed to lower the sli and sri family of intrinsics.
This patch fixes this.

- sli/sri intrinsics are now lowered to G_SLI / G_SRI GlobalISel nodes
during Legalisation.
MIRBuilder is used over LowerTriOp to build the instruction here, as
LowerTriOp treats all operands as registers, whilst the last operand of
sli/sri is an immediate value.

- Intrinsics are treated as "always defines fp" and "always uses fp", to
ensure vectors are always placed on floating point registers.
This fixes an issue where 1-element vectors are placed on general
purpose registers, as IR Translation converts these vectors to i64s.

This PR is a replica of #171448, which was incorrectly merged into the
wrong branch.
DeltaFile
+116-15llvm/test/CodeGen/AArch64/arm64-vshift.ll
+14-0llvm/lib/Target/AArch64/AArch64InstrGISel.td
+14-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+4-0llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
+148-154 files

FreeBSD/ports 215b9b1devel/apache-commons-daemon distinfo Makefile

devel/apache-commons-daemon: update to 1.5.1 release

PR:             291822
Submitted by:   pfg
DeltaFile
+5-5devel/apache-commons-daemon/distinfo
+1-1devel/apache-commons-daemon/Makefile
+6-62 files

LLVM/project 6086d79llvm/test/CodeGen/SPIRV ga-inttoptr.ll

[SPIRV] Fix recently introduced test case that depends on assertions. (#173388)

Added missing REQUIRES to ensure that the test case is properly
executed.

The test case was introduced in this PR
https://github.com/llvm/llvm-project/pull/172730
DeltaFile
+1-0llvm/test/CodeGen/SPIRV/ga-inttoptr.ll
+1-01 files

LLVM/project f788216libcxx/docs/Status Cxx2cPapers.csv

[libc++][docs] Mark P2786R13 and P3920R0 "Nothing To Do" (#173348)

As the latter reverted the former.
DeltaFile
+2-2libcxx/docs/Status/Cxx2cPapers.csv
+2-21 files

LLVM/project 3a4eff5llvm/test/Transforms/InstCombine/X86 blend_x86.ll

[X86] Add instcombine tests showing potential to fold shifted blendv masks into regular cmp+select sequences (#173383)

When converting blendv intrinsics to generic selects, we currently just
handle direct sext(vXi1) masks but other arithmetic can be converted
with a suitable comparison - with shift lefts being the more useful.
DeltaFile
+48-0llvm/test/Transforms/InstCombine/X86/blend_x86.ll
+48-01 files

FreeNAS/freenas 3a8ae61src/middlewared/middlewared/plugins/pool_ pool.py

NAS-139004 / 26.04 / Properly add all sed attr for boot pool state (#17901)

This commit adds changes to make sure all_sed attr is properly reflected
in pool normalize info method as that is used in boot plugin apart from
pool plugin where the pydantic model expects all_sed attr to be there as
boot plugin uses pool plugin's pydantic models.
DeltaFile
+1-0src/middlewared/middlewared/plugins/pool_/pool.py
+1-01 files

FreeNAS/freenas 3ba2cdasrc/middlewared/middlewared/api/v25_10_2 certificate.py

NAS-139056 / 25.10.2 / Fix crypto plugin DN definition to use LongStr… … (#17900)

…(#17888)

…ing to support DNs > 1024 characters

https://ixsystems.atlassian.net/browse/NAS-139056
https://forums.truenas.com/t/certificates-cannot-retrieve-response/60967

Looks like this was introduced by #16080.

`DN` is of type `str`, which is limited to 1024 characters by the
BaseModel class:
```python
class BaseModel(PydanticBaseModel, metaclass=_BaseModelMetaclass):
    model_config = ConfigDict(
        extra="forbid",
        strict=True,
        str_max_length=1024,     <-------------

    [27 lines not shown]
DeltaFile
+1-1src/middlewared/middlewared/api/v25_10_2/certificate.py
+1-11 files

LLVM/project ae7c3f4utils/bazel/llvm-project-overlay/clang BUILD.bazel, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[bazel] Update bazel rules after moving passplugin to llvm/passes (#173308)

1.
https://github.com/llvm/llvm-project/commit/f54df0d09e19ec6b205cb0af45c7ecea2fd8aeff
moved PassPlugin.h from llvm/Passes to llvm/Plugins.
2. https://github.com/llvm/llvm-project/pull/173104 updated clib dep for
__support_alloc_checker
This bazel rules accomodates the changes
DeltaFile
+17-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+12-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+3-0utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+2-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+44-05 files

FreeBSD/doc 004b8a3website/archetypes/release hardware.adoc, website/content/en/releases/15.0R hardware.adoc

hardware: Add the udl driver

I just discovered this driver while auditing apropos results. Turns out,
this driver has existed since FreeBSD 11.0. It was not built by default
initially, but the module is present on my 15.0-RELEASE box.
DeltaFile
+28-0website/content/en/releases/15.0R/hardware.adoc
+2-0website/archetypes/release/hardware.adoc
+30-02 files

LLVM/project 9c0bf3dbolt/utils/docker-tests Dockerfile

[BOLT] Add Dockerfile for testing (#173066)

Add utils/docker-tests/Dockerfile to facilitate in-tre and out-of-tree
testing.

Builds perf from source to work around an Ubuntu 24.04 issue.

To reproduce a specific issue adjust the Dockerfile like:
```
RUN git clone https://github.com/llvm/llvm-project
RUN cd llvm-project && git checkout <SHA>
```
DeltaFile
+59-0bolt/utils/docker-tests/Dockerfile
+59-01 files