Kconfig 16.2 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
B
Borislav Petkov 已提交
13 14
	tristate "EDAC (Error Detection And Correction) reporting"
	depends on HAS_IOMEM && EDAC_SUPPORT && RAS
A
Alan Cox 已提交
15
	help
B
Borislav Petkov 已提交
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'.
A
Alan Cox 已提交
21

B
Borislav Petkov 已提交
22
	  The mailing list for the EDAC project is linux-edac@vger.kernel.org.
T
Tim Small 已提交
23

24
if EDAC
A
Alan Cox 已提交
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.

A
Alan Cox 已提交
34 35
config EDAC_DEBUG
	bool "Debugging"
B
Borislav Petkov 已提交
36
	select DEBUG_FS
A
Alan Cox 已提交
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.
A
Alan Cox 已提交
42

B
Borislav Petkov 已提交
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
	default y
47
	help
48
	  Enable this option if you want to decode Machine Check Exceptions
L
Lucas De Marchi 已提交
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"
B
Borislav Petkov 已提交
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
T
Tomasz Pala 已提交
78
	tristate "AMD64 (Opteron, Athlon64)"
B
Borislav Petkov 已提交
79
	depends on AMD_NB && EDAC_DECODE_MCE
80
	help
81
	  Support for error detection and correction of DRAM ECC errors on
T
Tomasz Pala 已提交
82
	  the AMD64 families (>= K8) of memory controllers.
83

84 85 86
	  When EDAC_DEBUG is enabled, hardware error injection facilities
	  through sysfs are available:

87 88 89 90
	  AMD CPUs up to and excluding family 0x17 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.
91 92 93 94 95 96 97 98 99 100

	  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 已提交
101

102 103 104 105 106 107 108
config EDAC_AL_MC
	tristate "Amazon's Annapurna Lab Memory Controller"
	depends on (ARCH_ALPINE || COMPILE_TEST)
	help
	  Support for error detection and correction for Amazon's Annapurna
	  Labs Alpine chips which allow 1 bit correction and 2 bits detection.

A
Alan Cox 已提交
109 110
config EDAC_AMD76X
	tristate "AMD 76x (760, 762, 768)"
B
Borislav Petkov 已提交
111
	depends on PCI && X86_32
A
Alan Cox 已提交
112 113 114 115 116 117
	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)"
B
Borislav Petkov 已提交
118
	depends on PCI && X86_32
A
Alan Cox 已提交
119 120 121 122 123
	help
	  Support for error detection and correction on the Intel
	  E7205, E7500, E7501 and E7505 server chipsets.

config EDAC_E752X
124
	tristate "Intel e752x (e7520, e7525, e7320) and 3100"
B
Borislav Petkov 已提交
125
	depends on PCI && X86
A
Alan Cox 已提交
126 127 128 129
	help
	  Support for error detection and correction on the Intel
	  E7520, E7525, E7320 server chipsets.

130 131
config EDAC_I82443BXGX
	tristate "Intel 82443BX/GX (440BX/GX)"
B
Borislav Petkov 已提交
132
	depends on PCI && X86_32
133
	depends on BROKEN
134 135 136 137
	help
	  Support for error detection and correction on the Intel
	  82443BX/GX memory controllers (440BX/GX chipsets).

A
Alan Cox 已提交
138 139
config EDAC_I82875P
	tristate "Intel 82875p (D82875P, E7210)"
B
Borislav Petkov 已提交
140
	depends on PCI && X86_32
A
Alan Cox 已提交
141 142 143 144
	help
	  Support for error detection and correction on the Intel
	  DP82785P and E7210 server chipsets.

145 146
config EDAC_I82975X
	tristate "Intel 82975x (D82975x)"
B
Borislav Petkov 已提交
147
	depends on PCI && X86
148 149 150 151
	help
	  Support for error detection and correction on the Intel
	  DP82975x server chipsets.

152 153
config EDAC_I3000
	tristate "Intel 3000/3010"
B
Borislav Petkov 已提交
154
	depends on PCI && X86
155 156 157 158
	help
	  Support for error detection and correction on the Intel
	  3000 and 3010 server chipsets.

159 160
config EDAC_I3200
	tristate "Intel 3200"
B
Borislav Petkov 已提交
161
	depends on PCI && X86
