[PATCH 0/3] New SMCA Syndrome registers and FRU Text feature

Yazen Ghannam posted 3 patches 4 years ago
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(-)
[PATCH 0/3] New SMCA Syndrome registers and FRU Text feature
Posted by Yazen Ghannam 4 years ago
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
Re: [PATCH 0/3] New SMCA Syndrome registers and FRU Text feature
Posted by Yazen Ghannam 3 years, 11 months ago
On Mon, Apr 18, 2022 at 05:44:37PM +0000, Yazen Ghannam wrote:
> 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(-)
> 
> -- 

Hi everyone,

Any comments on this set? Thanks!

-Yazen