![Dave Jiang](/assets/img/avatar_default.png)
Provides a way for NMI reported errors on x86 to notify the EDAC subsystem pending ECC errors by writing to a software state variable. Here's the reworked patch. I added an EDAC stub to the kernel so we can have variables that are in the kernel even if EDAC is a module. I also implemented the idea of using the chip driver to select error detection mode via module parameter and eliminate the kernel compile option. Please review/test. Thx! Also, I only made changes to some of the chipset drivers since I am unfamiliar with the other ones. We can add similar changes as we go. Signed-off-by: Dave Jiang <djiang@mvista.com> Signed-off-by: Douglas Thompson <dougthompson@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
113 lines
3.2 KiB
Plaintext
113 lines
3.2 KiB
Plaintext
#
|
|
# EDAC Kconfig
|
|
# Copyright (c) 2003 Linux Networx
|
|
# Licensed and distributed under the GPL
|
|
#
|
|
# $Id: Kconfig,v 1.4.2.7 2005/07/08 22:05:38 dsp_llnl Exp $
|
|
#
|
|
|
|
menuconfig EDAC
|
|
tristate "EDAC - error detection and reporting (EXPERIMENTAL)"
|
|
depends on HAS_IOMEM
|
|
depends on X86 && EXPERIMENTAL
|
|
help
|
|
EDAC is designed to report errors in the core system.
|
|
These are low-level errors that are reported in the CPU or
|
|
supporting chipset: memory errors, cache errors, PCI errors,
|
|
thermal throttling, etc.. If unsure, select 'Y'.
|
|
|
|
If this code is reporting problems on your system, please
|
|
see the EDAC project web pages for more information at:
|
|
|
|
<http://bluesmoke.sourceforge.net/>
|
|
|
|
and:
|
|
|
|
<http://buttersideup.com/edacwiki>
|
|
|
|
There is also a mailing list for the EDAC project, which can
|
|
be found via the sourceforge page.
|
|
|
|
if EDAC
|
|
|
|
comment "Reporting subsystems"
|
|
|
|
config EDAC_DEBUG
|
|
bool "Debugging"
|
|
help
|
|
This turns on debugging information for the entire EDAC
|
|
sub-system. You can insert module with "debug_level=x", current
|
|
there're four debug levels (x=0,1,2,3 from low to high).
|
|
Usually you should select 'N'.
|
|
|
|
config EDAC_MM_EDAC
|
|
tristate "Main Memory EDAC (Error Detection And Correction) reporting"
|
|
default y
|
|
help
|
|
Some systems are able to detect and correct errors in main
|
|
memory. EDAC can report statistics on memory error
|
|
detection and correction (EDAC - or commonly referred to ECC
|
|
errors). EDAC will also try to decode where these errors
|
|
occurred so that a particular failing memory module can be
|
|
replaced. If unsure, select 'Y'.
|
|
|
|
|
|
config EDAC_AMD76X
|
|
tristate "AMD 76x (760, 762, 768)"
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
|
help
|
|
Support for error detection and correction on the AMD 76x
|
|
series of chipsets used with the Athlon processor.
|
|
|
|
config EDAC_E7XXX
|
|
tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
|
help
|
|
Support for error detection and correction on the Intel
|
|
E7205, E7500, E7501 and E7505 server chipsets.
|
|
|
|
config EDAC_E752X
|
|
tristate "Intel e752x (e7520, e7525, e7320)"
|
|
depends on EDAC_MM_EDAC && PCI && X86 && HOTPLUG
|
|
help
|
|
Support for error detection and correction on the Intel
|
|
E7520, E7525, E7320 server chipsets.
|
|
|
|
config EDAC_I82443BXGX
|
|
tristate "Intel 82443BX/GX (440BX/GX)"
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
|
depends on BROKEN
|
|
help
|
|
Support for error detection and correction on the Intel
|
|
82443BX/GX memory controllers (440BX/GX chipsets).
|
|
|
|
config EDAC_I82875P
|
|
tristate "Intel 82875p (D82875P, E7210)"
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
|
help
|
|
Support for error detection and correction on the Intel
|
|
DP82785P and E7210 server chipsets.
|
|
|
|
config EDAC_I82860
|
|
tristate "Intel 82860"
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
|
help
|
|
Support for error detection and correction on the Intel
|
|
82860 chipset.
|
|
|
|
config EDAC_R82600
|
|
tristate "Radisys 82600 embedded chipset"
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
|
help
|
|
Support for error detection and correction on the Radisys
|
|
82600 embedded chipset.
|
|
|
|
config EDAC_I5000
|
|
tristate "Intel Greencreek/Blackford chipset"
|
|
depends on EDAC_MM_EDAC && X86 && PCI
|
|
help
|
|
Support for error detection and correction the Intel
|
|
Greekcreek/Blackford chipsets.
|
|
|
|
endif # EDAC
|