Kconfig 13.3 KB
Newer Older
1 2
#
#	EDAC Kconfig
3
#	Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
4
#	Licensed and distributed under the GPL
5 6 7

config EDAC_ATOMIC_SCRUB
	bool
8

9 10 11
config EDAC_SUPPORT
	bool

12
menuconfig EDAC
13 14
	tristate "EDAC (Error Detection And Correction) reporting"
	depends on HAS_IOMEM && EDAC_SUPPORT && RAS
15
	help
16 17 18
	  EDAC is a subsystem along with hardware-specific drivers designed to
	  report hardware errors. These are low-level errors that are reported
	  in the CPU or supporting chipset or other subsystems:
19 20
	  memory errors, cache errors, PCI errors, thermal throttling, etc..
	  If unsure, select 'Y'.
21

22
	  The mailing list for the EDAC project is linux-edac@vger.kernel.org.
23

24
if EDAC
25

26 27 28 29 30 31 32 33
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.

34 35
config EDAC_DEBUG
	bool "Debugging"
Borislav Petkov's avatar
Borislav Petkov committed
36
	select DEBUG_FS
37
	help
38 39 40 41
	  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.
42

43
config EDAC_DECODE_MCE
44
	tristate "Decode MCEs in human-readable form (only on AMD for now)"
45
	depends on CPU_SUP_AMD && X86_MCE_AMD
46 47 48
	default y
	---help---
	  Enable this option if you want to decode Machine Check Exceptions
Lucas De Marchi's avatar
Lucas De Marchi committed
49
	  occurring on your machine in human-readable form.
50 51 52 53 54

	  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.

55 56
config EDAC_GHES
	bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
57
	depends on ACPI_APEI_GHES && (EDAC=y)
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
	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'.

77
config EDAC_AMD64
78
	tristate "AMD64 (Opteron, Athlon64)"
79
	depends on AMD_NB && EDAC_DECODE_MCE
80
	help
81
	  Support for error detection and correction of DRAM ECC errors on
82
	  the AMD64 families (>= K8) of memory controllers.
83 84

config EDAC_AMD64_ERROR_INJECTION
85
	bool "Sysfs HW Error injection facilities"
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
	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.
102 103 104

config EDAC_AMD76X
	tristate "AMD 76x (760, 762, 768)"
105
	depends on PCI && X86_32
106 107 108 109 110 111
	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)"
112
	depends on PCI && X86_32
113 114 115 116 117
	help
	  Support for error detection and correction on the Intel
	  E7205, E7500, E7501 and E7505 server chipsets.

config EDAC_E752X
118
	tristate "Intel e752x (e7520, e7525, e7320) and 3100"
119
	depends on PCI && X86
120 121 122 123
	help
	  Support for error detection and correction on the Intel
	  E7520, E7525, E7320 server chipsets.

124 125
config EDAC_I82443BXGX
	tristate "Intel 82443BX/GX (440BX/GX)"
126
	depends on PCI && X86_32
127
	depends on BROKEN
128 129 130 131
	help
	  Support for error detection and correction on the Intel
	  82443BX/GX memory controllers (440BX/GX chipsets).

132 133
config EDAC_I82875P
	tristate "Intel 82875p (D82875P, E7210)"
134
	depends on PCI && X86_32
135 136 137 138
	help
	  Support for error detection and correction on the Intel
	  DP82785P and E7210 server chipsets.

139 140
config EDAC_I82975X
	tristate "Intel 82975x (D82975x)"
141
	depends on PCI && X86
142 143 144 145
	help
	  Support for error detection and correction on the Intel
	  DP82975x server chipsets.

146 147
config EDAC_I3000
	tristate "Intel 3000/3010"
148
	depends on PCI && X86
149 150 151 152
	help
	  Support for error detection and correction on the Intel
	  3000 and 3010 server chipsets.

153 154
config EDAC_I3200
	tristate "Intel 3200"
155
	depends on PCI && X86
156 157 158 159
	help
	  Support for error detection and correction on the Intel
	  3200 and 3210 server chipsets.

160 161
config EDAC_IE31200
	tristate "Intel e312xx"
162
	depends on PCI && X86
163 164 165 166
	help
	  Support for error detection and correction on the Intel
	  E3-1200 based DRAM controllers.

167 168
config EDAC_X38
	tristate "Intel X38"
169
	depends on PCI && X86
170 171 172 173
	help
	  Support for error detection and correction on the Intel
	  X38 server chipsets.

174 175
config EDAC_I5400
	tristate "Intel 5400 (Seaburg) chipsets"
176
	depends on PCI && X86
177 178 179 180
	help
	  Support for error detection and correction the Intel
	  i5400 MCH chipset (Seaburg).

