FreeBSD/src 66ecb41 — sys/dev/rtwn/rtl8188f r88f_chan.c

rtwn: fix 8188f channel offset / width programming

* rtwn_chan2centieee() already calculates the proper centre
  frequency, so it doesn't need to be further offset.
* Don't program R92C_RF_CHNLBW with further 20MHz wide bits;
  the rest of the programming works correctly for 20/40MHz
  operation.

Tested:

* Verified against the linux rtl8xxxu/8188f.c code.
* Tested w/ 20 and 40MHz 11n; 40MHz is now operating at higher
  speed.

Fixes: 2c38dc04d6f8bc84620bb3b67c8ccd9f910c4d03
DeltaFile
+0-5sys/dev/rtwn/rtl8188f/r88f_chan.c
+0-51 files

LLVM/project 1838cef — llvm/lib/Support regcomp.c

[Support] Add missing cast to uch (#236493)

In #174150, a call to `isdigit(PEEK())` was added, but `PEEK()` expands
to an expression of type `char` and `isdigit` requires its argument to
be `unsigned char`. Elsewhere in this file, this is done by just casting
the argument, `isalpha((uch)PEEK())`, so do the same here.
DeltaFile
+1-1llvm/lib/Support/regcomp.c
+1-11 files

LLVM/project 75be70a — compiler-rt/lib/asan asan_new_delete.cpp, compiler-rt/test/sanitizer_common/TestCases max_allocation_size.cpp throw_bad_alloc_oversize.cpp

Revert "[asan] Adopt sanitizer_common operator-new framework (#196388)" (#236607)

#196388 made ASan's throwing operator new throw std::bad_alloc when
allocator_may_return_null=1. That exception does not reach the caller in
two configurations:

- arm64 Darwin linked with ld64.lld. asan_win.cpp compiles to an empty
object that is linked right before asan_new_delete.cpp.o, and ld64.lld
writes an encoding-0 (no unwind information) compact unwind entry at
operator new's address (#224949). The unwinder cannot step out of
operator new, so the std::bad_alloc it throws terminates the program
instead of reaching the caller's handler. The linker fix is #225055.
- Android. Both libclang_rt.asan-\*-android.so and libc++_shared.so link
static libc++abi.a, so the two libraries have separate new-handler state
and std::bad_alloc type info (#235557).

This also reverts #235557, which marked tests XFAIL on Android only
because of #196388.


    [4 lines not shown]
DeltaFile
+45-12compiler-rt/lib/asan/asan_new_delete.cpp
+0-52compiler-rt/test/sanitizer_common/TestCases/new_handler_invocation.cpp
+0-51compiler-rt/test/sanitizer_common/TestCases/throw_bad_alloc_aligned.cpp
+0-45compiler-rt/test/sanitizer_common/TestCases/throw_bad_alloc_aligned_single.cpp
+0-44compiler-rt/test/sanitizer_common/TestCases/throw_bad_alloc_oversize.cpp
+7-31compiler-rt/test/sanitizer_common/TestCases/max_allocation_size.cpp
+52-23512 files not shown
+76-45218 files

OpenZFS/src 0606e0d — include/sys vdev.h, module/zfs spa_config.c vdev_label.c

Build the vdev config in place instead of copying it.

vdev_config_generate() built each child's nvlist on its own, copied it
into the parent and then freed it. The extended stats and the vdev
tree in spa_config_generate() were added the same way. In a config
with stats, the stats of a leaf under a raidz vdev were copied four
times.

Each nested nvlist is now added empty and filled where it lives. The
output is the same. vdev_config_generate() keeps its interface and
calls the new vdev_config_generate_impl().

On a pool with 1200 disks, building the config that
ZFS_IOC_POOL_STATS returns took about 287 ms before and about 80 ms
after. This was measured in userland with libzpool. In a perf profile
of that ioctl the copies were about 55% of the samples.

Signed-off-by: Caleb St. John <yocalebo at gmail.com>
Reviewed-by: Ameer Hamza <ameer.hamza at truenas.com>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #19355
DeltaFile
+34-19module/zfs/vdev_label.c
+4-1module/zfs/spa_config.c
+2-0include/sys/vdev.h
+40-203 files

LLVM/project 59ddb48 — lldb/source/Plugins/Language/CPlusPlus LibStdcpp.cpp LibStdcppAtomic.cpp, lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic-simulators/libstdcpp-atomic TestDataFormatterLibstdcppAtomicSimulator.py main.cpp

[lldb] Add libstdcpp atomic data formatters (#174218)

This patch adds a new synthetic child provider and a summary formatter
for the libstdc++ implementation of std::atomic<>.
DeltaFile
+159-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic-simulators/libstdcpp-atomic/main.cpp
+136-0lldb/source/Plugins/Language/CPlusPlus/LibStdcppAtomic.cpp
+81-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic-simulators/libstdcpp-atomic/TestDataFormatterLibstdcppAtomicSimulator.py
+69-2lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
+43-2lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
+41-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/main.cpp
+529-45 files not shown
+569-1411 files

OpenZFS/src cec1aba — tests/zfs-tests/tests/functional/cli_root/zfs_set mountpoint_003_pos.ksh

ZTS: isolate the legacy mount option test dataset

Use a separate dataset for legacy mount option checks so properties left
by an earlier test do not affect the result. Destroy only that dataset
on exit, and skip its destruction if creation failed.

Match complete option names and compare against the paired inverse, so a
positive option cannot match the corresponding negative spelling.


Assisted-by: OpenAI Codex
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: ooonea <35407790+ooonea at users.noreply.github.com>
Co-authored-by: ooonea <ooonea at noreply.codeberg.org>
Closes #19586
DeltaFile
+7-7tests/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh
+7-71 files

LLVM/project 3bfb7c0 — offload/libompaccsupport device.cpp

[Offload] Remove unused GenericDevice in DeviceTy::launchKernel (NFC) (#236593)

The last use of GenericDevice in DeviceTy::launchKernel was removed on
October 28, 2026 in commit 8a29b68622037494f3e678cd2832b511fe2f3a9b.

Assisted-by: Antigravity
DeltaFile
+0-1offload/libompaccsupport/device.cpp
+0-11 files

LLVM/project 8203137 — llvm/lib/Transforms/Instrumentation PGOInstrumentation.cpp

[PGO] Use the iterator-only IRBuilder constructor

Dense wave instrumentation uses a deprecated IRBuilder constructor that
takes both a block and an insertion iterator. This fails builds that
treat deprecation warnings as errors.

Use the iterator-only constructor. It obtains the same block from the
iterator and preserves the insertion point.
DeltaFile
+1-1llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
+1-11 files

OpenZFS/src dc66d84 — module/zfs dmu_objset.c

Release the upgrade hold before clearing os_upgrade_id

dmu_objset_upgrade_task_cb() clears os_upgrade_id under
os_upgrade_lock and only then, after dropping the lock, releases its
long hold on the dataset.  dmu_objset_upgrade_stop() waits for the
task only if it finds os_upgrade_id set, so in that window it returns
at once, dmu_objset_disown() can drop the last hold, and the async
eviction finds the long hold still counted:

  VERIFY3U(rc->rc_count, ==, number) failed (1 == 0)
  PANIC at refcount.c:91:zfs_refcount_destroy_many()
    dsl_dataset_evict_async+0x151/0x290 [zfs]

The task's own release then touches a dataset that may be freed.
dmu_objset_own() starts a userspace upgrade task on every writable
mount, so a pool destroyed right after it is created can hit this:
zpool_create_024_pos did once in CI.

Release the hold while os_upgrade_lock is still held, before clearing

    [4 lines not shown]
DeltaFile
+6-1module/zfs/dmu_objset.c
+6-11 files

FreeBSD/src 1dbcc7e — . Makefile.inc1

Makefile.inc1: Make sure mandoc bootstrap tool depends on libz

It links against both libopenbsd and libz, so reflect this in the
bootstrap tool's dependencies in case of races from highly-parallel
builds.

Reported by:    jkh
MFC after:      1 week
DeltaFile
+1-1Makefile.inc1
+1-11 files

FreeNAS/freenas caf5be1 — src/middlewared/middlewared/plugins/iscsi_ lio.py

Update how we tell LIO that an extent has resized.
DeltaFile
+2-2src/middlewared/middlewared/plugins/iscsi_/lio.py
+2-21 files

FreeNAS/freenas 01de6d1 — src/middlewared/middlewared/plugins/iscsi_ lio.py

Set the peer's ALUA group when LIO becomes ACTIVE

On takeover, set_alua_active() wrote only the local controller group.
The peer's group kept the value this node had given it while STANDBY,
ACTIVE/OPTIMIZED. Nothing else rewrote it until the peer came back,
reached lio_ha 'synced' and called refresh_alua_states() on this node.
Until then, REPORT TARGET PORT GROUPS advertised the down peer as the
optimized path. If that remote call failed, the wrong state stayed,
because the failure is only logged.

set_alua_active() now writes both groups. The local group becomes
OPTIMIZED, and the peer's group gets the state the ACTIVE node gives
for the current ha_state: NONOPTIMIZED when synced, UNAVAILABLE when
disconnected, otherwise TRANSITIONING.

refresh_alua_states() uses the same table, so the disconnected case now
writes UNAVAILABLE rather than TRANSITIONING. That matches the table in
utils/lio/config.py, so the reconciler and the event handlers no longer
disagree about the peer's state.
DeltaFile
+39-24src/middlewared/middlewared/plugins/iscsi_/lio.py
+39-241 files

FreeNAS/freenas 4be18a9 — src/middlewared/middlewared/plugins/iscsi_ alua.py extents.py, src/middlewared/middlewared/utils/lio config.py

Add middleware support for LIO ALUA HA

Wire up the middleware side of LIO ALUA high-availability: load
lio_ha.ko with per-node addresses on service start, manage ALUA
state across failover events, clean up STANDBY configfs on pool
export, and add pre-flight validation that targets have static
initiator ACLs before ALUA can be enabled.

For each target, create a portal-less phantom TPG carrying the peer
node's controller group so that a single RTPG response from any
connected port lists both ALUA groups.  Write tpgt_N/rtpi explicitly
before enable so that relative target port IDs in RTPG match the
tag formula (portal.tag on Node A, portal.tag + 32000 on Node B)
rather than being auto-assigned sequentially by the kernel.

ALUA group states are driven by role and ha_state:

  MASTER  + synced        local=OPTIMIZED     remote=NONOPTIMIZED
  MASTER  + connected     local=OPTIMIZED     remote=TRANSITIONING

    [4 lines not shown]
DeltaFile
+541-135src/middlewared/middlewared/utils/lio/config.py
+214-2src/middlewared/middlewared/plugins/iscsi_/lio.py
+87-71src/middlewared/middlewared/plugins/iscsi_/fs_attachment_delegate.py
+89-58src/middlewared/middlewared/plugins/iscsi_/target_to_extent.py
+59-47src/middlewared/middlewared/plugins/iscsi_/extents.py
+62-9src/middlewared/middlewared/plugins/iscsi_/alua.py
+1,052-3228 files not shown
+1,236-37114 files

FreeNAS/freenas b375273 — src/middlewared/middlewared/utils/lio config.py

Make LIO directory teardown failure log an error
DeltaFile
+27-48src/middlewared/middlewared/utils/lio/config.py
+27-481 files

FreeNAS/freenas af4a889 — tests/protocols __init__.py iscsi_proto.py

Add context_params to iscsi_scsi_connect()

Pass an optional context_params dict through to python-scsi's
init_device(), so a test can set pre-login iscsi.Context options such
as an explicit ISID.  context_params_supported() lets callers skip when
the installed python-scsi predates it.

Also ruff.
DeltaFile
+41-6tests/protocols/iscsi_proto.py
+8-1tests/protocols/__init__.py
+49-72 files

FreeNAS/freenas f1656e4 — src/middlewared/middlewared/api/v28_0_0 iscsi_global.py

Allow iSCSI mode=2
DeltaFile
+1-1src/middlewared/middlewared/api/v28_0_0/iscsi_global.py
+1-11 files

LLVM/project 2472cdd — clang/include/clang/Tooling DependencyScanningTool.h, clang/lib/DependencyScanning DependencyScanningWorker.cpp

Handle prebuilt modules.
DeltaFile
+25-0clang/unittests/Tooling/DependencyScannerTest.cpp
+6-0clang/lib/DependencyScanning/DependencyScanningWorker.cpp
+2-1clang/include/clang/Tooling/DependencyScanningTool.h
+33-13 files

OpenZFS/src df744ac — module/zfs vdev.c

vdev: avoid null member access in statistics updates

Initialize the statistics pointers only in the successful non-root I/O
path, where they are used. Remove the early sanitizer-specific
initializations without adding a null check.


Assisted-by: OpenAI Codex
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: ooonea <ooonea at noreply.codeberg.org>
Closes #19578
DeltaFile
+2-8module/zfs/vdev.c
+2-81 files

OpenZFS/src 290e57d — module/os/linux/zfs zpl_inode.c zfs_vnops_os.c

Linux: read the change cookie under z_lock

The change cookie was read after zfs_getattr_fast() dropped z_lock, so
a concurrent setattr could bump it after the attributes were read, and
getattr returned the old owner, group or mode with the new cookie.
knfsd hands that pair to NFSv4 clients, which cache attributes by
change attribute and kept the stale values until the next change.

setattr, ACL changes and link/unlink update the attributes and bump
z_seq under z_lock, so read the cookie there, with the attributes.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Ameer Hamza <ameer.hamza at truenas.com>
Closes #19589
DeltaFile
+33-0module/os/linux/zfs/zfs_vnops_os.c
+0-28module/os/linux/zfs/zpl_inode.c
+33-282 files

LLVM/project 39d4594 — llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll, llvm/test/CodeGen/AMDGPU bitcast_vector_bigint.ll min.ll

[SelectionDAG] Pack promoted vector bitcasts (#235918)

# Symptom

Promoting an integer vector widens each element, leaving padding between
the original values. `PromoteIntOp_BITCAST` falls back to
`CreateStackStoreLoad` for these inputs, even when the result can be
assembled directly in registers.

For example:

```llvm
define <2 x i32> @pack(<16 x i4> %x) {
  %r = bitcast <16 x i4> %x to <2 x i32>
  ret <2 x i32> %r
}
```

# Fix

    [7 lines not shown]
DeltaFile
+4,101-4,285llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+981-2,174llvm/test/CodeGen/AMDGPU/load-global-i8.ll
+479-1,254llvm/test/CodeGen/AMDGPU/kernel-args.ll
+481-1,089llvm/test/CodeGen/AMDGPU/load-constant-i8.ll
+184-274llvm/test/CodeGen/AMDGPU/min.ll
+408-0llvm/test/CodeGen/AMDGPU/bitcast_vector_bigint.ll
+6,634-9,07615 files not shown
+7,110-9,74221 files

FreeNAS/freenas 5fffa5e — src/middlewared/middlewared/test/integration/assets docker.py, tests/api2 test_catalogs.py test_catalog_roles.py

Retry DNS errors in catalog sync tests
DeltaFile
+37-11src/middlewared/middlewared/test/integration/assets/docker.py
+2-1tests/api2/test_catalog_roles.py
+1-1tests/api2/test_catalogs.py
+40-133 files

LLVM/project 703bc0d — llvm/include/llvm/Analysis ValueTracking.h, llvm/include/llvm/IR ConstantFPRange.h

Reland [KnownFPClass] Refactor NaN sign encoding for KnownFPClass (#236319)

Relands https://github.com/llvm/llvm-project/pull/220606, which was
reverted in https://github.com/llvm/llvm-project/pull/235992.

The original PR broke GCC builds on `main` because the `&=` operator
from `BitmaskEnum.h` was not `constexpr`. This was fixed in
https://github.com/llvm/llvm-project/pull/236003. This PR relands the
original changes from https://github.com/llvm/llvm-project/pull/220606
unmodified.
DeltaFile
+256-78llvm/include/llvm/Support/KnownFPClass.h
+5-19llvm/lib/Support/KnownFPClass.cpp
+1-1llvm/include/llvm/IR/ConstantFPRange.h
+1-1llvm/include/llvm/Analysis/ValueTracking.h
+263-994 files

FreeNAS/freenas b18e257 — src/middlewared/middlewared/plugins/ups upssched_event.py, tests/api2 test_530_ups.py

Fix more UPS tests
DeltaFile
+60-14tests/api2/test_530_ups.py
+37-16src/middlewared/middlewared/plugins/ups/upssched_event.py
+97-302 files

LLVM/project 80a97c8 — mlir/include/mlir/Analysis/Presburger IntegerRelation.h, mlir/lib/Analysis/Presburger IntegerRelation.cpp

[mlir][Presburger] Add IntegerRelation::gist (context-based simplification)

Add IntegerRelation::gist(context), a port of ISL's isl_basic_map_gist
(uset_gist / uset_gist_full). It replaces the relation S by a relation
S' such that S' ∩ context == S ∩ context, with as few constraints as
possible: constraints of S that are implied by the context together with
the remaining constraints of S are removed, and the remaining constraints
may be rewritten using the equalities of the context. Outside of the
context S' may differ from S, so the result is only meaningful together
with the context. The result has at most as many constraints as S
(except that the constraints defining a division that is still used may
be restored, see below), never more local variables, and never involves
variables that S does not involve; in particular, locals of the context
are never introduced.

Trivial cases: an obviously empty context yields the universe; if the
intersection with the context is found to be empty later (inconsistent
combined equalities, a context that turns out to be rationally empty, or
an empty combined Simplex), the result is empty; an obviously empty S

    [43 lines not shown]
DeltaFile
+489-0mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
+281-0mlir/lib/Analysis/Presburger/IntegerRelation.cpp
+48-1mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
+41-0mlir/unittests/Analysis/Presburger/IntegerRelationTest.cpp
+34-0mlir/unittests/Analysis/Presburger/Utils.h
+893-15 files

LLVM/project 0728e6f — mlir/include/mlir/Analysis/Presburger PresburgerRelation.h, mlir/lib/Analysis/Presburger PresburgerRelation.cpp

[mlir][Presburger] Add PresburgerRelation::gist

Add PresburgerRelation::gist (and PresburgerSet forwarding overloads)
for a convex context and for a context that is itself a union of
disjuncts, following ISL's isl_map_gist / isl_map_gist_basic_map.

For a convex context, each disjunct is simplified separately with
IntegerRelation::gist; disjuncts that become empty are dropped and if any
disjunct becomes the universe, the universe is returned.

For a non-convex context, the trivial cases (universe set or context,
empty context, equal set and context, context being a subset of the
set) are handled first. Otherwise, the context is approximated by a
convex set. Instead of ISL's unshifted simple hull of the context and the
set, we use the universe together with all constraints of the disjuncts
of the context and of the set that are valid for every disjunct of the
context (checked with Simplex); including the constraints of the set
allows removing constraints that are implied by every disjunct of the
context even if they are not implied by the simple hull.
DeltaFile
+142-0mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
+122-0mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
+39-0mlir/unittests/Analysis/Presburger/PresburgerRelationTest.cpp
+23-0mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
+326-04 files

LLVM/project 99d5bc6 — mlir/include/mlir/Analysis/Presburger IntegerRelation.h, mlir/lib/Analysis/Presburger IntegerRelation.cpp

[mlir][Presburger] Add IntegerRelation::reduceUsingEqualities helper

Add a protected helper that rewrites all constraints of a relation using
the equalities of another relation in the same space, without changing
the intersection of the two. This is a port of ISL's
isl_basic_set_reduce_using_equalities together with
project_onto_involved: the equalities are first projected onto the
variables that occur in the relation being reduced, so that no new
variables (in particular, no locals of the other relation) are
introduced, and each remaining equality is then used to eliminate its
last variable with a non-zero coefficient from every constraint, so that
later variables (locals) are eliminated in favor of earlier ones.

This is a building block for context-based simplification (gist) and is
exercised by the gist tests added in a follow-up commit, since there is
no existing pattern for unit-testing protected members of
IntegerRelation.

DeltaFile
+108-0mlir/lib/Analysis/Presburger/IntegerRelation.cpp
+17-0mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
+125-02 files

LLVM/project faf0162 — mlir/include/mlir/Analysis/Presburger IntegerRelation.h, mlir/lib/Analysis/Presburger IntegerRelation.cpp

[mlir][Presburger] NFC: factor out removeRedundantConstraintsFromSimplex

Split the compaction loops of IntegerRelation::removeRedundantConstraints
into a new protected helper, removeRedundantConstraintsFromSimplex, which
removes the constraints of the relation that are marked redundant in a
given Simplex, where the relation's constraints start at a given offset
in the Simplex (inequalities first, then each equality as a pair).

This allows reusing the same compaction logic when the relation's
constraints have been added to a Simplex that already contains other
constraints, e.g., for context-based simplification (gist), where the
context's constraints come first and are never marked redundant.

DeltaFile
+12-4mlir/lib/Analysis/Presburger/IntegerRelation.cpp
+14-0mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
+26-42 files

FreeBSD/ports 58dc48b — misc/py-hf-xet Makefile Makefile.crates

misc/py-hf-xet: Update to 1.7.1

Changelog: https://github.com/huggingface/xet-core/releases/tag/v1.7.1

Reported by:    Repology
DeltaFile
+21-45misc/py-hf-xet/distinfo
+9-21misc/py-hf-xet/Makefile.crates
+1-2misc/py-hf-xet/Makefile
+31-683 files

LLVM/project 6c54e4a — .ci/lnt/llvm-test-suite machines.json clang-macos.cmake

Build the compiler-rt builtins on macOS
DeltaFile
+6-0.ci/lnt/llvm-test-suite/clang-macos.cmake
+1-1.ci/lnt/llvm-test-suite/machines.json
+7-12 files

LLVM/project a4d02e4 — .github/workflows llvm-test-suite-test.yml

[DO NOT MERGE] Add a temporary workflow to test the llvm-test-suite LNT workflows
DeltaFile
+50-0.github/workflows/llvm-test-suite-test.yml
+50-01 files