]> git.baikalelectronics.ru Git - kernel.git/commit
x86/MCE/AMD, EDAC/mce_amd: Remove struct smca_hwid.xec_bitmap
authorYazen Ghannam <yazen.ghannam@amd.com>
Mon, 20 Jul 2020 14:53:53 +0000 (14:53 +0000)
committerBorislav Petkov <bp@suse.de>
Thu, 20 Aug 2020 08:34:38 +0000 (10:34 +0200)
commitf07701ef071dbff4ff0f1b8f8e86df55aeaeeb8a
tree7408b15f7c0014f2bd87f1f6f41ac8e4d83aedf6
parentf6a091510fd597e5161a96e936c913d65759403e
x86/MCE/AMD, EDAC/mce_amd: Remove struct smca_hwid.xec_bitmap

The Extended Error Code Bitmap (xec_bitmap) for a Scalable MCA bank type
was intended to be used by the kernel to filter out invalid error codes
on a system. However, this is unnecessary after a few product releases
because the hardware will only report valid error codes. Thus, there's
no need for it with future systems.

Remove the xec_bitmap field and all references to it.

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