HardenedBSD/ports 14015ccaudio/maolan distinfo Makefile.crates, databases/redisjson distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+1,195-0audio/maolan/distinfo
+596-0audio/maolan/Makefile.crates
+519-0sysutils/erldash/distinfo
+279-161databases/redisjson/distinfo
+258-0sysutils/erldash/Makefile.crates
+112-107net/rabbitmq/pkg-plist
+2,959-26891 files not shown
+3,535-61097 files

FreeNAS/freenas 8456d65src/middlewared/middlewared/common/ports __init__.py, src/middlewared/middlewared/plugins/ports ports.py __init__.py

Add batch port validation endpoint `port.validate_ports`

This commit adds a new `port.validate_ports` endpoint that validates
multiple port/bindip combinations in a single call. Currently the apps
library calls `port.validate_port` once per port, each of which
internally queries all registered port delegates via `ports_mapping()`.
For apps with many ports (e.g. SeaweedFS with 15), this results in
redundant repeated work.

The new endpoint accepts a list of `{"port": int, "bindip": str}` dicts
and calls `ports_mapping()` only once for the entire batch. It supports
two modes:
- `raise_error=True`: raises a single `ValidationErrors` with all
  conflicts (same pattern as the existing endpoint)
- `raise_error=False`: returns a JSON-serializable list of
  `(attribute, errmsg, errno)` tuples

The existing `validate_port` endpoint is refactored to share a
`_validate_single_port` helper but its inputs, outputs, and behavior
are unchanged.
DeltaFile
+178-0src/middlewared/middlewared/pytest/unit/plugins/test_port_attachments.py
+37-8src/middlewared/middlewared/plugins/ports/ports.py
+10-1src/middlewared/middlewared/plugins/ports/__init__.py
+6-1src/middlewared/middlewared/common/ports/__init__.py
+231-104 files

LLVM/project eaeca6dclang/lib/AST TemplateBase.cpp

[clang] fix #187352 breakage on 32-bit platforms (#187741)

Fixes breakage reported here:
https://github.com/llvm/llvm-project/pull/187352#issuecomment-4096403838
DeltaFile
+2-2clang/lib/AST/TemplateBase.cpp
+2-21 files

LLVM/project 94e366ellvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer buildvector-nodes-dependency.ll

[SLP] Initial support for ordered reductions

Patch models ordered reductions as a series of extractelements for the
cases which cannot be modeled as unordered reductions.

Fixes #50590

Reviewers: RKSimon, hiraditya

Pull Request: https://github.com/llvm/llvm-project/pull/182644
DeltaFile
+94-189llvm/test/Transforms/SLPVectorizer/RISCV/complex-loads.ll
+46-149llvm/test/Transforms/SLPVectorizer/X86/used-reduced-op.ll
+119-38llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+103-17llvm/test/Transforms/SLPVectorizer/X86/fmaxnum.ll
+69-35llvm/test/Transforms/SLPVectorizer/buildvector-nodes-dependency.ll
+83-17llvm/test/Transforms/SLPVectorizer/X86/fminnum.ll
+514-44511 files not shown
+606-56017 files

LLVM/project 0270402llvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv9a-tlbip.s

[AArch64][llvm] Separate TLBI-only feature gating from TLBIP aliases

Refactor the TLBI system operand definitions so that TLBI and TLBIP
records are emitted through separate helper multiclasses, whilst keeping
the table layout readable.

The feature-scoped wrappers now apply FeatureTLB_RMI, FeatureRME, and
FeatureTLBIW only to TLBI records (it was previously incorrectly also
applied to TLBIP instructions), while TLBIP aliases remain gated only
by FeatureD128, including their nXS forms.

Update testcases accordingly.
DeltaFile
+103-75llvm/lib/Target/AArch64/AArch64SystemOperands.td
+8-9llvm/test/MC/AArch64/armv9a-tlbip.s
+111-842 files

