x86/MCE: Make correctable error detection look at the Deferred bit
authorYazen Ghannam <yazen.ghannam@amd.com>
Mon, 18 Dec 2017 11:37:14 +0000 (12:37 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 18 Dec 2017 11:58:29 +0000 (12:58 +0100)
commit179eb850ac57c06edaed67fc744ba9d902172f96
treeb24963393ffad4bb9cc34001f020bd63f889d6bc
parentc6708d50f166bea2d763c96485d31fdbc50204f1
x86/MCE: Make correctable error detection look at the Deferred bit

AMD systems may log Deferred errors. These are errors that are uncorrected
but which do not need immediate action. The MCA_STATUS[UC] bit may not be
set for Deferred errors.

Flag the error as not correctable when MCA_STATUS[Deferred] is set and
do not feed it into the Correctable Errors Collector.

[ bp: Massage commit message. ]

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20171212165143.27475-1-Yazen.Ghannam@amd.com
arch/x86/kernel/cpu/mcheck/mce.c