xref: /linux-6.15/drivers/edac/Kconfig (revision a5db1b29)
1da9bb1d2SAlan Cox#
2da9bb1d2SAlan Cox#	EDAC Kconfig
34577ca55SDoug Thompson#	Copyright (c) 2008 Doug Thompson www.softwarebitmaker.com
4da9bb1d2SAlan Cox#	Licensed and distributed under the GPL
5b01aec9bSBorislav Petkov
6b01aec9bSBorislav Petkovconfig EDAC_ATOMIC_SCRUB
7b01aec9bSBorislav Petkov	bool
8da9bb1d2SAlan Cox
954451663SBorislav Petkovconfig EDAC_SUPPORT
1054451663SBorislav Petkov	bool
1154451663SBorislav Petkov
12751cb5e5SJan Engelhardtmenuconfig EDAC
13e3c4ff6dSBorislav Petkov	tristate "EDAC (Error Detection And Correction) reporting"
14e3c4ff6dSBorislav Petkov	depends on HAS_IOMEM && EDAC_SUPPORT && RAS
15da9bb1d2SAlan Cox	help
16a06b85ffSBorislav Petkov	  EDAC is a subsystem along with hardware-specific drivers designed to
17a06b85ffSBorislav Petkov	  report hardware errors. These are low-level errors that are reported
18a06b85ffSBorislav Petkov	  in the CPU or supporting chipset or other subsystems:
198cb2a398SDouglas Thompson	  memory errors, cache errors, PCI errors, thermal throttling, etc..
208cb2a398SDouglas Thompson	  If unsure, select 'Y'.
21da9bb1d2SAlan Cox
22a06b85ffSBorislav Petkov	  The mailing list for the EDAC project is [email protected].
2357c432b5STim Small
24751cb5e5SJan Engelhardtif EDAC
25da9bb1d2SAlan Cox
2619974710SMauro Carvalho Chehabconfig EDAC_LEGACY_SYSFS
2719974710SMauro Carvalho Chehab	bool "EDAC legacy sysfs"
2819974710SMauro Carvalho Chehab	default y
2919974710SMauro Carvalho Chehab	help
3019974710SMauro Carvalho Chehab	  Enable the compatibility sysfs nodes.
3119974710SMauro Carvalho Chehab	  Use 'Y' if your edac utilities aren't ported to work with the newer
3219974710SMauro Carvalho Chehab	  structures.
3319974710SMauro Carvalho Chehab
34da9bb1d2SAlan Coxconfig EDAC_DEBUG
35da9bb1d2SAlan Cox	bool "Debugging"
361c5bf781SBorislav Petkov	select DEBUG_FS
37da9bb1d2SAlan Cox	help
3837929874SBorislav Petkov	  This turns on debugging information for the entire EDAC subsystem.
3937929874SBorislav Petkov	  You do so by inserting edac_module with "edac_debug_level=x." Valid
4037929874SBorislav Petkov	  levels are 0-4 (from low to high) and by default it is set to 2.
4137929874SBorislav Petkov	  Usually you should select 'N' here.
42da9bb1d2SAlan Cox
430d18b2e3SBorislav Petkovconfig EDAC_DECODE_MCE
440d18b2e3SBorislav Petkov	tristate "Decode MCEs in human-readable form (only on AMD for now)"
45168eb34dSBorislav Petkov	depends on CPU_SUP_AMD && X86_MCE_AMD
460d18b2e3SBorislav Petkov	default y
47a7f7f624SMasahiro Yamada	help
480d18b2e3SBorislav Petkov	  Enable this option if you want to decode Machine Check Exceptions
4925985edcSLucas De Marchi	  occurring on your machine in human-readable form.
500d18b2e3SBorislav Petkov
510d18b2e3SBorislav Petkov	  You should definitely say Y here in case you want to decode MCEs
520d18b2e3SBorislav Petkov	  which occur really early upon boot, before the module infrastructure
530d18b2e3SBorislav Petkov	  has been initialized.
540d18b2e3SBorislav Petkov
5577c5f5d2SMauro Carvalho Chehabconfig EDAC_GHES
56802e7f1dSJia He	tristate "Output ACPI APEI/GHES BIOS detected errors via EDAC"
57802e7f1dSJia He	depends on ACPI_APEI_GHES
58ed27b5dfSShuai Xue	select UEFI_CPER
5977c5f5d2SMauro Carvalho Chehab	help
6077c5f5d2SMauro Carvalho Chehab	  Not all machines support hardware-driven error report. Some of those
6177c5f5d2SMauro Carvalho Chehab	  provide a BIOS-driven error report mechanism via ACPI, using the
6277c5f5d2SMauro Carvalho Chehab	  APEI/GHES driver. By enabling this option, the error reports provided
6377c5f5d2SMauro Carvalho Chehab	  by GHES are sent to userspace via the EDAC API.
6477c5f5d2SMauro Carvalho Chehab
6577c5f5d2SMauro Carvalho Chehab	  When this option is enabled, it will disable the hardware-driven
6677c5f5d2SMauro Carvalho Chehab	  mechanisms, if a GHES BIOS is detected, entering into the
6777c5f5d2SMauro Carvalho Chehab	  "Firmware First" mode.
6877c5f5d2SMauro Carvalho Chehab
6977c5f5d2SMauro Carvalho Chehab	  It should be noticed that keeping both GHES and a hardware-driven
7077c5f5d2SMauro Carvalho Chehab	  error mechanism won't work well, as BIOS will race with OS, while
7177c5f5d2SMauro Carvalho Chehab	  reading the error registers. So, if you want to not use "Firmware
7277c5f5d2SMauro Carvalho Chehab	  first" GHES error mechanism, you should disable GHES either at
7377c5f5d2SMauro Carvalho Chehab	  compilation time or by passing "ghes.disable=1" Kernel parameter
7477c5f5d2SMauro Carvalho Chehab	  at boot time.
7577c5f5d2SMauro Carvalho Chehab
7677c5f5d2SMauro Carvalho Chehab	  In doubt, say 'Y'.
7777c5f5d2SMauro Carvalho Chehab
787d6034d3SDoug Thompsonconfig EDAC_SCRUB
79f5b10c45STomasz Pala	bool "EDAC scrub feature"
80e3c4ff6dSBorislav Petkov	help
81d6caeafaSMario Limonciello	  The EDAC scrub feature is optional and is designed to control the
826c9058f4SYazen Ghannam	  memory scrubbers in the system. The common sysfs scrub interface
837d6034d3SDoug Thompson	  abstracts the control of various arbitrary scrubbing functionalities
84027dbd6fSBorislav Petkov	  into a unified set of functions.
85f5b10c45STomasz Pala	  Say 'y/n' to enable/disable EDAC scrub feature.
867d6034d3SDoug Thompson
8761810096SBorislav Petkovconfig EDAC_ECS
8861810096SBorislav Petkov	bool "EDAC ECS (Error Check Scrub) feature"
8961810096SBorislav Petkov	help
901865bc71SBorislav Petkov	  The EDAC ECS feature is optional and is designed to control on-die
911865bc71SBorislav Petkov	  error check scrub (e.g., DDR5 ECS) in the system. The common sysfs
921865bc71SBorislav Petkov	  ECS interface abstracts the control of various ECS functionalities
931865bc71SBorislav Petkov	  into a unified set of functions.
947d6034d3SDoug Thompson	  Say 'y/n' to enable/disable EDAC ECS feature.
957d6034d3SDoug Thompson
967d6034d3SDoug Thompsonconfig EDAC_MEM_REPAIR
977d6034d3SDoug Thompson	bool "EDAC memory repair feature"
987d6034d3SDoug Thompson	help
997d6034d3SDoug Thompson	  The EDAC memory repair feature is optional and is designed to control
1007d6034d3SDoug Thompson	  the memory devices with repair features, such as Post Package Repair
1017d6034d3SDoug Thompson	  (PPR), memory sparing etc. The common sysfs memory repair interface
1027d6034d3SDoug Thompson	  abstracts the control of various memory repair functionalities into
1037d6034d3SDoug Thompson	  a unified set of functions.
104da9bb1d2SAlan Cox	  Say 'y/n' to enable/disable EDAC memory repair feature.
105e23a7cdeSTalel Shenhar
106e23a7cdeSTalel Shenharconfig EDAC_AMD64
107e23a7cdeSTalel Shenhar	tristate "AMD64 (Opteron, Athlon64)"
108e23a7cdeSTalel Shenhar	depends on AMD_NB && EDAC_DECODE_MCE
109e23a7cdeSTalel Shenhar	depends on AMD_NODE
110e23a7cdeSTalel Shenhar	imply AMD_ATL
111e23a7cdeSTalel Shenhar	help
112da9bb1d2SAlan Cox	  Support for error detection and correction of DRAM ECC errors on
113da9bb1d2SAlan Cox	  the AMD64 families (>= K8) of memory controllers.
114e3c4ff6dSBorislav Petkov
115da9bb1d2SAlan Cox	  When EDAC_DEBUG is enabled, hardware error injection facilities
116da9bb1d2SAlan Cox	  through sysfs are available:
117da9bb1d2SAlan Cox
118da9bb1d2SAlan Cox	  AMD CPUs up to and excluding family 0x17 provide for Memory
119da9bb1d2SAlan Cox	  Error Injection into the ECC detection circuits. The amd64_edac
120da9bb1d2SAlan Cox	  module allows the operator/user to inject Uncorrectable and
121e3c4ff6dSBorislav Petkov	  Correctable errors into DRAM.
122da9bb1d2SAlan Cox
123da9bb1d2SAlan Cox	  When enabled, in each of the respective memory controller directories
124da9bb1d2SAlan Cox	  (/sys/devices/system/edac/mc/mcX), there are 3 input files:
125da9bb1d2SAlan Cox
126da9bb1d2SAlan Cox	  - inject_section (0..3, 16-byte section of 64-byte cacheline),
1275135b797SAndrei Konovalov	  - inject_word (0..8, 16-bit word of 16-byte section),
128e3c4ff6dSBorislav Petkov	  - inject_ecc_vector (hex ecc vector: select bits of inject word)
129da9bb1d2SAlan Cox
130da9bb1d2SAlan Cox	  In addition, there are two control files, inject_read and inject_write,
131da9bb1d2SAlan Cox	  which trigger the DRAM ECC Read and Write respectively.
132da9bb1d2SAlan Cox
1335a2c675cSTim Smallconfig EDAC_AL_MC
1345a2c675cSTim Small	tristate "Amazon's Annapurna Lab Memory Controller"
135e3c4ff6dSBorislav Petkov	depends on (ARCH_ALPINE || COMPILE_TEST)
13628f96eeaSAndrew Morton	help
1375a2c675cSTim Small	  Support for error detection and correction for Amazon's Annapurna
1385a2c675cSTim Small	  Labs Alpine chips which allow 1 bit correction and 2 bits detection.
1395a2c675cSTim Small
1405a2c675cSTim Smallconfig EDAC_AMD76X
141da9bb1d2SAlan Cox	tristate "AMD 76x (760, 762, 768)"
142da9bb1d2SAlan Cox	depends on PCI && X86_32
143e3c4ff6dSBorislav Petkov	help
144da9bb1d2SAlan Cox	  Support for error detection and correction on the AMD 76x
145da9bb1d2SAlan Cox	  series of chipsets used with the Athlon processor.
146da9bb1d2SAlan Cox
147da9bb1d2SAlan Coxconfig EDAC_E7XXX
148420390f0SRanganathan Desikan	tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
149420390f0SRanganathan Desikan	depends on PCI && X86_32
150e3c4ff6dSBorislav Petkov	help
151420390f0SRanganathan Desikan	  Support for error detection and correction on the Intel
152420390f0SRanganathan Desikan	  E7205, E7500, E7501 and E7505 server chipsets.
153420390f0SRanganathan Desikan
154420390f0SRanganathan Desikanconfig EDAC_E752X
155535c6a53SJason Uhlenkott	tristate "Intel e752x (e7520, e7525, e7320) and 3100"
156535c6a53SJason Uhlenkott	depends on PCI && X86
157e3c4ff6dSBorislav Petkov	help
158535c6a53SJason Uhlenkott	  Support for error detection and correction on the Intel
159535c6a53SJason Uhlenkott	  E7520, E7525, E7320 server chipsets.
160535c6a53SJason Uhlenkott
161535c6a53SJason Uhlenkottconfig EDAC_I82443BXGX
162dd8ef1dbSJason Uhlenkott	tristate "Intel 82443BX/GX (440BX/GX)"
163dd8ef1dbSJason Uhlenkott	depends on PCI && X86_32
164e3c4ff6dSBorislav Petkov	depends on BROKEN
165dd8ef1dbSJason Uhlenkott	help
166dd8ef1dbSJason Uhlenkott	  Support for error detection and correction on the Intel
167dd8ef1dbSJason Uhlenkott	  82443BX/GX memory controllers (440BX/GX chipsets).
168dd8ef1dbSJason Uhlenkott
1697ee40b89SJason Baronconfig EDAC_I82875P
1707ee40b89SJason Baron	tristate "Intel 82875p (D82875P, E7210)"
171*a5db1b29SQiuxu Zhuo	depends on PCI && X86_32
1727ee40b89SJason Baron	help
1737ee40b89SJason Baron	  Support for error detection and correction on the Intel
1747ee40b89SJason Baron	  DP82785P and E7210 server chipsets.
1757ee40b89SJason Baron
176df8bc08cSHitoshi Mitakeconfig EDAC_I82975X
177df8bc08cSHitoshi Mitake	tristate "Intel 82975x (D82975x)"
178e3c4ff6dSBorislav Petkov	depends on PCI && X86
179df8bc08cSHitoshi Mitake	help
180df8bc08cSHitoshi Mitake	  Support for error detection and correction on the Intel
181df8bc08cSHitoshi Mitake	  DP82975x server chipsets.
182df8bc08cSHitoshi Mitake
183920c8df6SMauro Carvalho Chehabconfig EDAC_I3000
184920c8df6SMauro Carvalho Chehab	tristate "Intel 3000/3010"
185e3c4ff6dSBorislav Petkov	depends on PCI && X86
186920c8df6SMauro Carvalho Chehab	help
187920c8df6SMauro Carvalho Chehab	  Support for error detection and correction on the Intel
188920c8df6SMauro Carvalho Chehab	  3000 and 3010 server chipsets.
189920c8df6SMauro Carvalho Chehab
190a0c36a1fSMauro Carvalho Chehabconfig EDAC_I3200
191a0c36a1fSMauro Carvalho Chehab	tristate "Intel 3200"
192e3c4ff6dSBorislav Petkov	depends on PCI && X86
193a0c36a1fSMauro Carvalho Chehab	help
194a0c36a1fSMauro Carvalho Chehab	  Support for error detection and correction on the Intel
195696e409dSMauro Carvalho Chehab	  3200 and 3210 server chipsets.
196696e409dSMauro Carvalho Chehab
197696e409dSMauro Carvalho Chehabconfig EDAC_IE31200
198a0c36a1fSMauro Carvalho Chehab	tristate "Intel e312xx"
199da9bb1d2SAlan Cox	depends on PCI && X86 && X86_MCE_INTEL
200da9bb1d2SAlan Cox	help
201e3c4ff6dSBorislav Petkov	  Support for error detection and correction on the Intel
202da9bb1d2SAlan Cox	  E3-1200 based DRAM controllers.
203da9bb1d2SAlan Cox
204da9bb1d2SAlan Coxconfig EDAC_X38
205da9bb1d2SAlan Cox	tristate "Intel X38"
206da9bb1d2SAlan Cox	depends on PCI && X86
207da9bb1d2SAlan Cox	help
208e3c4ff6dSBorislav Petkov	  Support for error detection and correction on the Intel
209da9bb1d2SAlan Cox	  X38 server chipsets.
210da9bb1d2SAlan Cox
211da9bb1d2SAlan Coxconfig EDAC_I5400
212da9bb1d2SAlan Cox	tristate "Intel 5400 (Seaburg) chipsets"
213eb60705aSEric Wollesen	depends on PCI && X86
214eb60705aSEric Wollesen	help
215e3c4ff6dSBorislav Petkov	  Support for error detection and correction the Intel
21675564191SAristeu Rozanski	  i5400 MCH chipset (Seaburg).
217eb60705aSEric Wollesen
218eb60705aSEric Wollesenconfig EDAC_I7CORE
219eb60705aSEric Wollesen	tristate "Intel i7 Core (Nehalem) processors"
220eb60705aSEric Wollesen	depends on PCI && X86 && X86_MCE_INTEL
2218f421c59SArthur Jones	help
2228f421c59SArthur Jones	  Support for error detection and correction the Intel
223e3c4ff6dSBorislav Petkov	  i7 Core (Nehalem) Integrated Memory Controller that exists on
2248f421c59SArthur Jones	  newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
2258f421c59SArthur Jones	  and Xeon 55xx processors.
2268f421c59SArthur Jones
2278f421c59SArthur Jonesconfig EDAC_I82860
228fcaf780bSMauro Carvalho Chehab	tristate "Intel 82860"
229fcaf780bSMauro Carvalho Chehab	depends on PCI && X86_32
230e3c4ff6dSBorislav Petkov	help
231fcaf780bSMauro Carvalho Chehab	  Support for error detection and correction on the Intel
232fcaf780bSMauro Carvalho Chehab	  82860 chipset.
233fcaf780bSMauro Carvalho Chehab
234fcaf780bSMauro Carvalho Chehabconfig EDAC_R82600
2353d78c9afSMauro Carvalho Chehab	tristate "Radisys 82600 embedded chipset"
23650d1bb93SAristeu Rozanski	depends on PCI && X86_32
237e3c4ff6dSBorislav Petkov	help
2383d78c9afSMauro Carvalho Chehab	  Support for error detection and correction on the Radisys
2393d78c9afSMauro Carvalho Chehab	  82600 embedded chipset.
24050d1bb93SAristeu Rozanski
2413d78c9afSMauro Carvalho Chehabconfig EDAC_I5000
2424ec656bdSTony Luck	tristate "Intel Greencreek/Blackford chipset"
2434ec656bdSTony Luck	depends on X86 && PCI
24424c9d423SLuck, Tony	depends on BROKEN
245de245ae0SRandy Dunlap	help
24658ca9ac1STony Luck	  Support for error detection and correction the Intel
24724c9d423SLuck, Tony	  Greekcreek/Blackford chipsets.
2484ec656bdSTony Luck
2494ec656bdSTony Luckconfig EDAC_I5100
25058ca9ac1STony Luck	tristate "Intel San Clemente MCH"
25158ca9ac1STony Luck	depends on X86 && PCI
25258ca9ac1STony Luck	help
2534ec656bdSTony Luck	  Support for error detection and correction the Intel
254d4dc89d0SQiuxu Zhuo	  San Clemente MCH.
255d4dc89d0SQiuxu Zhuo
256d6a9f733STony Luckconfig EDAC_I7300
257d4dc89d0SQiuxu Zhuo	tristate "Intel Clarksboro MCH"
258d4dc89d0SQiuxu Zhuo	depends on X86 && PCI
259d6a9f733STony Luck	help
260d4dc89d0SQiuxu Zhuo	  Support for error detection and correction the Intel
261d4dc89d0SQiuxu Zhuo	  Clarksboro MCH (Intel 7300 chipset).
262d4dc89d0SQiuxu Zhuo
263d4dc89d0SQiuxu Zhuoconfig EDAC_SBRIDGE
264d4dc89d0SQiuxu Zhuo	tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
265d4dc89d0SQiuxu Zhuo	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
2665c71ad17STony Luck	help
2675c71ad17STony Luck	  Support for error detection and correction the Intel
268e3c4ff6dSBorislav Petkov	  Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
2697b2db704SAndy Shevchenko
2705c71ad17STony Luckconfig EDAC_SKX
2715c71ad17STony Luck	tristate "Intel Skylake server Integrated MC"
2725c71ad17STony Luck	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
2735c71ad17STony Luck	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
2745c71ad17STony Luck	select DMI
2755c71ad17STony Luck	select ACPI_ADXL
27610590a9dSQiuxu Zhuo	help
27710590a9dSQiuxu Zhuo	  Support for error detection and correction the Intel
2780a9ece9bSRandy Dunlap	  Skylake server Integrated Memory Controllers. If your
279a1c9ca5fSRandy Dunlap	  system has non-volatile DIMMs you should also manually
28010590a9dSQiuxu Zhuo	  select CONFIG_ACPI_NFIT.
28110590a9dSQiuxu Zhuo
28210590a9dSQiuxu Zhuoconfig EDAC_I10NM
28310590a9dSQiuxu Zhuo	tristate "Intel 10nm server Integrated MC"
28410590a9dSQiuxu Zhuo	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
28510590a9dSQiuxu Zhuo	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
286a9a753d5SDave Jiang	select DMI
2872b8358a9SMichael Ellerman	select ACPI_ADXL
2882b8358a9SMichael Ellerman	help
289a9a753d5SDave Jiang	  Support for error detection and correction the Intel
290a9a753d5SDave Jiang	  10nm server Integrated Memory Controllers. If your
29174210267SYork Sun	  system has non-volatile DIMMs you should also manually
292a9a753d5SDave Jiang	  select CONFIG_ACPI_NFIT.
293eeb3d68bSYork Sun
294eeb3d68bSYork Sunconfig EDAC_PND2
29528dd6726SRasmus Villemoes	tristate "Intel Pondicherry2"
296eeb3d68bSYork Sun	depends on PCI && X86_64 && X86_MCE_INTEL
297eeb3d68bSYork Sun	select P2SB if X86
298eeb3d68bSYork Sun	help
299eeb3d68bSYork Sun	  Support for error detection and correction on the Intel
3007d8536fbSEgor Martovetsky	  Pondicherry2 Integrated Memory Controller. This SoC IP is
3017d8536fbSEgor Martovetsky	  first used on the Apollo Lake platform and Denverton
302e3c4ff6dSBorislav Petkov	  micro-server but may appear on others in the future.
3037d8536fbSEgor Martovetsky
3047d8536fbSEgor Martovetskyconfig EDAC_IGEN6
3057d8536fbSEgor Martovetsky	tristate "Intel client SoC Integrated MC"
3067d8536fbSEgor Martovetsky	depends on PCI && PCI_MMCONFIG && ARCH_HAVE_NMI_SAFE_CMPXCHG
3072a9036afSHarry Ciao	depends on X86_64 && X86_MCE_INTEL
3082a9036afSHarry Ciao	help
309e3c4ff6dSBorislav Petkov	  Support for error detection and correction on the Intel
3102a9036afSHarry Ciao	  client SoC Integrated Memory Controller using In-Band ECC IP.
3112a9036afSHarry Ciao	  This In-Band ECC is first used on the Elkhart Lake SoC but
3122a9036afSHarry Ciao	  may appear on others in the future.
3132a9036afSHarry Ciao
3142a9036afSHarry Ciaoconfig EDAC_MPC85XX
3152a9036afSHarry Ciao	bool "Freescale MPC83xx / MPC85xx"
316a1b01edbSRob Herring	depends on FSL_SOC && EDAC=y
317a1b01edbSRob Herring	help
318e3c4ff6dSBorislav Petkov	  Support for error detection and correction on the Freescale
319a1b01edbSRob Herring	  MPC8349, MPC8560, MPC8540, MPC8548, T4240
320a1b01edbSRob Herring
321a1b01edbSRob Herringconfig EDAC_LAYERSCAPE
322a1b01edbSRob Herring	tristate "Freescale Layerscape DDR"
32369154d06SRob Herring	depends on ARCH_LAYERSCAPE || SOC_LS1021A
32469154d06SRob Herring	help
325e3c4ff6dSBorislav Petkov	  Support for error detection and correction on Freescale memory
32669154d06SRob Herring	  controllers on Layerscape SoCs.
32769154d06SRob Herring
32869154d06SRob Herringconfig EDAC_PASEMI
32969154d06SRob Herring	tristate "PA Semi PWRficient"
330f65aad41SRalf Baechle	depends on PPC_PASEMI && PCI
331f65aad41SRalf Baechle	help
332e3c4ff6dSBorislav Petkov	  Support for error detection and correction on PA Semi
333f65aad41SRalf Baechle	  PWRficient.
334f65aad41SRalf Baechle
335f65aad41SRalf Baechleconfig EDAC_CPC925
336f65aad41SRalf Baechle	tristate "IBM CPC925 Memory Controller (PPC970FX)"
337f65aad41SRalf Baechle	depends on PPC64
338f65aad41SRalf Baechle	help
339e3c4ff6dSBorislav Petkov	  Support for error detection and correction on the
340f65aad41SRalf Baechle	  IBM CPC925 Bridge and Memory Controller, which is
341f65aad41SRalf Baechle	  a companion chip to the PowerPC 970 family of
342f65aad41SRalf Baechle	  processors.
343f65aad41SRalf Baechle
344f65aad41SRalf Baechleconfig EDAC_HIGHBANK_MC
345f65aad41SRalf Baechle	tristate "Highbank Memory Controller"
346e3c4ff6dSBorislav Petkov	depends on ARCH_HIGHBANK
347f65aad41SRalf Baechle	help
348f65aad41SRalf Baechle	  Support for error detection and correction on the
349f65aad41SRalf Baechle	  Calxeda Highbank memory controller.
350f65aad41SRalf Baechle
351f65aad41SRalf Baechleconfig EDAC_HIGHBANK_L2
352f65aad41SRalf Baechle	tristate "Highbank L2 Cache"
353e3c4ff6dSBorislav Petkov	depends on ARCH_HIGHBANK
354f65aad41SRalf Baechle	help
355f65aad41SRalf Baechle	  Support for error detection and correction on the
356f65aad41SRalf Baechle	  Calxeda Highbank memory controller.
357f65aad41SRalf Baechle
35841003396SSergey Temerkhanovconfig EDAC_OCTEON_PC
35941003396SSergey Temerkhanov	tristate "Cavium Octeon Primary Caches"
36041003396SSergey Temerkhanov	depends on CPU_CAVIUM_OCTEON
36141003396SSergey Temerkhanov	help
36241003396SSergey Temerkhanov	  Support for error detection and correction on the primary caches of
36341003396SSergey Temerkhanov	  the cnMIPS cores of Cavium Octeon family SOCs.
36441003396SSergey Temerkhanov
36541003396SSergey Temerkhanovconfig EDAC_OCTEON_L2C
36641003396SSergey Temerkhanov	tristate "Cavium Octeon Secondary Caches (L2C)"
36741003396SSergey Temerkhanov	depends on CAVIUM_OCTEON_SOC
368c3eea194SThor Thayer	help
369c3eea194SThor Thayer	  Support for error detection and correction on the
370098da961SKrzysztof Kozlowski	  Cavium Octeon family of SOCs.
37171bcada8SThor Thayer
37271bcada8SThor Thayerconfig EDAC_OCTEON_LMC
373580b5cf5SThor Thayer	tristate "Cavium Octeon DRAM Memory Controller (LMC)"
374580b5cf5SThor Thayer	depends on CAVIUM_OCTEON_SOC
375580b5cf5SThor Thayer	help
376580b5cf5SThor Thayer	  Support for error detection and correction on the
377580b5cf5SThor Thayer	  Cavium Octeon family of SOCs.
378580b5cf5SThor Thayer
379580b5cf5SThor Thayerconfig EDAC_OCTEON_PCI
380580b5cf5SThor Thayer	tristate "Cavium Octeon PCI Controller"
381580b5cf5SThor Thayer	depends on PCI && CAVIUM_OCTEON_SOC
382580b5cf5SThor Thayer	help
383580b5cf5SThor Thayer	  Support for error detection and correction on the
384c3eea194SThor Thayer	  Cavium Octeon family of SOCs.
385c3eea194SThor Thayer
386c3eea194SThor Thayerconfig EDAC_THUNDERX
3873a8f21f1SThor Thayer	tristate "Cavium ThunderX EDAC"
388c3eea194SThor Thayer	depends on ARM64
389c3eea194SThor Thayer	depends on PCI
390c3eea194SThor Thayer	help
3913a8f21f1SThor Thayer	  Support for error detection and correction on the
392c3eea194SThor Thayer	  Cavium ThunderX memory controllers (LMC), Cache
393c3eea194SThor Thayer	  Coherent Processor Interconnect (CCPI) and L2 cache
394c3eea194SThor Thayer	  blocks (TAD, CBC, MCI).
395c3eea194SThor Thayer
396c3eea194SThor Thayerconfig EDAC_ALTERA
397c3eea194SThor Thayer	bool "Altera SOCFPGA ECC"
398c3eea194SThor Thayer	depends on EDAC=y && ARCH_INTEL_SOCFPGA
39971bcada8SThor Thayer	help
400ab8c1e0fSThor Thayer	  Support for error detection and correction on the
401ab8c1e0fSThor Thayer	  Altera SOCs. This is the global enable for the
402ab8c1e0fSThor Thayer	  various Altera peripherals.
403ab8c1e0fSThor Thayer
404ab8c1e0fSThor Thayerconfig EDAC_ALTERA_SDRAM
405ab8c1e0fSThor Thayer	bool "Altera SDRAM ECC"
406ab8c1e0fSThor Thayer	depends on EDAC_ALTERA=y
407c6882fb2SThor Thayer	help
408c6882fb2SThor Thayer	  Support for error detection and correction on the
409c6882fb2SThor Thayer	  Altera SDRAM Memory for Altera SoCs. Note that the
410c6882fb2SThor Thayer	  preloader must initialize the SDRAM before loading
411c6882fb2SThor Thayer	  the kernel.
412c6882fb2SThor Thayer
413c6882fb2SThor Thayerconfig EDAC_ALTERA_L2C
414e8263793SThor Thayer	bool "Altera L2 Cache ECC"
415e8263793SThor Thayer	depends on EDAC_ALTERA=y && CACHE_L2X0
416e8263793SThor Thayer	help
417e8263793SThor Thayer	  Support for error detection and correction on the
418e8263793SThor Thayer	  Altera L2 cache Memory for Altera SoCs. This option
419e8263793SThor Thayer	  requires L2 cache.
420e8263793SThor Thayer
421c609581dSThor Thayerconfig EDAC_ALTERA_OCRAM
422c609581dSThor Thayer	bool "Altera On-Chip RAM ECC"
423c609581dSThor Thayer	depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
424c609581dSThor Thayer	help
425c609581dSThor Thayer	  Support for error detection and correction on the
426c609581dSThor Thayer	  Altera On-Chip RAM Memory for Altera SoCs.
427c609581dSThor Thayer
428485fe9e2SThor Thayerconfig EDAC_ALTERA_ETHERNET
429485fe9e2SThor Thayer	bool "Altera Ethernet FIFO ECC"
430485fe9e2SThor Thayer	depends on EDAC_ALTERA=y
431485fe9e2SThor Thayer	help
432485fe9e2SThor Thayer	  Support for error detection and correction on the
433485fe9e2SThor Thayer	  Altera Ethernet FIFO Memory for Altera SoCs.
434485fe9e2SThor Thayer
43591104984SThor Thayerconfig EDAC_ALTERA_NAND
43691104984SThor Thayer	bool "Altera NAND FIFO ECC"
43791104984SThor Thayer	depends on EDAC_ALTERA=y && MTD_NAND_DENALI
43891104984SThor Thayer	help
43991104984SThor Thayer	  Support for error detection and correction on the
44091104984SThor Thayer	  Altera NAND FIFO Memory for Altera SoCs.
44191104984SThor Thayer
44291abaeaaSYash Shahconfig EDAC_ALTERA_DMA
44391abaeaaSYash Shah	bool "Altera DMA FIFO ECC"
444ca120a79SGreentime Hu	depends on EDAC_ALTERA=y && PL330_DMA=y
44591abaeaaSYash Shah	help
44691abaeaaSYash Shah	  Support for error detection and correction on the
44791abaeaaSYash Shah	  Altera DMA FIFO Memory for Altera SoCs.
4487f6998a4SJan Luebbe
4497f6998a4SJan Luebbeconfig EDAC_ALTERA_USB
4507f6998a4SJan Luebbe	bool "Altera USB FIFO ECC"
4517f6998a4SJan Luebbe	depends on EDAC_ALTERA=y && USB_DWC2
4527f6998a4SJan Luebbe	help
4537f6998a4SJan Luebbe	  Support for error detection and correction on the
4547f6998a4SJan Luebbe	  Altera USB FIFO Memory for Altera SoCs.
455ae9b56e3SPunnaiah Choudary Kalluri
456ae9b56e3SPunnaiah Choudary Kalluriconfig EDAC_ALTERA_QSPI
4575297ecfeSSherry Sun	bool "Altera QSPI FIFO ECC"
458ae9b56e3SPunnaiah Choudary Kalluri	depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
459ae9b56e3SPunnaiah Choudary Kalluri	help
460ae9b56e3SPunnaiah Choudary Kalluri	  Support for error detection and correction on the
461ae9b56e3SPunnaiah Choudary Kalluri	  Altera QSPI FIFO Memory for Altera SoCs.
4620d442930SLoc Ho
4630d442930SLoc Hoconfig EDAC_ALTERA_SDMMC
464e3c4ff6dSBorislav Petkov	bool "Altera SDMMC FIFO ECC"
4650d442930SLoc Ho	depends on EDAC_ALTERA=y && MMC_DW
4660d442930SLoc Ho	help
4670d442930SLoc Ho	  Support for error detection and correction on the
4680d442930SLoc Ho	  Altera SDMMC FIFO Memory for Altera SoCs.
46986a18ee2STero Kristo
47086a18ee2STero Kristoconfig EDAC_SIFIVE
47186a18ee2STero Kristo	bool "Sifive platform EDAC driver"
47286a18ee2STero Kristo	depends on EDAC=y && SIFIVE_CCACHE
473a483e227SKrzysztof Kozlowski	help
47486a18ee2STero Kristo	  Support for error detection and correction on the SiFive SoCs.
47527450653SChannagoud Kadabi
47627450653SChannagoud Kadabiconfig EDAC_ARMADA_XP
47727450653SChannagoud Kadabi	bool "Marvell Armada XP DDR and L2 Cache ECC"
47827450653SChannagoud Kadabi	depends on MACH_MVEBU_V7
47927450653SChannagoud Kadabi	help
48027450653SChannagoud Kadabi	  Support for error correction and detection on the Marvell Aramada XP
48127450653SChannagoud Kadabi	  DDR RAM and L2 cache controllers.
48227450653SChannagoud Kadabi
48327450653SChannagoud Kadabiconfig EDAC_SYNOPSYS
48427450653SChannagoud Kadabi	tristate "Synopsys DDR Memory Controller"
48527450653SChannagoud Kadabi	depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || ARCH_MXC
48627450653SChannagoud Kadabi	help
48727450653SChannagoud Kadabi	  Support for error detection and correction on the Synopsys DDR
48827450653SChannagoud Kadabi	  memory controller.
4899b7e6242SStefan M Schaeckeler
490edfc2d73STroy Leeconfig EDAC_XGENE
491edfc2d73STroy Lee	tristate "APM X-Gene SoC"
4929b7e6242SStefan M Schaeckeler	depends on (ARM64 || COMPILE_TEST)
493edfc2d73STroy Lee	help
4949b7e6242SStefan M Schaeckeler	  Support for error detection and correction on the
4959b7e6242SStefan M Schaeckeler	  APM X-Gene family of SOCs.
4969b7e6242SStefan M Schaeckeler
4979b7e6242SStefan M Schaeckelerconfig EDAC_TI
49882413e56SShravan Kumar Ramani	tristate "Texas Instruments DDR3 ECC Controller"
49982413e56SShravan Kumar Ramani	depends on ARCH_KEYSTONE || SOC_DRA7XX
50082413e56SShravan Kumar Ramani	help
50182413e56SShravan Kumar Ramani	  Support for error detection and correction on the TI SoCs.
50282413e56SShravan Kumar Ramani
50382413e56SShravan Kumar Ramaniconfig EDAC_QCOM
50482413e56SShravan Kumar Ramani	tristate "QCOM EDAC Controller"
5051088750dSLei Wang	depends on ARCH_QCOM && QCOM_LLCC
5061088750dSLei Wang	help
5071088750dSLei Wang	  Support for error detection and correction on the
5081088750dSLei Wang	  Qualcomm Technologies, Inc. SoCs.
5091088750dSLei Wang
5101088750dSLei Wang	  This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
5111088750dSLei Wang	  As of now, it supports error reporting for Last Level Cache Controller (LLCC)
5123bd2706cSSai Krishna Potthuri	  of Tag RAM and Data RAM.
5133bd2706cSSai Krishna Potthuri
5143bd2706cSSai Krishna Potthuri	  For debugging issues having to do with stability and overall system
5153bd2706cSSai Krishna Potthuri	  health, you should probably say 'Y' here.
5163bd2706cSSai Krishna Potthuri
5173bd2706cSSai Krishna Potthuriconfig EDAC_ASPEED
5183bd2706cSSai Krishna Potthuri	tristate "Aspeed AST BMC SoC"
5193bd2706cSSai Krishna Potthuri	depends on ARCH_ASPEED
520d244c610SMarvin Lin	help
521d244c610SMarvin Lin	  Support for error detection and correction on the Aspeed AST BMC SoC.
522d244c610SMarvin Lin
523d244c610SMarvin Lin	  First, ECC must be configured in the bootloader. Then, this driver
524d244c610SMarvin Lin	  will expose error counters via the EDAC kernel framework.
525d244c610SMarvin Lin
526d244c610SMarvin Linconfig EDAC_BLUEFIELD
527d244c610SMarvin Lin	tristate "Mellanox BlueField Memory ECC"
528d244c610SMarvin Lin	depends on ARM64 && ((MELLANOX_PLATFORM && ACPI) || COMPILE_TEST)
529d244c610SMarvin Lin	help
530d244c610SMarvin Lin	  Support for error detection and correction on the
5316f15b178SShubhrajyoti Datta	  Mellanox BlueField SoCs.
5326f15b178SShubhrajyoti Datta
5336f15b178SShubhrajyoti Dattaconfig EDAC_DMC520
5346f15b178SShubhrajyoti Datta	tristate "ARM DMC-520 ECC"
5356f15b178SShubhrajyoti Datta	depends on ARM64
5366f15b178SShubhrajyoti Datta	help
5376f15b178SShubhrajyoti Datta	  Support for error detection and correction on the
5386f15b178SShubhrajyoti Datta	  SoCs with ARM DMC-520 DRAM controller.
5396f15b178SShubhrajyoti Datta
5406f15b178SShubhrajyoti Dattaconfig EDAC_ZYNQMP
5416f15b178SShubhrajyoti Datta	tristate "Xilinx ZynqMP OCM Controller"
542558aff7aSZhao Qunqin	depends on ARCH_ZYNQMP || COMPILE_TEST
543558aff7aSZhao Qunqin	help
544558aff7aSZhao Qunqin	  This driver supports error detection and correction for the
545558aff7aSZhao Qunqin	  Xilinx ZynqMP OCM (On Chip Memory) controller. It can also be
546558aff7aSZhao Qunqin	  built as a module. In that case it will be called zynqmp_edac.
547558aff7aSZhao Qunqin
548558aff7aSZhao Qunqinconfig EDAC_NPCM
549558aff7aSZhao Qunqin	tristate "Nuvoton NPCM DDR Memory Controller"
5506f15b178SShubhrajyoti Datta	depends on (ARCH_NPCM || COMPILE_TEST)
551751cb5e5SJan Engelhardt	help
552	  Support for error detection and correction on the Nuvoton NPCM DDR
553	  memory controller.
554
555	  The memory controller supports single bit error correction, double bit
556	  error detection (in-line ECC in which a section 1/8th of the memory
557	  device used to store data is used for ECC storage).
558
559config EDAC_VERSAL
560	tristate "Xilinx Versal DDR Memory Controller"
561	depends on ARCH_ZYNQMP || COMPILE_TEST
562	help
563	  Support for error detection and correction on the Xilinx Versal DDR
564	  memory controller.
565
566	  Report both single bit errors (CE) and double bit errors (UE).
567	  Support injecting both correctable and uncorrectable errors
568	  for debugging purposes.
569
570config EDAC_LOONGSON
571	tristate "Loongson Memory Controller"
572	depends on LOONGARCH && ACPI
573	help
574	  Support for error detection and correction on the Loongson
575	  family memory controller. This driver reports single bit
576	  errors (CE) only. Loongson-3A5000/3C5000/3D5000/3A6000/3C6000
577	  are compatible.
578
579endif # EDAC
580