xref: /linux/drivers/edac/Kconfig (revision b4846251727a38a7f248e41308c060995371dd05)
1da9bb1d2SAlan Cox#
2da9bb1d2SAlan Cox#	EDAC Kconfig
34577ca55SDoug Thompson#	Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
4da9bb1d2SAlan Cox#	Licensed and distributed under the GPL
5da9bb1d2SAlan Cox#
6da9bb1d2SAlan Cox
7751cb5e5SJan Engelhardtmenuconfig EDAC
8e24aca67SGeunSik Lim	bool "EDAC (Error Detection And Correction) reporting"
9e25df120SMartin Schwidefsky	depends on HAS_IOMEM
104c6a1c13SAndrew Morton	depends on X86 || PPC
11da9bb1d2SAlan Cox	help
12da9bb1d2SAlan Cox	  EDAC is designed to report errors in the core system.
13da9bb1d2SAlan Cox	  These are low-level errors that are reported in the CPU or
148cb2a398SDouglas Thompson	  supporting chipset or other subsystems:
158cb2a398SDouglas Thompson	  memory errors, cache errors, PCI errors, thermal throttling, etc..
168cb2a398SDouglas Thompson	  If unsure, select 'Y'.
17da9bb1d2SAlan Cox
1857c432b5STim Small	  If this code is reporting problems on your system, please
1957c432b5STim Small	  see the EDAC project web pages for more information at:
2057c432b5STim Small
2157c432b5STim Small	  <http://bluesmoke.sourceforge.net/>
2257c432b5STim Small
2357c432b5STim Small	  and:
2457c432b5STim Small
2557c432b5STim Small	  <http://buttersideup.com/edacwiki>
2657c432b5STim Small
2757c432b5STim Small	  There is also a mailing list for the EDAC project, which can
2857c432b5STim Small	  be found via the sourceforge page.
2957c432b5STim Small
30751cb5e5SJan Engelhardtif EDAC
31da9bb1d2SAlan Cox
32da9bb1d2SAlan Coxcomment "Reporting subsystems"
33da9bb1d2SAlan Cox
34da9bb1d2SAlan Coxconfig EDAC_DEBUG
35da9bb1d2SAlan Cox	bool "Debugging"
36da9bb1d2SAlan Cox	help
37da9bb1d2SAlan Cox	  This turns on debugging information for the entire EDAC
38da9bb1d2SAlan Cox	  sub-system. You can insert module with "debug_level=x", current
39da9bb1d2SAlan Cox	  there're four debug levels (x=0,1,2,3 from low to high).
40da9bb1d2SAlan Cox	  Usually you should select 'N'.
41da9bb1d2SAlan Cox
42cc18e3cdSHitoshi Mitakeconfig EDAC_DEBUG_VERBOSE
43cc18e3cdSHitoshi Mitake	bool "More verbose debugging"
44cc18e3cdSHitoshi Mitake	depends on EDAC_DEBUG
45cc18e3cdSHitoshi Mitake	help
46cc18e3cdSHitoshi Mitake	  This option makes debugging information more verbose.
47cc18e3cdSHitoshi Mitake	  Source file name and line number where debugging message
48cc18e3cdSHitoshi Mitake	  printed will be added to debugging message.
49cc18e3cdSHitoshi Mitake
50da9bb1d2SAlan Coxconfig EDAC_MM_EDAC
51da9bb1d2SAlan Cox	tristate "Main Memory EDAC (Error Detection And Correction) reporting"
52da9bb1d2SAlan Cox	help
53da9bb1d2SAlan Cox	  Some systems are able to detect and correct errors in main
54da9bb1d2SAlan Cox	  memory.  EDAC can report statistics on memory error
55da9bb1d2SAlan Cox	  detection and correction (EDAC - or commonly referred to ECC
56da9bb1d2SAlan Cox	  errors).  EDAC will also try to decode where these errors
57da9bb1d2SAlan Cox	  occurred so that a particular failing memory module can be
58da9bb1d2SAlan Cox	  replaced.  If unsure, select 'Y'.
59da9bb1d2SAlan Cox
607d6034d3SDoug Thompsonconfig EDAC_AMD64
617d6034d3SDoug Thompson	tristate "AMD64 (Opteron, Athlon64) K8, F10h, F11h"
62b9183f9bSIngo Molnar	depends on EDAC_MM_EDAC && K8_NB && X86_64 && PCI && CPU_SUP_AMD
637d6034d3SDoug Thompson	help
647d6034d3SDoug Thompson	  Support for error detection and correction on the AMD 64
657d6034d3SDoug Thompson	  Families of Memory Controllers (K8, F10h and F11h)
667d6034d3SDoug Thompson
677d6034d3SDoug Thompsonconfig EDAC_AMD64_ERROR_INJECTION
687d6034d3SDoug Thompson	bool "Sysfs Error Injection facilities"
697d6034d3SDoug Thompson	depends on EDAC_AMD64
707d6034d3SDoug Thompson	help
717d6034d3SDoug Thompson	  Recent Opterons (Family 10h and later) provide for Memory Error
727d6034d3SDoug Thompson	  Injection into the ECC detection circuits. The amd64_edac module
737d6034d3SDoug Thompson	  allows the operator/user to inject Uncorrectable and Correctable
747d6034d3SDoug Thompson	  errors into DRAM.
757d6034d3SDoug Thompson
767d6034d3SDoug Thompson	  When enabled, in each of the respective memory controller directories
777d6034d3SDoug Thompson	  (/sys/devices/system/edac/mc/mcX), there are 3 input files:
787d6034d3SDoug Thompson
797d6034d3SDoug Thompson	  - inject_section (0..3, 16-byte section of 64-byte cacheline),
807d6034d3SDoug Thompson	  - inject_word (0..8, 16-bit word of 16-byte section),
817d6034d3SDoug Thompson	  - inject_ecc_vector (hex ecc vector: select bits of inject word)
827d6034d3SDoug Thompson
837d6034d3SDoug Thompson	  In addition, there are two control files, inject_read and inject_write,
847d6034d3SDoug Thompson	  which trigger the DRAM ECC Read and Write respectively.
85da9bb1d2SAlan Cox
86da9bb1d2SAlan Coxconfig EDAC_AMD76X
87da9bb1d2SAlan Cox	tristate "AMD 76x (760, 762, 768)"
8890cbc45bSDave Jones	depends on EDAC_MM_EDAC && PCI && X86_32
89da9bb1d2SAlan Cox	help
90da9bb1d2SAlan Cox	  Support for error detection and correction on the AMD 76x
91da9bb1d2SAlan Cox	  series of chipsets used with the Athlon processor.
92da9bb1d2SAlan Cox
93da9bb1d2SAlan Coxconfig EDAC_E7XXX
94da9bb1d2SAlan Cox	tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
9539f1d8d3SDave Peterson	depends on EDAC_MM_EDAC && PCI && X86_32
96da9bb1d2SAlan Cox	help
97da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
98da9bb1d2SAlan Cox	  E7205, E7500, E7501 and E7505 server chipsets.
99da9bb1d2SAlan Cox
100da9bb1d2SAlan Coxconfig EDAC_E752X
1015135b797SAndrei Konovalov	tristate "Intel e752x (e7520, e7525, e7320) and 3100"
102da960a6aSRandy Dunlap	depends on EDAC_MM_EDAC && PCI && X86 && HOTPLUG
103da9bb1d2SAlan Cox	help
104da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
105da9bb1d2SAlan Cox	  E7520, E7525, E7320 server chipsets.
106da9bb1d2SAlan Cox
1075a2c675cSTim Smallconfig EDAC_I82443BXGX
1085a2c675cSTim Small	tristate "Intel 82443BX/GX (440BX/GX)"
1095a2c675cSTim Small	depends on EDAC_MM_EDAC && PCI && X86_32
11028f96eeaSAndrew Morton	depends on BROKEN
1115a2c675cSTim Small	help
1125a2c675cSTim Small	  Support for error detection and correction on the Intel
1135a2c675cSTim Small	  82443BX/GX memory controllers (440BX/GX chipsets).
1145a2c675cSTim Small
115da9bb1d2SAlan Coxconfig EDAC_I82875P
116da9bb1d2SAlan Cox	tristate "Intel 82875p (D82875P, E7210)"
11739f1d8d3SDave Peterson	depends on EDAC_MM_EDAC && PCI && X86_32
118da9bb1d2SAlan Cox	help
119da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
120da9bb1d2SAlan Cox	  DP82785P and E7210 server chipsets.
121da9bb1d2SAlan Cox
122420390f0SRanganathan Desikanconfig EDAC_I82975X
123420390f0SRanganathan Desikan	tristate "Intel 82975x (D82975x)"
124420390f0SRanganathan Desikan	depends on EDAC_MM_EDAC && PCI && X86
125420390f0SRanganathan Desikan	help
126420390f0SRanganathan Desikan	  Support for error detection and correction on the Intel
127420390f0SRanganathan Desikan	  DP82975x server chipsets.
128420390f0SRanganathan Desikan
129535c6a53SJason Uhlenkottconfig EDAC_I3000
130535c6a53SJason Uhlenkott	tristate "Intel 3000/3010"
131f5c0454cSJason Uhlenkott	depends on EDAC_MM_EDAC && PCI && X86
132535c6a53SJason Uhlenkott	help
133535c6a53SJason Uhlenkott	  Support for error detection and correction on the Intel
134535c6a53SJason Uhlenkott	  3000 and 3010 server chipsets.
135535c6a53SJason Uhlenkott
136df8bc08cSHitoshi Mitakeconfig EDAC_X38
137df8bc08cSHitoshi Mitake	tristate "Intel X38"
138df8bc08cSHitoshi Mitake	depends on EDAC_MM_EDAC && PCI && X86
139df8bc08cSHitoshi Mitake	help
140df8bc08cSHitoshi Mitake	  Support for error detection and correction on the Intel
141df8bc08cSHitoshi Mitake	  X38 server chipsets.
142df8bc08cSHitoshi Mitake
143920c8df6SMauro Carvalho Chehabconfig EDAC_I5400
144920c8df6SMauro Carvalho Chehab	tristate "Intel 5400 (Seaburg) chipsets"
145920c8df6SMauro Carvalho Chehab	depends on EDAC_MM_EDAC && PCI && X86
146920c8df6SMauro Carvalho Chehab	help
147920c8df6SMauro Carvalho Chehab	  Support for error detection and correction the Intel
148920c8df6SMauro Carvalho Chehab	  i5400 MCH chipset (Seaburg).
149920c8df6SMauro Carvalho Chehab
150da9bb1d2SAlan Coxconfig EDAC_I82860
151da9bb1d2SAlan Cox	tristate "Intel 82860"
15239f1d8d3SDave Peterson	depends on EDAC_MM_EDAC && PCI && X86_32
153da9bb1d2SAlan Cox	help
154da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
155da9bb1d2SAlan Cox	  82860 chipset.
156da9bb1d2SAlan Cox
157da9bb1d2SAlan Coxconfig EDAC_R82600
158da9bb1d2SAlan Cox	tristate "Radisys 82600 embedded chipset"
15939f1d8d3SDave Peterson	depends on EDAC_MM_EDAC && PCI && X86_32
160da9bb1d2SAlan Cox	help
161da9bb1d2SAlan Cox	  Support for error detection and correction on the Radisys
162da9bb1d2SAlan Cox	  82600 embedded chipset.
163da9bb1d2SAlan Cox
164eb60705aSEric Wollesenconfig EDAC_I5000
165eb60705aSEric Wollesen	tristate "Intel Greencreek/Blackford chipset"
166eb60705aSEric Wollesen	depends on EDAC_MM_EDAC && X86 && PCI
167eb60705aSEric Wollesen	help
168eb60705aSEric Wollesen	  Support for error detection and correction the Intel
169eb60705aSEric Wollesen	  Greekcreek/Blackford chipsets.
170eb60705aSEric Wollesen
1718f421c59SArthur Jonesconfig EDAC_I5100
1728f421c59SArthur Jones	tristate "Intel San Clemente MCH"
1738f421c59SArthur Jones	depends on EDAC_MM_EDAC && X86 && PCI
1748f421c59SArthur Jones	help
1758f421c59SArthur Jones	  Support for error detection and correction the Intel
1768f421c59SArthur Jones	  San Clemente MCH.
1778f421c59SArthur Jones
178a9a753d5SDave Jiangconfig EDAC_MPC85XX
179*b4846251SIra W. Snyder	tristate "Freescale MPC83xx / MPC85xx"
180*b4846251SIra W. Snyder	depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || MPC85xx)
181a9a753d5SDave Jiang	help
182a9a753d5SDave Jiang	  Support for error detection and correction on the Freescale
183*b4846251SIra W. Snyder	  MPC8349, MPC8560, MPC8540, MPC8548
184a9a753d5SDave Jiang
1854f4aeeabSDave Jiangconfig EDAC_MV64X60
1864f4aeeabSDave Jiang	tristate "Marvell MV64x60"
1874f4aeeabSDave Jiang	depends on EDAC_MM_EDAC && MV64X60
1884f4aeeabSDave Jiang	help
1894f4aeeabSDave Jiang	  Support for error detection and correction on the Marvell
1904f4aeeabSDave Jiang	  MV64360 and MV64460 chipsets.
1914f4aeeabSDave Jiang
1927d8536fbSEgor Martovetskyconfig EDAC_PASEMI
1937d8536fbSEgor Martovetsky	tristate "PA Semi PWRficient"
1947d8536fbSEgor Martovetsky	depends on EDAC_MM_EDAC && PCI
195ddcc3050SDoug Thompson	depends on PPC_PASEMI
1967d8536fbSEgor Martovetsky	help
1977d8536fbSEgor Martovetsky	  Support for error detection and correction on PA Semi
1987d8536fbSEgor Martovetsky	  PWRficient.
1997d8536fbSEgor Martovetsky
20048764e41SBenjamin Herrenschmidtconfig EDAC_CELL
20148764e41SBenjamin Herrenschmidt	tristate "Cell Broadband Engine memory controller"
202def434c2SBenjamin Krill	depends on EDAC_MM_EDAC && PPC_CELL_COMMON
20348764e41SBenjamin Herrenschmidt	help
20448764e41SBenjamin Herrenschmidt	  Support for error detection and correction on the
20548764e41SBenjamin Herrenschmidt	  Cell Broadband Engine internal memory controller
20648764e41SBenjamin Herrenschmidt	  on platform without a hypervisor
2077d8536fbSEgor Martovetsky
208dba7a77cSGrant Ericksonconfig EDAC_PPC4XX
209dba7a77cSGrant Erickson	tristate "PPC4xx IBM DDR2 Memory Controller"
210dba7a77cSGrant Erickson	depends on EDAC_MM_EDAC && 4xx
211dba7a77cSGrant Erickson	help
212dba7a77cSGrant Erickson	  This enables support for EDAC on the ECC memory used
213dba7a77cSGrant Erickson	  with the IBM DDR2 memory controller found in various
214dba7a77cSGrant Erickson	  PowerPC 4xx embedded processors such as the 405EX[r],
215dba7a77cSGrant Erickson	  440SP, 440SPe, 460EX, 460GT and 460SX.
216dba7a77cSGrant Erickson
217e8765584SHarry Ciaoconfig EDAC_AMD8131
218e8765584SHarry Ciao	tristate "AMD8131 HyperTransport PCI-X Tunnel"
219715fe7afSHarry Ciao	depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
220e8765584SHarry Ciao	help
221e8765584SHarry Ciao	  Support for error detection and correction on the
222e8765584SHarry Ciao	  AMD8131 HyperTransport PCI-X Tunnel chip.
223715fe7afSHarry Ciao	  Note, add more Kconfig dependency if it's adopted
224715fe7afSHarry Ciao	  on some machine other than Maple.
225e8765584SHarry Ciao
22658b4ce6fSHarry Ciaoconfig EDAC_AMD8111
22758b4ce6fSHarry Ciao	tristate "AMD8111 HyperTransport I/O Hub"
228715fe7afSHarry Ciao	depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
22958b4ce6fSHarry Ciao	help
23058b4ce6fSHarry Ciao	  Support for error detection and correction on the
23158b4ce6fSHarry Ciao	  AMD8111 HyperTransport I/O Hub chip.
232715fe7afSHarry Ciao	  Note, add more Kconfig dependency if it's adopted
233715fe7afSHarry Ciao	  on some machine other than Maple.
23458b4ce6fSHarry Ciao
2352a9036afSHarry Ciaoconfig EDAC_CPC925
2362a9036afSHarry Ciao	tristate "IBM CPC925 Memory Controller (PPC970FX)"
2372a9036afSHarry Ciao	depends on EDAC_MM_EDAC && PPC64
2382a9036afSHarry Ciao	help
2392a9036afSHarry Ciao	  Support for error detection and correction on the
2402a9036afSHarry Ciao	  IBM CPC925 Bridge and Memory Controller, which is
2412a9036afSHarry Ciao	  a companion chip to the PowerPC 970 family of
2422a9036afSHarry Ciao	  processors.
2432a9036afSHarry Ciao
244751cb5e5SJan Engelhardtendif # EDAC
245