Kconfig 12.1 KB
Newer Older
A
Alan Cox 已提交
1 2
#
#	EDAC Kconfig
3
#	Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
A
Alan Cox 已提交
4
#	Licensed and distributed under the GPL
5 6 7

config EDAC_ATOMIC_SCRUB
	bool
A
Alan Cox 已提交
8

B
Borislav Petkov 已提交
9 10 11
config EDAC_SUPPORT
	bool

12
menuconfig EDAC
13
	bool "EDAC (Error Detection And Correction) reporting"
14
	depends on HAS_IOMEM && EDAC_SUPPORT
A
Alan Cox 已提交
15 16 17
	help
	  EDAC is designed to report errors in the core system.
	  These are low-level errors that are reported in the CPU or
18 19 20
	  supporting chipset or other subsystems:
	  memory errors, cache errors, PCI errors, thermal throttling, etc..
	  If unsure, select 'Y'.
A
Alan Cox 已提交
21

T
Tim Small 已提交
22 23 24 25 26 27 28 29 30 31 32 33
	  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.

34
if EDAC
A
Alan Cox 已提交
35

36 37 38 39 40 41 42 43
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.

A
Alan Cox 已提交
44 45 46
config EDAC_DEBUG
	bool "Debugging"
	help
47 48 49 50
	  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.
A
Alan Cox 已提交
51

B
Borislav Petkov 已提交
52
config EDAC_DECODE_MCE
53
	tristate "Decode MCEs in human-readable form (only on AMD for now)"
54
	depends on CPU_SUP_AMD && X86_MCE_AMD
55 56 57
	default y
	---help---
	  Enable this option if you want to decode Machine Check Exceptions
L
Lucas De Marchi 已提交
58
	  occurring on your machine in human-readable form.
59 60 61 62 63

	  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.

B
Borislav Petkov 已提交
64
config EDAC_MCE_INJ
65 66
	tristate "Simple MCE injection interface"
	depends on EDAC_DECODE_MCE && DEBUG_FS
B
Borislav Petkov 已提交
67 68
	default n
	help
69 70
	  This is a simple debugfs interface to inject MCEs and test different
	  aspects of the MCE handling code.
B
Borislav Petkov 已提交
71

72
	  WARNING: Do not even assume this interface is staying stable!
B
Borislav Petkov 已提交
73

A
Alan Cox 已提交
74 75
config EDAC_MM_EDAC
	tristate "Main Memory EDAC (Error Detection And Correction) reporting"
76
	select RAS
A
Alan Cox 已提交
77 78 79 80 81 82 83 84
	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'.

85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
config EDAC_GHES
	bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
	depends on ACPI_APEI_GHES && (EDAC_MM_EDAC=y)
	default y
	help
	  Not all machines support hardware-driven error report. Some of those
	  provide a BIOS-driven error report mechanism via ACPI, using the
	  APEI/GHES driver. By enabling this option, the error reports provided
	  by GHES are sent to userspace via the EDAC API.

	  When this option is enabled, it will disable the hardware-driven
	  mechanisms, if a GHES BIOS is detected, entering into the
	  "Firmware First" mode.

	  It should be noticed that keeping both GHES and a hardware-driven
	  error mechanism won't work well, as BIOS will race with OS, while
	  reading the error registers. So, if you want to not use "Firmware
	  first" GHES error mechanism, you should disable GHES either at
	  compilation time or by passing "ghes.disable=1" Kernel parameter
	  at boot time.

	  In doubt, say 'Y'.

108
config EDAC_AMD64
T
Tomasz Pala 已提交
109 110
	tristate "AMD64 (Opteron, Athlon64)"
	depends on EDAC_MM_EDAC && AMD_NB && EDAC_DECODE_MCE
111
	help
112
	  Support for error detection and correction of DRAM ECC errors on
T
Tomasz Pala 已提交
113
	  the AMD64 families (>= K8) of memory controllers.
114 115

config EDAC_AMD64_ERROR_INJECTION
B
Borislav Petkov 已提交
116
	bool "Sysfs HW Error injection facilities"
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
	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.
A
Alan Cox 已提交
133 134 135

config EDAC_AMD76X
	tristate "AMD 76x (760, 762, 768)"
D
Dave Jones 已提交
136
	depends on EDAC_MM_EDAC && PCI && X86_32
A
Alan Cox 已提交
137 138 139 140 141 142
	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)"
143
	depends on EDAC_MM_EDAC && PCI && X86_32
A
Alan Cox 已提交
144 145 146 147 148
	help
	  Support for error detection and correction on the Intel
	  E7205, E7500, E7501 and E7505 server chipsets.

config EDAC_E752X
149
	tristate "Intel e752x (e7520, e7525, e7320) and 3100"
150
	depends on EDAC_MM_EDAC && PCI && X86
A
Alan Cox 已提交
151 152 153 154
	help
	  Support for error detection and correction on the Intel
	  E7520, E7525, E7320 server chipsets.

155 156 157
config EDAC_I82443BXGX
	tristate "Intel 82443BX/GX (440BX/GX)"
	depends on EDAC_MM_EDAC && PCI && X86_32
158
	depends on BROKEN
159 160 161 162
	help
	  Support for error detection and correction on the Intel
	  82443BX/GX memory controllers (440BX/GX chipsets).

A
Alan Cox 已提交
163 164
config EDAC_I82875P
	tristate "Intel 82875p (D82875P, E7210)"
165
	depends on EDAC_MM_EDAC && PCI && X86_32
