apei-inject, einj-ext: check EDAC log as alternative to GHES record
On platforms where memory correctable errors are reported via
CMCI/MCE/EDAC path (notrigger=1, error consumed by CPU on victim
access), the GHES firmware-first notification is never triggered.
The "Hardware error from APEI Generic Hardware Error Source" message
does not appear in dmesg, causing check_result() to always fail.
Add "SystemAddress:${addr}" as an alternative pattern in check_result(),
which matches the EDAC/ADXL decode output.
Signed-off-by: Yi Lai <yi1.lai@intel.com>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2 files changed