OpenZFS/src 1974111 — tests/zfs-tests/tests/functional/cli_root/zpool_create zpool_create_draid_005_pos.ksh

ZTS: create the fdomain pool in zpool_create_draid_005_pos

The random loop of zpool_create_draid_005_pos builds the device list
of each layout a second time with fdomain keywords, but then creates
the pool from the fgroup list again, so the fdomain form of those
layouts is never tested. Use the fdomain list.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Tigerblue77 <37409593+tigerblue77 at users.noreply.github.com>
Closes #19708
DeltaFile
+1-1tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_005_pos.ksh
+1-11 files

OpenZFS/src 8ad60ba — cmd/zpool zpool_vdev.c, tests/zfs-tests/tests/functional/cli_root/zpool_create zpool_create_draid_005_pos.ksh

zpool: reject empty dRAID failure groups and stray devices

construct_spec() counts the devices after each fgroup or fdomain
keyword and requires each group to hold as many as the previous one.
It misses two cases: devices listed before the first keyword, which
are counted as children but belong to no group, and groups with no
devices, because a previous count of zero is also how it recognises
the first group. Both let through specifications in which the number
of devices is not the number of groups times the size of a group:

- "draid1 d1 d2 d3 d4 fgroup fgroup" is accepted as two groups of two
  disks, although no disk was listed in a group;
- "draid1 d1 d2 d3 fdomain fdomain fdomain fdomain" makes
  draid_config_by_type() compute zero failure groups and divide by
  zero, and zpool is killed by SIGFPE;
- "draid2 fdomain fdomain <16 disks> fdomain <16 disks>" leaves the
  last entries of the reordered child array uninitialized, and the
  verify() around nvlist_add_nvlist_array() aborts zpool.


    [13 lines not shown]
DeltaFile
+16-2cmd/zpool/zpool_vdev.c
+14-0tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_005_pos.ksh
+30-22 files

FreeBSD/ports 034ba3c — security/R-cran-openssl distinfo Makefile

security/R-cran-openssl: Update to 2.5.0

- Remove redundant BUILD_DEPENDS (R releated)

ChangeLog: https://cran.r-project.org/web/packages/openssl/NEWS
DeltaFile
+3-5security/R-cran-openssl/Makefile
+3-3security/R-cran-openssl/distinfo
+6-82 files

FreeBSD/ports 25add6a — devel/R-cran-testit Makefile distinfo

devel/R-cran-testit: Update to 1.3

ChangeLog: https://github.com/yihui/testit/releases/tag/v1.3
DeltaFile
+3-3devel/R-cran-testit/distinfo
+1-1devel/R-cran-testit/Makefile
+4-42 files

FreeBSD/ports f404658 — devel/R-cran-sparsevctrs Makefile distinfo

devel/R-cran-sparsevctrs: Update to 0.4.0

- Remove redundant BUILD_DEPENDS

ChangeLog: https://cran.r-project.org/web/packages/sparsevctrs/news/news.html
DeltaFile
+2-4devel/R-cran-sparsevctrs/Makefile
+3-3devel/R-cran-sparsevctrs/distinfo
+5-72 files

FreeBSD/ports bf01626 — editors/cooledit Makefile distinfo

editors/cooledit: Update to 5.0.7

ChangeLog: https://github.com/paulsheer/cooledit/blob/master/NEWS
DeltaFile
+3-3editors/cooledit/distinfo
+1-1editors/cooledit/Makefile
+4-42 files

FreeBSD/ports 5495b5f — devel/R-cran-future Makefile distinfo

devel/R-cran-future: Update to 1.82.0

ChangeLog: https://cran.r-project.org/web/packages/future/news/news.html
DeltaFile
+3-3devel/R-cran-future/distinfo
+1-1devel/R-cran-future/Makefile
+4-42 files

FreeBSD/ports fca7210 — science/cdf pkg-descr pkg-plist, science/cdf/files patch-liblib_CMakeLists.txt patch-CMakeLists.txt

science/cdf: Update 3.9.1 => 3.9.2