162 163 164 165
	help
	  Support for error detection and correction on the Intel
	  3200 and 3210 server chipsets.

J
Jason Baron 已提交
166 167
config EDAC_IE31200
	tristate "Intel e312xx"
B
Borislav Petkov 已提交
168
	depends on PCI && X86
J
Jason Baron 已提交
169 170 171 172
	help
	  Support for error detection and correction on the Intel
	  E3-1200 based DRAM controllers.

H
Hitoshi Mitake 已提交
173 174
config EDAC_X38
	tristate "Intel X38"
B
Borislav Petkov 已提交
175
	depends on PCI && X86
H
Hitoshi Mitake 已提交
176 177 178 179
	help
	  Support for error detection and correction on the Intel
	  X38 server chipsets.

180 181
config EDAC_I5400
	tristate "Intel 5400 (Seaburg) chipsets"
B
Borislav Petkov 已提交
182
	depends on PCI && X86
183 184 185 186
	help
	  Support for error detection and correction the Intel
	  i5400 MCH chipset (Seaburg).

187 188
config EDAC_I7CORE
	tristate "Intel i7 Core (Nehalem) processors"
B
Borislav Petkov 已提交
189
	depends on PCI && X86 && X86_MCE_INTEL
190 191
	help
	  Support for error detection and correction the Intel
192 193 194
	  i7 Core (Nehalem) Integrated Memory Controller that exists on
	  newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
	  and Xeon 55xx processors.
195

A
Alan Cox 已提交
196 197
config EDAC_I82860
	tristate "Intel 82860"
B
Borislav Petkov 已提交
198
	depends on PCI && X86_32
A
Alan Cox 已提交
199 200 201 202 203 204
	help
	  Support for error detection and correction on the Intel
	  82860 chipset.

config EDAC_R82600
	tristate "Radisys 82600 embedded chipset"
B
Borislav Petkov 已提交
205
	depends on PCI && X86_32
A
Alan Cox 已提交
206 207 208 209
	help
	  Support for error detection and correction on the Radisys
	  82600 embedded chipset.

210 211
config EDAC_I5000
	tristate "Intel Greencreek/Blackford chipset"
B
Borislav Petkov 已提交
212
	depends on X86 && PCI
213 214 215 216
	help
	  Support for error detection and correction the Intel
	  Greekcreek/Blackford chipsets.

217 218
config EDAC_I5100
	tristate "Intel San Clemente MCH"
B
Borislav Petkov 已提交
219
	depends on X86 && PCI
220 221 222 223
	help
	  Support for error detection and correction the Intel
	  San Clemente MCH.

224 225
config EDAC_I7300
	tristate "Intel Clarksboro MCH"
B
Borislav Petkov 已提交
226
	depends on X86 && PCI
227 228 229 230
	help
	  Support for error detection and correction the Intel
	  Clarksboro MCH (Intel 7300 chipset).

231
config EDAC_SBRIDGE
232
	tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
B
Borislav Petkov 已提交
233
	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
234 235
	help
	  Support for error detection and correction the Intel
236
	  Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
237

238 239
config EDAC_SKX
	tristate "Intel Skylake server Integrated MC"
240
	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
241
	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
242
	select DMI
243
	select ACPI_ADXL
244 245
	help
	  Support for error detection and correction the Intel
246 247 248
	  Skylake server Integrated Memory Controllers. If your
	  system has non-volatile DIMMs you should also manually
	  select CONFIG_ACPI_NFIT.
249

250 251
config EDAC_I10NM
	tristate "Intel 10nm server Integrated MC"
T
Tony Luck 已提交
252
	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
253 254
	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
	select DMI
T
Tony Luck 已提交
255
	select ACPI_ADXL
256 257 258 259 260 261
	help
	  Support for error detection and correction the Intel
	  10nm server Integrated Memory Controllers. If your
	  system has non-volatile DIMMs you should also manually
	  select CONFIG_ACPI_NFIT.

262 263
config EDAC_PND2
	tristate "Intel Pondicherry2"
B
Borislav Petkov 已提交
264
	depends on PCI && X86_64 && X86_MCE_INTEL
265 266 267 268 269 270
	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.

271 272
config EDAC_IGEN6
	tristate "Intel client SoC Integrated MC"
R
Randy Dunlap 已提交
273
	depends on PCI && PCI_MMCONFIG && ARCH_HAVE_NMI_SAFE_CMPXCHG
