diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-12 18:30:08 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-16 09:00:11 +0000 |
| commit | d7be8a3e229174bea06228b461da3b1825c6cc54 (patch) | |
| tree | 231de156428a1495675c521e88f9cee8db120598 /lib/libbe/tests/target_prog.c | |
| parent | 39762c840a15e1b32b2e1acaca18d98c030f7c17 (diff) | |
PCH packet buffer ECC status contains read-clear byte counters for
corrected and uncorrected errors. Sample them with the regular
hardware statistics update and account for the snapshot captured by
the fatal error interrupt path.
Expose the counters and the number of reset worthy interrupt
indications under dev.em.N.memory_errors. Keeping the reset counter
separate also preserves evidence when another status reader wins the
read-clear race.
Hardware validation used an I219-LM. Three documented ICS.ECCER
injections advanced fatal_resets from zero to three, exactly once per
reset. corrected_packet_buffer and uncorrected_packet_buffer remained
zero, as expected because ICS does not inject a memory error or alter
PBECCSTS.
MFC after: 2 weeks
Sponsored by: BBOX.io
Diffstat (limited to 'lib/libbe/tests/target_prog.c')
0 files changed, 0 insertions, 0 deletions
