diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2020-07-20 16:53:53 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-08-20 10:34:38 +0200 |
commit | 368d1887200d68075c064a62a9aa191168cf1eed (patch) | |
tree | 7408b15f7c0014f2bd87f1f6f41ac8e4d83aedf6 /arch/x86/include/asm/mce.h | |
parent | RAS/CEC: Fix cec_init() prototype (diff) | |
download | linux-368d1887200d68075c064a62a9aa191168cf1eed.tar.xz linux-368d1887200d68075c064a62a9aa191168cf1eed.zip |
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
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r-- | arch/x86/include/asm/mce.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index cf503824529c..6adced6e7dd3 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h @@ -328,7 +328,6 @@ enum smca_bank_types { struct smca_hwid { unsigned int bank_type; /* Use with smca_bank_types for easy indexing. */ u32 hwid_mcatype; /* (hwid,mcatype) tuple */ - u32 xec_bitmap; /* Bitmap of valid ExtErrorCodes; current max is 21. */ u8 count; /* Number of instances. */ }; |