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