[SPIR-V] Support 1x1 result in matrix multiply combiner (#198091)
Emit a copy instead of G_BUILD_VECTOR for the scalarized 1-element
result, and skip extractelement when storing a 1-element vector to a [1
x T] array
Enable the previously-disabled 1x2 * 2x1 test
webshell: address audit-log feedback
- Allow APP shells to specify both app_name and container_id. The
previous "only one option" check rejected this legitimate combo,
causing the websocket to close before the failure response was sent
(and tripping test_missing_apps_role_audited with a UnicodeDecodeError
from reading the close frame).
- Include the friendly container name in the success-path audit target
for CONTAINER shells so admins reviewing audit logs don't have to
cross-reference numeric ids. The lookup is skipped on failure paths
to avoid leaking container existence to unauthorized attempts.
[libc] Add POSIX regex stub implementation and build infrastructure (#196995)
Added the four POSIX regex entrypoints (regcomp, regexec, regerror,
regfree) and registered them for x86_64, aarch64, riscv, and arm.
regerror is fully implemented with all 13 POSIX error code strings. The
other three are stubs backed by simple string matching to validate the
build pipeline end-to-end.
This implementation is restricted to full-build mode
(LLVM_LIBC_FULL_BUILD) to avoid ABI compatibility risks with system
headers and internal state management in overlay mode.
New files:
* include/regex.yaml and regex-macros.h for header generation
* regex_t, regoff_t, regmatch_t type headers
* src/regex/ with all four entrypoints
* test/src/regex/ with regerror and basic round-trip tests
All 7 tests pass.
[libc] Enable arpa/inet.h entrypoints in overlay mode (#198270)
Two of these depend on in_addr_t and struct in_addr, but these are types
whose layout is defined by POSIX and OS ABIs, and they are simpler than
struct sockaddr_in, which we enabled in #195035.
iSCSI ALUA: regression test for failover LUN-replace stall
Add an extended test that builds 2 targets (25 + 10 LUNs), opens an
iSCSI session to the standby on the 25-LUN target so the kernel has
tgt_devs to clean up during become_active, then triggers an ungraceful
failover via poweroff_vm. Asserts:
- /var/log/failover.log on the new master does not contain
'Failed to restart service "iscsitarget" after 15 seconds',
which would indicate the LUN-replace loop stalled.
- /sys/kernel/scst_tgt/async_lun_replace reads 0 after failover,
confirming reset_active released the parked cleanup work.
- All LUNs are reachable on the new master.
A function-scoped fixture handles recovery (start_vm, wait_for_backup,
wait_for_settle) so the cluster is restored to a clean two-node state
even if an assertion above failed.
Uses the dataset() asset helper rather than zvol() for lower
per-extent overhead at this scale.
Release parked async LUN-replace cleanup after DLM peer eviction
scst.async_lun_replace=1 now also tells the kernel to park the deferred
cleanup of old tgt_devs from each LUN replace until the flag is cleared.
This avoids stalling become_active on scst_dlm_lock_wait inside
scst_clear_reservation while the dead peer is still a DLM lockspace
member.
Add iscsi.scst.disable_async_lun_replace and call it from the end of
iscsi.alua.reset_active, after dlm.reset_active (which evicts the peer)
completes.
[libc] Demote compiler check error to a warning (#198033)
Summary:
This check exists to encode the policy that this is only intended to be
built with a just-built compiler. In practice it's a little too strict
and breaks pretty much every six months when the version bumps or when
people try to build a separate patch. Just demote to a warning.
NAS-141004 / 26.0.0-RC.1 / add zpool.query events (#18962)
UX team is switching to `zpool.query` in 26-RC.1 for a new feature and
they need events for this endpoint. This adds said events based on a
discussion with them and understanding the specific fields they need.
This sends the events along-side the other `pool.query` events to keep
it simple.
(cherry picked from commit 1ed66fc7abffc3e61d4b6e725e7e5350095aa1f8)
[offload] Add properties parameter to olLaunchKernel (#197897)
Introduce a properties argument to olLaunchKernel to enable future
extensions.
This change adds initial extension for cooperative kernel launch.
The change restores the functionality from:
https://github.com/llvm/llvm-project/pull/184343
which was later reverted in:
https://github.com/llvm/llvm-project/pull/197463
#184343 modified the API, and between the last rebase and the final
merge, additional tests were added
upstream(https://github.com/llvm/llvm-project/pull/193927) that still
relied on the previous API version.
Diff between this PR and #184343
```
diff --git a/offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp b/offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp
[34 lines not shown]
NAS-141004 / 26.0.0-RC.1 / add zpool.query events (#18962)
UX team is switching to `zpool.query` in 26-RC.1 for a new feature and
they need events for this endpoint. This adds said events based on a
discussion with them and understanding the specific fields they need.
This sends the events along-side the other `pool.query` events to keep
it simple.
[ARM] Add support for Windows SEH (#184953)
This commit implements Windows Structured Exception Handling (SEH)
support for ARM `clang` in MSVC mode.
This includes enabling the relevant language constructs in the Clang
frontend and adding new ARM-specific code lowering logic.
Since R11 is clobbered by the SEH dispatchers on 32-bit ARM Windows,
this commit forces functions involving SEH to reference stack variables
offset by R6 (the base pointer). Test coverage for scenarios this may
potentially affect (e.g. Windows C++ EH) has been added.
This commit only covers SEH (`__try`/`__except`/`__finally`). It does
not support Windows C++ EH (`try`/`catch`).
nlist.3: Replace a.out(5) Xref with elf(5)
ELF support was added to nlist() in 1997, and a.out support was removed
in 2020. The man page was not updated for either of these changes.
Fixes: 77909f597881 ("Initial elf nlist support, ...")
Fixes: 86cfa7e70b2b ("nlist: retire long-obsolete aout support")
Sponsored by: The FreeBSD Foundation
Nominate Joshua Cranmer as floating-point maintainer (#198287)
Joshua has been doing the heavy lifting in this area for a while now, so
this is making things more official.
[DirectX] Move IR printing to DXILPrettyPrinter
By doing the IR printing inside DXILPrettyPrinter, we have the option to
customise what we print and include the info that we collect and
generate in DXILDebugInfo.