You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
accel_sampler: the fault stream greps IO_PAGE_FAULT alone, so an NPU TDR/power-cycle is invisible to the instrument that attributes faults #3067
So the instrument whose whole purpose is "was a fault inside this window?" recorded nothing for a window it covered,
and the summary for that window — which prints ## no IO_PAGE_FAULT was seen in this window — reads as a clean window
to anyone who does not know that a TDR is a different line.
Why the stream has to be a superset, not a diagnosis
scripts/gpu-hold decides refusals with one pattern (GPU_FAULT_RE, engine#2480/#2486/#2498): a page fault, any amdgpu/MES reset, ring ... timeout, amdxdna command timeout / power-cycling / fault. The sampler is a recorder, so its pattern must cover at least that set: it may carry a line the gate ignores, never miss one the gate
acts on. Note the same episode shows the gate's own pattern is narrower than the episode — it matches the two power-cycling lines but neither aie2_tdr_dead_fw_detect: TDR timeout detected nor aie2_tdr_work_func — which is
correct for a refusal gate (it acted, takes were refused) and wrong for an attribution record, where the first line is
the diagnosis.
Fix
One line in watch_faults() — the streaming grep — plus the summary's empty-window wording:
FAULT_RE='IO_PAGE_FAULT|aie2_tdr|aie2_hw_reset|amdxdna.*(command timeout|power.?cycl(e|ing)|fault)|MES.*(reset|failure|failed to respond)'
The per-device split needs no change: a TDR line's token after kernel: is still amdxdna, the token the summary's
awk already reads (verified in a fixture).
Activity
accel_sampler: check-deployed --against <ref>, so "ok" stops meaning …