274
	depends on X86_64 && X86_MCE_INTEL
275 276 277 278 279 280
	help
	  Support for error detection and correction on the Intel
	  client SoC Integrated Memory Controller using In-Band ECC IP.
	  This In-Band ECC is first used on the Elkhart Lake SoC but
	  may appear on others in the future.

281
config EDAC_MPC85XX
282 283
	bool "Freescale MPC83xx / MPC85xx"
	depends on FSL_SOC && EDAC=y
284 285
	help
	  Support for error detection and correction on the Freescale
Y
York Sun 已提交
286
	  MPC8349, MPC8560, MPC8540, MPC8548, T4240
287

288 289
config EDAC_LAYERSCAPE
	tristate "Freescale Layerscape DDR"
290
	depends on ARCH_LAYERSCAPE || SOC_LS1021A
291 292 293 294
	help
	  Support for error detection and correction on Freescale memory
	  controllers on Layerscape SoCs.

295 296
config EDAC_PASEMI
	tristate "PA Semi PWRficient"
B
Borislav Petkov 已提交
297
	depends on PPC_PASEMI && PCI
298 299 300 301
	help
	  Support for error detection and correction on PA Semi
	  PWRficient.

302 303
config EDAC_CELL
	tristate "Cell Broadband Engine memory controller"
B
Borislav Petkov 已提交
304
	depends on PPC_CELL_COMMON
305 306 307 308
	help
	  Support for error detection and correction on the
	  Cell Broadband Engine internal memory controller
	  on platform without a hypervisor
309

G
Grant Erickson 已提交
310 311
config EDAC_PPC4XX
	tristate "PPC4xx IBM DDR2 Memory Controller"
B
Borislav Petkov 已提交
312
	depends on 4xx
G
Grant Erickson 已提交
313 314 315 316 317 318
	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.

319 320
config EDAC_AMD8131
	tristate "AMD8131 HyperTransport PCI-X Tunnel"
B
Borislav Petkov 已提交
321
	depends on PCI && PPC_MAPLE
322 323 324
	help
	  Support for error detection and correction on the
	  AMD8131 HyperTransport PCI-X Tunnel chip.
325 326
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.
327

328 329
config EDAC_AMD8111
	tristate "AMD8111 HyperTransport I/O Hub"
B
Borislav Petkov 已提交
330
	depends on PCI && PPC_MAPLE
331 332 333
	help
	  Support for error detection and correction on the
	  AMD8111 HyperTransport I/O Hub chip.
334 335
	  Note, add more Kconfig dependency if it's adopted
	  on some machine other than Maple.
336

337 338
config EDAC_CPC925
	tristate "IBM CPC925 Memory Controller (PPC970FX)"
B
Borislav Petkov 已提交
339
	depends on PPC64
340 341 342 343 344 345
	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.

346 347
config EDAC_HIGHBANK_MC
	tristate "Highbank Memory Controller"
B
Borislav Petkov 已提交
348
	depends on ARCH_HIGHBANK
349 350 351 352
	help
	  Support for error detection and correction on the
	  Calxeda Highbank memory controller.

353 354
config EDAC_HIGHBANK_L2
	tristate "Highbank L2 Cache"
B
Borislav Petkov 已提交
355
	depends on ARCH_HIGHBANK
356 357 358 359
	help
	  Support for error detection and correction on the
	  Calxeda Highbank memory controller.

R
Ralf Baechle 已提交
360 361
config EDAC_OCTEON_PC
	tristate "Cavium Octeon Primary Caches"
B
Borislav Petkov 已提交
362
	depends on CPU_CAVIUM_OCTEON
R
Ralf Baechle 已提交
363 364 365 366 367 368
	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)"
B
Borislav Petkov 已提交
369
	depends on CAVIUM_OCTEON_SOC
R
Ralf Baechle 已提交
370 371 372 373 374 375
	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)"
B
Borislav Petkov 已提交
376
	depends on CAVIUM_OCTEON_SOC
R
Ralf Baechle 已提交
377 378 379 380 381 382
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

config EDAC_OCTEON_PCI
	tristate "Cavium Octeon PCI Controller"
B
Borislav Petkov 已提交
383
	depends on PCI && CAVIUM_OCTEON_SOC