181 182
config EDAC_I7CORE
	tristate "Intel i7 Core (Nehalem) processors"
183
	depends on PCI && X86 && X86_MCE_INTEL
184 185
	help
	  Support for error detection and correction the Intel
186 187 188
	  i7 Core (Nehalem) Integrated Memory Controller that exists on
	  newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
	  and Xeon 55xx processors.
189

190 191
config EDAC_I82860
	tristate "Intel 82860"
192
	depends on PCI && X86_32
193 194 195 196 197 198
	help
	  Support for error detection and correction on the Intel
	  82860 chipset.

config EDAC_R82600
	tristate "Radisys 82600 embedded chipset"
199
	depends on PCI && X86_32
200 201 202 203
	help
	  Support for error detection and correction on the Radisys
	  82600 embedded chipset.

204 205
config EDAC_I5000
	tristate "Intel Greencreek/Blackford chipset"
206
	depends on X86 && PCI
207 208 209 210
	help
	  Support for error detection and correction the Intel
	  Greekcreek/Blackford chipsets.

211 212
config EDAC_I5100
	tristate "Intel San Clemente MCH"
213
	depends on X86 && PCI
214 215 216 217
	help
	  Support for error detection and correction the Intel
	  San Clemente MCH.

218 219
config EDAC_I7300
	tristate "Intel Clarksboro MCH"
220
	depends on X86 && PCI
221 222 223 224
	help
	  Support for error detection and correction the Intel
	  Clarksboro MCH (Intel 7300 chipset).

225
config EDAC_SBRIDGE
226
	tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
227
	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
228 229
	help
	  Support for error detection and correction the Intel
230
	  Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
231

232 233
config EDAC_SKX
	tristate "Intel Skylake server Integrated MC"
234
	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
235 236 237 238
	help
	  Support for error detection and correction the Intel
	  Skylake server Integrated Memory Controllers.

239 240
config EDAC_PND2
	tristate "Intel Pondicherry2"
241
	depends on PCI && X86_64 && X86_MCE_INTEL
242 243 244 245 246 247
	help
	  Support for error detection and correction on the Intel
	  Pondicherry2 Integrated Memory Controller. This SoC IP is
	  first used on the Apollo Lake platform and Denverton
	  micro-server but may appear on others in the future.

248
config EDAC_MPC85XX
249
	tristate "Freescale MPC83xx / MPC85xx"
250
	depends on FSL_SOC
251 252
	help
	  Support for error detection and correction on the Freescale
253
	  MPC8349, MPC8560, MPC8540, MPC8548, T4240
254

255 256
config EDAC_LAYERSCAPE
	tristate "Freescale Layerscape DDR"
257
	depends on ARCH_LAYERSCAPE
258 259 260 261
	help
	  Support for error detection and correction on Freescale memory
	  controllers on Layerscape SoCs.

262 263
config EDAC_MV64X60
	tristate "Marvell MV64x60"
264
	depends on MV64X60
265 266 267 268
	help
	  Support for error detection and correction on the Marvell
	  MV64360 and MV64460 chipsets.

269 270
config EDAC_PASEMI
	tristate "PA Semi PWRficient"
271
	depends on PPC_PASEMI && PCI
272 273 274 275
	help
	  Support for error detection and correction on PA Semi
	  PWRficient.

276 277
config EDAC_CELL
	tristate "Cell Broadband Engine memory controller"
278
	depends on PPC_CELL_COMMON
279 280 281 282
	help
	  Support for error detection and correction on the
	  Cell Broadband Engine internal memory controller
	  on platform without a hypervisor
283

284 285
config EDAC_PPC4XX
	tristate "PPC4xx IBM DDR2 Memory Controller"
286
	depends on 4xx
287 288 289 290 291 292
	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.

293 294
config EDAC_AMD8131
	tristate "AMD8131 HyperTransport PCI-X Tunnel"
295
	depends on PCI && PPC_MAPLE
296 297 298
	help
	  Support for error detection and correction on the
	  AMD8131 HyperTransport PCI-X Tunnel chip.
299 300
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.
301

302 303
config EDAC_AMD8111
	tristate "AMD8111 HyperTransport I/O Hub"
304
	depends on PCI && PPC_MAPLE
305 306 307
	help
	  Support for error detection and correction on the
	  AMD8111 HyperTransport I/O Hub chip.
308 309
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.
310

311 312
config EDAC_CPC925
	tristate "IBM CPC925 Memory Controller (PPC970FX)"
313
	depends on PPC64
314 315 316 317 318 319
	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.

320 321
config EDAC_TILE
	tristate "Tilera Memory Controller"
322
	depends on TILE
323 324 325 326 327
	default y
	help
	  Support for error detection and correction on the
	  Tilera memory controller.