LLVM/project e06db74llvm/lib/Target/AArch64 AArch64SystemOperands.td

[AArch64][llvm] Rewrite the TLBI multiclass to be much clearer (NFC)

The `tlbi` multiclass is really doing four jobs at once: base TLBI,
synthesized nXS, optional TLBIP, and synthesized TLBIP nXS. Also,
`needsreg` and `optreg` are really just a 3-state operand policy in
disguise. Likewise, the PLBI multiclass has this same issue.

Change `needsreg` and `optreg` into a combined fake enum, so it's
clearer whether the instruction takes no register operand, a required
register operand or an optional register operand.

This improves on my original change 66e8270e8.
DeltaFile
+127-121llvm/lib/Target/AArch64/AArch64SystemOperands.td
+127-1211 files

LLVM/project f100978llvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! Refactor TLBI tablegen
DeltaFile
+229-132llvm/lib/Target/AArch64/AArch64SystemOperands.td
+229-1321 files

LLVM/project 36001c3llvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! Change tablegen as suggested
DeltaFile
+40-43llvm/lib/Target/AArch64/AArch64SystemOperands.td
+40-431 files

LLVM/project b2ab1e9llvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! Another tablegen optimisation
DeltaFile
+117-141llvm/lib/Target/AArch64/AArch64SystemOperands.td
+117-1411 files

LLVM/project 4b31699llvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! More tablegen fixes
DeltaFile
+32-70llvm/lib/Target/AArch64/AArch64SystemOperands.td
+32-701 files

LLVM/project 5717524mlir/include/mlir/Dialect/OpenACC OpenACCCGOps.td OpenACCOpsTypes.td, mlir/lib/Dialect/OpenACC/IR OpenACCCG.cpp

