x86/MCE/AMD, EDAC/mce_amd: Add new SMCA bank types
authorMuralidhara M K <muralimk@amd.com>
Wed, 26 May 2021 16:46:01 +0000 (22:16 +0530)
committerBorislav Petkov <bp@suse.de>
Thu, 27 May 2021 18:08:14 +0000 (20:08 +0200)
commit94a311ce248e0b53c76e110fd00511af47b72ffb
treef3d2f54b2e9eff1c7c8c3af9ec71e927577da95d
parentc4681547bcce777daf576925a966ffa824edd09d
x86/MCE/AMD, EDAC/mce_amd: Add new SMCA bank types

Add the (HWID, MCATYPE) tuples and names for new SMCA bank types.

Also, add their respective error descriptions to the MCE decoding module
edac_mce_amd. Also while at it, optimize the string names for some SMCA
banks.

 [ bp: Drop repeated comments, explain why UMC_V2 is a separate entry. ]

Signed-off-by: Muralidhara M K <muralimk@amd.com>
Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Link: https://lkml.kernel.org/r/20210526164601.66228-1-nchatrad@amd.com
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mce/amd.c
drivers/edac/mce_amd.c