x86/MCE/AMD, EDAC/mce_amd: Add new SMCA bank types
authorYazen Ghannam <yazen.ghannam@amd.com>
Thu, 16 Dec 2021 16:29:04 +0000 (16:29 +0000)
committerBorislav Petkov <bp@suse.de>
Wed, 22 Dec 2021 16:19:18 +0000 (17:19 +0100)
commit5176a93ab27aef1b9f4496fc68e6c303a011d7cc
tree0cc2456dac9ca9525d1a1d1343e0a08eae9e6db8
parent1acd85feba81084fcef00b73fc1601e42b77c5d8
x86/MCE/AMD, EDAC/mce_amd: Add new SMCA bank types

Add HWID and McaType values for new SMCA bank types, and add their error
descriptions to edac_mce_amd.

The "PHY" bank types all have the same error descriptions, and the NBIF
and SHUB bank types have the same error descriptions. So reuse the same
arrays where appropriate.

  [ bp: Remove useless comments over hwid types. ]

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211216162905.4132657-2-yazen.ghannam@amd.com
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mce/amd.c
drivers/edac/mce_amd.c