Messages in this thread | | | From | Yazen Ghannam <> | Subject | [PATCH 0/3] New SMCA Syndrome registers and FRU Text feature | Date | Mon, 18 Apr 2022 17:44:37 +0000 |
| |
Hello,
This patchset adds support for two new "syndrome" registers used in future AMD Scalable MCA (SMCA) systems and also a new "FRU Text in MCA" feature that uses these new registers.
Patch 1 adds support for the new registers. They are read/printed wherever the existing MCA_SYND register is used.
Patch 2 updates the function that pulls MCA information from UEFI x86 Common Platform Error Records (CPERs) to handle systems that support the new registers.
Patch 3 adds support to the AMD MCE decoder module to detect and use the "FRU Text in MCA" feature which leverages the new registers.
Thanks, Yazen
Yazen Ghannam (3): x86/MCE, EDAC/mce_amd: Add support for new MCA_SYND{1,2} registers x86/MCE/APEI: Handle variable register array size EDAC/mce_amd: Add support for FRU Text in MCA
arch/x86/include/asm/mce.h | 5 +++ arch/x86/include/uapi/asm/mce.h | 2 + arch/x86/kernel/cpu/mce/amd.c | 5 ++- arch/x86/kernel/cpu/mce/apei.c | 73 ++++++++++++++++++++++++++------- arch/x86/kernel/cpu/mce/core.c | 9 +++- drivers/edac/mce_amd.c | 24 ++++++++--- include/trace/events/mce.h | 7 +++- 7 files changed, 103 insertions(+), 22 deletions(-)
-- 2.25.1
| |