[PATCH v2 0/2] Decode raw MSR values of MCA registers in BERT
From: Smita Koralahalli
Date: Fri Aug 28 2020 - 16:33:59 EST
This series provides better decoding for SMCA specific raw MSR values in
BERT reported using x86 Processor Error Common Platform Error Record
(CPER) format.
Patch 1 extracts the raw MSR values of MCA registers in BERT and passes
it through the MCA handling chain.
Patch 2 provides a fix of missing error logs as observed in Patch 1.
Patch v2 provides a fix for the build error observed in Patch v1.
As reported by kernel test robot, Patch 1 failed stating undefined
reference to arch_apei_report_x86_error() in function cper_print_proc_ia.
The failure is noticed when CONFIG_ACPI_APEI is not compiled into the
kernel. Fix the error by returning error code if CONFIG_ACPI_APEI is not
installed into the kernel.
Links:
https://lkml.kernel.org/r/20200825144710.23584-1-Smita.KoralahalliChannabasappa@xxxxxxx
https://lkml.kernel.org/r/20200825144710.23584-2-Smita.KoralahalliChannabasappa@xxxxxxx
https://lkml.kernel.org/r/20200825144710.23584-3-Smita.KoralahalliChannabasappa@xxxxxxx
Smita Koralahalli (2):
cper, apei, mce: Pass x86 CPER through the MCA handling chain
x86/mce/dev-mcelog: Fix updating kflags in AMD systems
arch/x86/include/asm/mce.h | 3 +++
arch/x86/kernel/acpi/apei.c | 9 +++++++
arch/x86/kernel/cpu/mce/apei.c | 37 ++++++++++++++++++++++++++++
arch/x86/kernel/cpu/mce/dev-mcelog.c | 4 ++-
drivers/firmware/efi/cper-x86.c | 10 +++++---
include/acpi/apei.h | 9 +++++++
6 files changed, 67 insertions(+), 5 deletions(-)
--
2.17.1