2006-01-19 09:44:13 +08:00
|
|
|
#
|
|
|
|
# EDAC Kconfig
|
2009-04-03 07:58:43 +08:00
|
|
|
# Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
|
2006-01-19 09:44:13 +08:00
|
|
|
# Licensed and distributed under the GPL
|
|
|
|
#
|
|
|
|
|
2012-12-19 05:02:56 +08:00
|
|
|
config EDAC_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2007-07-16 14:39:27 +08:00
|
|
|
menuconfig EDAC
|
2009-06-18 07:28:02 +08:00
|
|
|
bool "EDAC (Error Detection And Correction) reporting"
|
2007-05-10 21:45:57 +08:00
|
|
|
depends on HAS_IOMEM
|
2012-10-17 06:39:09 +08:00
|
|
|
depends on X86 || PPC || TILE || ARM || EDAC_SUPPORT
|
2006-01-19 09:44:13 +08:00
|
|
|
help
|
|
|
|
EDAC is designed to report errors in the core system.
|
|
|
|
These are low-level errors that are reported in the CPU or
|
2007-07-19 16:50:12 +08:00
|
|
|
supporting chipset or other subsystems:
|
|
|
|
memory errors, cache errors, PCI errors, thermal throttling, etc..
|
|
|
|
If unsure, select 'Y'.
|
2006-01-19 09:44:13 +08:00
|
|
|
|
2006-03-10 09:33:50 +08:00
|
|
|
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.
|
|
|
|
|
2007-07-16 14:39:27 +08:00
|
|
|
if EDAC
|
2006-01-19 09:44:13 +08:00
|
|
|
|
2012-03-22 04:06:53 +08:00
|
|
|
config EDAC_LEGACY_SYSFS
|
|
|
|
bool "EDAC legacy sysfs"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the compatibility sysfs nodes.
|
|
|
|
Use 'Y' if your edac utilities aren't ported to work with the newer
|
|
|
|
structures.
|
|
|
|
|
2006-01-19 09:44:13 +08:00
|
|
|
config EDAC_DEBUG
|
|
|
|
bool "Debugging"
|
|
|
|
help
|
2012-09-10 22:50:54 +08:00
|
|
|
This turns on debugging information for the entire EDAC subsystem.
|
|
|
|
You do so by inserting edac_module with "edac_debug_level=x." Valid
|
|
|
|
levels are 0-4 (from low to high) and by default it is set to 2.
|
|
|
|
Usually you should select 'N' here.
|
2006-01-19 09:44:13 +08:00
|
|
|
|
2010-09-03 00:33:24 +08:00
|
|
|
config EDAC_DECODE_MCE
|
2009-10-02 21:31:48 +08:00
|
|
|
tristate "Decode MCEs in human-readable form (only on AMD for now)"
|
2011-08-10 20:43:30 +08:00
|
|
|
depends on CPU_SUP_AMD && X86_MCE_AMD
|
2009-10-02 21:31:48 +08:00
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable this option if you want to decode Machine Check Exceptions
|
2011-03-31 09:57:33 +08:00
|
|
|
occurring on your machine in human-readable form.
|
2009-10-02 21:31:48 +08:00
|
|
|
|
|
|
|
You should definitely say Y here in case you want to decode MCEs
|
|
|
|
which occur really early upon boot, before the module infrastructure
|
|
|
|
has been initialized.
|
|
|
|
|
2010-09-03 00:33:24 +08:00
|
|
|
config EDAC_MCE_INJ
|
|
|
|
tristate "Simple MCE injection interface over /sysfs"
|
|
|
|
depends on EDAC_DECODE_MCE
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This is a simple interface to inject MCEs over /sysfs and test
|
|
|
|
the MCE decoding code in EDAC.
|
|
|
|
|
|
|
|
This is currently AMD-only.
|
|
|
|
|
2006-01-19 09:44:13 +08:00
|
|
|
config EDAC_MM_EDAC
|
|
|
|
tristate "Main Memory EDAC (Error Detection And Correction) reporting"
|
|
|
|
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'.
|
|
|
|
|
2009-04-28 02:01:01 +08:00
|
|
|
config EDAC_AMD64
|
2010-10-14 04:12:15 +08:00
|
|
|
tristate "AMD64 (Opteron, Athlon64) K8, F10h"
|
|
|
|
depends on EDAC_MM_EDAC && AMD_NB && X86_64 && EDAC_DECODE_MCE
|
2009-04-28 02:01:01 +08:00
|
|
|
help
|
2010-10-14 04:12:15 +08:00
|
|
|
Support for error detection and correction of DRAM ECC errors on
|
|
|
|
the AMD64 families of memory controllers (K8 and F10h)
|
2009-04-28 02:01:01 +08:00
|
|
|
|
|
|
|
config EDAC_AMD64_ERROR_INJECTION
|
2010-09-03 00:33:24 +08:00
|
|
|
bool "Sysfs HW Error injection facilities"
|
2009-04-28 02:01:01 +08:00
|
|
|
depends on EDAC_AMD64
|
|
|
|
help
|
|
|
|
Recent Opterons (Family 10h and later) provide for Memory Error
|
|
|
|
Injection into the ECC detection circuits. The amd64_edac module
|
|
|
|
allows the operator/user to inject Uncorrectable and Correctable
|
|
|
|
errors into DRAM.
|
|
|
|
|
|
|
|
When enabled, in each of the respective memory controller directories
|
|
|
|
(/sys/devices/system/edac/mc/mcX), there are 3 input files:
|
|
|
|
|
|
|
|
- inject_section (0..3, 16-byte section of 64-byte cacheline),
|
|
|
|
- inject_word (0..8, 16-bit word of 16-byte section),
|
|
|
|
- inject_ecc_vector (hex ecc vector: select bits of inject word)
|
|
|
|
|
|
|
|
In addition, there are two control files, inject_read and inject_write,
|
|
|
|
which trigger the DRAM ECC Read and Write respectively.
|
2006-01-19 09:44:13 +08:00
|
|
|
|
|
|
|
config EDAC_AMD76X
|
|
|
|
tristate "AMD 76x (760, 762, 768)"
|
2006-02-03 19:04:11 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
2006-01-19 09:44:13 +08:00
|
|
|
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)"
|
2006-03-26 17:38:50 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
2006-01-19 09:44:13 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
E7205, E7500, E7501 and E7505 server chipsets.
|
|
|
|
|
|
|
|
config EDAC_E752X
|
2008-04-29 16:03:13 +08:00
|
|
|
tristate "Intel e752x (e7520, e7525, e7320) and 3100"
|
2006-03-31 18:30:34 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86 && HOTPLUG
|
2006-01-19 09:44:13 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
E7520, E7525, E7320 server chipsets.
|
|
|
|
|
2007-07-19 16:49:42 +08:00
|
|
|
config EDAC_I82443BXGX
|
|
|
|
tristate "Intel 82443BX/GX (440BX/GX)"
|
|
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
2007-07-19 16:49:45 +08:00
|
|
|
depends on BROKEN
|
2007-07-19 16:49:42 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
82443BX/GX memory controllers (440BX/GX chipsets).
|
|
|
|
|
2006-01-19 09:44:13 +08:00
|
|
|
config EDAC_I82875P
|
|
|
|
tristate "Intel 82875p (D82875P, E7210)"
|
2006-03-26 17:38:50 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
2006-01-19 09:44:13 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
DP82785P and E7210 server chipsets.
|
|
|
|
|
2007-07-19 16:50:31 +08:00
|
|
|
config EDAC_I82975X
|
|
|
|
tristate "Intel 82975x (D82975x)"
|
|
|
|
depends on EDAC_MM_EDAC && PCI && X86
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
DP82975x server chipsets.
|
|
|
|
|
2007-07-19 16:49:48 +08:00
|
|
|
config EDAC_I3000
|
|
|
|
tristate "Intel 3000/3010"
|
2008-02-07 16:15:01 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86
|
2007-07-19 16:49:48 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
3000 and 3010 server chipsets.
|
|
|
|
|
2009-09-24 06:57:27 +08:00
|
|
|
config EDAC_I3200
|
|
|
|
tristate "Intel 3200"
|
|
|
|
depends on EDAC_MM_EDAC && PCI && X86 && EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
3200 and 3210 server chipsets.
|
|
|
|
|
2008-10-30 05:00:50 +08:00
|
|
|
config EDAC_X38
|
|
|
|
tristate "Intel X38"
|
|
|
|
depends on EDAC_MM_EDAC && PCI && X86
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
X38 server chipsets.
|
|
|
|
|
2009-01-07 06:43:00 +08:00
|
|
|
config EDAC_I5400
|
|
|
|
tristate "Intel 5400 (Seaburg) chipsets"
|
|
|
|
depends on EDAC_MM_EDAC && PCI && X86
|
|
|
|
help
|
|
|
|
Support for error detection and correction the Intel
|
|
|
|
i5400 MCH chipset (Seaburg).
|
|
|
|
|
2009-06-23 09:41:15 +08:00
|
|
|
config EDAC_I7CORE
|
|
|
|
tristate "Intel i7 Core (Nehalem) processors"
|
2011-08-10 20:43:30 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
|
2009-06-23 09:41:15 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction the Intel
|
2009-07-23 17:57:45 +08:00
|
|
|
i7 Core (Nehalem) Integrated Memory Controller that exists on
|
|
|
|
newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
|
|
|
|
and Xeon 55xx processors.
|
2009-06-23 09:41:15 +08:00
|
|
|
|
2006-01-19 09:44:13 +08:00
|
|
|
config EDAC_I82860
|
|
|
|
tristate "Intel 82860"
|
2006-03-26 17:38:50 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
2006-01-19 09:44:13 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Intel
|
|
|
|
82860 chipset.
|
|
|
|
|
|
|
|
config EDAC_R82600
|
|
|
|
tristate "Radisys 82600 embedded chipset"
|
2006-03-26 17:38:50 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86_32
|
2006-01-19 09:44:13 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Radisys
|
|
|
|
82600 embedded chipset.
|
|
|
|
|
2007-07-19 16:49:39 +08:00
|
|
|
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.
|
|
|
|
|
2008-07-25 16:49:04 +08:00
|
|
|
config EDAC_I5100
|
|
|
|
tristate "Intel San Clemente MCH"
|
|
|
|
depends on EDAC_MM_EDAC && X86 && PCI
|
|
|
|
help
|
|
|
|
Support for error detection and correction the Intel
|
|
|
|
San Clemente MCH.
|
|
|
|
|
2010-08-25 10:22:57 +08:00
|
|
|
config EDAC_I7300
|
|
|
|
tristate "Intel Clarksboro MCH"
|
|
|
|
depends on EDAC_MM_EDAC && X86 && PCI
|
|
|
|
help
|
|
|
|
Support for error detection and correction the Intel
|
|
|
|
Clarksboro MCH (Intel 7300 chipset).
|
|
|
|
|
2011-10-21 05:33:46 +08:00
|
|
|
config EDAC_SBRIDGE
|
|
|
|
tristate "Intel Sandy-Bridge Integrated MC"
|
2012-02-06 15:10:59 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
|
|
|
|
depends on PCI_MMCONFIG && EXPERIMENTAL
|
2011-10-21 05:33:46 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction the Intel
|
|
|
|
Sandy Bridge Integrated Memory Controller.
|
|
|
|
|
2008-02-07 16:14:55 +08:00
|
|
|
config EDAC_MPC85XX
|
2009-09-24 06:57:25 +08:00
|
|
|
tristate "Freescale MPC83xx / MPC85xx"
|
2010-07-21 04:24:27 +08:00
|
|
|
depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || PPC_85xx)
|
2008-02-07 16:14:55 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the Freescale
|
2009-09-24 06:57:25 +08:00
|
|
|
MPC8349, MPC8560, MPC8540, MPC8548
|
2008-02-07 16:14:55 +08:00
|
|
|
|
2008-02-07 16:14:56 +08:00
|
|
|
config EDAC_MV64X60
|
|
|
|
tristate "Marvell MV64x60"
|
|
|
|
depends on EDAC_MM_EDAC && MV64X60
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the Marvell
|
|
|
|
MV64360 and MV64460 chipsets.
|
|
|
|
|
2007-07-19 16:50:24 +08:00
|
|
|
config EDAC_PASEMI
|
|
|
|
tristate "PA Semi PWRficient"
|
|
|
|
depends on EDAC_MM_EDAC && PCI
|
2007-07-27 01:41:16 +08:00
|
|
|
depends on PPC_PASEMI
|
2007-07-19 16:50:24 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on PA Semi
|
|
|
|
PWRficient.
|
|
|
|
|
2008-02-07 16:14:53 +08:00
|
|
|
config EDAC_CELL
|
|
|
|
tristate "Cell Broadband Engine memory controller"
|
2008-11-27 23:15:44 +08:00
|
|
|
depends on EDAC_MM_EDAC && PPC_CELL_COMMON
|
2008-02-07 16:14:53 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
Cell Broadband Engine internal memory controller
|
|
|
|
on platform without a hypervisor
|
2007-07-19 16:50:24 +08:00
|
|
|
|
edac: new ppc4xx driver module
This adds support for an EDAC memory controller adaptation driver for the
"ibm,sdram-4xx-ddr2" ECC controller realized in the AMCC PowerPC 405EX[r].
At present, this driver has been developed and tested against the
controller realization in the AMCC PPC405EX[r] on the AMCC Kilauea and
Haleakala boards (256 MiB w/o ECC memory soldered onto the board) and a
proprietary board based on those designs (128 MiB ECC memory, also
soldered onto the board).
In the future, dynamic feature detection and handling needs to be added
for the other realizations of this controller found in the 440SP, 440SPe,
460EX, 460GT and 460SX.
Eventually, this driver will likely be evolved and adapted to the above
variant realizations of this controller as well as broken apart to handle
the other known ECC-capable controllers prevalent in other PPC4xx
processors:
- IBM SDRAM (405GP, 405CR and 405EP) "ibm,sdram-4xx"
- IBM DDR1 (440GP, 440GX, 440EP and 440GR) "ibm,sdram-4xx-ddr"
- Denali DDR1/DDR2 (440EPX and 440GRX) "denali,sdram-4xx-ddr2"
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-03 07:58:45 +08:00
|
|
|
config EDAC_PPC4XX
|
|
|
|
tristate "PPC4xx IBM DDR2 Memory Controller"
|
|
|
|
depends on EDAC_MM_EDAC && 4xx
|
|
|
|
help
|
|
|
|
This enables support for EDAC on the ECC memory used
|
|
|
|
with the IBM DDR2 memory controller found in various
|
|
|
|
PowerPC 4xx embedded processors such as the 405EX[r],
|
|
|
|
440SP, 440SPe, 460EX, 460GT and 460SX.
|
|
|
|
|
2009-04-03 07:58:51 +08:00
|
|
|
config EDAC_AMD8131
|
|
|
|
tristate "AMD8131 HyperTransport PCI-X Tunnel"
|
2009-05-29 05:34:43 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
|
2009-04-03 07:58:51 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
AMD8131 HyperTransport PCI-X Tunnel chip.
|
2009-05-29 05:34:43 +08:00
|
|
|
Note, add more Kconfig dependency if it's adopted
|
|
|
|
on some machine other than Maple.
|
2009-04-03 07:58:51 +08:00
|
|
|
|
2009-04-03 07:58:51 +08:00
|
|
|
config EDAC_AMD8111
|
|
|
|
tristate "AMD8111 HyperTransport I/O Hub"
|
2009-05-29 05:34:43 +08:00
|
|
|
depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
|
2009-04-03 07:58:51 +08:00
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
AMD8111 HyperTransport I/O Hub chip.
|
2009-05-29 05:34:43 +08:00
|
|
|
Note, add more Kconfig dependency if it's adopted
|
|
|
|
on some machine other than Maple.
|
2009-04-03 07:58:51 +08:00
|
|
|
|
2009-06-18 07:27:58 +08:00
|
|
|
config EDAC_CPC925
|
|
|
|
tristate "IBM CPC925 Memory Controller (PPC970FX)"
|
|
|
|
depends on EDAC_MM_EDAC && PPC64
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
IBM CPC925 Bridge and Memory Controller, which is
|
|
|
|
a companion chip to the PowerPC 970 family of
|
|
|
|
processors.
|
|
|
|
|
2011-03-02 02:01:49 +08:00
|
|
|
config EDAC_TILE
|
|
|
|
tristate "Tilera Memory Controller"
|
|
|
|
depends on EDAC_MM_EDAC && TILE
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
Tilera memory controller.
|
|
|
|
|
2012-06-14 01:01:55 +08:00
|
|
|
config EDAC_HIGHBANK_MC
|
|
|
|
tristate "Highbank Memory Controller"
|
|
|
|
depends on EDAC_MM_EDAC && ARCH_HIGHBANK
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
Calxeda Highbank memory controller.
|
|
|
|
|
2012-06-12 10:32:14 +08:00
|
|
|
config EDAC_HIGHBANK_L2
|
|
|
|
tristate "Highbank L2 Cache"
|
|
|
|
depends on EDAC_MM_EDAC && ARCH_HIGHBANK
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
Calxeda Highbank memory controller.
|
|
|
|
|
2012-10-17 06:39:09 +08:00
|
|
|
config EDAC_OCTEON_PC
|
|
|
|
tristate "Cavium Octeon Primary Caches"
|
|
|
|
depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the primary caches of
|
|
|
|
the cnMIPS cores of Cavium Octeon family SOCs.
|
|
|
|
|
|
|
|
config EDAC_OCTEON_L2C
|
|
|
|
tristate "Cavium Octeon Secondary Caches (L2C)"
|
|
|
|
depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
Cavium Octeon family of SOCs.
|
|
|
|
|
|
|
|
config EDAC_OCTEON_LMC
|
|
|
|
tristate "Cavium Octeon DRAM Memory Controller (LMC)"
|
|
|
|
depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
Cavium Octeon family of SOCs.
|
|
|
|
|
|
|
|
config EDAC_OCTEON_PCI
|
|
|
|
tristate "Cavium Octeon PCI Controller"
|
|
|
|
depends on EDAC_MM_EDAC && PCI && CPU_CAVIUM_OCTEON
|
|
|
|
help
|
|
|
|
Support for error detection and correction on the
|
|
|
|
Cavium Octeon family of SOCs.
|
|
|
|
|
2007-07-16 14:39:27 +08:00
|
|
|
endif # EDAC
|