FreeBSD/src b551429sys/compat/linuxkpi/common/include/linux dma-mapping.h

linuxkpi: Add dma_unmap_page_attrs

This will be used by amdgpu as of Linux 6.13.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
DeltaFile
+7-0sys/compat/linuxkpi/common/include/linux/dma-mapping.h
+7-01 files

LLVM/project 16198c7flang/lib/Semantics check-omp-structure.cpp, flang/test/Semantics/OpenMP resolve01.f90

Apply suggestions from code review

Co-authored-by: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
DeltaFile
+1-1flang/lib/Semantics/check-omp-structure.cpp
+1-1flang/test/Semantics/OpenMP/resolve01.f90
+2-22 files

LLVM/project 69f7aebclang/docs UsersManual.rst, clang/lib/Driver Driver.cpp

Revert "[clang] Add -fcrash-diagnostics-tar for tarball of crash reproducer files" (#201622)

Reverts llvm/llvm-project#198838

Test failing at
https://lab.llvm.org/buildbot/#/builders/190/builds/43494
DeltaFile
+7-73clang/lib/Driver/Driver.cpp
+0-36clang/test/Driver/crash-diagnostics-tar.c
+0-16clang/test/Driver/crash-diagnostics-modules.c
+0-4clang/docs/UsersManual.rst
+2-2clang/test/Driver/lld-repro.c
+2-2clang/tools/driver/driver.cpp
+11-13327 files not shown
+37-17033 files

OpenZFS/src e033759tests/unit README.md

unit: update docs for new coverage report options

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18619
DeltaFile
+49-25tests/unit/README.md
+49-251 files

LLVM/project 2cab66cclang/test/OpenMP nvptx_SPMD_codegen.cpp nvptx_target_teams_generic_loop_codegen.cpp

[clang][OpenMP] Improve loop structure for distributed loops

This is a part of a series of patches that rework OpenMP cross-team
reductions.

This patches wires the existing
`kmp_sched_distr_static_chunk_sched_static_chunkone` to be used by
CodeGen.

Example of the intended change of this patch:
```
target teams distribute parallel for reduction(+:s)
  for (i = 0; i < N; i++) s += a[i];
```

Before:
```
__kmpc_distribute_static_init(91)
for (team_lb = team*nthreads; team_lb < N; team_lb += nteams*nthreads) {

    [67 lines not shown]
DeltaFile
+2,345-3,605clang/test/OpenMP/nvptx_SPMD_codegen.cpp
+316-1,156clang/test/OpenMP/nvptx_target_teams_generic_loop_codegen.cpp
+301-1,141clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
+223-543clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
+120-360clang/test/OpenMP/target_teams_generic_loop_codegen_as_parallel_for.cpp
+59-179clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
+3,364-6,98410 files not shown
+3,652-7,51016 files

Illumos/gate 140b22ausr/src/pkg/manifests system-test-utiltest.p5m, usr/src/test/util-tests/runfiles default.run

18124 want test case for dladm create-vnic
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+277-0usr/src/test/util-tests/tests/dladm/create-vnic.ksh
+10-6usr/src/test/util-tests/runfiles/default.run
+7-4usr/src/pkg/manifests/system-test-utiltest.p5m
+8-2usr/src/test/util-tests/tests/dladm/Makefile
+302-124 files

LLVM/project 0e6dcf2clang/lib/Sema SemaTemplateInstantiateDecl.cpp, clang/test/AST ast-dump-templates-pattern.cpp

fixup
DeltaFile
+7-0clang/test/CodeGenCXX/explicit-instantiation.cpp
+6-0clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+1-1clang/test/AST/ast-dump-templates-pattern.cpp
+14-13 files

LLVM/project 6b7fd98clang/include/clang/AST DeclTemplate.h, clang/lib/AST DeclTemplate.cpp

[clang] fix getTemplateInstantiationArgs

This implements a new strategy for collecting the template arguments, by
relying on the qualifiers and template parameter lists to navigate the template
context of out-of-line definitions.

This greatly simplifies the signature of that function, by removing a bunch
of workarounds, and simpliffying a couple that weren't removed yet.

Since this now relies on qualifiers and template parameter lists,
this patch expends most of its effort making sure these are placed,
transformed and propagated to template instantiations.

Also makes the explicit specialization AST nodes stop abusing the template
parameter lists by storing it's own template parameter list, creating a
dedicated field for them, similar to partial specializations.
DeltaFile
+194-429clang/lib/Sema/SemaTemplateInstantiate.cpp
+257-164clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+151-147clang/lib/Sema/SemaTemplate.cpp
+96-95clang/include/clang/AST/DeclTemplate.h
+59-129clang/lib/Sema/SemaConcept.cpp
+60-92clang/lib/AST/DeclTemplate.cpp
+817-1,05653 files not shown
+1,458-1,71659 files

LLVM/project 1eb226bclang/lib/Sema SemaTemplateInstantiateDecl.cpp, clang/test/CodeGenCXX default-arguments.cpp

fixup
DeltaFile
+12-1clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+12-0clang/test/CodeGenCXX/default-arguments.cpp
+24-12 files

LLVM/project 5a4516cutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 2a577a4 (#201625)

This fixes 2a577a44a35975f1ac25096861ab87e4c5ad9ddd.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+4-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+4-01 files

OpenZFS/src 9a6dd0etests/unit Makefile.am

unit: support text & HTML targets; improve coverage rules

The main change is switching `unit-coverage` to run
scripts/coverage_report.pl, to get nice coverage summary output on the
commandline. The previous behaviour moves to `unit-coverage-html`.

Calls to lcov and genhtml are now silencing more warnings, and the
output file now gets branch coverage as well.

This should be compatible with both lcov 1.x and 2.x. It takes advantage
of the fact that 1.x is far more forgiving of both options it doesn't
understand, and of various kinds of "inconsistency" in the input data.

The rest is both simplifying and improving the rules. We keep the
coverage output around now, but still rebuild it if the binary changes.
The `clean` target now removes the coverage output too. And we use the
target name more often for building path names, as its far less noisy.

Sponsored-by: TrueNAS

    [3 lines not shown]
DeltaFile
+40-14tests/unit/Makefile.am
+40-141 files

LLVM/project b6d82d2llvm/lib/Transforms/IPO ExpandVariadics.cpp, llvm/test/CodeGen/NVPTX vaargs.ll

[ExpandVariadics] Expand vaarg instructions (#201156)

Expand vaarg instructions within ExpandVariadics (Clang generally does
not emit these instructions but other front-ends may). This pass already
has all the necessary information to expand these instructions and doing
this in IR as part of this pass is simpler than lowering these
instructions during ISel after type legalization. This fixed a
type-mismatch bug in NVPTX.
DeltaFile
+56-4llvm/lib/Transforms/IPO/ExpandVariadics.cpp
+10-10llvm/test/CodeGen/NVPTX/vaargs.ll
+66-142 files

OpenZFS/src 9f23793scripts coverage_report.pl Makefile.am

coverage_report: produce nice text reports from lcov/geninfo tracefiles

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18619
DeltaFile
+392-0scripts/coverage_report.pl
+1-0scripts/Makefile.am
+393-02 files

LLVM/project b7e08b6llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify issue195176.ll

[SCEV] Fix ScalarEvolution::getBackedgeTakenInfo when L not found (#201502)

By the end of ScalarEvolution::getBackEdgeTakenInfo():
```
  ...
  BackedgeTakenInfo Result = computeBackedgeTakenCount(L);

  if (Result.hasAnyInfo()) {
    // Invalidate any expression using an addrec in this loop.
    ...
  }

  return BackedgeTakenCounts.find(L)->second = std::move(Result);
```
BackedgeTakenCounts may no longer contain an entry for L, resulting in a
crash (https://github.com/llvm/llvm-project/issues/195176). This patch
fixes the issue by inserting the entry if it does not exist (and
otherwise keeping the same behavior).


    [3 lines not shown]
DeltaFile
+82-0llvm/test/Transforms/IndVarSimplify/issue195176.ll
+1-1llvm/lib/Analysis/ScalarEvolution.cpp
+83-12 files

FreeBSD/src fa3f69flib/msun Makefile

libmsun: Fix incorrect MLINK for sincosl(3)

PR:             295704
MFC after:      1 week
DeltaFile
+1-1lib/msun/Makefile
+1-11 files

OpenBSD/ports ChjJL73devel/jujutsu distinfo crates.inc, devel/jujutsu/pkg PLIST

   Update to jujutsu 0.42.0

   https://github.com/jj-vcs/jj/releases/tag/v0.42.0
VersionDeltaFile
1.25+126-128devel/jujutsu/distinfo
1.26+62-63devel/jujutsu/crates.inc
1.32+1-1devel/jujutsu/Makefile
1.14+2-0devel/jujutsu/pkg/PLIST
+191-1924 files

FreeNAS/freenas f086411src/middlewared/middlewared/plugins/alert alert.py runtime.py

Restructure alert plugin to the lean typesafe layout

## Problem
The alert plugin passed mypy but didn't follow the typesafe convention the other converted plugins use: the eponymous `alert` service lived in `alert.py` as an 1100-line `Service` with all logic, models, and helpers inline, `__init__.py` was empty, and the two sibling services each combined their service class and service part in one off-convention file.

## Solution
- Move `AlertService` into a lean `__init__.py` that exposes only the endpoint stubs; each delegates to plain functions in `lifecycle.py` / `runtime.py` / `oneshot.py` / `queries.py` that take `(context, state)`.
- Lift all mutable runtime state into a dedicated `AlertState` object (`state.py`) built once in `__init__`. Concurrency is intentionally unchanged — it still relies on the asyncio event loop plus the existing `process_alerts` job lock, with no new lock introduced.
- Pull the standalone pieces into `state.py`, `alert_classes.py`, and `serialize.py`, and split the siblings into `alertservice.py` / `alertservice_crud.py` and `alertclasses.py` / `alertclasses_config.py` to match the `*_crud.py` / `*_config.py` convention.
- Move the inline `AlertOneshotDelete` models into the API package, and update `main.py` imports plus the setup-ordering key (`alert.alert` -> `alert`, since `setup()` now lives in the package `__init__`).
DeltaFile
+0-1,108src/middlewared/middlewared/plugins/alert/alert.py
+472-0src/middlewared/middlewared/plugins/alert/runtime.py
+0-226src/middlewared/middlewared/plugins/alert/service.py
+217-0src/middlewared/middlewared/plugins/alert/__init__.py
+214-0src/middlewared/middlewared/plugins/alert/queries.py
+145-0src/middlewared/middlewared/plugins/alert/alertservice.py
+1,048-1,33410 files not shown
+1,656-1,41616 files

LLVM/project a7a53bflldb/source/Plugins/Process/Utility lldb-riscv-register-enums.h RegisterInfos_riscv32.h, lldb/source/Plugins/Process/elf-core RegisterContextPOSIXCore_riscv32.cpp RegisterUtilities.h

[lldb][RISCV] Handle subsets of CSRs in RV32 core dump images (#142932)

The standard RISC-V ISA sets aside a 12-bit encoding space for up to
4,096 CSRs. However, many of these may remain unutilized and needn't be
saved in core dump images. To address this, we've come up with a new
note, _NT_CSREGMAP_, that saves subsets of CSRs as key-value pairs. This
change provisions support for handling the subsets of CSRs saved in
32-bit RISC-V core dump images by building the register information for
GPRs, FPRs, and CSRs dynamically.

Kindly refer to the corresponding topic ([Add RISC-V CSRs to core
dumps](https://discourse.llvm.org/t/add-risc-v-csrs-to-core-dumps/84348))
for additional details.
DeltaFile
+4,489-13lldb/source/Utility/RISCV_DWARF_Registers.h
+4,473-0lldb/source/Plugins/Process/Utility/lldb-riscv-register-enums.h
+4,253-32lldb/source/Plugins/Process/Utility/RegisterInfos_riscv32.h
+291-32lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_riscv32.cpp
+143-0lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
+117-0lldb/source/Plugins/Process/elf-core/RegisterUtilities.h
+13,766-778 files not shown
+13,958-9214 files

LLVM/project 2a577a4mlir/include/mlir/Dialect/OpenACC OpenACCCGOps.td OpenACC.h, mlir/lib/Dialect/OpenACC/IR OpenACC.cpp

[mlir][acc] Add operation for private handle to memref (#201603)

This MR introduces a new operation `acc.unwrap_private` for creating a
pointer-like view of the `acc.private_type` handle. This operation will
be used when materializing `acc.private_local` into the memory view
needed to access the allocated private memory. This new operation is
just a simple cast and thus it gets ViewLikeOpInterface attached to it.

Additionally, `acc.private_type` is now treated as a pointer-like type
to ease conversions to other pointer-like types via
PointerLikeType::genCast.
DeltaFile
+27-0mlir/test/Dialect/OpenACC/ops-cg-privatization.mlir
+23-0mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
+21-0mlir/unittests/Dialect/OpenACC/OpenACCTypeInterfacesTest.cpp
+18-0mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
+1-0mlir/include/mlir/Dialect/OpenACC/OpenACC.h
+90-05 files

OpenZFS/src 4256f4fcontrib/pam_zfs_key pam_zfs_key.c

pam: use open fd instead of path

Instead of performing multiple operations on the path name in
zfs_key_config_modify_session_counter() open the file once and
perform the fchown, fchmod, and openat on the open file handle.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18618
DeltaFile
+21-8contrib/pam_zfs_key/pam_zfs_key.c
+21-81 files

FreeNAS/freenas 09a0f2csrc/middlewared/middlewared/plugins/app_registry utils.py, src/middlewared/middlewared/plugins/apps_images update_alerts.py utils.py

Use Docker Registries auth when checking for and pulling image updates

This commit fixes an issue where the image update checker and the middleware's own image pull ignored the credentials stored in Docker Registries, so updates to private images (e.g. ghcr.io) were never detected and pulls 401'd. We now thread the stored registry credentials through the manifest/token calls and the pull fallback so the bearer token carries read scope on private repos.

The registry-URI authority normalization that both paths rely on (stripping scheme/path/slash and collapsing Docker Hub aliases) was duplicated across app_registry and apps_images with slightly diverging alias sets, so it now lives in a single middlewared.utils.docker_registry helper that both import, with unit tests covering the normalization.
DeltaFile
+35-0src/middlewared/middlewared/utils/docker_registry.py
+33-0src/middlewared/middlewared/pytest/unit/utils/test_docker_registry.py
+23-6src/middlewared/middlewared/plugins/apps_images/update_alerts.py
+15-11src/middlewared/middlewared/plugins/apps_images/utils.py
+24-1src/middlewared/middlewared/plugins/app_registry/utils.py
+14-8src/middlewared/middlewared/plugins/apps_images/client.py
+144-266 files

LLVM/project 82ecbebclang/lib/Driver Driver.cpp, clang/test/Driver crash-diagnostics-tar.c crash-diagnostics-modules.c

Revert "[clang] Add -fcrash-diagnostics-tar for tarball of crash reproducer f…"

This reverts commit e44d060dfd617e8a5e37b61adcb38ed4ac5d782d.
DeltaFile
+7-73clang/lib/Driver/Driver.cpp
+0-36clang/test/Driver/crash-diagnostics-tar.c
+0-16clang/test/Driver/crash-diagnostics-modules.c
+2-2clang/test/Driver/crash-report-modules.m
+2-2clang/test/Driver/lld-repro.c
+2-2clang/test/Driver/crash-report-null.test
+13-13127 files not shown
+37-17033 files

NetBSD/pkgsrc 5avbkyBdoc CHANGES-2026

   doc: Updated lang/algol68g to 3.12.2
VersionDeltaFile
1.3493+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc pp78BbVlang/algol68g Makefile distinfo

   lang/algol68g: update to 3.12.2

   Version 3.12.0-2, April/May 2026
   * Move from domain xs4all.nl to new domain algol68genie.nl.
   * Minor fixes.

   Version 3.11.0-3, March/April 2026
   * Improves STRING handling.
   * Minor fixes.
   * Documentation updates.
   * Adds environment enquiry "eof char".
   * Adds operators CEIL, FIX, FLOOR, FRAC and TRUNC.
VersionDeltaFile
1.40+4-5lang/algol68g/Makefile
1.21+4-4lang/algol68g/distinfo
+8-92 files

LLVM/project 9a423a2llvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine select_meta.ll

[InstCombine] Avoid propagating invalid metadata in FoldOpIntoSelect (#199155)

Fixes #186471

FoldOpIntoSelect may create a select with a different result type from
the original instruction. The existing implementation blindly copied all
metadata from the original select, which could propagate invalid
type-specific metadata to the transformed instruction.

In particular, folding an fcmp over a floating-point select could copy
!fpmath metadata onto a non-FP select, producing invalid IR and causing
verifier failures.

This change preserves only metadata that remains valid for the
transformed select and propagates !fpmath only for FP-typed selects.
Debug locations are also preserved explicitly.
DeltaFile
+16-1llvm/test/Transforms/InstCombine/select_meta.ll
+11-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+27-22 files

Illumos/gate 8c0afddusr/src/head README.cplusplus.md

18138 Document C++ header guidance
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
DeltaFile
+471-0usr/src/head/README.cplusplus.md
+471-01 files

Illumos/gate 6d0c9b7usr/src/head math.h, usr/src/head/iso math_iso.h math_c99.h

15209 Fix C++ math function visibility
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Approved by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
DeltaFile
+190-154usr/src/head/iso/math_iso.h
+166-5usr/src/head/iso/math_c99.h
+24-3usr/src/head/iso/stdlib_iso.h
+0-26usr/src/head/math.h
+380-1884 files

LLVM/project 8b140d4llvm/include/llvm/Target/GlobalISel Combine.td, llvm/lib/Target/AArch64 AArch64Combine.td

[AArch64][GlobalISel] Add select to and combines (#200131)

This adds combines for
// select c, x, 0 -> and c, x
// select c, 0, x -> and (not c), x
// select (not c), x, y -> select c, y, x

We need to freeze the value in the first two. The second is only
profitable if hasAndNot, so it excluded from all_combines.
https://alive2.llvm.org/ce/z/eG-aHT

This helps alleviate regressions when G_SELECT is made legal for vector
operations under AArch64. The AMD tests I am not sure about - let me
know if they look worse. The third combine is mostly useful
post-legalize.
DeltaFile
+73-0llvm/test/CodeGen/AArch64/GlobalISel/combine-select-zero.mir
+30-1llvm/include/llvm/Target/GlobalISel/Combine.td
+16-14llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.ll
+10-9llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-phis-no-lane-mask-merging.ll
+3-3llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-temporal-divergent-i1.ll
+3-1llvm/lib/Target/AArch64/AArch64Combine.td
+135-286 files

FreeNAS/freenas 7fb10e2src/middlewared/middlewared/plugins/app_registry utils.py, src/middlewared/middlewared/plugins/apps_images client.py update_alerts.py

NAS-141149 / 27.0.0-BETA.1 / Use Docker Registries auth when checking for and pulling image updates (#19059)

This commit fixes an issue where the image update checker and the
middleware's own image pull ignored the credentials stored in Docker
Registries, so updates to private images (e.g. ghcr.io) were never
detected and pulls 401'd. We now thread the stored registry credentials
through the manifest/token calls and the pull fallback so the bearer
token carries read scope on private repos.

The registry-URI authority normalization that both paths rely on
(stripping scheme/path/slash and collapsing Docker Hub aliases) was
duplicated across app_registry and apps_images with slightly diverging
alias sets, so it now lives in a single
middlewared.utils.docker_registry helper that both import, with unit
tests covering the normalization.
DeltaFile
+35-0src/middlewared/middlewared/utils/docker_registry.py
+33-0src/middlewared/middlewared/pytest/unit/utils/test_docker_registry.py
+26-4src/middlewared/middlewared/plugins/apps_images/client.py
+24-5src/middlewared/middlewared/plugins/apps_images/update_alerts.py
+12-14src/middlewared/middlewared/plugins/apps_images/utils.py
+23-1src/middlewared/middlewared/plugins/app_registry/utils.py
+153-241 files not shown
+154-257 files

LLVM/project 6d1eed6llvm/lib/CodeGen ReachingDefAnalysis.cpp

[RDA] Slightly optimize enterBasicBlock() (NFC) (#201608)

Instead of initializing LiveRegs and doing an elementwise std::max with
the first incoming predecessor, directly copy the data for the first
predecessor.
DeltaFile
+13-5llvm/lib/CodeGen/ReachingDefAnalysis.cpp
+13-51 files