Debian Codegraph @

drivers/edac/Kconfig

raw
1 #
2 # EDAC Kconfig
3 # Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
4 # Licensed and distributed under the GPL
5
6 config EDAC_ATOMIC_SCRUB
7 bool
8
9 config EDAC_SUPPORT
10 bool
11
12 menuconfig EDAC
13 tristate "EDAC (Error Detection And Correction) reporting"
14 depends on HAS_IOMEM && EDAC_SUPPORT && RAS
15 help
16 EDAC is a subsystem along with hardware-specific drivers designed to
17 report hardware errors. These are low-level errors that are reported
18 in the CPU or supporting chipset or other subsystems:
19 memory errors, cache errors, PCI errors, thermal throttling, etc..
20 If unsure, select 'Y'.
21
22 The mailing list for the EDAC project is [email protected].
23
24 if EDAC
25
26 config EDAC_DEBUG
27 bool "Debugging"
28 select DEBUG_FS
29 help
30 This turns on debugging information for the entire EDAC subsystem.
31 You do so by inserting edac_module with "edac_debug_level=x." Valid
32 levels are 0-4 (from low to high) and by default it is set to 2.
33 Usually you should select 'N' here.
34
35 config EDAC_DECODE_MCE
36 tristate "Decode MCEs in human-readable form (only on AMD for now)"
37 depends on CPU_SUP_AMD && X86_MCE_AMD
38 default y
39 help
40 Enable this option if you want to decode Machine Check Exceptions
41 occurring on your machine in human-readable form.
42
43 You should definitely say Y here in case you want to decode MCEs
44 which occur really early upon boot, before the module infrastructure
45 has been initialized.
46
47 config EDAC_GHES
48 tristate "Output ACPI APEI/GHES BIOS detected errors via EDAC"
49 depends on ACPI_APEI_GHES
50 select UEFI_CPER
51 help
52 Not all machines support hardware-driven error report. Some of those
53 provide a BIOS-driven error report mechanism via ACPI, using the
54 APEI/GHES driver. By enabling this option, the error reports provided
55 by GHES are sent to userspace via the EDAC API.
56
57 When this option is enabled, it will disable the hardware-driven
58 mechanisms, if a GHES BIOS is detected, entering into the
59 "Firmware First" mode.
60
61 It should be noticed that keeping both GHES and a hardware-driven
62 error mechanism won't work well, as BIOS will race with OS, while
63 reading the error registers. So, if you want to not use "Firmware
64 first" GHES error mechanism, you should disable GHES either at
65 compilation time or by passing "ghes.disable=1" Kernel parameter
66 at boot time.
67
68 In doubt, say 'Y'.
69
70 config EDAC_SCRUB
71 bool "EDAC scrub feature"
72 help
73 The EDAC scrub feature is optional and is designed to control the
74 memory scrubbers in the system. The common sysfs scrub interface
75 abstracts the control of various arbitrary scrubbing functionalities
76 into a unified set of functions.
77 Say 'y/n' to enable/disable EDAC scrub feature.
78
79 config EDAC_ECS
80 bool "EDAC ECS (Error Check Scrub) feature"
81 help
82 The EDAC ECS feature is optional and is designed to control on-die
83 error check scrub (e.g., DDR5 ECS) in the system. The common sysfs
84 ECS interface abstracts the control of various ECS functionalities
85 into a unified set of functions.
86 Say 'y/n' to enable/disable EDAC ECS feature.
87
88 config EDAC_MEM_REPAIR
89 bool "EDAC memory repair feature"
90 help
91 The EDAC memory repair feature is optional and is designed to control
92 the memory devices with repair features, such as Post Package Repair
93 (PPR), memory sparing etc. The common sysfs memory repair interface
94 abstracts the control of various memory repair functionalities into
95 a unified set of functions.
96 Say 'y/n' to enable/disable EDAC memory repair feature.
97
98 config EDAC_AMD64
99 tristate "AMD64 (Opteron, Athlon64)"
100 depends on AMD_NB && EDAC_DECODE_MCE
101 depends on AMD_NODE
102 imply AMD_ATL
103 help
104 Support for error detection and correction of DRAM ECC errors on
105 the AMD64 families (>= K8) of memory controllers.
106
107 When EDAC_DEBUG is enabled, hardware error injection facilities
108 through sysfs are available:
109
110 AMD CPUs up to and excluding family 0x17 provide for Memory
111 Error Injection into the ECC detection circuits. The amd64_edac
112 module allows the operator/user to inject Uncorrectable and
113 Correctable errors into DRAM.
114
115 When enabled, in each of the respective memory controller directories
116 (/sys/devices/system/edac/mc/mcX), there are 3 input files:
117
118 - inject_section (0..3, 16-byte section of 64-byte cacheline),
119 - inject_word (0..8, 16-bit word of 16-byte section),
120 - inject_ecc_vector (hex ecc vector: select bits of inject word)
121
122 In addition, there are two control files, inject_read and inject_write,
123 which trigger the DRAM ECC Read and Write respectively.
124
125 config EDAC_AL_MC
126 tristate "Amazon's Annapurna Lab Memory Controller"
127 depends on (ARCH_ALPINE || COMPILE_TEST)
128 help
129 Support for error detection and correction for Amazon's Annapurna
130 Labs Alpine chips which allow 1 bit correction and 2 bits detection.
131
132 config EDAC_AMD76X
133 tristate "AMD 76x (760, 762, 768)"
134 depends on PCI && X86_32
135 help
136 Support for error detection and correction on the AMD 76x
137 series of chipsets used with the Athlon processor.
138
139 config EDAC_E7XXX
140 tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
141 depends on PCI && X86_32
142 help
143 Support for error detection and correction on the Intel
144 E7205, E7500, E7501 and E7505 server chipsets.
145
146 config EDAC_E752X
147 tristate "Intel e752x (e7520, e7525, e7320) and 3100"
148 depends on PCI && X86
149 help
150 Support for error detection and correction on the Intel
151 E7520, E7525, E7320 server chipsets.
152
153 config EDAC_I82875P
154 tristate "Intel 82875p (D82875P, E7210)"
155 depends on PCI && X86_32
156 help
157 Support for error detection and correction on the Intel
158 DP82785P and E7210 server chipsets.
159
160 config EDAC_I82975X
161 tristate "Intel 82975x (D82975x)"
162 depends on PCI && X86
163 help
164 Support for error detection and correction on the Intel
165 DP82975x server chipsets.
166
167 config EDAC_I3000
168 tristate "Intel 3000/3010"
169 depends on PCI && X86
170 help
171 Support for error detection and correction on the Intel
172 3000 and 3010 server chipsets.
173
174 config EDAC_I3200
175 tristate "Intel 3200"
176 depends on PCI && X86
177 help
178 Support for error detection and correction on the Intel
179 3200 and 3210 server chipsets.
180
181 config EDAC_IE31200
182 tristate "Intel e312xx"
183 depends on PCI && X86 && X86_MCE_INTEL
184 help
185 Support for error detection and correction on the Intel
186 E3-1200 based DRAM controllers.
187
188 config EDAC_X38
189 tristate "Intel X38"
190 depends on PCI && X86
191 help
192 Support for error detection and correction on the Intel
193 X38 server chipsets.
194
195 config EDAC_I5400
196 tristate "Intel 5400 (Seaburg) chipsets"
197 depends on PCI && X86
198 help
199 Support for error detection and correction the Intel
200 i5400 MCH chipset (Seaburg).
201
202 config EDAC_I7CORE
203 tristate "Intel i7 Core (Nehalem) processors"
204 depends on PCI && X86 && X86_MCE_INTEL
205 help
206 Support for error detection and correction the Intel
207 i7 Core (Nehalem) Integrated Memory Controller that exists on
208 newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
209 and Xeon 55xx processors.
210
211 config EDAC_I82860
212 tristate "Intel 82860"
213 depends on PCI && X86_32
214 help
215 Support for error detection and correction on the Intel
216 82860 chipset.
217
218 config EDAC_I5000
219 tristate "Intel Greencreek/Blackford chipset"
220 depends on X86 && PCI
221 depends on BROKEN
222 help
223 Support for error detection and correction the Intel
224 Greekcreek/Blackford chipsets.
225
226 config EDAC_I5100
227 tristate "Intel San Clemente MCH"
228 depends on X86 && PCI
229 help
230 Support for error detection and correction the Intel
231 San Clemente MCH.
232
233 config EDAC_I7300
234 tristate "Intel Clarksboro MCH"
235 depends on X86 && PCI
236 help
237 Support for error detection and correction the Intel
238 Clarksboro MCH (Intel 7300 chipset).
239
240 config EDAC_SBRIDGE
241 tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
242 depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
243 help
244 Support for error detection and correction the Intel
245 Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
246
247 config EDAC_SKX
248 tristate "Intel Skylake server Integrated MC"
249 depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
250 depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
251 select DMI
252 select ACPI_ADXL
253 help
254 Support for error detection and correction the Intel
255 Skylake server Integrated Memory Controllers. If your
256 system has non-volatile DIMMs you should also manually
257 select CONFIG_ACPI_NFIT.
258
259 config EDAC_I10NM
260 tristate "Intel 10nm server Integrated MC"
261 depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
262 depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
263 select DMI
264 select ACPI_ADXL
265 help
266 Support for error detection and correction the Intel
267 10nm server Integrated Memory Controllers. If your
268 system has non-volatile DIMMs you should also manually
269 select CONFIG_ACPI_NFIT.
270
271 config EDAC_IMH
272 tristate "Intel Integrated Memory/IO Hub MC"
273 depends on X86_64 && X86_MCE_INTEL && ACPI
274 depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_IMH can't be y
275 select DMI
276 select ACPI_ADXL
277 help
278 Support for error detection and correction the Intel
279 Integrated Memory/IO Hub Memory Controller. This MC IP is
280 first used on the Diamond Rapids servers but may appear on
281 others in the future.
282
283 config EDAC_PND2
284 tristate "Intel Pondicherry2"
285 depends on PCI && X86_64 && X86_MCE_INTEL
286 select P2SB if X86
287 help
288 Support for error detection and correction on the Intel
289 Pondicherry2 Integrated Memory Controller. This SoC IP is
290 first used on the Apollo Lake platform and Denverton
291 micro-server but may appear on others in the future.
292
293 config EDAC_IGEN6
294 tristate "Intel client SoC Integrated MC"
295 depends on PCI && PCI_MMCONFIG && ARCH_HAVE_NMI_SAFE_CMPXCHG
296 depends on X86_64 && X86_MCE_INTEL
297 help
298 Support for error detection and correction on the Intel
299 client SoC Integrated Memory Controller using In-Band ECC IP.
300 This In-Band ECC is first used on the Elkhart Lake SoC but
301 may appear on others in the future.
302
303 config EDAC_MPC85XX
304 bool "Freescale MPC83xx / MPC85xx"
305 depends on FSL_SOC && EDAC=y
306 help
307 Support for error detection and correction on the Freescale
308 MPC8349, MPC8560, MPC8540, MPC8548, T4240
309
310 config EDAC_LAYERSCAPE
311 tristate "Freescale Layerscape DDR"
312 depends on ARCH_LAYERSCAPE || SOC_LS1021A
313 help
314 Support for error detection and correction on Freescale memory
315 controllers on Layerscape SoCs.
316
317 config EDAC_PASEMI
318 tristate "PA Semi PWRficient"
319 depends on PPC_PASEMI && PCI
320 help
321 Support for error detection and correction on PA Semi
322 PWRficient.
323
324 config EDAC_CPC925
325 tristate "IBM CPC925 Memory Controller (PPC970FX)"
326 depends on PPC64
327 help
328 Support for error detection and correction on the
329 IBM CPC925 Bridge and Memory Controller, which is
330 a companion chip to the PowerPC 970 family of
331 processors.
332
333 config EDAC_HIGHBANK_MC
334 tristate "Highbank Memory Controller"
335 depends on ARCH_HIGHBANK
336 help
337 Support for error detection and correction on the
338 Calxeda Highbank memory controller.
339
340 config EDAC_HIGHBANK_L2
341 tristate "Highbank L2 Cache"
342 depends on ARCH_HIGHBANK
343 help
344 Support for error detection and correction on the
345 Calxeda Highbank memory controller.
346
347 config EDAC_OCTEON_PC
348 tristate "Cavium Octeon Primary Caches"
349 depends on CPU_CAVIUM_OCTEON
350 help
351 Support for error detection and correction on the primary caches of
352 the cnMIPS cores of Cavium Octeon family SOCs.
353
354 config EDAC_OCTEON_L2C
355 tristate "Cavium Octeon Secondary Caches (L2C)"
356 depends on CAVIUM_OCTEON_SOC
357 help
358 Support for error detection and correction on the
359 Cavium Octeon family of SOCs.
360
361 config EDAC_OCTEON_LMC
362 tristate "Cavium Octeon DRAM Memory Controller (LMC)"
363 depends on CAVIUM_OCTEON_SOC
364 help
365 Support for error detection and correction on the
366 Cavium Octeon family of SOCs.
367
368 config EDAC_OCTEON_PCI
369 tristate "Cavium Octeon PCI Controller"
370 depends on PCI && CAVIUM_OCTEON_SOC
371 help
372 Support for error detection and correction on the
373 Cavium Octeon family of SOCs.
374
375 config EDAC_THUNDERX
376 tristate "Cavium ThunderX EDAC"
377 depends on ARM64
378 depends on PCI
379 help
380 Support for error detection and correction on the
381 Cavium ThunderX memory controllers (LMC), Cache
382 Coherent Processor Interconnect (CCPI) and L2 cache
383 blocks (TAD, CBC, MCI).
384
385 config EDAC_ALTERA
386 bool "Altera SOCFPGA ECC"
387 depends on EDAC=y && ARCH_INTEL_SOCFPGA
388 help
389 Support for error detection and correction on the
390 Altera SOCs. This is the global enable for the
391 various Altera peripherals.
392
393 config EDAC_ALTERA_SDRAM
394 bool "Altera SDRAM ECC"
395 depends on EDAC_ALTERA=y
396 help
397 Support for error detection and correction on the
398 Altera SDRAM Memory for Altera SoCs. Note that the
399 preloader must initialize the SDRAM before loading
400 the kernel.
401
402 config EDAC_ALTERA_L2C
403 bool "Altera L2 Cache ECC"
404 depends on EDAC_ALTERA=y && CACHE_L2X0
405 help
406 Support for error detection and correction on the
407 Altera L2 cache Memory for Altera SoCs. This option
408 requires L2 cache.
409
410 config EDAC_ALTERA_OCRAM
411 bool "Altera On-Chip RAM ECC"
412 depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
413 help
414 Support for error detection and correction on the
415 Altera On-Chip RAM Memory for Altera SoCs.
416
417 config EDAC_ALTERA_ETHERNET
418 bool "Altera Ethernet FIFO ECC"
419 depends on EDAC_ALTERA=y
420 help
421 Support for error detection and correction on the
422 Altera Ethernet FIFO Memory for Altera SoCs.
423
424 config EDAC_ALTERA_NAND
425 bool "Altera NAND FIFO ECC"
426 depends on EDAC_ALTERA=y && MTD_NAND_DENALI
427 help
428 Support for error detection and correction on the
429 Altera NAND FIFO Memory for Altera SoCs.
430
431 config EDAC_ALTERA_DMA
432 bool "Altera DMA FIFO ECC"
433 depends on EDAC_ALTERA=y && PL330_DMA=y
434 help
435 Support for error detection and correction on the
436 Altera DMA FIFO Memory for Altera SoCs.
437
438 config EDAC_ALTERA_USB
439 bool "Altera USB FIFO ECC"
440 depends on EDAC_ALTERA=y && USB_DWC2
441 help
442 Support for error detection and correction on the
443 Altera USB FIFO Memory for Altera SoCs.
444
445 config EDAC_ALTERA_QSPI
446 bool "Altera QSPI FIFO ECC"
447 depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
448 help
449 Support for error detection and correction on the
450 Altera QSPI FIFO Memory for Altera SoCs.
451
452 config EDAC_ALTERA_SDMMC
453 bool "Altera SDMMC FIFO ECC"
454 depends on EDAC_ALTERA=y && MMC_DW
455 help
456 Support for error detection and correction on the
457 Altera SDMMC FIFO Memory for Altera SoCs.
458
459 config EDAC_SIFIVE
460 bool "Sifive platform EDAC driver"
461 depends on EDAC=y && SIFIVE_CCACHE
462 help
463 Support for error detection and correction on the SiFive SoCs.
464
465 config EDAC_ARMADA_XP
466 bool "Marvell Armada XP DDR and L2 Cache ECC"
467 depends on MACH_MVEBU_V7
468 help
469 Support for error correction and detection on the Marvell Aramada XP
470 DDR RAM and L2 cache controllers.
471
472 config EDAC_SYNOPSYS
473 tristate "Synopsys DDR Memory Controller"
474 depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || ARCH_MXC
475 help
476 Support for error detection and correction on the Synopsys DDR
477 memory controller.
478
479 config EDAC_XGENE
480 tristate "APM X-Gene SoC"
481 depends on (ARM64 || COMPILE_TEST)
482 help
483 Support for error detection and correction on the
484 APM X-Gene family of SOCs.
485
486 config EDAC_TI
487 tristate "Texas Instruments DDR3 ECC Controller"
488 depends on ARCH_KEYSTONE || SOC_DRA7XX
489 help
490 Support for error detection and correction on the TI SoCs.
491
492 config EDAC_QCOM
493 tristate "QCOM EDAC Controller"
494 depends on ARCH_QCOM && QCOM_LLCC
495 help
496 Support for error detection and correction on the
497 Qualcomm Technologies, Inc. SoCs.
498
499 This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
500 As of now, it supports error reporting for Last Level Cache Controller (LLCC)
501 of Tag RAM and Data RAM.
502
503 For debugging issues having to do with stability and overall system
504 health, you should probably say 'Y' here.
505
506 config EDAC_ASPEED
507 tristate "Aspeed AST BMC SoC"
508 depends on ARCH_ASPEED
509 help
510 Support for error detection and correction on the Aspeed AST BMC SoC.
511
512 First, ECC must be configured in the bootloader. Then, this driver
513 will expose error counters via the EDAC kernel framework.
514
515 config EDAC_BLUEFIELD
516 tristate "Mellanox BlueField Memory ECC"
517 depends on ARM64 && ((MELLANOX_PLATFORM && ACPI) || COMPILE_TEST)
518 help
519 Support for error detection and correction on the
520 Mellanox BlueField SoCs.
521
522 config EDAC_DMC520
523 tristate "ARM DMC-520 ECC"
524 depends on ARM64
525 help
526 Support for error detection and correction on the
527 SoCs with ARM DMC-520 DRAM controller.
528
529 config EDAC_ZYNQMP
530 tristate "Xilinx ZynqMP OCM Controller"
531 depends on ARCH_ZYNQMP || COMPILE_TEST
532 help
533 This driver supports error detection and correction for the
534 Xilinx ZynqMP OCM (On Chip Memory) controller. It can also be
535 built as a module. In that case it will be called zynqmp_edac.
536
537 config EDAC_NPCM
538 tristate "Nuvoton NPCM DDR Memory Controller"
539 depends on (ARCH_NPCM || COMPILE_TEST)
540 help
541 Support for error detection and correction on the Nuvoton NPCM DDR
542 memory controller.
543
544 The memory controller supports single bit error correction, double bit
545 error detection (in-line ECC in which a section 1/8th of the memory
546 device used to store data is used for ECC storage).
547
548 config EDAC_VERSAL
549 tristate "Xilinx Versal DDR Memory Controller"
550 depends on ARCH_ZYNQMP || COMPILE_TEST
551 help
552 Support for error detection and correction on the Xilinx Versal DDR
553 memory controller.
554
555 Report both single bit errors (CE) and double bit errors (UE).
556 Support injecting both correctable and uncorrectable errors
557 for debugging purposes.
558
559 config EDAC_LOONGSON
560 tristate "Loongson Memory Controller"
561 depends on LOONGARCH && ACPI
562 help
563 Support for error detection and correction on the Loongson
564 family memory controller. This driver reports single bit
565 errors (CE) only. Loongson-3A5000/3C5000/3D5000/3A6000/3C6000
566 are compatible.
567
568 config EDAC_CORTEX_A72
569 tristate "ARM Cortex A72"
570 depends on ARM64
571 help
572 Support for L1/L2 cache error detection for ARM Cortex A72 processor.
573 The detected and reported errors are from reading CPU/L2 memory error
574 syndrome registers.
575
576 config EDAC_VERSALNET
577 tristate "AMD VersalNET DDR Controller"
578 depends on CDX_CONTROLLER && ARCH_ZYNQMP
579 help
580 Support for single bit error correction, double bit error detection
581 and other system errors from various IP subsystems like RPU, NOCs,
582 HNICX, PL on the AMD Versal NET DDR memory controller.
583
584 endif # EDAC