A
Alan Cox 已提交
166 167 168 169
	help
	  Support for error detection and correction on the Intel
	  DP82785P and E7210 server chipsets.

170 171 172 173 174 175 176
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.

177 178
config EDAC_I3000
	tristate "Intel 3000/3010"
179
	depends on EDAC_MM_EDAC && PCI && X86
180 181 182 183
	help
	  Support for error detection and correction on the Intel
	  3000 and 3010 server chipsets.

184 185
config EDAC_I3200
	tristate "Intel 3200"
186
	depends on EDAC_MM_EDAC && PCI && X86
187 188 189 190
	help
	  Support for error detection and correction on the Intel
	  3200 and 3210 server chipsets.

J
Jason Baron 已提交
191 192 193 194 195 196 197
config EDAC_IE31200
	tristate "Intel e312xx"
	depends on EDAC_MM_EDAC && PCI && X86
	help
	  Support for error detection and correction on the Intel
	  E3-1200 based DRAM controllers.

H
Hitoshi Mitake 已提交
198 199 200 201 202 203 204
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.

205 206 207 208 209 210 211
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).

212 213
config EDAC_I7CORE
	tristate "Intel i7 Core (Nehalem) processors"
214
	depends on EDAC_MM_EDAC && PCI && X86 && X86_MCE_INTEL
215 216
	help
	  Support for error detection and correction the Intel
217 218 219
	  i7 Core (Nehalem) Integrated Memory Controller that exists on
	  newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
	  and Xeon 55xx processors.
220

A
Alan Cox 已提交
221 222
config EDAC_I82860
	tristate "Intel 82860"
223
	depends on EDAC_MM_EDAC && PCI && X86_32
A
Alan Cox 已提交
224 225 226 227 228 229
	help
	  Support for error detection and correction on the Intel
	  82860 chipset.

config EDAC_R82600
	tristate "Radisys 82600 embedded chipset"
230
	depends on EDAC_MM_EDAC && PCI && X86_32
A
Alan Cox 已提交
231 232 233 234
	help
	  Support for error detection and correction on the Radisys
	  82600 embedded chipset.

235 236 237 238 239 240 241
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.

242 243 244 245 246 247 248
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.

249 250 251 252 253 254 255
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).

256
config EDAC_SBRIDGE
257
	tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
258
	depends on EDAC_MM_EDAC && PCI && X86_64 && X86_MCE_INTEL
259
	depends on PCI_MMCONFIG
260 261
	help
	  Support for error detection and correction the Intel
262
	  Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
263

264
config EDAC_MPC85XX
265
	tristate "Freescale MPC83xx / MPC85xx"
266
	depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || PPC_85xx)
267 268
	help
	  Support for error detection and correction on the Freescale
269
	  MPC8349, MPC8560, MPC8540, MPC8548
270

271 272 273 274 275 276 277
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.

278 279 280
config EDAC_PASEMI
	tristate "PA Semi PWRficient"
	depends on EDAC_MM_EDAC && PCI
281
	depends on PPC_PASEMI
282 283 284 285
	help
	  Support for error detection and correction on PA Semi
	  PWRficient.

286 287
config EDAC_CELL
	tristate "Cell Broadband Engine memory controller"
288
	depends on EDAC_MM_EDAC && PPC_CELL_COMMON
289 290 291 292
	help
	  Support for error detection and correction on the
	  Cell Broadband Engine internal memory controller
	  on platform without a hypervisor
293

G
Grant Erickson 已提交
294 295 296 297 298 299 300 301 302
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.

303 304
config EDAC_AMD8131
	tristate "AMD8131 HyperTransport PCI-X Tunnel"
305
	depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
306 307 308
	help
	  Support for error detection and correction on the
	  AMD8131 HyperTransport PCI-X Tunnel chip.
309 310
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.
311

312 313
config EDAC_AMD8111
	tristate "AMD8111 HyperTransport I/O Hub"
314
	depends on EDAC_MM_EDAC && PCI && PPC_MAPLE
315 316 317
	help
	  Support for error detection and correction on the
	  AMD8111 HyperTransport I/O Hub chip.
318 319
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.
320

321 322 323 324 325 326 327 328 329
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.

330 331 332 333 334 335 336 337
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.

338 339 340 341 342 343 344
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.

345 346 347 348 349 350 351
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.

R
Ralf Baechle 已提交
352 353 354 355 356 357 358 359 360
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)"
361
	depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
R
Ralf Baechle 已提交
362 363 364 365 366 367
	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)"
368
	depends on EDAC_MM_EDAC && CAVIUM_OCTEON_SOC
R
Ralf Baechle 已提交
369 370 371 372 373 374
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

config EDAC_OCTEON_PCI
	tristate "Cavium Octeon PCI Controller"
375
	depends on EDAC_MM_EDAC && PCI && CAVIUM_OCTEON_SOC
R
Ralf Baechle 已提交
376 377 378 379
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

380
config EDAC_ALTERA_MC
381 382
	bool "Altera SDRAM Memory Controller EDAC"
	depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA
383 384 385 386 387 388
	help
	  Support for error detection and correction on the
	  Altera SDRAM memory controller. Note that the
	  preloader must initialize the SDRAM before loading
	  the kernel.

389 390 391 392 393 394 395
config EDAC_SYNOPSYS
	tristate "Synopsys DDR Memory Controller"
	depends on EDAC_MM_EDAC && ARCH_ZYNQ
	help
	  Support for error detection and correction on the Synopsys DDR
	  memory controller.

396
endif # EDAC