]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/edac/Kconfig
Finally eradicate CONFIG_HOTPLUG
[mirror_ubuntu-zesty-kernel.git] / drivers / edac / Kconfig
CommitLineData
da9bb1d2
AC
1#
2# EDAC Kconfig
4577ca55 3# Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
da9bb1d2
AC
4# Licensed and distributed under the GPL
5#
da9bb1d2 6
54451663
BP
7config EDAC_SUPPORT
8 bool
9
751cb5e5 10menuconfig EDAC
e24aca67 11 bool "EDAC (Error Detection And Correction) reporting"
e25df120 12 depends on HAS_IOMEM
f65aad41 13 depends on X86 || PPC || TILE || ARM || EDAC_SUPPORT
da9bb1d2
AC
14 help
15 EDAC is designed to report errors in the core system.
16 These are low-level errors that are reported in the CPU or
8cb2a398
DT
17 supporting chipset or other subsystems:
18 memory errors, cache errors, PCI errors, thermal throttling, etc..
19 If unsure, select 'Y'.
da9bb1d2 20
57c432b5
TS
21 If this code is reporting problems on your system, please
22 see the EDAC project web pages for more information at:
23
24 <http://bluesmoke.sourceforge.net/>
25
26 and:
27
28 <http://buttersideup.com/edacwiki>
29
30 There is also a mailing list for the EDAC project, which can
31 be found via the sourceforge page.
32
751cb5e5 33if EDAC
da9bb1d2 34
19974710
MCC
35config EDAC_LEGACY_SYSFS
36 bool "EDAC legacy sysfs"
37 default y
38 help
39 Enable the compatibility sysfs nodes.
40 Use 'Y' if your edac utilities aren't ported to work with the newer
41 structures.
42
da9bb1d2
AC
43config EDAC_DEBUG
44 bool "Debugging"
da9bb1d2 45 help
37929874
BP
46 This turns on debugging information for the entire EDAC subsystem.
47 You do so by inserting edac_module with "edac_debug_level=x." Valid
48 levels are 0-4 (from low to high) and by default it is set to 2.
49 Usually you should select 'N' here.
da9bb1d2 50
9cdeb404 51config EDAC_DECODE_MCE
0d18b2e3 52 tristate "Decode MCEs in human-readable form (only on AMD for now)"
168eb34d 53 depends on CPU_SUP_AMD && X86_MCE_AMD
0d18b2e3
BP
54 default y
55 ---help---
56 Enable this option if you want to decode Machine Check Exceptions
25985edc 57 occurring on your machine in human-readable form.
0d18b2e3
BP
58
59 You should definitely say Y here in case you want to decode MCEs
60 which occur really early upon boot, before the module infrastructure
61 has been initialized.
62
9cdeb404
BP
63config EDAC_MCE_INJ
64 tristate "Simple MCE injection interface over /sysfs"
65 depends on EDAC_DECODE_MCE
66 default n
67 help
68 This is a simple interface to inject MCEs over /sysfs and test
69 the MCE decoding code in EDAC.
70
71 This is currently AMD-only.
72
da9bb1d2
AC
73config EDAC_MM_EDAC
74 tristate "Main Memory EDAC (Error Detection And Correction) reporting"
da9bb1d2
AC
75 help
76 Some systems are able to detect and correct errors in main
77 memory. EDAC can report statistics on memory error
78 detection and correction (EDAC - or commonly referred to ECC
79 errors). EDAC will also try to decode where these errors
80 occurred so that a particular failing memory module can be
81 replaced. If unsure, select 'Y'.
82
77c5f5d2
MCC
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
7d6034d3 106config EDAC_AMD64
027dbd6f
BP
107 tristate "AMD64 (Opteron, Athlon64) K8, F10h"
108 depends on EDAC_MM_EDAC && AMD_NB && X86_64 && EDAC_DECODE_MCE
7d6034d3 109 help
027dbd6f
BP
110 Support for error detection and correction of DRAM ECC errors on
111 the AMD64 families of memory controllers (K8 and F10h)
7d6034d3
DT
112
113config EDAC_AMD64_ERROR_INJECTION
9cdeb404 114 bool "Sysfs HW Error injection facilities"
7d6034d3
DT
115 depends on EDAC_AMD64
116 help
117 Recent Opterons (Family 10h and later) provide for Memory Error
118 Injection into the ECC detection circuits. The amd64_edac module
119 allows the operator/user to inject Uncorrectable and Correctable
120 errors into DRAM.
121
122 When enabled, in each of the respective memory controller directories
123 (/sys/devices/system/edac/mc/mcX), there are 3 input files:
124
125 - inject_section (0..3, 16-byte section of 64-byte cacheline),
126 - inject_word (0..8, 16-bit word of 16-byte section),
127 - inject_ecc_vector (hex ecc vector: select bits of inject word)
128
129 In addition, there are two control files, inject_read and inject_write,
130 which trigger the DRAM ECC Read and Write respectively.
da9bb1d2
AC
131
132config EDAC_AMD76X
133 tristate "AMD 76x (760, 762, 768)"
90cbc45b 134 depends on EDAC_MM_EDAC && PCI && X86_32
da9bb1d2
AC
135 help
136 Support for error detection and correction on the AMD 76x
137 series of chipsets used with the Athlon processor.
138
139config EDAC_E7XXX
140 tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
39f1d8d3 141 depends on EDAC_MM_EDAC && PCI && X86_32
da9bb1d2
AC
142 help
143 Support for error detection and correction on the Intel
144 E7205, E7500, E7501 and E7505 server chipsets.
145
146config EDAC_E752X
5135b797 147 tristate "Intel e752x (e7520, e7525, e7320) and 3100"
40b31360 148 depends on EDAC_MM_EDAC && PCI && X86
da9bb1d2
AC
149 help
150 Support for error detection and correction on the Intel
151 E7520, E7525, E7320 server chipsets.
152
5a2c675c
TS
153config EDAC_I82443BXGX
154 tristate "Intel 82443BX/GX (440BX/GX)"
155 depends on EDAC_MM_EDAC && PCI && X86_32
28f96eea 156 depends on BROKEN
5a2c675c
TS
157 help
158 Support for error detection and correction on the Intel
159 82443BX/GX memory controllers (440BX/GX chipsets).
160
da9bb1d2
AC
161config EDAC_I82875P
162 tristate "Intel 82875p (D82875P, E7210)"
39f1d8d3 163 depends on EDAC_MM_EDAC && PCI && X86_32
da9bb1d2
AC
164 help
165 Support for error detection and correction on the Intel
166 DP82785P and E7210 server chipsets.
167
420390f0
RD
168config EDAC_I82975X
169 tristate "Intel 82975x (D82975x)"
170 depends on EDAC_MM_EDAC && PCI && X86
171 help
172 Support for error detection and correction on the Intel
173 DP82975x server chipsets.
174
535c6a53
JU
175config EDAC_I3000
176 tristate "Intel 3000/3010"
f5c0454c 177 depends on EDAC_MM_EDAC && PCI && X86
535c6a53
JU
178 help
179 Support for error detection and correction on the Intel
180 3000 and 3010 server chipsets.
181
dd8ef1db
JU
182config EDAC_I3200
183 tristate "Intel 3200"
053417a5 184 depends on EDAC_MM_EDAC && PCI && X86
dd8ef1db
JU
185 help
186 Support for error detection and correction on the Intel
187 3200 and 3210 server chipsets.
188
df8bc08c
HM
189config EDAC_X38
190 tristate "Intel X38"
191 depends on EDAC_MM_EDAC && PCI && X86
192 help
193 Support for error detection and correction on the Intel
194 X38 server chipsets.
195
920c8df6
MCC
196config EDAC_I5400
197 tristate "Intel 5400 (Seaburg) chipsets"
198 depends on EDAC_MM_EDAC && PCI && X86
199 help
200 Support for error detection and correction the Intel
201 i5400 MCH chipset (Seaburg).
202
a0c36a1f
MCC
203config EDAC_I7CORE
204 tristate "Intel i7 Core (Nehalem) processors"
168eb34d 205 depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
a0c36a1f
MCC
206 help
207 Support for error detection and correction the Intel
696e409d
MCC
208 i7 Core (Nehalem) Integrated Memory Controller that exists on
209 newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
210 and Xeon 55xx processors.
a0c36a1f 211
da9bb1d2
AC
212config EDAC_I82860
213 tristate "Intel 82860"
39f1d8d3 214 depends on EDAC_MM_EDAC && PCI && X86_32
da9bb1d2
AC
215 help
216 Support for error detection and correction on the Intel
217 82860 chipset.
218
219config EDAC_R82600
220 tristate "Radisys 82600 embedded chipset"
39f1d8d3 221 depends on EDAC_MM_EDAC && PCI && X86_32
da9bb1d2
AC
222 help
223 Support for error detection and correction on the Radisys
224 82600 embedded chipset.
225
eb60705a
EW
226config EDAC_I5000
227 tristate "Intel Greencreek/Blackford chipset"
228 depends on EDAC_MM_EDAC && X86 && PCI
229 help
230 Support for error detection and correction the Intel
231 Greekcreek/Blackford chipsets.
232
8f421c59
AJ
233config EDAC_I5100
234 tristate "Intel San Clemente MCH"
235 depends on EDAC_MM_EDAC && X86 && PCI
236 help
237 Support for error detection and correction the Intel
238 San Clemente MCH.
239
fcaf780b
MCC
240config EDAC_I7300
241 tristate "Intel Clarksboro MCH"
242 depends on EDAC_MM_EDAC && X86 && PCI
243 help
244 Support for error detection and correction the Intel
245 Clarksboro MCH (Intel 7300 chipset).
246
3d78c9af
MCC
247config EDAC_SBRIDGE
248 tristate "Intel Sandy-Bridge Integrated MC"
22a5c27b 249 depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
053417a5 250 depends on PCI_MMCONFIG
3d78c9af
MCC
251 help
252 Support for error detection and correction the Intel
253 Sandy Bridge Integrated Memory Controller.
254
a9a753d5 255config EDAC_MPC85XX
b4846251 256 tristate "Freescale MPC83xx / MPC85xx"
1cd8521e 257 depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || PPC_85xx)
a9a753d5
DJ
258 help
259 Support for error detection and correction on the Freescale
b4846251 260 MPC8349, MPC8560, MPC8540, MPC8548
a9a753d5 261
4f4aeeab
DJ
262config EDAC_MV64X60
263 tristate "Marvell MV64x60"
264 depends on EDAC_MM_EDAC && MV64X60
265 help
266 Support for error detection and correction on the Marvell
267 MV64360 and MV64460 chipsets.
268
7d8536fb
EM
269config EDAC_PASEMI
270 tristate "PA Semi PWRficient"
271 depends on EDAC_MM_EDAC && PCI
ddcc3050 272 depends on PPC_PASEMI
7d8536fb
EM
273 help
274 Support for error detection and correction on PA Semi
275 PWRficient.
276
48764e41
BH
277config EDAC_CELL
278 tristate "Cell Broadband Engine memory controller"
def434c2 279 depends on EDAC_MM_EDAC && PPC_CELL_COMMON
48764e41
BH
280 help
281 Support for error detection and correction on the
282 Cell Broadband Engine internal memory controller
283 on platform without a hypervisor
7d8536fb 284
dba7a77c
GE
285config EDAC_PPC4XX
286 tristate "PPC4xx IBM DDR2 Memory Controller"
287 depends on EDAC_MM_EDAC && 4xx
288 help
289 This enables support for EDAC on the ECC memory used
290 with the IBM DDR2 memory controller found in various
291 PowerPC 4xx embedded processors such as the 405EX[r],
292 440SP, 440SPe, 460EX, 460GT and 460SX.
293
e8765584
HC
294config EDAC_AMD8131
295 tristate "AMD8131 HyperTransport PCI-X Tunnel"
715fe7af 296 depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
e8765584
HC
297 help
298 Support for error detection and correction on the
299 AMD8131 HyperTransport PCI-X Tunnel chip.
715fe7af
HC
300 Note, add more Kconfig dependency if it's adopted
301 on some machine other than Maple.
e8765584 302
58b4ce6f
HC
303config EDAC_AMD8111
304 tristate "AMD8111 HyperTransport I/O Hub"
715fe7af 305 depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
58b4ce6f
HC
306 help
307 Support for error detection and correction on the
308 AMD8111 HyperTransport I/O Hub chip.
715fe7af
HC
309 Note, add more Kconfig dependency if it's adopted
310 on some machine other than Maple.
58b4ce6f 311
2a9036af
HC
312config EDAC_CPC925
313 tristate "IBM CPC925 Memory Controller (PPC970FX)"
314 depends on EDAC_MM_EDAC && PPC64
315 help
316 Support for error detection and correction on the
317 IBM CPC925 Bridge and Memory Controller, which is
318 a companion chip to the PowerPC 970 family of
319 processors.
320
5c770755
CM
321config EDAC_TILE
322 tristate "Tilera Memory Controller"
323 depends on EDAC_MM_EDAC && TILE
324 default y
325 help
326 Support for error detection and correction on the
327 Tilera memory controller.
328
a1b01edb
RH
329config EDAC_HIGHBANK_MC
330 tristate "Highbank Memory Controller"
331 depends on EDAC_MM_EDAC && ARCH_HIGHBANK
332 help
333 Support for error detection and correction on the
334 Calxeda Highbank memory controller.
335
69154d06
RH
336config EDAC_HIGHBANK_L2
337 tristate "Highbank L2 Cache"
338 depends on EDAC_MM_EDAC && ARCH_HIGHBANK
339 help
340 Support for error detection and correction on the
341 Calxeda Highbank memory controller.
342
f65aad41
RB
343config EDAC_OCTEON_PC
344 tristate "Cavium Octeon Primary Caches"
345 depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
346 help
347 Support for error detection and correction on the primary caches of
348 the cnMIPS cores of Cavium Octeon family SOCs.
349
350config EDAC_OCTEON_L2C
351 tristate "Cavium Octeon Secondary Caches (L2C)"
352 depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
353 help
354 Support for error detection and correction on the
355 Cavium Octeon family of SOCs.
356
357config EDAC_OCTEON_LMC
358 tristate "Cavium Octeon DRAM Memory Controller (LMC)"
359 depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON
360 help
361 Support for error detection and correction on the
362 Cavium Octeon family of SOCs.
363
364config EDAC_OCTEON_PCI
365 tristate "Cavium Octeon PCI Controller"
366 depends on EDAC_MM_EDAC && PCI && CPU_CAVIUM_OCTEON
367 help
368 Support for error detection and correction on the
369 Cavium Octeon family of SOCs.
370
751cb5e5 371endif # EDAC