x86/mce/AMD, EDAC: Enable error decoding of Scalable MCA errors
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Mon, 7 Mar 2016 13:02:18 +0000 (14:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 8 Mar 2016 10:48:14 +0000 (11:48 +0100)
commitbe0aec23bf4624fd55650629fe8df20483487049
tree2544c2eee3714bdc6176e6a400f158e127f01aa1
parentadc53f2e0ae2fcff10a4b981df14729ffb1482fc
x86/mce/AMD, EDAC: Enable error decoding of Scalable MCA errors

For Scalable MCA enabled processors, errors are listed per IP block. And
since it is not required for an IP to map to a particular bank, we need
to use HWID and McaType values from the MCx_IPID register to figure out
which IP a given bank represents.

We also have a new bit (TCC) in the MCx_STATUS register to indicate Task
context is corrupt.

Add logic here to decode errors from all known IP blocks for Fam17h
Model 00-0fh and to print TCC errors.

[ Minor fixups. ]
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1457021458-2522-3-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce_amd.c
drivers/edac/mce_amd.c
This page took 0.03964 seconds and 5 git commands to generate.