[AMDGPU] Support 'row_en' as a normal named-bit modifier (#247564)
Like the previous patch does for done, this reworks row_en from an asm
string token into a normal modifier.
The exp pseudos stay as they are, because codegen needs the implicit use
of M0 for row_en exports, but they now all share the same real
instructions.
Assisted-By: Claude
Fix autorid migration
Prior to TrueNAS 25.10 we exposed a non-default idmap backend
for Active Directory (added in TrueNAS 9.10) that users really
shouldn't have been using because it was non-deterministic in
ways that are quite painful to fix. We removed the backend in
25.10 and had a best-effort migration to put the user into something
equivalent that wouldn't require redoing ACLs. Overall, the
backend was rarely used and so an edge-case in the migration
was missed until recently. This commit fixes the migration in-place
(e.g. doesn't add a new migration). Anyone who was impacted by
it most likely simply rejoined AD after failure on upgrade.
[SROA] Add memory transfer instruction tests (#246655)
We're currently missing tests for some situations involving memory
transfer instructions within the same alloca, so add them.
CI: update Alpine Linux 3.24 image to 3.24.4 (#20033)
Bump the Alpine 3.24 QEMU cloudinit image from 3.24.2-r2 to 3.24.4-r0.
Assisted-by: Antigravity
Signed-off-by: Ananda Bhattacharya <a3217055 at gmail.com>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Alexander Moch <mail at alexmoch.com>
[MC] Speed up StringTableBuilder tail merging. NFC (#246715)
StringTableBuilder tail-merges object file string tables in the
integrated assembler and SHF_STRINGS sections such as `.debug_str` in
`ld.lld -O2`. It sorts strings by their reversed characters with a
three-way radix quicksort that compares one character per level, which
is slow when many strings share a long suffix.
Sort by 8-character keys instead, recursing into each run of equal keys.
* `ld.lld -O2` linking clang with debug info: 9.13s => 8.65s
* `llc -O0 -filetype=obj` on tramp3d-v4: finalize 5.0ms => 2.8ms
The new unit tests compare the layout and every offset with a reference
that sorts the reversed strings with `std::greater`, chosen by mutation
testing.
LLM-aided
[clang][deps] Remove non-existent ModuleDepCollectorPP friend (NFC) (#247990)
ModuleDepCollectorPP was moved into a nested class of
ModuleDepCollector on May 18, 2026 in commit
c93c17b0c084c410c8ac2c824864470e71fc1b39.
Assisted-by: Antigravity
fwget: Add ACPI device support
Some devices that need firmware have neither a PCI nor a USB id, like
the Cirrus Logic CS35L54 speaker amplifiers (ACPI CSC3554) of the HP
ZBook Ultra G1a. Add an acpi subsystem that matches ACPI hardware ids
from devinfo(8) against per-vendor scripts, search it by default, and
map CSC3554 to its firmware package.
Reviewed by: manu, christos, imp
Approved by: manu, christos, imp
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/126
[SampleProfile] Guard recursive and unresolved calls during profile recovery
Skip direct self-calls and calls through aliases rather than merging nested samples into the wrong profile. In priority mode, report promotion as an IR change even when the direct call does not inline. Keep the existing hotness cutoff.
Cover both profile counts in the iterative inliner and drop the redundant target override from the priority test.
[RISCV] Check the types of xsfmm matmul intrinsics at instruction selection. (#247850)
These intrinsics should have LMUL=8 scalable vector inputs with specific
element types.
libpfctl: fix reading of struct pfr_tstats.pfrts_cnt
The kernel returns this as a uint64_t, but we only have an int.
Read this via a temporary value and downcast.
Reported by: llm-postcr
Sponsored by: Rubicon Communications, LLC ("Netgate")
snmp_pf: fix pfTablesTblNumber
Actually set the number of tables we have.
MFC after: 1 week
Fixes: 9e8d2962aad3 ("pf: convert DIOCRGETTSTATS to netlink")
Sponsored by: Rubicon Communications, LLC ("Netgate")
pf: do not copy tag/match_tag/qid/pqid from userspace
We assign those based on the tag/match_tag/... names. Assigning them
from userspace risks corruption if we free the rule on error and
tag_unref() them.
Reported by: llm-postcr
Sponsored by: Rubicon Communications, LLC ("Netgate")
snmp_pf: fix table indexes
Initialise 'i' so that the index we assign to tables is predictable.
Reported by: maxim at FreeBSD.org
MFC after: 1 week
Fixes: 9e8d2962aad3 ("pf: convert DIOCRGETTSTATS to netlink")
Sponsored by: Rubicon Communications, LLC ("Netgate")
[libc++][docs] Add a note about faster reduction (#246672)
The original pull request (#234887) didn't add this, but likely it's
worth mentioning in the Release Notes.
bhyve: List tpm.ctrl_path in the configuration schema
fbb1b886cbd0 added the tpm.ctrl_path option but not its schema entry,
so "bhyve -o help" does not list it, and tools that look for the option
there do not use it.
Reported by: llm-postcr
Fixes: fbb1b886cbd0 ("bhyve: Reinitialise swtpm's TPM at startup")
Sponsored by: Defenso
Signed-off-by: Quentin Thébault <quentin.thebault at defenso.fr>
Reviewed by: kevans, novel
Differential Revision: https://reviews.freebsd.org/D62285
[AMDGPU] Track VA_VDST per VALU completion pipe on gfx125x
In expert scheduling mode, a wait of N on VA_VDST protects a pending VALU
access if N later instructions are guaranteed to be outstanding for as
long as the access is. Any mix of completion classes used to force a
wait of zero, with ordered XDL writes as the only exception.
On gfx125x, instructions that complete on the same pipe decrement
VA_VDST in issue order even when instructions of other pipes are issued
in between. Track VA_VDST as a read view and a write view per completion
class. The score distance within a view then counts the later
instructions of that class, and a wait on the hardware counter applies
to every view.
An ordered XDL completes after everything issued before it, so it
advances every other view that has pending accesses. This replaces the
ordered XDL count and also covers pending reads.
Accesses on the unordered view have no guaranteed successors other than
[12 lines not shown]
[AMDGPU][NFC] Pre-commit VA_VDST completion pipe tests
Cover expert scheduling waits for pending VALU instructions on different
completion pipes, including across control-flow joins and loop backedges.
In waitcnt-vavdst-ordered-xdl.mir, use scale formats the assembler
accepts and replace V_DOT2C_F32_F16, which gfx125x does not have.
Assisted-by: Claude Fable 5.2