aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-02-15 04:11:57 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-25 17:42:12 -0500
commit77c5f5d2f212e1963063e427fc57c44bf6eae9fb (patch)
treec3a5aa78b284eae08ffa23a4574a6ef0a3df7682 /drivers/edac/Kconfig
parent21480547c8b85be6c08c4d77ed514673b73eda8a (diff)
ghes_edac: Register at EDAC core the BIOS report
Register GHES at EDAC MC core, in order to avoid other drivers to also handle errors and mangle with error data. The edac core will warrant that just one driver will be used, so the first one to register (BIOS first) will be the one that will be reporting the hardware errors. For now, the EDAC driver does nothing but to register at the EDAC core, preventing the hardware-driven mechanism to interfere with GHES. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r--drivers/edac/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 66719925970f..7e38e5e576e8 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -80,6 +80,29 @@ config EDAC_MM_EDAC
80 occurred so that a particular failing memory module can be 80 occurred so that a particular failing memory module can be
81 replaced. If unsure, select 'Y'. 81 replaced. If unsure, select 'Y'.
82 82
83config EDAC_GHES
84 bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
85 depends on ACPI_APEI_GHES && (EDAC_MM_EDAC=y)
86 default y
87 help
88 Not all machines support hardware-driven error report. Some of those
89 provide a BIOS-driven error report mechanism via ACPI, using the
90 APEI/GHES driver. By enabling this option, the error reports provided
91 by GHES are sent to userspace via the EDAC API.
92
93 When this option is enabled, it will disable the hardware-driven
94 mechanisms, if a GHES BIOS is detected, entering into the
95 "Firmware First" mode.
96
97 It should be noticed that keeping both GHES and a hardware-driven
98 error mechanism won't work well, as BIOS will race with OS, while
99 reading the error registers. So, if you want to not use "Firmware
100 first" GHES error mechanism, you should disable GHES either at
101 compilation time or by passing "ghes.disable=1" Kernel parameter
102 at boot time.
103
104 In doubt, say 'Y'.
105
83config EDAC_AMD64 106config EDAC_AMD64
84 tristate "AMD64 (Opteron, Athlon64) K8, F10h" 107 tristate "AMD64 (Opteron, Athlon64) K8, F10h"
85 depends on EDAC_MM_EDAC && AMD_NB && X86_64 && EDAC_DECODE_MCE 108 depends on EDAC_MM_EDAC && AMD_NB && X86_64 && EDAC_DECODE_MCE