OpenZFS/src 1e1d64dmodule/zfs zil.c vdev_removal.c, tests/runfiles common.run

Fix log vdev removal issues

When we clear the log, we should clear all the fields, not only
zh_log.  Otherwise remaining ZIL_REPLAY_NEEDED will prevent the
vdev removal.  Handle it also from the other side, when zh_log
is already cleared, while zh_flags is not.

spa_vdev_remove_log() asserts that allocated space on removed log
device is zero.  While it should be so in perfect world, it might
be not if space leaked at any point.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18277
DeltaFile
+95-0tests/zfs-tests/tests/functional/removal/removal_with_missing_log.ksh
+16-4module/zfs/zil.c
+1-1tests/runfiles/common.run
+1-0tests/zfs-tests/tests/Makefile.am
+0-1module/zfs/vdev_removal.c
+113-65 files

LLVM/project 11c11ecclang/docs ReleaseNotes.rst, clang/lib/Lex Lexer.cpp

[clang][Lex] Preserve MultipleIncludeOpt state in Lexer::peekNextPPToken (#183425)

Fixes https://github.com/llvm/llvm-project/issues/180155.

This is a duplicate of https://github.com/llvm/llvm-project/pull/180700
except that I also added some tests, fine to go with either PR, but we
should add the tests.

peekNextPPToken lexed a token and mutated MIOpt, which could clear the
controlling-macro state for main files in C++20 modules mode.
Save/restore MIOpt in Lexer::peekNextPPToken.

Add regression coverage in
LexerTest.MainFileHeaderGuardedWithCPlusPlusModules that checks to make
sure the controlling macro is properly set in C++20 mode.

Add source level lit test in miopt-peek-restore-header-guard.cpp that
checks to make sure that the warnings that depend on the MIOpt state
machine are emitted in C++20 mode.
DeltaFile
+34-0clang/unittests/Lex/LexerTest.cpp
+12-0clang/test/Preprocessor/miopt-peek-restore-header-guard.cpp
+2-0clang/lib/Lex/Lexer.cpp
+1-0clang/docs/ReleaseNotes.rst
+49-04 files

OPNSense/core 4f5ce0dsrc/etc rc

Revert "rc: gpart says we should commit the label but the label just points somewhere? #8543"

This reverts commit dabbc65045e35466f81310b8791d50c0f8641e4d.

Revert "rc: third time is the charm? #8543"

This reverts commit e3e389f8185517085a737169cc8d9679f01ab32f.

Revert "rc: also add gpart-commit in in the UFS case for #8543"

This reverts commit dc373f7d221311cdb76a245571f019a5af687f57.

Revert "rc: support MBR slices for growfs #8543"

This reverts commit 12bdcbc59abdd7853863bd84d90a31acae03db69.
DeltaFile
+2-16src/etc/rc
+2-161 files

OPNSense/core 48c7dc8src/etc rc, src/etc/rc.subr.d var

Revert "rc: during testing it was found that unionfs clobbers /root's 750 permission"

The commit's assumptions aren't entirely true and these changes
were shipped with 26.1 as well so revert back to them.

This reverts commit a763592c70dfeb59eb911467b453aabe7c4ce872.
DeltaFile
+5-0src/etc/rc.subr.d/var
+1-1src/etc/rc
+6-12 files

FreeBSD/src beccc03sys/kern subr_smp.c

smp: Use bitwise operation to count cpu number

Previously, we iterated over all CPUs using CPU_FOREACH and checked
individual bits to count valid CPUs. Refactor this to use a bitwise AND
and popcount to count the number of enabled bits directly.

Approved by:    markj (mentor)
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D54474

(cherry picked from commit e387d9438ba0258b88ebe03ef139bc6fd70b5a46)
DeltaFile
+3-5sys/kern/subr_smp.c
+3-51 files

FreeBSD/src 2f2b648sys/isa isa_common.c

isa_common: allow multiple device instances

In some devices, there may be multiple isa bridges available from different
sources. Therefore, we allow multiple lpc devices to be generated so that
pcie bus won't show "none" anymore.
For example, in my AMD based Framework Laptop, there are two such
bridges. One is acpi hinted, another is from pcie.

Reviewed by:    imp
Approved by:    lwhsu (mentor)
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D52815

(cherry picked from commit f32ffd11b54792d7bdd37b6dfc0f904a561b879c)
DeltaFile
+1-1sys/isa/isa_common.c
+1-11 files

LLVM/project 5c27407clang/lib/StaticAnalyzer/Checkers VirtualCallChecker.cpp, clang/test/Analysis virtualcall.cpp

[analyzer] Suppress optin.cplusplus.VirtualCall warnings in system headers (#184183)

Fixes #184178

The optin.cplusplus.VirtualCall checker reports warnings for virtual
method calls during construction/destruction even when the call site is
in a system header (included via -isystem). Users cannot fix such code
and must resort to NOLINT suppressions.

Add a system header check in checkPreCall before emitting the report,
consistent with how other checkers (e.g. MallocChecker) handle this.
DeltaFile
+11-0clang/test/Analysis/Inputs/virtualcall-system-header.h
+5-0clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
+5-0clang/test/Analysis/virtualcall.cpp
+21-03 files

NetBSD/pkgsrc Env4MLEdoc CHANGES-2026

   Updated security/py-pyspnego, time/py-pytz
VersionDeltaFile
1.1541+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc pIhDRXNtime/py-pytz distinfo Makefile

   py-pytz: updated to 2026.1.post1

   2026.1.post1 release (IANA 2026a)
VersionDeltaFile
1.63+4-4time/py-pytz/distinfo
1.71+2-3time/py-pytz/Makefile
+6-72 files

LLVM/project 073de3bllvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp

[SPIRV] Rename `selectSelectDefaultArgs` to `selectBoolToInt` (#184120)

The function is used to extend a `bool` (vector or scalar) into `1/-1`
for `true` and `0` for `false` (vector or scalar).

There is no obvious "default" argument for a select operation, so the
original name is confusing.

This patch:
* Renames this function to better signal its intention,
* makes the boolean argument explicit in the function (instead of
implicit through the first register operand of the instruction),
* rename `I` to `InsertAt`.
DeltaFile
+19-14llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+19-141 files

NetBSD/pkgsrc az1tkjUsecurity/py-pyspnego distinfo Makefile

   py-pyspnego: updated to 0.12.1

   0.12.1 - 2026-03-03

   * Fix NTLM challenge parser when the `TargetInfo` contains extra data for `Single_Host_Data`
     * Windows 11 24H2 is sending at least 80 bytes and as we don't use this data we don't care if it doesn't fit a specific size
VersionDeltaFile
1.8+4-4security/py-pyspnego/distinfo
1.12+2-2security/py-pyspnego/Makefile
+6-62 files

FreeBSD/src 546d925share/man/man4 ichwd.4

ichwd: Add manual for i6300esb watchdog

Reviewed by:    ziaee, mhorne
Approved by:    lwhsu (mentor)
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54466
DeltaFile
+11-1share/man/man4/ichwd.4
+11-11 files

LLVM/project 0cbba3eflang-rt CMakeLists.txt

[flang-rt] Fix incorrect condition for removing backtrace (#184610)

DeltaFile
+1-1flang-rt/CMakeLists.txt
+1-11 files

NetBSD/pkgsrc mAzkLNBdoc CHANGES-2026

   Updated devel/py-evalidate, graphics/py-wand
VersionDeltaFile
1.1540+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc W5gPvo8graphics/py-wand Makefile distinfo

   py-wand: updated to 0.7.0

   0.7.0

   - Added :meth:`Image.affine() <wand.image.BaseImage.affine>` method.
   - Added :meth:`Image.bilateral_blur() <wand.image.BaseImage.bilateral_blur>` method.
   - Added :meth:`Image.channel_fx() <wand.image.Image.channel_fx>` method.
   - Added :meth:`Image.evaluate_images() <wand.image.BaseImage.evaluate_images>` method.
   - Added :meth:`Image.floodfill() <wand.image.BaseImage.floodfill>` method.
   - Added :meth:`Image.morph() <wand.image.Image.morph>` method.
   - Fixed :meth:`Image.quantize() <wand.image.BaseImage.quantize>` behavior by switching
     default value of ``colorspace_type`` from :const:`None` to ``"undefined"``. [:issue:`644`]
   - Fixed :meth:`Image.liquid_rescale() <wand.image.BaseImage.liquid_rescale>` behavior
     by switching default value of ``delta_x`` from ``0`` to ``1``. [:issue:`653`]
   - Fixed :meth:`Image.sparse_color() <wand.image.BaseImage.sparse_color>`'s ``colors`` argument structure to allow multiple (x, y) points with the same color value.
   - Fixed offset coordinates when used with ``gravity`` parameters. [:issue:`669`]

     - :meth:`Image.chop() <wand.image.BaseImage.chop>`
     - :meth:`Image.composite() <wand.image.BaseImage.composite>`

    [15 lines not shown]
VersionDeltaFile
1.19+3-6graphics/py-wand/Makefile
1.14+4-4graphics/py-wand/distinfo
+7-102 files

FreeNAS/freenas c89b926src/middlewared/middlewared/plugins/failover_ datastore.py

prevent blocking sqlite write thread
DeltaFile
+15-2src/middlewared/middlewared/plugins/failover_/datastore.py
+15-21 files

NetBSD/pkgsrc wiRukO8devel/py-evalidate Makefile distinfo

   py-evalidate: updated to 2.1.4

   2.1.4
   ignore NameError in jg
VersionDeltaFile
1.2+7-5devel/py-evalidate/Makefile
1.2+4-4devel/py-evalidate/distinfo
+11-92 files

LLVM/project c6bb6a7llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize tail-folding-masked-mem-opts.ll

[LV] Add `-force-target-supports-masked-memory-ops` option (#184325)

This can be used to make target agnostic tail-folding tests much less
verbose, as masked loads/stores can be used rather than scalar
predication.
DeltaFile
+170-0llvm/test/Transforms/LoopVectorize/tail-folding-masked-mem-opts.ll
+35-82llvm/test/Transforms/LoopVectorize/VPlan/conditional-scalar-assignment-vplan.ll
+11-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+216-843 files

LLVM/project 71de1e4llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 arm64-cvt-simd-intrinsics.ll sve-fixed-vector-lrint.ll

Reapply "[AArch64] Wrap integer SCALAR_TO_VECTOR nodes in bitcasts  (#172837)" (#183380) (#184403)

This reverts commit b7ce37c6703f2d82376f50f82a05b807a0ad90ad.
The
[issue](https://github.com/llvm/llvm-project/pull/172837#issuecomment-3961532435)
this patch revealed was fixed by [this
patch](https://github.com/llvm/llvm-project/pull/183549).
DeltaFile
+1,205-1llvm/test/CodeGen/AArch64/arm64-cvt-simd-intrinsics.ll
+506-540llvm/test/CodeGen/AArch64/sve-fixed-vector-lrint.ll
+250-281llvm/test/CodeGen/AArch64/vector-lrint.ll
+174-189llvm/test/CodeGen/AArch64/sve-fixed-vector-llrint.ll
+62-66llvm/test/CodeGen/AArch64/ragreedy-local-interval-cost.ll
+47-32llvm/lib/Target/AArch64/AArch64InstrInfo.td
+2,244-1,10928 files not shown
+2,586-1,41934 files

FreeBSD/ports f65d076net-im/py-zapzap Makefile distinfo

net-im/py-zapzap: Update to 6.3.3

ChangeLog:      https://github.com/rafatosta/zapzap/releases/tag/6.3.3
Reported by:    Rafael Tosta <notifications at github.com>
DeltaFile
+1-5net-im/py-zapzap/Makefile
+3-3net-im/py-zapzap/distinfo
+4-82 files

LLVM/project 21c1ba1llvm/test/CodeGen/AMDGPU local-stack-alloc-add-references.gfx8.mir coalesce-copy-to-agpr-to-av-registers.mir, llvm/test/TableGen ArtificialRegs.td

[TableGen] Complete the support for artificial registers (#183371)

Artificial registers were added in
eb0c510ecde667cd911682cc1e855f73f341d134
as a means of giving super-registers heavier weights than that
of their subregisters, even when they only contain a single
physical subregister.

Artifical registers thus do exist in code and participate in
register unit weight calculations, but are not supposed to be
available for register allocation.

This patch completes the support for artificial registers to:

- Ignore artificial registers when joining register unit uber
  sets. Artificial registers may be members of classes that
  together include registers and their sub-registers, making it
  impossible to compute normalised weights for uber sets they
  belong to.

    [28 lines not shown]
DeltaFile
+180-180llvm/test/CodeGen/AMDGPU/local-stack-alloc-add-references.gfx8.mir
+120-120llvm/test/CodeGen/AMDGPU/coalesce-copy-to-agpr-to-av-registers.mir
+90-90llvm/test/CodeGen/AMDGPU/local-stack-alloc-add-references.gfx9.mir
+60-7llvm/utils/TableGen/Common/CodeGenRegisters.cpp
+56-0llvm/test/TableGen/ArtificialRegs.td
+18-18llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-subreg-src2-chain.mir
+524-41525 files not shown
+680-56231 files

LLVM/project c2e22e3clang/utils/hmaptool CMakeLists.txt

[clang][cmake] Add option to control hmaptool installation (#172725)

DeltaFile
+7-2clang/utils/hmaptool/CMakeLists.txt
+7-21 files

LLVM/project 47766d7clang/include/clang/Basic BuiltinsAMDGPU.td BuiltinsAMDGPUDocs.td

[AMDGPU][Clang][Doc] Add documentation for WMMA builtins (#183939)

DeltaFile
+268-67clang/include/clang/Basic/BuiltinsAMDGPU.td
+326-0clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
+594-672 files

LLVM/project 1b35451mlir/lib/Dialect/IRDL/IR IRDL.cpp, mlir/test/Dialect/IRDL invalid_names.irdl.mlir

[mlir][irdl] Fix crash in TypeOp/AttributeOp verify on empty sym_name (#184598)

TypeOp::verify() and AttributeOp::verify() called StringRef::front() to
check for leading '\!' or '#' sigils before passing the name to
isValidName(). When sym_name is empty, front() triggers an assertion
failure:
  Assertion `\!empty()' failed.

Fix: guard the front() calls with an emptiness check. An empty sym_name
then falls through to isValidName(), which already emits a proper
diagnostic:
  error: name of type is empty

Fixes #159949
DeltaFile
+16-0mlir/test/Dialect/IRDL/invalid_names.irdl.mlir
+2-2mlir/lib/Dialect/IRDL/IR/IRDL.cpp
+18-22 files

FreeBSD/ports e820fafwww/iridium distinfo Makefile, www/iridium/files patch-chrome_common_chrome__features.cc patch-chrome_common_chrome__features.h

www/iridium: update to 2026.03.145.2

(cherry picked from commit 3253bdf61dc0b3cb0e9c6dccf7ed0a55acf05b54)
DeltaFile
+7-7www/iridium/files/patch-chrome_common_chrome__features.cc
+3-3www/iridium/files/patch-chrome_common_chrome__features.h
+3-3www/iridium/distinfo
+3-3www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
+2-2www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
+1-1www/iridium/Makefile
+19-196 files

FreeBSD/ports 3253bdfwww/iridium distinfo Makefile, www/iridium/files patch-chrome_common_chrome__features.cc patch-gpu_command__buffer_service_webgpu__decoder__impl.cc

www/iridium: update to 2026.03.145.2
DeltaFile
+7-7www/iridium/files/patch-chrome_common_chrome__features.cc
+3-3www/iridium/files/patch-gpu_command__buffer_service_webgpu__decoder__impl.cc
+3-3www/iridium/distinfo
+3-3www/iridium/files/patch-chrome_common_chrome__features.h
+2-2www/iridium/files/patch-gpu_command__buffer_service_gles2__cmd__decoder.cc
+1-1www/iridium/Makefile
+19-196 files

OpenBSD/ports wBKNFeBwww/iridium distinfo Makefile, www/iridium/patches patch-chrome_common_chrome_features_cc patch-gpu_command_buffer_service_webgpu_decoder_impl_cc

   update to 2026.03.145.2
VersionDeltaFile
1.54+6-6www/iridium/patches/patch-chrome_common_chrome_features_cc
1.35+2-2www/iridium/patches/patch-gpu_command_buffer_service_webgpu_decoder_impl_cc
1.52+2-2www/iridium/patches/patch-chrome_common_chrome_features_h
1.107+2-2www/iridium/distinfo
1.268+1-3www/iridium/Makefile
1.22+1-1www/iridium/patches/patch-gpu_command_buffer_service_gles2_cmd_decoder_cc
+14-166 files

LLVM/project 05fdd53clang/lib/Sema SemaConcept.cpp, clang/test/SemaTemplate concepts.cpp

[Clang] Fix the lambda context for constraint evaluation (#184319)

Constraint lambdas in the requires body need complete template arguments
before they can be evaluated. That was connected by
ImplicitConceptSpecializationDecl which is no longer created naturally
after the normalization patch.

This patch fixes the bug by creating a temporary decl for that purpose.
Though the temporary object should go away once we have the evaluation
context track template arguments.

No release note for being a regression fix.

Fixes #184047
DeltaFile
+37-0clang/test/SemaTemplate/concepts.cpp
+29-3clang/lib/Sema/SemaConcept.cpp
+66-32 files

FreeNAS/freenas 5379c4bsrc/middlewared/middlewared/alert/source smart.py

NAS-140106 / 25.10.2.2 / Fix SMART alerts (by themylogin) (#18346)

Original PR: https://github.com/truenas/middleware/pull/18340

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+4-2src/middlewared/middlewared/alert/source/smart.py
+4-21 files

FreeNAS/freenas f9878d5src/middlewared/middlewared/alert/source enclosure_status.py, src/middlewared/middlewared/pytest/unit/alert/source test_enclosure_status.py

NAS-140109 / 25.10.2.2 / Fix enclosure alert (by themylogin) (#18345)

mypy found the following error:
```
middlewared/alert/source/enclosure_status.py:96: error: Argument 1 to "remove" of "list" has incompatible type "str"; expected "list[str]"  [arg-type]
```

good_enclosures was a list of lists of single elements that contained
strings like `f"{enc['name']} (id: {enc['id']})"`. We were trying to:
* Remove strings from that list (which would always raise ValueError
since the list contains lists, not strings)
* List contained `f"{enc['name']} (id: {enc['id']})"`, we were trying to
remove just `enc_name`, that would never have worked also

Original PR: https://github.com/truenas/middleware/pull/18341

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+131-0src/middlewared/middlewared/pytest/unit/alert/source/test_enclosure_status.py
+5-2src/middlewared/middlewared/alert/source/enclosure_status.py
+136-22 files