R
Ralf Baechle 已提交
384 385 386 387
	help
	  Support for error detection and correction on the
	  Cavium Octeon family of SOCs.

388 389 390 391 392 393 394 395 396 397
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).

398 399
config EDAC_ALTERA
	bool "Altera SOCFPGA ECC"
400
	depends on EDAC=y && ARCH_INTEL_SOCFPGA
401 402
	help
	  Support for error detection and correction on the
403 404 405 406 407 408 409 410 411 412 413
	  Altera SOCs. This is the global enable for the
	  various Altera peripherals.

config EDAC_ALTERA_SDRAM
	bool "Altera SDRAM ECC"
	depends on EDAC_ALTERA=y
	help
	  Support for error detection and correction on the
	  Altera SDRAM Memory for Altera SoCs. Note that the
	  preloader must initialize the SDRAM before loading
	  the kernel.
414 415 416

config EDAC_ALTERA_L2C
	bool "Altera L2 Cache ECC"
417
	depends on EDAC_ALTERA=y && CACHE_L2X0
418 419 420
	help
	  Support for error detection and correction on the
	  Altera L2 cache Memory for Altera SoCs. This option
421
	  requires L2 cache.
422 423 424 425 426 427 428

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.
429

430 431 432 433 434 435 436
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.

437 438 439 440 441 442 443
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.

444 445 446 447 448 449 450
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.

451 452 453 454 455 456 457
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.

458 459 460 461 462 463 464
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.

465 466 467 468 469 470 471
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.

472 473
config EDAC_SIFIVE
	bool "Sifive platform EDAC driver"
474
	depends on EDAC=y && SIFIVE_L2
475 476 477
	help
	  Support for error detection and correction on the SiFive SoCs.

478 479 480 481 482 483 484
config EDAC_ARMADA_XP
	bool "Marvell Armada XP DDR and L2 Cache ECC"
	depends on MACH_MVEBU_V7
	help
	  Support for error correction and detection on the Marvell Aramada XP
	  DDR RAM and L2 cache controllers.

485 486
config EDAC_SYNOPSYS
	tristate "Synopsys DDR Memory Controller"
487
	depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA
488 489 490 491
	help
	  Support for error detection and correction on the Synopsys DDR
	  memory controller.

L
Loc Ho 已提交
492 493
config EDAC_XGENE
	tristate "APM X-Gene SoC"
B
Borislav Petkov 已提交
494
	depends on (ARM64 || COMPILE_TEST)
L
Loc Ho 已提交
495 496 497 498
	help
	  Support for error detection and correction on the
	  APM X-Gene family of SOCs.

499 500 501 502
config EDAC_TI
	tristate "Texas Instruments DDR3 ECC Controller"
	depends on ARCH_KEYSTONE || SOC_DRA7XX
	help
503
	  Support for error detection and correction on the TI SoCs.
504

505 506 507 508 509 510 511 512 513 514 515 516 517 518
config EDAC_QCOM
	tristate "QCOM EDAC Controller"
	depends on ARCH_QCOM && QCOM_LLCC
	help
	  Support for error detection and correction on the
	  Qualcomm Technologies, Inc. SoCs.

	  This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
	  As of now, it supports error reporting for Last Level Cache Controller (LLCC)
	  of Tag RAM and Data RAM.

	  For debugging issues having to do with stability and overall system
	  health, you should probably say 'Y' here.

519
config EDAC_ASPEED
520 521
	tristate "Aspeed AST BMC SoC"
	depends on ARCH_ASPEED
522
	help
523
	  Support for error detection and correction on the Aspeed AST BMC SoC.
524 525 526 527

	  First, ECC must be configured in the bootloader. Then, this driver
	  will expose error counters via the EDAC kernel framework.

528 529 530 531 532 533 534
config EDAC_BLUEFIELD
	tristate "Mellanox BlueField Memory ECC"
	depends on ARM64 && ((MELLANOX_PLATFORM && ACPI) || COMPILE_TEST)
	help
	  Support for error detection and correction on the
	  Mellanox BlueField SoCs.

L
Lei Wang 已提交
535 536 537 538 539 540 541
config EDAC_DMC520
	tristate "ARM DMC-520 ECC"
	depends on ARM64
	help
	  Support for error detection and correction on the
	  SoCs with ARM DMC-520 DRAM controller.

542
endif # EDAC