* Switch GNU Make => CMake
* Improve pkg-descr
DeltaFile
+0-44science/cdf/files/patch-Makefile
+15-29science/cdf/Makefile
+37-0science/cdf/files/patch-CMakeLists.txt
+3-24science/cdf/pkg-plist
+13-10science/cdf/pkg-descr
+20-0science/cdf/files/patch-liblib_CMakeLists.txt
+88-1072 files not shown
+93-1128 files

FreeBSD/ports 44b563a — devel/py-zope.interface Makefile, devel/py-zope.interface/files patch-src_zope_interface_interface.py

devel/py-zope.interface: fix with Python 3.13 and 3.14

Backport upstream change to make it work with python 3.13 and 3.14

PR:             299758
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+34-0devel/py-zope.interface/files/patch-src_zope_interface_interface.py
+5-3devel/py-zope.interface/Makefile
+39-32 files

FreeBSD/ports f2db422 — math/py-autograd distinfo Makefile

math/py-autograd: update to 1.9.1

This update fixes runtime with numpy2.

PR:             299794
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+5-7math/py-autograd/Makefile
+3-3math/py-autograd/distinfo
+8-102 files

FreeBSD/ports 86f0601 — russian/py-pytils distinfo Makefile

russian/py-pytils: update to 0.4.4

this fixes django template tags import

PR:             299793
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+5-4russian/py-pytils/Makefile
+3-2russian/py-pytils/distinfo
+8-62 files

LLVM/project 8ce45e7 — clang/lib/CIR/CodeGen CIRGenTypes.cpp, clang/test/CIR/CodeGen array-param-qualifiers.c

