aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei/ghes.c
diff options
context:
space:
mode:
authorChen, Gong <gong.chen@linux.intel.com>2013-11-25 02:15:00 -0500
committerBorislav Petkov <bp@suse.de>2013-12-21 07:31:06 -0500
commitaddccbb264e5e0e5762f4893f6df24afad327c8c (patch)
treecc7c6b036188001fc9e9de82c9ca56e2b43eb225 /drivers/acpi/apei/ghes.c
parent42139eb356e3384759ca143ae04d82376346eb4c (diff)
ACPI, APEI, GHES: Do not report only correctable errors with SCI
Currently SCI is employed to handle corrected errors - memory corrected errors, more specifically but in fact SCI still can be used to handle any errors, e.g. uncorrected or even fatal ones if enabled by the BIOS. Enable logging for those kinds of errors too. Signed-off-by: Chen, Gong <gong.chen@linux.intel.com> Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/1385363701-12387-1-git-send-email-gong.chen@linux.intel.com [ Boris: massage commit message, rename function arg. ] Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/acpi/apei/ghes.c')
-rw-r--r--drivers/acpi/apei/ghes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index a30bc313787b..ce3683d93a13 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -453,8 +453,7 @@ static void ghes_do_proc(struct ghes *ghes,
453 ghes_edac_report_mem_error(ghes, sev, mem_err); 453 ghes_edac_report_mem_error(ghes, sev, mem_err);
454 454
455#ifdef CONFIG_X86_MCE 455#ifdef CONFIG_X86_MCE
456 apei_mce_report_mem_error(sev == GHES_SEV_CORRECTED, 456 apei_mce_report_mem_error(sev, mem_err);
457 mem_err);
458#endif 457#endif
459 ghes_handle_memory_failure(gdata, sev); 458 ghes_handle_memory_failure(gdata, sev);
460 } 459 }