OpenZFS/src f69e283 — tests/zfs-tests/include libtest.shlib, tests/zfs-tests/tests/functional/raidz raidz_expand_boundary_repair.ksh raidz_expand_scrub_repair.ksh

ZTS: avoid mixed-layout damage during raidz expansion

Leave the blocks around the reflow offset intact so a scrub can repair
damage that the expansion copies between layouts. Round writes away
from the spared band to whole MiB to reduce the number of I/O calls.

Confine discovery of the exported pool to its own fixture directory
and share the reflow helpers with the boundary repair test.

Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Matthew Ahrens <matt at mahrens.org>
Suggested-by: Tigerblue77 <37409593+tigerblue77 at users.noreply.github.com>
Signed-off-by: Giuseppe Piscitelli <ooonea at gmail.com>
Co-authored-by: Will Rouesnel <wrouesnel at wrouesnel.com>
Closes #19932
DeltaFile
+38-20tests/zfs-tests/tests/functional/raidz/raidz_expand_scrub_repair.ksh
+6-19tests/zfs-tests/tests/functional/raidz/raidz_expand_boundary_repair.ksh
+13-0tests/zfs-tests/include/libtest.shlib
+57-393 files

LLVM/project 4340d42 — llvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn] port 080ee0b212c2 (#248725)
DeltaFile
+0-2llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+0-21 files

LLVM/project 4aa56a9 — clang/include/clang/CIR/Dialect/IR CMakeLists.txt, flang/lib/Frontend CMakeLists.txt

[CMake] Migrate CIR and Flang generated-header dependencies

Replace CIR's mlir-headers dependencies and Flang's global MLIR library
lists with their actual library dependencies. Let owners provide
generated headers through the link graph, and remove duplicate ordering
dependencies on foreign IncGen targets.

Declare CIR interface and header ownership explicitly. Keep source
shards, bytecode tables and lowering tables private to their consumers.
Scope accumulated TableGen variables and keep implementation-only
lowering tables out of Clang's global TableGen aggregate.

Include only the dialects and conversion passes registered by Flang.
Preserve the supported registrations and retain MLIR_DEPS for downstream
compatibility. Use compile-only owner links for header-only
dependencies.

Assisted-by: Codex
DeltaFile
+28-12flang/lib/Optimizer/Support/CMakeLists.txt
+16-16flang/lib/Optimizer/Builder/CMakeLists.txt
+7-17flang/lib/Lower/CMakeLists.txt
+16-7clang/include/clang/CIR/Dialect/IR/CMakeLists.txt
+4-18flang/lib/Frontend/CMakeLists.txt
+0-16flang/lib/Optimizer/OpenACC/Support/CMakeLists.txt
+71-8640 files not shown
+131-26446 files

OpenZFS/src 81c421c — module/zfs vdev_raidz.c

raidz: lock the full allocation during expansion

Use the block birth width to include parity in the expansion range
lock. Locking only the payload leaves the mapped tail exposed to a
concurrent reflow while reads, writes or repairs still use it.

Additionally, clarify why holding the read range lock also waits for a
reflow copy that starts in the block tail.

Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Will Rouesnel <wrouesnel at wrouesnel.com>
Signed-off-by: ooonea <ooonea at gmail.com>
Closes #19864
DeltaFile
+5-3module/zfs/vdev_raidz.c
+5-31 files

LLVM/project 4b4f7d2 — llvm/lib/Transforms/Utils EntryExitInstrumenter.cpp, llvm/test/Transforms/EntryExitInstrumenter unknown-function.ll

EntryExitInstrumenter: Report unknown instrumentation functions as errors (#248708)

Use emitError instead of report_fatal_error when an
instrument-function-entry or instrument-function-exit attribute names a
function the pass does not know how to call.

Assisted-by: Claude
DeltaFile
+13-0llvm/test/Transforms/EntryExitInstrumenter/unknown-function.ll
+1-1llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
+14-12 files

LLVM/project 839cfc2 — clang/test/Modules pch-container-coff-alignment.c

[clang] Make the PCM alignment test independent of the COFF writer

The test relied on the MC COFF writer happening to place the clangast
section at an unaligned offset. That offset depends on which sections the
writer emits and on the codegen of the ASan module constructor, so
unrelated changes could break the test or quietly make it test nothing.

Instead, re-wrap the AST file in a COFF object built with yaml2obj and
llvm-objcopy, which places the clangast section at a known unaligned
offset, and check that offset exactly.
DeltaFile
+25-9clang/test/Modules/pch-container-coff-alignment.c
+25-91 files

OpenZFS/src 88af9c8 — tests/zfs-tests/tests/functional/gang_blocks gang_blocks_special_fallback.ksh gang_blocks_redundant.ksh, tests/zfs-tests/tests/functional/mmp mmp_write_distribution.ksh

ZTS: restore tunables that a group's setup changes

- gang_blocks: setup.ksh set metaslab_force_ganging_pct to 0 without
  saving it, so cleanup.ksh had nothing to restore and it stayed 0
  (default 3) for the rest of the run.  enospc_ganging and
  removal_with_ganging, which run later and lower
  metaslab_force_ganging to force gang blocks, then made no gang
  blocks.  setup.ksh now saves the gang tunables.  The tests, which
  can no longer save and restore the same tunables, set the group's
  values back in their cleanup.
- mmp_write_distribution: set multihost_history back to the group's
  value, first thing in its cleanup.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alan Somers <asomers at gmail.com>
Signed-off-by: Matthew Ahrens <matt at mahrens.org>
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
Closes #19892
DeltaFile
+8-7tests/zfs-tests/tests/functional/gang_blocks/gang_blocks.kshlib
+5-2tests/zfs-tests/tests/functional/gang_blocks/setup.ksh
+2-3tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_scrub_copies.ksh
+0-1tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_special_fallback.ksh
+0-1tests/zfs-tests/tests/functional/gang_blocks/gang_blocks_redundant.ksh
+1-0tests/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh
+16-146 files not shown
+16-2012 files

FreeBSD/ports 765e7d9 — security/openssh-portable Makefile, security/openssh-portable/files patch-Makefile.in openssh.in

security/openssh-portable: rc: Generate ML-DSA44/ED25519 host key

(cherry picked from commit ca1058b65f7a56a97d8366e5e5222c920efe121e)
DeltaFile
+17-2security/openssh-portable/files/openssh.in
+10-0security/openssh-portable/files/patch-Makefile.in
+1-1security/openssh-portable/Makefile
+28-33 files

FreeBSD/ports 77cd22b — security/openssh-portable/files openssh.in

security/openssh-portable: Fix spelling of openssh_ed25519_flags in rc script

(cherry picked from commit 2166d09d61e428c72847e18b34a1ab2d81d9da7d)
DeltaFile
+1-1security/openssh-portable/files/openssh.in
+1-11 files

OpenZFS/src f8f5125 — tests/zfs-tests/tests/functional/cache cache_010_pos.ksh, tests/zfs-tests/tests/functional/slog slog_013_pos.ksh

ZTS: detach the loop devices of cache_010_pos and slog_013_pos

On Linux, cache_010_pos and slog_013_pos leave their loop device
attached.  slog_013_pos's device still holds testpool's log label, so
later tests in the same boot that look up testpool with "zdb -e" fail
with "more than one matching pool".  Each test strips the device path
to its name for zpool add, so cleanup's "losetup -d loop0" fails
("failed to use device") and the failure is ignored.

- Detach the device by its full path, and check that the detach
  worked, on FreeBSD and illumos too.
- Keep the path only after the device is attached, so cleanup doesn't
  try to detach one that never was.

Reviewed by: George Wilson <gwilson at zfsmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alan Somers <asomers at gmail.com>
Signed-off-by: Matthew Ahrens <matt at mahrens.org>
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
Closes #19883
DeltaFile
+6-6tests/zfs-tests/tests/functional/slog/slog_013_pos.ksh
+6-6tests/zfs-tests/tests/functional/cache/cache_010_pos.ksh
+12-122 files

FreeBSD/ports ca1058b — security/openssh-portable Makefile, security/openssh-portable/files patch-Makefile.in openssh.in

security/openssh-portable: rc: Generate ML-DSA44/ED25519 host key
DeltaFile
+17-2security/openssh-portable/files/openssh.in
+10-0security/openssh-portable/files/patch-Makefile.in
+1-1security/openssh-portable/Makefile
+28-33 files

FreeBSD/ports 2166d09 — security/openssh-portable/files openssh.in

security/openssh-portable: Fix spelling of openssh_ed25519_flags in rc script
DeltaFile
+1-1security/openssh-portable/files/openssh.in
+1-11 files

DragonFlyBSD/src e00a1f8 — sys/kern kern_time.c

kernel: FAST uptime clocks from the kpmap in clock_gettime(2)

The system call answered CLOCK_MONOTONIC_FAST and CLOCK_UPTIME_FAST
with getnanouptime(), which counts from gd_hardclock.time, the next
tick, and so runs up to a tick ahead.  After ten calls libc reads
ts_uptime from the kpmap instead, the time of the last tick, so both
clocks stepped back by up to a tick in every process.  Zig's
std.time.Instant panics when that happens.

Read the kpmap in the system call as well, with the upticks protocol
from sys/upmap.h.  CLOCK_REALTIME_FAST is not affected.

Reviewed-by: @dillon
Bug: https://bugs.dragonflybsd.org/issues/3493
DeltaFile
+28-1sys/kern/kern_time.c
+28-11 files

FreeBSD/src 360dd44 — contrib/atf NEWS COPYING, contrib/atf/atf-c macros.h macros_test.c

contrib/atf: update to 0.27.0

This release contains the upstreamed version of the wchar_t macros,
provided by des@ in https://reviews.freebsd.org/D61616.

MFC after:      1 week
Merge commit '9e2097a19a9dad81dcd8e7074283b8126464f310'

(cherry picked from commit 704c30247527f46e7dd49e79bf32049436eb85ee)
DeltaFile
+816-0contrib/atf/atf-sh/libatf-sh/common.subr
+189-8contrib/atf/atf-c/macros_test.c
+28-22contrib/atf/COPYING
+36-0contrib/atf/atf-c/macros.h
+33-0contrib/atf/NEWS
+24-0contrib/atf/atf-sh/libatf-sh/FreeBSD.subr
+1,126-308 files not shown
+1,185-5414 files

FreeBSD/src 6b8d17c — contrib/atf/atf-sh atf-check_test.sh atf-check.cpp

atf-check: Add shortcut for not-exit:0

Allow the command to be preceded by an exclamation point, which changes
the default expected result to a clean exit with a non-zero exit code.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D58099

(cherry picked from commit 76797b9b6ed4f2fe4ebb08fede0f19a88f985494)
DeltaFile
+16-2contrib/atf/atf-sh/atf-check.1
+12-0contrib/atf/atf-sh/atf_check_test.sh
+9-1contrib/atf/atf-sh/atf-check.cpp
+6-0contrib/atf/atf-sh/atf-check_test.sh
+43-34 files

FreeBSD/src 159762c — contrib/atf/atf-c macros.h tc.c, contrib/atf/atf-c/detail fs_test.c process_test.c

contrib/atf: upgrade to 0.26.1

This is a bugfix release. Please see the related merge commit for more
details.

MFC after:      1 week
Merge commit 'bd8d548676ba2235320c105e0683a758ac742e8e'

(cherry picked from commit 87fac2e0c07327a02791fef5d01123abd3e590fe)
DeltaFile
+273-282contrib/atf/atf-c/macros_test.c
+250-222contrib/atf/atf-c/tc.c
+177-171contrib/atf/atf-c/macros.h
+144-176contrib/atf/atf-c/detail/process_test.c
+190-122contrib/atf/atf-c/detail/fs_test.c
+147-157contrib/atf/atf-sh/atf-check.cpp
+1,181-1,13097 files not shown
+3,883-3,757103 files

DragonFlyBSD/src 674c017 — sys/dev/drm/include/linux gfp.h

drm: zero pages in alloc_page() and alloc_pages() for __GFP_ZERO

alloc_page() and alloc_pages() ignore __GFP_ZERO.  alloc_page() calls
vm_page_alloczwq() without VM_ALLOC_ZERO, which hands out the page with
whatever it last held, and vm_page_alloc_contig() does not zero either.

TTM asks for zeroed pages for every buffer a client creates
(TTM_PAGE_FLAG_ZERO_ALLOC) and only clears the pages it reuses from its
own pools.  Cached buffers get their pages from alloc_page(), and new
pages for the write-combined and uncached pools come from
alloc_pages(), so a client can map a new buffer and read what the page
held before: freed memory of other processes or the kernel.  i915 asks
for zeroed scratch and status pages, and TTM for a zeroed dummy read
page, the same way.

Pass VM_ALLOC_ZERO for __GFP_ZERO in alloc_page(), and zero the pages
in alloc_pages().

Reviewed-by: @dillon
DeltaFile
+9-2sys/dev/drm/include/linux/gfp.h
+9-21 files

LLVM/project d56185a — mlir/lib/Dialect/OpenACC/IR OpenACCCG.cpp, mlir/test/Dialect/OpenACC invalid-cg.mlir

[MLIR][OpenACC] Reject nested acc.compute_region ops (#248712)

An acc.compute_region cannot be nested inside another one. Check this in
ComputeRegionOp::verify, which walks the ancestors of the op, so a
nested region is rejected at any depth. A declarative trait cannot
express this: HasAncestor requires an ancestor but has no negated form.

Add a case to invalid-cg.mlir that expects the diagnostic on the inner
region.
DeltaFile
+13-0mlir/test/Dialect/OpenACC/invalid-cg.mlir
+3-0mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
+16-02 files

LLVM/project dde248d — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[NFC][SLP] Add CandidateState::isReductionTree() (#247090)

Directly call `Candidate.isReductionTree()`, removing `BoUpSLP::isReductionTree()`.

AI Usage: Assisted by Codex
DeltaFile
+105-91llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+105-911 files

LLVM/project b61a55c — compiler-rt/lib/ctx_profile CtxInstrProfiling.cpp, compiler-rt/lib/ctx_profile/tests CtxInstrProfilingTest.cpp

[ctxprof] Write flat profiles for non-rootable functions (#248229)

Functions that cannot become roots, such as those containing musttail
calls, have their CtxRoot field initialized to the non-rootable
sentinel. When serializing flat profiles, check whether a function is an
active root rather than requiring CtxRoot to be null and rootable, so
flat profiles collected for non-rootable functions are not dropped.
DeltaFile
+48-0compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp
+4-4compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
+52-42 files

OpenZFS/src f0b3352 — module/zfs vdev.c vdev_mirror.c, tests/runfiles common.run

draid: fix data loss when a disk is cleared during rebuild

If a disk under a distributed spare is cleared while a sequential
rebuild (resilver) is running, data can be lost in three ways:

- When the rebuild completes, the cleared disk's DTL is excised even
  though the rebuild never repaired it.  Its spare is then detached,
  leaving the stale disk as the only copy.

  vdev_dtl_should_excise() now keeps the DTL of leaves that weren't
  rebuild targets, so the spare stays attached until a healing
  resilver or a scrub has repaired the disk.

- A column served by a distributed spare, whose data at that offset
  lives on a device being rebuilt, is read as if it were valid.  The
  rebuild may not have written that data yet, so the read can return
  stale data, which is then used to reconstruct the rebuilt column and
  written back by the forced repair.


    [14 lines not shown]
DeltaFile
+112-0tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare5.ksh
+25-6module/zfs/vdev_draid.c
+10-6module/zfs/vdev_mirror.c
+8-2module/zfs/vdev.c
+1-0tests/zfs-tests/tests/Makefile.am
+1-0tests/runfiles/common.run
+157-146 files

LLVM/project cdb712f — llvm/lib/Transforms/Vectorize VPlanUtils.cpp VPlan.h, llvm/test/Transforms/LoopVectorize/X86 predicated-replicate-feeding-cast-cost.ll

[VPlan] Single-scalar VPInstructions only use first lane of operands. (#248702)

Single-scalar VPInstructions only use the first lane of their operands,
independent of their users. Report this in usesFirstLaneOnly and do not
propagate first-lane use through them, removing the cast special case in
replicateByVF and the cases for always-single-scalar opcodes. Assert
that vector-to-scalar opcodes are not marked single-scalar.

Blends only used by single-scalar casts are now costed as scalar
selects.
DeltaFile
+4-5llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+2-5llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+4-2llvm/lib/Transforms/Vectorize/VPlan.h
+1-1llvm/test/Transforms/LoopVectorize/X86/predicated-replicate-feeding-cast-cost.ll
+1-1llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+12-145 files

LLVM/project d9e4a78 — mlir/lib/Dialect/OpenACC/Transforms ACCCGToGPU.cpp ACCPartitionKernelLoops.cpp, mlir/test/Dialect/OpenACC acc-partition-kernel-loops-gang-vector.mlir acc-partition-kernel-loops-grid-stride.mlir

[mlir][acc] Introduce acc-partition-kernel-loops pass (#248659)

Add a pass that maps the parallel loops of an acc.compute_region onto
the GPU dimensions they were assigned. Each scf.parallel loop carries an
acc.par_dims attribute that lists the dimensions it runs over. The pass
splits the loop so that each loop carries a single dimension, which is
the form the GPU lowering expects. For every non-sequential dimension,
the loop gets an outer loop over the launch width of that dimension. The
original loop becomes sequential and walks the iterations of one lane,
so that neighboring lanes work on neighboring iterations.

```
  acc.compute_region launch(%w = %pw_x) {
    scf.parallel (%i) = (%lb) to (%ub) step (%s) {
      ...
    } {acc.par_dims = #acc<par_dims[thread_x]>}
  }
```


    [23 lines not shown]
DeltaFile
+519-0mlir/lib/Dialect/OpenACC/Transforms/ACCPartitionKernelLoops.cpp
+307-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops-gang-static-chunk.mlir
+223-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops.mlir
+83-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops-grid-stride.mlir
+68-0mlir/test/Dialect/OpenACC/acc-partition-kernel-loops-gang-vector.mlir
+7-43mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+1,207-4311 files not shown
+1,429-6817 files

LLVM/project b209e09 — lldb/source/Target Process.cpp

[lldb] Incl SC UUID in headerbytes cache for old debugservers (#248667)

I added a new caching for lldb for binaries read out of memory, saving
the binary header bytes, in
https://github.com/llvm/llvm-project/pull/231344

It creates a filename for the headerbytes cache based on the filename,
file UUID, and if the binary is inside the Darwin shared cache region,
the shared cache UUID. If the debugserver doesn't report the shared
cache VM range, it would suppress headerbytes caching.

One CI bot was using an older debugserver that did not provide the
shared cache VM region, and the test would fail because the expected
headerbytes file was not found.

This changes the behavior for an old debugserver that fails to report
the shared cache VM region bounds -- now, we will include the shared
cache UUID for the filename of every binary read out of memory on that
system, when caching the headerbytes. This means that a filename which

    [13 lines not shown]
DeltaFile
+10-5lldb/source/Target/Process.cpp
+10-51 files

FreeBSD/ports 6b49a6f — math/scilab Makefile pkg-plist, math/scilab/files patch-modules_gui_src_java_org_scilab_modules_gui_utils_WebBrowser.java patch-modules_commons_src_java_org_scilab_modules_commons_utils_WebBrowser.java

math/scilab: upgrade to 2027.0.0

Changelog at
        https://gitlab.com/scilab/scilab/-/blob/2027.0.0/scilab/CHANGES.md#welcome-to-scilab-202700
DeltaFile
+633-398math/scilab/pkg-plist
+170-9math/scilab/files/patch-configure
+37-30math/scilab/Makefile
+14-19math/scilab/files/patch-modules_matio_src_cpp_GetSparseVariable.cpp
+0-28math/scilab/files/patch-modules_gui_src_java_org_scilab_modules_gui_utils_WebBrowser.java
+28-0math/scilab/files/patch-modules_commons_src_java_org_scilab_modules_commons_utils_WebBrowser.java
+882-4849 files not shown
+910-54615 files

FreeBSD/ports 81d7432 — www/jcef Makefile

www/jcef: add NO_SHLIB_REQUIRES_GLOB
DeltaFile
+2-0www/jcef/Makefile
+2-01 files

FreeBSD/ports 7ed5812 — net/cppserver Makefile pkg-plist, net/cppserver/files patch-cppserver.pc.in patch-include_server_asio_asio.h

net/cppserver: new port, C++ asynchronous networking library

To be used by Scilab.
DeltaFile
+168-0net/cppserver/files/patch-CMakeLists.txt
+42-0net/cppserver/pkg-plist
+28-0net/cppserver/Makefile
+21-0net/cppserver/files/patch-include_server_asio_memory.h
+15-0net/cppserver/files/patch-include_server_asio_asio.h
+14-0net/cppserver/files/patch-cppserver.pc.in
+288-03 files not shown
+297-09 files

FreeBSD/ports a61a4e5 — devel/cppcommon Makefile pkg-plist, devel/cppcommon/files patch-source_threads_named__rw__lock.cpp patch-source_memory_memory.cpp

devel/cppcommon: new port, Cross-platform C++ common library

To be used by CppServer.
DeltaFile
+227-0devel/cppcommon/files/patch-CMakeLists.txt
+169-0devel/cppcommon/pkg-plist
+69-0devel/cppcommon/files/patch-source_system_cpu.cpp
+42-0devel/cppcommon/files/patch-source_memory_memory.cpp
+41-0devel/cppcommon/Makefile
+39-0devel/cppcommon/files/patch-source_threads_named__rw__lock.cpp
+587-013 files not shown
+740-019 files

FreeBSD/ports a2d2ec0 — www/jmeter Makefile

www/jmeter: chase graphics/batik and textproc/saxon-he

Since I’m there, simplify the dependencies list.
DeltaFile
+2-19www/jmeter/Makefile
+2-191 files

FreeBSD/ports a3744f9 — textproc/saxon-he Makefile distinfo

textproc/saxon-he: upgrade to Saxon HE 12.10
DeltaFile
+3-3textproc/saxon-he/distinfo
+2-3textproc/saxon-he/Makefile
+5-62 files