[mlir][acc] Use index for acc.par_width results (#187734)

When acc.par_width was introduced in
https://github.com/llvm/llvm-project/pull/184864
there was a discussion on whether to use index or create a new type for
the output of the operation. It was decided to create a new type; but
this means that launch arguments cannot be used directly in the region
such as for loop bounds without a conversion from the new type to index.
In order to avoid the casting operations (and introduction of an actual
operation to do this cast), simply restore acc.par_width to generate
index type. This allows its result to be directly used in
acc.compute_region.
DeltaFile
+6-6mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
+7-2mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
+0-8mlir/include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td
+2-3mlir/test/Dialect/OpenACC/invalid-cg.mlir
+5-0mlir/unittests/Dialect/OpenACC/OpenACCUtilsCGTest.cpp
+4-1mlir/include/mlir/Dialect/OpenACC/OpenACCUtilsCG.h
+24-202 files not shown
+29-238 files

LLVM/project 65d84ealldb/docs/resources formatterbytecode.rst, lldb/include/lldb/DataFormatters TypeSynthetic.h

[lldb] Update the calling convention of BytecodeSyntheticChildren::Update (#182155)

This changes the inputs to `update`. It's now the data stack that was
the result of `@init`. This makes `update` more predictable, as its
inputs are the same between the first call and the Nth call.
DeltaFile
+5-5lldb/source/DataFormatters/TypeSynthetic.cpp
+1-1lldb/docs/resources/formatterbytecode.rst
+1-0lldb/include/lldb/DataFormatters/TypeSynthetic.h
+7-63 files

LLVM/project d8e1f50lldb/examples/python formatter_bytecode.py, lldb/test/Shell/ScriptInterpreter/Python python-bytecode.test

[lldb][bytecode] Document invocation in compiler output (#187547)

Document compiler invocation in the compiler output, to aide subsequent
regeneration.
DeltaFile
+9-0lldb/examples/python/formatter_bytecode.py
+2-2lldb/test/Shell/ScriptInterpreter/Python/python-bytecode.test
+11-22 files

LLVM/project e835f8bflang/lib/Optimizer/OpenACC/Support FIROpenACCUtils.cpp, flang/test/Lower/OpenACC acc-reduction.f90 acc-reduction-maxmin.f90

[flang][OpenACC] Fix reduction init value for minnumf/minimumf/maxnumf/maximumf (#187647)

The reduction recipe init region was producing 0.0 instead of the
correct identity value (largest representable float for min, smallest
for max) when the reduction operator was AccMinnumf, AccMinimumf,
AccMaxnumf, or AccMaximumf. Only AccMin and AccMax were handled,
causing the new operator variants to fall through to the else branch
which returns 0.

This caused min reductions to always produce 0.0 since
min(x, 0.0) = 0.0 for all positive x.

Replace the duplicated identity value logic with
arith::getIdentityValue, using a mapping from acc::ReductionOperator
to arith::AtomicRMWKind. Use minimumf/maximumf (which respect
useOnlyFiniteValue) instead of minnumf/maxnumf (whose MLIR identity
is NaN) to get correct finite identity values.

This also fixes a pre-existing bug where the max reduction identity
for floats used getSmallest (smallest subnormal, -1.4e-45) instead
of getLargest with negative (-3.4e+38).
DeltaFile
+47-80flang/lib/Optimizer/OpenACC/Support/FIROpenACCUtils.cpp
+6-6flang/test/Lower/OpenACC/acc-reduction.f90
+2-0flang/test/Lower/OpenACC/acc-reduction-maxmin.f90
+55-863 files

LLVM/project 965ee6cflang/lib/Optimizer/Transforms FIRToMemRef.cpp, flang/test/Transforms/FIRToMemRef alloca.mlir

[FIRToMemRef] copy ACC Variable Name attribute (#187724)

When converting from fir.alloca to memref.alloca, also copy the acc
variable name attribute if it exists
DeltaFile
+26-6flang/test/Transforms/FIRToMemRef/alloca.mlir
+1-0flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
+27-62 files

NetBSD/pkgsrc-wip 149ce5fpy-snmp Makefile

py-snmp: BUILD_DEPENDS -> TOOL_DEPENDS
DeltaFile
+1-1py-snmp/Makefile
+1-11 files

NetBSD/pkgsrc-wip 9a503f3py-snmp PLIST

py-snmp: LICENSE.txt file moved(?)

It's a little unclear why (python version 3.12 vs. 3.13?), the
package version is the same...
DeltaFile
+1-1py-snmp/PLIST
+1-11 files

LLVM/project 537a8ccllvm/include/llvm/IR Instructions.h, llvm/lib/IR Instructions.cpp

[IR][NFC] Fix MSVC deprecation warnings about BranchInst (#187702)

MSVC apparently also warns about deprecation at the implementation
of deprecated functions...

Pull Request: https://github.com/llvm/llvm-project/pull/187702
DeltaFile
+3-3llvm/include/llvm/IR/Instructions.h
+6-0llvm/lib/IR/Instructions.cpp
+9-32 files

NetBSD/pkgsrc-wip 2f3c841py-snmp Makefile

py-snmp: add py-poetry-core as a build dependency.
DeltaFile
+2-0py-snmp/Makefile
+2-01 files

FreeBSD/src 632ddb8krb5/plugins/preauth/otp Makefile, krb5/plugins/preauth/pkinit Makefile

krb5: append to LDFLAGS instead of replacing

Sponsored by:   Netflix
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D55335
DeltaFile
+1-1krb5/util/support/Makefile
+1-1krb5/util/et/Makefile
+1-1krb5/plugins/preauth/test/Makefile
+1-1krb5/plugins/preauth/spake/Makefile
+1-1krb5/plugins/preauth/pkinit/Makefile
+1-1krb5/plugins/preauth/otp/Makefile
+6-614 files not shown
+20-2020 files

FreeNAS/freenas 66ebb93src/middlewared/middlewared/common/ports __init__.py, src/middlewared/middlewared/plugins/ports ports.py __init__.py

Add batch port validation endpoint `port.validate_ports`

This commit adds a new `port.validate_ports` endpoint that validates
multiple port/bindip combinations in a single call. Currently the apps
library calls `port.validate_port` once per port, each of which
internally queries all registered port delegates via `ports_mapping()`.
For apps with many ports (e.g. SeaweedFS with 15), this results in
redundant repeated work.

The new endpoint accepts a list of `{"port": int, "bindip": str}` dicts
and calls `ports_mapping()` only once for the entire batch. It supports
two modes:
- `raise_error=True`: raises a single `ValidationErrors` with all
  conflicts (same pattern as the existing endpoint)
- `raise_error=False`: returns a JSON-serializable list of
  `(attribute, errmsg, errno)` tuples

The existing `validate_port` endpoint is refactored to share a
`_validate_single_port` helper but its inputs, outputs, and behavior
are unchanged.
DeltaFile
+92-0src/middlewared/middlewared/pytest/unit/plugins/test_port_attachments.py
+37-8src/middlewared/middlewared/plugins/ports/ports.py
+10-1src/middlewared/middlewared/plugins/ports/__init__.py
+6-1src/middlewared/middlewared/common/ports/__init__.py
+145-104 files

LLVM/project 5a14e4fflang-rt/lib/runtime character.cpp, flang-rt/unittests/Runtime CharacterTest.cpp

[flang] Implement SPLIT intrinsic subroutine with tests (#185584)

This is the implementation of part of F2023 new feature US 03.
Extracting tokens from a string, SPLIT intrinsic.

It's section 16.9.196 SPLIT (STRING, SET, POS [, BACK]) of Fortran 2023
Standard.

It's part of Flang issue
[#178044](https://github.com/llvm/llvm-project/issues/178044). Note that
I work with @kwyatt-ext on this issue. He implemented the other part,
TOKENIZE.

A test will be added into
[llvm-test-suite](https://github.com/llvm/llvm-test-suite) later after
this PR is merged.
DeltaFile
+98-0flang/test/Semantics/split.f90
+85-0flang-rt/unittests/Runtime/CharacterTest.cpp
+51-0flang-rt/lib/runtime/character.cpp
+10-39flang/docs/F202X.md
+45-0flang/test/Lower/Intrinsics/split.f90
+40-0flang/lib/Optimizer/Builder/IntrinsicCall.cpp
+329-397 files not shown
+404-4013 files

LLVM/project 257c656clang/lib/AST TemplateBase.cpp

[clang] fix #187352 breakage on 32-bit platforms

Fixes breakage reported here: https://github.com/llvm/llvm-project/pull/187352#issuecomment-4096403838
DeltaFile
+2-2clang/lib/AST/TemplateBase.cpp
+2-21 files

LLVM/project 68a9e9cllvm/lib/CodeGen/GlobalISel GISelValueTracking.cpp, llvm/test/CodeGen/AArch64 arm64-neon-aba-abd.ll

[GlobalISel] Add G_ABDU and G_ABDS to computeKnownBits. (#186822)

This code is adapted from `SelectionDAG::computeKnownBits`
part of #150515 
ticks off ABDS & ABDU
DeltaFile
+88-0llvm/test/CodeGen/AArch64/GlobalISel/knownbits-abdu.mir
+76-0llvm/test/CodeGen/AArch64/GlobalISel/knownbits-abds.mir
+9-20llvm/test/CodeGen/AArch64/arm64-neon-aba-abd.ll
+26-0llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
+199-204 files

HardenedBSD/ports 336661asysutils Makefile, sysutils/erldash distinfo Makefile.crates

sysutils/erldash: new port - top for erlang/BEAM apps

Sponsored by:   SkunkWerks, GmbH
DeltaFile
+519-0sysutils/erldash/distinfo
+258-0sysutils/erldash/Makefile.crates
+21-0sysutils/erldash/Makefile
+9-0sysutils/erldash/pkg-descr
+1-0sysutils/Makefile
+808-05 files

FreeBSD/ports 336661asysutils Makefile, sysutils/erldash distinfo Makefile.crates

sysutils/erldash: new port - top for erlang/BEAM apps

Sponsored by:   SkunkWerks, GmbH
DeltaFile
+519-0sysutils/erldash/distinfo
+258-0sysutils/erldash/Makefile.crates
+21-0sysutils/erldash/Makefile
+9-0sysutils/erldash/pkg-descr
+1-0sysutils/Makefile
+808-05 files

FreeBSD/ports 1dca2bdaudio Makefile, audio/maolan distinfo Makefile.crates

audio/maolan: Rust digital audio workstation

PR: 293848

Sponsored by:   SkunkWerks, GmbH
DeltaFile
+1,195-0audio/maolan/distinfo
+596-0audio/maolan/Makefile.crates
+35-0audio/maolan/Makefile
+5-0audio/maolan/pkg-descr
+1-0audio/Makefile
+1,832-05 files

HardenedBSD/ports 1dca2bdaudio Makefile, audio/maolan distinfo Makefile.crates

audio/maolan: Rust digital audio workstation

PR: 293848

Sponsored by:   SkunkWerks, GmbH
DeltaFile
+1,195-0audio/maolan/distinfo
+596-0audio/maolan/Makefile.crates
+35-0audio/maolan/Makefile
+5-0audio/maolan/pkg-descr
+1-0audio/Makefile
+1,832-05 files

LLVM/project a2c0c43clang/include/clang/ScalableStaticAnalysisFramework/Tool Utils.h, clang/lib/ScalableStaticAnalysisFramework CMakeLists.txt

[clang][ssaf] Consolidate tools and shared utilities under `clang/tools/clang-ssaf/`

This patch extracts the shared code between `clang-ssaf-format` and
`clang-ssaf-linker` into a new
`clangScalableStaticAnalysisFrameworkTool` library at
`clang/lib/ScalableStaticAnalysisFramework/Tool/`, with the public
header at
`clang/include/clang/ScalableStaticAnalysisFramework/Tool/Utils.h`. This
shared library provides:
  - `fail()` overloads for fatal error reporting
- `initTool()` — sets the tool name and version, configures the version
printer, hides unrelated command-line options, and parses arguments
  - `getToolName()` — accessor for the tool name set by `initTool()`
  - `loadPlugins()` — loads plugin shared libraries from a list of paths
  - `getFormatForExtension()` — cached format-registry lookup
  - `SummaryFile` — resolves a file path to its serialization format
  - `ErrorMessages` — shared diagnostic string constants

Tool-specific error strings remain in a `LocalErrorMessages` namespace

    [3 lines not shown]
DeltaFile
+135-0clang/lib/ScalableStaticAnalysisFramework/Tool/Utils.cpp
+9-120clang/tools/clang-ssaf-format/SSAFFormat.cpp
+9-98clang/tools/clang-ssaf-linker/SSAFLinker.cpp
+102-0clang/include/clang/ScalableStaticAnalysisFramework/Tool/Utils.h
+11-0clang/lib/ScalableStaticAnalysisFramework/Tool/CMakeLists.txt
+1-1clang/lib/ScalableStaticAnalysisFramework/CMakeLists.txt
+267-2192 files not shown
+269-2198 files

LLVM/project ca54948compiler-rt/lib/asan asan_poisoning.cpp, compiler-rt/lib/asan/tests asan_interface_test.cpp

[ASan] Fix missed poisoned suffix in first granule in __asan_region_is_poisoned (#187466)

Align beg address down instead of up in __asan_region_is_poisoned(), so
the shadow scan includes the first granule. This fixes a false negative
when first granule has an unpoisoned prefix and poisoned suffix.

Add test that covers this scenario.
DeltaFile
+34-0compiler-rt/lib/asan/tests/asan_interface_test.cpp
+7-8compiler-rt/lib/asan/asan_poisoning.cpp
+41-82 files