fix(xtask): require the strengthened IRQ work state evidence

This commit is contained in:
Tyler Smith committed 2026-11-04 14:06:55 +00:00
1 parent bee428d8f5
commit 50e793168d
2 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -1201,7 +1201,8 @@ fn native_irq_work_verified(serial: &str) -> bool {
"current_id=IRQ-refused",
"enqueue=owned/noninline",
"worker=owned-distinct-context",
"async_FXSAVE=unchanged",
"async_FXSAVE=IRQ-poison-restored",
"async_GPR+RSP+DF=restored",
"heap=aligned-zeroed-read-write-reclaimed",
"heap_IF=off/on-preserved",
"mask+hardware+IRR/ISR+inflight+work=drained",
+3 -2
View File
@@ -600,14 +600,15 @@ fn qemu_host_inventory_does_not_synthesize_a_native_worker_grant() {
#[test]
fn native_irq_work_requires_exclusive_async_proof() {
use clap::Parser;
let full = "CHECK native-irq-work PASS roundtrip=verified teardown=IOTLB+TE-off-ack actual_cause=0x1 IRQ_depth=real interrupted_SP=owned-foreground ISR_SP=separate-IST current_id=IRQ-refused enqueue=owned/noninline worker=owned-distinct-context async_FXSAVE=unchanged heap=aligned-zeroed-read-write-reclaimed heap_IF=off/on-preserved mask+hardware+IRR/ISR+inflight+work=drained late_delivery=absent stack_leases=4-released BSP_device_owner=!Send";
let full = "CHECK native-irq-work PASS roundtrip=verified teardown=IOTLB+TE-off-ack actual_cause=0x1 IRQ_depth=real interrupted_SP=owned-foreground ISR_SP=separate-IST current_id=IRQ-refused enqueue=owned/noninline worker=owned-distinct-context async_FXSAVE=IRQ-poison-restored async_GPR+RSP+DF=restored heap=aligned-zeroed-read-write-reclaimed heap_IF=off/on-preserved mask+hardware+IRR/ISR+inflight+work=drained late_delivery=absent stack_leases=4-released BSP_device_owner=!Send";
assert!(native_irq_work_verified(full));
for marker in [
"IRQ_depth=real",
"interrupted_SP=owned-foreground",
"current_id=IRQ-refused",
"worker=owned-distinct-context",
"async_FXSAVE=unchanged",
"async_FXSAVE=IRQ-poison-restored",
"async_GPR+RSP+DF=restored",
"heap=aligned-zeroed-read-write-reclaimed",
"heap_IF=off/on-preserved",
"mask+hardware+IRR/ISR+inflight+work=drained",