3 # Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
4 # Licensed and distributed under the GPL
6 config EDAC_ATOMIC_SCRUB
13 tristate "EDAC (Error Detection And Correction) reporting"
14 depends on HAS_IOMEM && EDAC_SUPPORT && RAS
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'.
22 The mailing list for the EDAC project is linux-edac@vger.kernel.org.
26 config EDAC_LEGACY_SYSFS
27 bool "EDAC legacy sysfs"
30 Enable the compatibility sysfs nodes.
31 Use 'Y' if your edac utilities aren't ported to work with the newer
38 This turns on debugging information for the entire EDAC subsystem.
39 You do so by inserting edac_module with "edac_debug_level=x." Valid
40 levels are 0-4 (from low to high) and by default it is set to 2.
41 Usually you should select 'N' here.
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
48 Enable this option if you want to decode Machine Check Exceptions
49 occurring on your machine in human-readable form.
51 You should definitely say Y here in case you want to decode MCEs
52 which occur really early upon boot, before the module infrastructure
56 bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
57 depends on ACPI_APEI_GHES && (EDAC=y)
59 Not all machines support hardware-driven error report. Some of those
60 provide a BIOS-driven error report mechanism via ACPI, using the
61 APEI/GHES driver. By enabling this option, the error reports provided
62 by GHES are sent to userspace via the EDAC API.
64 When this option is enabled, it will disable the hardware-driven
65 mechanisms, if a GHES BIOS is detected, entering into the
66 "Firmware First" mode.
68 It should be noticed that keeping both GHES and a hardware-driven
69 error mechanism won't work well, as BIOS will race with OS, while
70 reading the error registers. So, if you want to not use "Firmware
71 first" GHES error mechanism, you should disable GHES either at
72 compilation time or by passing "ghes.disable=1" Kernel parameter
78 tristate "AMD64 (Opteron, Athlon64)"
79 depends on AMD_NB && EDAC_DECODE_MCE
81 Support for error detection and correction of DRAM ECC errors on
82 the AMD64 families (>= K8) of memory controllers.
84 config EDAC_AMD64_ERROR_INJECTION
85 bool "Sysfs HW Error injection facilities"
88 Recent Opterons (Family 10h and later) provide for Memory Error
89 Injection into the ECC detection circuits. The amd64_edac module
90 allows the operator/user to inject Uncorrectable and Correctable
93 When enabled, in each of the respective memory controller directories
94 (/sys/devices/system/edac/mc/mcX), there are 3 input files:
96 - inject_section (0..3, 16-byte section of 64-byte cacheline),
97 - inject_word (0..8, 16-bit word of 16-byte section),
98 - inject_ecc_vector (hex ecc vector: select bits of inject word)
100 In addition, there are two control files, inject_read and inject_write,
101 which trigger the DRAM ECC Read and Write respectively.
104 tristate "AMD 76x (760, 762, 768)"
105 depends on PCI && X86_32
107 Support for error detection and correction on the AMD 76x
108 series of chipsets used with the Athlon processor.
111 tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
112 depends on PCI && X86_32
114 Support for error detection and correction on the Intel
115 E7205, E7500, E7501 and E7505 server chipsets.
118 tristate "Intel e752x (e7520, e7525, e7320) and 3100"
119 depends on PCI && X86
121 Support for error detection and correction on the Intel
122 E7520, E7525, E7320 server chipsets.
124 config EDAC_I82443BXGX
125 tristate "Intel 82443BX/GX (440BX/GX)"
126 depends on PCI && X86_32
129 Support for error detection and correction on the Intel
130 82443BX/GX memory controllers (440BX/GX chipsets).
133 tristate "Intel 82875p (D82875P, E7210)"
134 depends on PCI && X86_32
136 Support for error detection and correction on the Intel
137 DP82785P and E7210 server chipsets.
140 tristate "Intel 82975x (D82975x)"
141 depends on PCI && X86
143 Support for error detection and correction on the Intel
144 DP82975x server chipsets.
147 tristate "Intel 3000/3010"
148 depends on PCI && X86
150 Support for error detection and correction on the Intel
151 3000 and 3010 server chipsets.
154 tristate "Intel 3200"
155 depends on PCI && X86
157 Support for error detection and correction on the Intel
158 3200 and 3210 server chipsets.
161 tristate "Intel e312xx"
162 depends on PCI && X86
164 Support for error detection and correction on the Intel
165 E3-1200 based DRAM controllers.
169 depends on PCI && X86
171 Support for error detection and correction on the Intel
175 tristate "Intel 5400 (Seaburg) chipsets"
176 depends on PCI && X86
178 Support for error detection and correction the Intel
179 i5400 MCH chipset (Seaburg).
182 tristate "Intel i7 Core (Nehalem) processors"
183 depends on PCI && X86 && X86_MCE_INTEL
185 Support for error detection and correction the Intel
186 i7 Core (Nehalem) Integrated Memory Controller that exists on
187 newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
188 and Xeon 55xx processors.
191 tristate "Intel 82860"
192 depends on PCI && X86_32
194 Support for error detection and correction on the Intel
198 tristate "Radisys 82600 embedded chipset"
199 depends on PCI && X86_32
201 Support for error detection and correction on the Radisys
202 82600 embedded chipset.
205 tristate "Intel Greencreek/Blackford chipset"
206 depends on X86 && PCI
208 Support for error detection and correction the Intel
209 Greekcreek/Blackford chipsets.
212 tristate "Intel San Clemente MCH"
213 depends on X86 && PCI
215 Support for error detection and correction the Intel
219 tristate "Intel Clarksboro MCH"
220 depends on X86 && PCI
222 Support for error detection and correction the Intel
223 Clarksboro MCH (Intel 7300 chipset).
226 tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
227 depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
229 Support for error detection and correction the Intel
230 Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
233 tristate "Intel Skylake server Integrated MC"
234 depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
235 depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
238 Support for error detection and correction the Intel
239 Skylake server Integrated Memory Controllers. If your
240 system has non-volatile DIMMs you should also manually
241 select CONFIG_ACPI_NFIT.
244 tristate "Intel Pondicherry2"
245 depends on PCI && X86_64 && X86_MCE_INTEL
247 Support for error detection and correction on the Intel
248 Pondicherry2 Integrated Memory Controller. This SoC IP is
249 first used on the Apollo Lake platform and Denverton
250 micro-server but may appear on others in the future.
253 tristate "Freescale MPC83xx / MPC85xx"
256 Support for error detection and correction on the Freescale
257 MPC8349, MPC8560, MPC8540, MPC8548, T4240
259 config EDAC_LAYERSCAPE
260 tristate "Freescale Layerscape DDR"
261 depends on ARCH_LAYERSCAPE || SOC_LS1021A
263 Support for error detection and correction on Freescale memory
264 controllers on Layerscape SoCs.
267 tristate "Marvell MV64x60"
270 Support for error detection and correction on the Marvell
271 MV64360 and MV64460 chipsets.
274 tristate "PA Semi PWRficient"
275 depends on PPC_PASEMI && PCI
277 Support for error detection and correction on PA Semi
281 tristate "Cell Broadband Engine memory controller"
282 depends on PPC_CELL_COMMON
284 Support for error detection and correction on the
285 Cell Broadband Engine internal memory controller
286 on platform without a hypervisor
289 tristate "PPC4xx IBM DDR2 Memory Controller"
292 This enables support for EDAC on the ECC memory used
293 with the IBM DDR2 memory controller found in various
294 PowerPC 4xx embedded processors such as the 405EX[r],
295 440SP, 440SPe, 460EX, 460GT and 460SX.
298 tristate "AMD8131 HyperTransport PCI-X Tunnel"
299 depends on PCI && PPC_MAPLE
301 Support for error detection and correction on the
302 AMD8131 HyperTransport PCI-X Tunnel chip.
303 Note, add more Kconfig dependency if it's adopted
304 on some machine other than Maple.
307 tristate "AMD8111 HyperTransport I/O Hub"
308 depends on PCI && PPC_MAPLE
310 Support for error detection and correction on the
311 AMD8111 HyperTransport I/O Hub chip.
312 Note, add more Kconfig dependency if it's adopted
313 on some machine other than Maple.
316 tristate "IBM CPC925 Memory Controller (PPC970FX)"
319 Support for error detection and correction on the
320 IBM CPC925 Bridge and Memory Controller, which is
321 a companion chip to the PowerPC 970 family of
324 config EDAC_HIGHBANK_MC
325 tristate "Highbank Memory Controller"
326 depends on ARCH_HIGHBANK
328 Support for error detection and correction on the
329 Calxeda Highbank memory controller.
331 config EDAC_HIGHBANK_L2
332 tristate "Highbank L2 Cache"
333 depends on ARCH_HIGHBANK
335 Support for error detection and correction on the
336 Calxeda Highbank memory controller.
338 config EDAC_OCTEON_PC
339 tristate "Cavium Octeon Primary Caches"
340 depends on CPU_CAVIUM_OCTEON
342 Support for error detection and correction on the primary caches of
343 the cnMIPS cores of Cavium Octeon family SOCs.
345 config EDAC_OCTEON_L2C
346 tristate "Cavium Octeon Secondary Caches (L2C)"
347 depends on CAVIUM_OCTEON_SOC
349 Support for error detection and correction on the
350 Cavium Octeon family of SOCs.
352 config EDAC_OCTEON_LMC
353 tristate "Cavium Octeon DRAM Memory Controller (LMC)"
354 depends on CAVIUM_OCTEON_SOC
356 Support for error detection and correction on the
357 Cavium Octeon family of SOCs.
359 config EDAC_OCTEON_PCI
360 tristate "Cavium Octeon PCI Controller"
361 depends on PCI && CAVIUM_OCTEON_SOC
363 Support for error detection and correction on the
364 Cavium Octeon family of SOCs.
367 tristate "Cavium ThunderX EDAC"
371 Support for error detection and correction on the
372 Cavium ThunderX memory controllers (LMC), Cache
373 Coherent Processor Interconnect (CCPI) and L2 cache
374 blocks (TAD, CBC, MCI).
377 bool "Altera SOCFPGA ECC"
378 depends on EDAC=y && (ARCH_SOCFPGA || ARCH_STRATIX10)
380 Support for error detection and correction on the
381 Altera SOCs. This must be selected for SDRAM ECC.
382 Note that the preloader must initialize the SDRAM
383 before loading the kernel.
385 config EDAC_ALTERA_L2C
386 bool "Altera L2 Cache ECC"
387 depends on EDAC_ALTERA=y && CACHE_L2X0
389 Support for error detection and correction on the
390 Altera L2 cache Memory for Altera SoCs. This option
393 config EDAC_ALTERA_OCRAM
394 bool "Altera On-Chip RAM ECC"
395 depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
397 Support for error detection and correction on the
398 Altera On-Chip RAM Memory for Altera SoCs.
400 config EDAC_ALTERA_ETHERNET
401 bool "Altera Ethernet FIFO ECC"
402 depends on EDAC_ALTERA=y
404 Support for error detection and correction on the
405 Altera Ethernet FIFO Memory for Altera SoCs.
407 config EDAC_ALTERA_NAND
408 bool "Altera NAND FIFO ECC"
409 depends on EDAC_ALTERA=y && MTD_NAND_DENALI
411 Support for error detection and correction on the
412 Altera NAND FIFO Memory for Altera SoCs.
414 config EDAC_ALTERA_DMA
415 bool "Altera DMA FIFO ECC"
416 depends on EDAC_ALTERA=y && PL330_DMA=y
418 Support for error detection and correction on the
419 Altera DMA FIFO Memory for Altera SoCs.
421 config EDAC_ALTERA_USB
422 bool "Altera USB FIFO ECC"
423 depends on EDAC_ALTERA=y && USB_DWC2
425 Support for error detection and correction on the
426 Altera USB FIFO Memory for Altera SoCs.
428 config EDAC_ALTERA_QSPI
429 bool "Altera QSPI FIFO ECC"
430 depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
432 Support for error detection and correction on the
433 Altera QSPI FIFO Memory for Altera SoCs.
435 config EDAC_ALTERA_SDMMC
436 bool "Altera SDMMC FIFO ECC"
437 depends on EDAC_ALTERA=y && MMC_DW
439 Support for error detection and correction on the
440 Altera SDMMC FIFO Memory for Altera SoCs.
443 tristate "Synopsys DDR Memory Controller"
446 Support for error detection and correction on the Synopsys DDR
450 tristate "APM X-Gene SoC"
451 depends on (ARM64 || COMPILE_TEST)
453 Support for error detection and correction on the
454 APM X-Gene family of SOCs.
457 tristate "Texas Instruments DDR3 ECC Controller"
458 depends on ARCH_KEYSTONE || SOC_DRA7XX
460 Support for error detection and correction on the