328 329
config EDAC_HIGHBANK_MC
	tristate "Highbank Memory Controller"
330
	depends on ARCH_HIGHBANK
331 332 333 334
	help
	  Support for error detection and correction on the
	  Calxeda Highbank memory controller.

335 336
config EDAC_HIGHBANK_L2
	tristate "Highbank L2 Cache"
337
	depends on ARCH_HIGHBANK
338 339 340 341
	help
	  Support for error detection and correction on the
	  Calxeda Highbank memory controller.

342 343
config EDAC_OCTEON_PC
	tristate "Cavium Octeon Primary Caches"
344
	depends on CPU_CAVIUM_OCTEON
345 346 347 348 349 350
	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)"
351
	depends on CAVIUM_OCTEON_SOC
352 353 354 355 356 357
	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)"
358
	depends on CAVIUM_OCTEON_SOC
359 360 361 362 363 364
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

config EDAC_OCTEON_PCI
	tristate "Cavium Octeon PCI Controller"
365
	depends on PCI && CAVIUM_OCTEON_SOC
366 367 368 369
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

370 371 372 373 374 375 376 377 378 379
config EDAC_THUNDERX
	tristate "Cavium ThunderX EDAC"
	depends on ARM64
	depends on PCI
	help
	  Support for error detection and correction on the
	  Cavium ThunderX memory controllers (LMC), Cache
	  Coherent Processor Interconnect (CCPI) and L2 cache
	  blocks (TAD, CBC, MCI).

380 381
config EDAC_ALTERA
	bool "Altera SOCFPGA ECC"
382
	depends on EDAC=y && ARCH_SOCFPGA
383 384
	help
	  Support for error detection and correction on the
385 386 387 388 389 390
	  Altera SOCs. This must be selected for SDRAM ECC.
	  Note that the preloader must initialize the SDRAM
	  before loading the kernel.

config EDAC_ALTERA_L2C
	bool "Altera L2 Cache ECC"
391
	depends on EDAC_ALTERA=y && CACHE_L2X0
392 393 394
	help
	  Support for error detection and correction on the
	  Altera L2 cache Memory for Altera SoCs. This option
395
	  requires L2 cache.
396 397 398 399 400 401 402

config EDAC_ALTERA_OCRAM
	bool "Altera On-Chip RAM ECC"
	depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
	help
	  Support for error detection and correction on the
	  Altera On-Chip RAM Memory for Altera SoCs.
403

404 405 406 407 408 409 410
config EDAC_ALTERA_ETHERNET
	bool "Altera Ethernet FIFO ECC"
	depends on EDAC_ALTERA=y
	help
	  Support for error detection and correction on the
	  Altera Ethernet FIFO Memory for Altera SoCs.

411 412 413 414 415 416 417
config EDAC_ALTERA_NAND
	bool "Altera NAND FIFO ECC"
	depends on EDAC_ALTERA=y && MTD_NAND_DENALI
	help
	  Support for error detection and correction on the
	  Altera NAND FIFO Memory for Altera SoCs.

418 419 420 421 422 423 424
config EDAC_ALTERA_DMA
	bool "Altera DMA FIFO ECC"
	depends on EDAC_ALTERA=y && PL330_DMA=y
	help
	  Support for error detection and correction on the
	  Altera DMA FIFO Memory for Altera SoCs.

425 426 427 428 429 430 431
config EDAC_ALTERA_USB
	bool "Altera USB FIFO ECC"
	depends on EDAC_ALTERA=y && USB_DWC2
	help
	  Support for error detection and correction on the
	  Altera USB FIFO Memory for Altera SoCs.

432 433 434 435 436 437 438
config EDAC_ALTERA_QSPI
	bool "Altera QSPI FIFO ECC"
	depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
	help
	  Support for error detection and correction on the
	  Altera QSPI FIFO Memory for Altera SoCs.

439 440 441 442 443 444 445
config EDAC_ALTERA_SDMMC
	bool "Altera SDMMC FIFO ECC"
	depends on EDAC_ALTERA=y && MMC_DW
	help
	  Support for error detection and correction on the
	  Altera SDMMC FIFO Memory for Altera SoCs.

446 447
config EDAC_SYNOPSYS
	tristate "Synopsys DDR Memory Controller"
448
	depends on ARCH_ZYNQ
449 450 451 452
	help
	  Support for error detection and correction on the Synopsys DDR
	  memory controller.

453 454
config EDAC_XGENE
	tristate "APM X-Gene SoC"
455
	depends on (ARM64 || COMPILE_TEST)
456 457 458 459
	help
	  Support for error detection and correction on the
	  APM X-Gene family of SOCs.

460
endif # EDAC