[CIR] Remove 2 NYIs in CIRGenTypes.cpp (#238589)

While looking at NYIs I realized that incomplete and vla types don't
need to pay attention to CVR qualifiers, as classic codegen does not.
This just removes the two NYIs and adds tests here.

These qualifiers are ONLY valid in C and only on function parameters,
      where they are entirely a SEMA feature, so there is nothing
      codegen should have to do here.
DeltaFile
+21-0clang/test/CIR/CodeGen/array-param-qualifiers.c
+12-5clang/lib/CIR/CodeGen/CIRGenTypes.cpp
+33-52 files

LLVM/project 0e5c51c — llvm/test/Transforms/SLPVectorizer/X86 interchangeable-cmp-predicates.ll

[SLP][NFC]Add a test with extra trunc-to-icmp conversion, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/238973
DeltaFile
+57-0llvm/test/Transforms/SLPVectorizer/X86/interchangeable-cmp-predicates.ll
+57-01 files

LLVM/project 08d3d4d — llvm/lib/CodeGen AtomicExpandPass.cpp, llvm/test/CodeGen/RISCV atomic-cmpxchg.ll atomic-signext.ll

AtomicExpand: Use RuntimeLibcallsInfo signatures for atomic libcalls

Take the function type and attributes of the emitted __atomic_* calls
from RuntimeLibcallsInfo instead of building them by hand.

This fixes missing extension attributes on the value operand and
result of the sized variants, which are unsigned integers of the
access size. On targets whose C ABI extends narrow integer arguments,
such as RISC-V and ARM, the callee could see unextended high bits. i8
and i16 values now get zeroext, and i32 values get signext on
RV64. Callers can also rely on the extended return value, which
removes redundant extensions after some calls.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+705-360llvm/test/CodeGen/RISCV/atomic-rmw.ll
+460-360llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-max-min-umax-umin.ll
+166-104llvm/test/CodeGen/RISCV/atomic-signext.ll
+105-0llvm/test/CodeGen/RISCV/GlobalISel/atomicrmw-and-or-xor.ll
+19-56llvm/lib/CodeGen/AtomicExpandPass.cpp
+70-0llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll
+1,525-88014 files not shown
+1,777-96120 files

LLVM/project 0d2a1e6 — offload/test/offloading kernel_launch_environment_reduction.c kernel_launch_environment_dyn_gprivate.c

[offload][amdgpu] Replace KLE test (#238800)

Temporarily set kernel_launch_environment_reduction.c to unsupported on
AMDGPU until https://github.com/llvm/llvm-project/issues/238409 is
resolved.
Add kernel_launch_environment_dyn_gprivate.c instead, which is also
stress-testing the KLE, but without accidentally stress-testing
concurrent memory transfers as well and, thus, not causing the GPU hang
on the buildbot that is described in the linked GitHub issue.

Claude assisted with this patch.
DeltaFile
+96-0offload/test/offloading/kernel_launch_environment_dyn_gprivate.c
+8-1offload/test/offloading/kernel_launch_environment_reduction.c
+104-12 files

OpenBSD/ports YlvOPmh — sysutils/openvox-server/8 Makefile distinfo

   openvox-server security update to 8.18.0
VersionDeltaFile
1.5+2-2sysutils/openvox-server/8/distinfo
1.9+1-1sysutils/openvox-server/8/Makefile
+3-32 files

FreeBSD/src 8ce9a86 — sys/dev/ena ena.c

ena: Reinit RSS components during queue count change flow

The io_queues_nb sysctl is writable while the interface is down, and
setting it destroys the RSS components. When the interface is not UP
nothing reinitialises them, so the indirection table is left referencing
queues that no longer exist until the next ifconfig up.

Call ena_rss_configure() after the queue count changes when the
interface is down. When it is up, this happens through ena_up().

This can configure RSS twice if the interface is brought up afterwards,
costing three redundant admin commands. That is preferred over changing
ena_up(), which the reset path also uses.

Reviewed by: cperciva
Fixes: 56d41ad5fe9c ("Add sysctl node for ENA IO queues number adjustment")
MFC after: 3 days
Sponsored by: Amazon, Inc.

(cherry picked from commit 2a27dd0076c55789a43415559906f795fd10c2da)
DeltaFile
+5-0sys/dev/ena/ena.c
+5-01 files

FreeBSD/src aca97e8 — sys/dev/ena ena.c ena_rss.c

ena: Set ENA_FLAG_RSS_ACTIVE only when RSS is really configured

If the device does not report support for the RSS indirection table,
ena_rss_init_default() destroys the RSS state and returns EOPNOTSUPP.
ena_rss_configure() treats EOPNOTSUPP as success and returns 0, and
ena_up_complete() sets ENA_FLAG_RSS_ACTIVE on any 0 return.
Reading dev.ena.N.rss.key at this point causes kernel panic.

Every current device reports the indirection table, so reaching this
needs a device that is broken or misreporting.

The SYSINIT removed by a6205766b300 called ena_rss_init_default()
directly, saw the EOPNOTSUPP and cleared the flag. Routing the decision
through ena_rss_configure(), which hides EOPNOTSUPP, lost that.

Move the flag set into ena_rss_configure(), which can see whether a
table exists, and clear it when tbl_log_size is 0.

Reviewed by: cperciva

    [6 lines not shown]
DeltaFile
+7-0sys/dev/ena/ena_rss.c
+0-1sys/dev/ena/ena.c
+7-12 files

FreeBSD/src 5fc3c7c — sys/dev/ena ena.h

ena: Update driver version to v2.8.5

New Features:
* Retrieve RSS indirection table size from device

Bug Fixes:
* Limit IO IRQ setup loop to active queues only
* Reinit RSS table on device restore when queue count shrinks
* Fix RSS not working after driver reload
* Fix NULL deref before NULL check in RSS sysctl
* Reinit RSS components during queue count change flow

Minor Changes:
* Fix ENA_MEM_FREE_COHERENT with an expression size argument

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.

(cherry picked from commit 5e66bf0df3104e212c1b24ff65284b6d1a694c59)
DeltaFile
+1-1sys/dev/ena/ena.h
+1-11 files

FreeBSD/src 670e850 — sys/dev/ena ena.h

ena: Update driver version to v2.8.6

Bug Fixes:
* Revert "Reinit RSS components during queue count change flow"
* Fix RSS sysctl panic when the RSS table is destroyed
* Set ENA_FLAG_RSS_ACTIVE only when RSS is really configured

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.
Differential Revision: https://reviews.freebsd.org/D61059

(cherry picked from commit 6c177745c58e526bcf7451ad2765df6c63f35f97)
DeltaFile
+1-1sys/dev/ena/ena.h
+1-11 files

FreeBSD/src 0c72405 — sys/dev/ena ena.c

ena: Fix RSS sysctl panic when the RSS table is destroyed

ena_set_io_queue_count() destroys the ena-com RSS state but left
ENA_FLAG_RSS_ACTIVE set. The RSS sysctl handlers gate on that flag, so
they ran against state that was gone.

This causes 2 types of issues:
1. Kernel panic when reading dev.ena.0.rss.key or writing to
   dev.ena.0.rss.indir_table
2. Returning a stale cached RSS table when reading
   dev.ena.0.rss.indir_table, or a bogus 1 when reading
   dev.ena.0.rss.indir_table_size

ena_set_io_queue_count() is called in 2 cases:
1. The io_queues_nb sysctl.
2. Device restore when the device comes back with fewer MSI-X vectors
   than before.

Clear ENA_FLAG_RSS_ACTIVE when the RSS table is destroyed. The handlers

    [14 lines not shown]
DeltaFile
+1-0sys/dev/ena/ena.c
+1-01 files

FreeBSD/src 9edaecd — sys/dev/ena ena.c

Revert "ena: Reinit RSS components during queue count change flow"

This reverts commit 2a27dd0076c5.

Changing the IO queue count destroys the RSS table, and if this is done
while the device is down a new table is not rebuilt until the next
ena_up(). That leaves 2 problems in the meantime:
1. A stale copy of the destroyed table is still returned via sysctl.
2. Reading the destroyed key, or writing the table, panics.

That commit addressed 1 by creating a new RSS table, so that sysctl
returns a fresh default table with the new number of queues. It did not
set out to fix 2, but the rebuild hid it by accident.

The rebuilt table is the default round-robin one, wired to no queues and
unusable: a write still fails, because programming the device needs the
IO queues that only exist after ena_up(). ena_up() builds that same
table anyway.


    [12 lines not shown]
DeltaFile
+0-5sys/dev/ena/ena.c
+0-51 files

FreeBSD/src 2240b51 — sys/dev/ena ena_sysctl.c

ena: Fix NULL deref before NULL check in RSS sysctl

In ena_sysctl_rss_indir_table(), the code dereferenced
indir->sysctl_buf before checking whether indir itself is NULL.
Move the NULL check above the dereference so the early-return path
fires before any access through indir.

Reviewed by: cperciva
Fixes: 6d1ef2abd330 ("ena: Implement full RSS reconfiguration")
MFC after: 3 days
Sponsored by: Amazon, Inc.

(cherry picked from commit 462b6c50c7089e96c54cbd34378467f32fc709d4)
DeltaFile
+1-2sys/dev/ena/ena_sysctl.c
+1-21 files

FreeBSD/src fa816a0 — share/man/man4 ena.4, sys/dev/ena ena.h ena.c

ena: Retrieve RSS table size from device

The current driver assumes a default RSS table size of 128 entries,
expecting the device's RSS table size to match this assumption.

This patch allows the driver to create RSS indirection table
with the size advertised by the device.

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.

(cherry picked from commit 3d1e732a43eda16f20dea3fe2671ce6fca8a03a6)
DeltaFile
+40-6sys/dev/ena/ena_rss.c
+29-6sys/dev/ena/ena_rss.h
+24-8sys/dev/ena/ena_sysctl.c
+4-1sys/dev/ena/ena.c
+0-3sys/dev/ena/ena.h
+0-1share/man/man4/ena.4
+97-256 files

FreeBSD/src e6171d8 — sys/contrib/ena-com ena_plat.h ena_com.h, sys/contrib/ena-com/ena_defs ena_admin_defs.h

ena: Upgrade ena-com to freebsd v2.8.5

Merge commit 'c51345cf234c029abf8b5f1655f65f6c2ffaaec9'

Reviewed by: cperciva
MFC after: 3 days
Sponsored by: Amazon, Inc.

(cherry picked from commit 0f6f75189f5e55a5846e3b20eec18db93cfafa89)
DeltaFile
+35-27sys/contrib/ena-com/ena_com.c
+3-2sys/contrib/ena-com/ena_com.h
+5-0sys/contrib/ena-com/ena_defs/ena_admin_defs.h
+1-1sys/contrib/ena-com/ena_plat.h
+44-304 files

FreeBSD/src fa6dce8 — sys/dev/ena ena_sysctl.c ena.c

ena: Fix RSS not working after driver reload

When reloading the driver (kldunload/kldload),
ena_rss_init_default_deferred() is called before ena_attach()
completes. At this point, devclass_get_softc() returns NULL for all
devices because the adapter structs have not been populated yet. As a
result, ena_rss_init_default() is never called and ENA_FLAG_RSS_ACTIVE
is never set. Later, in ena_up_complete(), the code checks the flag,
finds it unset, and skips ena_rss_configure() entirely. RSS is never
initialized, and all traffic is directed to queue 0.

Remove the ENA_FLAG_RSS_ACTIVE gate in ena_up_complete() and always call
ena_rss_configure(), which initialises the table when tbl_log_size is
zero. The deferred SYSINIT is now redundant, so remove it.

Reviewed by: cperciva
Fixes: 9b8d05b8ac78 ("Add support for Amazon Elastic Network Adapter (ENA) NIC")
MFC after: 3 days
Sponsored by: Amazon, Inc.

    [2 lines not shown]
DeltaFile
+0-33sys/dev/ena/ena_rss.c
+6-7sys/dev/ena/ena.c
+1-1sys/dev/ena/ena_sysctl.c
+7-413 files

FreeBSD/src cd1772f — sys/dev/ena ena.c

ena: Limit IO IRQ setup loop to active queues only

The loop in ena_request_io_irq() iterated over adapter->msix_vecs,
which reflects the maximum number of MSI-X vectors allocated at
init time. When the number of IO queues is reduced at runtime via
the io_queues_nb sysctl, msix_vecs is not updated, causing the
driver to bind interrupts and log CPU affinity for queues that no
longer exist.

Replace the loop bound with ENA_IO_IRQ_IDX(adapter->num_io_queues)
to iterate only over the currently active IO queues.

Also replace the loop in ena_free_io_irq() the same.

Reviewed by: cperciva
Fixes: 56d41ad5fe9c ("Add sysctl node for ENA IO queues number adjustment")
MFC after: 3 days
Sponsored by: Amazon, Inc.

(cherry picked from commit 32c301922dc1e6f52bdd043046661ac1e2b462d8)
DeltaFile
+2-2sys/dev/ena/ena.c
+2-21 files

FreeBSD/src a121327 — sys/dev/ena ena.c

ena: Reinit RSS table on device restore when queue count shrinks

When ena_restore_device() is called after a reset, pci_alloc_msix()
may return fewer MSI-X vectors than requested, causing num_io_queues
to shrink. When this happens, the RSS indirection table retains
entries referencing queues that no longer exist, routing packets to
non-existent queues and causing connectivity loss.

Extract ena_set_io_queue_count() to pair the queue count update with
ena_com_rss_destroy(), ensuring the RSS table is always invalidated
when the queue count changes. Use it from both ena_update_io_rings()
and ena_restore_device().

Reviewed by: cperciva
Fixes: e2735b095b7e ("Fix assumptions about number of IO queues in the ENA")
MFC after: 3 days
Sponsored by: Amazon, Inc.

(cherry picked from commit 2d4d2ed3fef6acda9269f545f6703d6f32f2f0b7)
DeltaFile
+11-5sys/dev/ena/ena.c
+11-51 files

OpenBSD/ports D6VQd1D — databases/openvoxdb/8 Makefile distinfo, databases/openvoxdb/8/patches patch-ext_default

   openvoxdb security update to 8.18.0
VersionDeltaFile
1.2+2-2databases/openvoxdb/8/distinfo
1.4+1-2databases/openvoxdb/8/Makefile
1.2+1-1databases/openvoxdb/8/patches/patch-ext_default
+4-53 files

FreeNAS/freenas 77f3c55 — src/middlewared/middlewared/scripts vendor_service.py

Name the HexOS global ID query parameter gid

(cherry picked from commit 814ae233030b613b4468301bbe8a444340191e75)
DeltaFile
+4-4src/middlewared/middlewared/scripts/vendor_service.py
+4-41 files