xref: /linux/drivers/edac/Kconfig (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
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 linux-edac@vger.kernel.org.
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
78f90b7381SShiju Joseconfig EDAC_SCRUB
79f90b7381SShiju Jose	bool "EDAC scrub feature"
80f90b7381SShiju Jose	help
81f90b7381SShiju Jose	  The EDAC scrub feature is optional and is designed to control the
82f90b7381SShiju Jose	  memory scrubbers in the system. The common sysfs scrub interface
83f90b7381SShiju Jose	  abstracts the control of various arbitrary scrubbing functionalities
84f90b7381SShiju Jose	  into a unified set of functions.
85f90b7381SShiju Jose	  Say 'y/n' to enable/disable EDAC scrub feature.
86f90b7381SShiju Jose
87bcbd069bSShiju Joseconfig EDAC_ECS
88bcbd069bSShiju Jose	bool "EDAC ECS (Error Check Scrub) feature"
89bcbd069bSShiju Jose	help
90bcbd069bSShiju Jose	  The EDAC ECS feature is optional and is designed to control on-die
91bcbd069bSShiju Jose	  error check scrub (e.g., DDR5 ECS) in the system. The common sysfs
92bcbd069bSShiju Jose	  ECS interface abstracts the control of various ECS functionalities
93bcbd069bSShiju Jose	  into a unified set of functions.
94bcbd069bSShiju Jose	  Say 'y/n' to enable/disable EDAC ECS feature.
95bcbd069bSShiju Jose
96699ea521SShiju Joseconfig EDAC_MEM_REPAIR
97699ea521SShiju Jose	bool "EDAC memory repair feature"
98699ea521SShiju Jose	help
99699ea521SShiju Jose	  The EDAC memory repair feature is optional and is designed to control
100699ea521SShiju Jose	  the memory devices with repair features, such as Post Package Repair
101699ea521SShiju Jose	  (PPR), memory sparing etc. The common sysfs memory repair interface
102699ea521SShiju Jose	  abstracts the control of various memory repair functionalities into
103699ea521SShiju Jose	  a unified set of functions.
104699ea521SShiju Jose	  Say 'y/n' to enable/disable EDAC memory repair feature.
105699ea521SShiju Jose
1067d6034d3SDoug Thompsonconfig EDAC_AMD64
107f5b10c45STomasz Pala	tristate "AMD64 (Opteron, Athlon64)"
108e3c4ff6dSBorislav Petkov	depends on AMD_NB && EDAC_DECODE_MCE
109d6caeafaSMario Limonciello	depends on AMD_NODE
1106c9058f4SYazen Ghannam	imply AMD_ATL
1117d6034d3SDoug Thompson	help
112027dbd6fSBorislav Petkov	  Support for error detection and correction of DRAM ECC errors on
113f5b10c45STomasz Pala	  the AMD64 families (>= K8) of memory controllers.
1147d6034d3SDoug Thompson
11561810096SBorislav Petkov	  When EDAC_DEBUG is enabled, hardware error injection facilities
11661810096SBorislav Petkov	  through sysfs are available:
11761810096SBorislav Petkov
1181865bc71SBorislav Petkov	  AMD CPUs up to and excluding family 0x17 provide for Memory
1191865bc71SBorislav Petkov	  Error Injection into the ECC detection circuits. The amd64_edac
1201865bc71SBorislav Petkov	  module allows the operator/user to inject Uncorrectable and
1211865bc71SBorislav Petkov	  Correctable errors into DRAM.
1227d6034d3SDoug Thompson
1237d6034d3SDoug Thompson	  When enabled, in each of the respective memory controller directories
1247d6034d3SDoug Thompson	  (/sys/devices/system/edac/mc/mcX), there are 3 input files:
1257d6034d3SDoug Thompson
1267d6034d3SDoug Thompson	  - inject_section (0..3, 16-byte section of 64-byte cacheline),
1277d6034d3SDoug Thompson	  - inject_word (0..8, 16-bit word of 16-byte section),
1287d6034d3SDoug Thompson	  - inject_ecc_vector (hex ecc vector: select bits of inject word)
1297d6034d3SDoug Thompson
1307d6034d3SDoug Thompson	  In addition, there are two control files, inject_read and inject_write,
1317d6034d3SDoug Thompson	  which trigger the DRAM ECC Read and Write respectively.
132da9bb1d2SAlan Cox
133e23a7cdeSTalel Shenharconfig EDAC_AL_MC
134e23a7cdeSTalel Shenhar	tristate "Amazon's Annapurna Lab Memory Controller"
135e23a7cdeSTalel Shenhar	depends on (ARCH_ALPINE || COMPILE_TEST)
136e23a7cdeSTalel Shenhar	help
137e23a7cdeSTalel Shenhar	  Support for error detection and correction for Amazon's Annapurna
138e23a7cdeSTalel Shenhar	  Labs Alpine chips which allow 1 bit correction and 2 bits detection.
139e23a7cdeSTalel Shenhar
140da9bb1d2SAlan Coxconfig EDAC_AMD76X
141da9bb1d2SAlan Cox	tristate "AMD 76x (760, 762, 768)"
142e3c4ff6dSBorislav Petkov	depends on PCI && X86_32
143da9bb1d2SAlan Cox	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
148da9bb1d2SAlan Cox	tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
149e3c4ff6dSBorislav Petkov	depends on PCI && X86_32
150da9bb1d2SAlan Cox	help
151da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
152da9bb1d2SAlan Cox	  E7205, E7500, E7501 and E7505 server chipsets.
153da9bb1d2SAlan Cox
154da9bb1d2SAlan Coxconfig EDAC_E752X
1555135b797SAndrei Konovalov	tristate "Intel e752x (e7520, e7525, e7320) and 3100"
156e3c4ff6dSBorislav Petkov	depends on PCI && X86
157da9bb1d2SAlan Cox	help
158da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
159da9bb1d2SAlan Cox	  E7520, E7525, E7320 server chipsets.
160da9bb1d2SAlan Cox
1615a2c675cSTim Smallconfig EDAC_I82443BXGX
1625a2c675cSTim Small	tristate "Intel 82443BX/GX (440BX/GX)"
163e3c4ff6dSBorislav Petkov	depends on PCI && X86_32
16428f96eeaSAndrew Morton	depends on BROKEN
1655a2c675cSTim Small	help
1665a2c675cSTim Small	  Support for error detection and correction on the Intel
1675a2c675cSTim Small	  82443BX/GX memory controllers (440BX/GX chipsets).
1685a2c675cSTim Small
169da9bb1d2SAlan Coxconfig EDAC_I82875P
170da9bb1d2SAlan Cox	tristate "Intel 82875p (D82875P, E7210)"
171e3c4ff6dSBorislav Petkov	depends on PCI && X86_32
172da9bb1d2SAlan Cox	help
173da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
174da9bb1d2SAlan Cox	  DP82785P and E7210 server chipsets.
175da9bb1d2SAlan Cox
176420390f0SRanganathan Desikanconfig EDAC_I82975X
177420390f0SRanganathan Desikan	tristate "Intel 82975x (D82975x)"
178e3c4ff6dSBorislav Petkov	depends on PCI && X86
179420390f0SRanganathan Desikan	help
180420390f0SRanganathan Desikan	  Support for error detection and correction on the Intel
181420390f0SRanganathan Desikan	  DP82975x server chipsets.
182420390f0SRanganathan Desikan
183535c6a53SJason Uhlenkottconfig EDAC_I3000
184535c6a53SJason Uhlenkott	tristate "Intel 3000/3010"
185e3c4ff6dSBorislav Petkov	depends on PCI && X86
186535c6a53SJason Uhlenkott	help
187535c6a53SJason Uhlenkott	  Support for error detection and correction on the Intel
188535c6a53SJason Uhlenkott	  3000 and 3010 server chipsets.
189535c6a53SJason Uhlenkott
190dd8ef1dbSJason Uhlenkottconfig EDAC_I3200
191dd8ef1dbSJason Uhlenkott	tristate "Intel 3200"
192e3c4ff6dSBorislav Petkov	depends on PCI && X86
193dd8ef1dbSJason Uhlenkott	help
194dd8ef1dbSJason Uhlenkott	  Support for error detection and correction on the Intel
195dd8ef1dbSJason Uhlenkott	  3200 and 3210 server chipsets.
196dd8ef1dbSJason Uhlenkott
1977ee40b89SJason Baronconfig EDAC_IE31200
1987ee40b89SJason Baron	tristate "Intel e312xx"
199*a5db1b29SQiuxu Zhuo	depends on PCI && X86 && X86_MCE_INTEL
2007ee40b89SJason Baron	help
2017ee40b89SJason Baron	  Support for error detection and correction on the Intel
2027ee40b89SJason Baron	  E3-1200 based DRAM controllers.
2037ee40b89SJason Baron
204df8bc08cSHitoshi Mitakeconfig EDAC_X38
205df8bc08cSHitoshi Mitake	tristate "Intel X38"
206e3c4ff6dSBorislav Petkov	depends on PCI && X86
207df8bc08cSHitoshi Mitake	help
208df8bc08cSHitoshi Mitake	  Support for error detection and correction on the Intel
209df8bc08cSHitoshi Mitake	  X38 server chipsets.
210df8bc08cSHitoshi Mitake
211920c8df6SMauro Carvalho Chehabconfig EDAC_I5400
212920c8df6SMauro Carvalho Chehab	tristate "Intel 5400 (Seaburg) chipsets"
213e3c4ff6dSBorislav Petkov	depends on PCI && X86
214920c8df6SMauro Carvalho Chehab	help
215920c8df6SMauro Carvalho Chehab	  Support for error detection and correction the Intel
216920c8df6SMauro Carvalho Chehab	  i5400 MCH chipset (Seaburg).
217920c8df6SMauro Carvalho Chehab
218a0c36a1fSMauro Carvalho Chehabconfig EDAC_I7CORE
219a0c36a1fSMauro Carvalho Chehab	tristate "Intel i7 Core (Nehalem) processors"
220e3c4ff6dSBorislav Petkov	depends on PCI && X86 && X86_MCE_INTEL
221a0c36a1fSMauro Carvalho Chehab	help
222a0c36a1fSMauro Carvalho Chehab	  Support for error detection and correction the Intel
223696e409dSMauro Carvalho Chehab	  i7 Core (Nehalem) Integrated Memory Controller that exists on
224696e409dSMauro Carvalho Chehab	  newer processors like i7 Core, i7 Core Extreme, Xeon 35xx
225696e409dSMauro Carvalho Chehab	  and Xeon 55xx processors.
226a0c36a1fSMauro Carvalho Chehab
227da9bb1d2SAlan Coxconfig EDAC_I82860
228da9bb1d2SAlan Cox	tristate "Intel 82860"
229e3c4ff6dSBorislav Petkov	depends on PCI && X86_32
230da9bb1d2SAlan Cox	help
231da9bb1d2SAlan Cox	  Support for error detection and correction on the Intel
232da9bb1d2SAlan Cox	  82860 chipset.
233da9bb1d2SAlan Cox
234da9bb1d2SAlan Coxconfig EDAC_R82600
235da9bb1d2SAlan Cox	tristate "Radisys 82600 embedded chipset"
236e3c4ff6dSBorislav Petkov	depends on PCI && X86_32
237da9bb1d2SAlan Cox	help
238da9bb1d2SAlan Cox	  Support for error detection and correction on the Radisys
239da9bb1d2SAlan Cox	  82600 embedded chipset.
240da9bb1d2SAlan Cox
241eb60705aSEric Wollesenconfig EDAC_I5000
242eb60705aSEric Wollesen	tristate "Intel Greencreek/Blackford chipset"
243e3c4ff6dSBorislav Petkov	depends on X86 && PCI
24475564191SAristeu Rozanski	depends on BROKEN
245eb60705aSEric Wollesen	help
246eb60705aSEric Wollesen	  Support for error detection and correction the Intel
247eb60705aSEric Wollesen	  Greekcreek/Blackford chipsets.
248eb60705aSEric Wollesen
2498f421c59SArthur Jonesconfig EDAC_I5100
2508f421c59SArthur Jones	tristate "Intel San Clemente MCH"
251e3c4ff6dSBorislav Petkov	depends on X86 && PCI
2528f421c59SArthur Jones	help
2538f421c59SArthur Jones	  Support for error detection and correction the Intel
2548f421c59SArthur Jones	  San Clemente MCH.
2558f421c59SArthur Jones
256fcaf780bSMauro Carvalho Chehabconfig EDAC_I7300
257fcaf780bSMauro Carvalho Chehab	tristate "Intel Clarksboro MCH"
258e3c4ff6dSBorislav Petkov	depends on X86 && PCI
259fcaf780bSMauro Carvalho Chehab	help
260fcaf780bSMauro Carvalho Chehab	  Support for error detection and correction the Intel
261fcaf780bSMauro Carvalho Chehab	  Clarksboro MCH (Intel 7300 chipset).
262fcaf780bSMauro Carvalho Chehab
2633d78c9afSMauro Carvalho Chehabconfig EDAC_SBRIDGE
26450d1bb93SAristeu Rozanski	tristate "Intel Sandy-Bridge/Ivy-Bridge/Haswell Integrated MC"
265e3c4ff6dSBorislav Petkov	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
2663d78c9afSMauro Carvalho Chehab	help
2673d78c9afSMauro Carvalho Chehab	  Support for error detection and correction the Intel
26850d1bb93SAristeu Rozanski	  Sandy Bridge, Ivy Bridge and Haswell Integrated Memory Controllers.
2693d78c9afSMauro Carvalho Chehab
2704ec656bdSTony Luckconfig EDAC_SKX
2714ec656bdSTony Luck	tristate "Intel Skylake server Integrated MC"
27224c9d423SLuck, Tony	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
273de245ae0SRandy Dunlap	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
27458ca9ac1STony Luck	select DMI
27524c9d423SLuck, Tony	select ACPI_ADXL
2764ec656bdSTony Luck	help
2774ec656bdSTony Luck	  Support for error detection and correction the Intel
27858ca9ac1STony Luck	  Skylake server Integrated Memory Controllers. If your
27958ca9ac1STony Luck	  system has non-volatile DIMMs you should also manually
28058ca9ac1STony Luck	  select CONFIG_ACPI_NFIT.
2814ec656bdSTony Luck
282d4dc89d0SQiuxu Zhuoconfig EDAC_I10NM
283d4dc89d0SQiuxu Zhuo	tristate "Intel 10nm server Integrated MC"
284d6a9f733STony Luck	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
285d4dc89d0SQiuxu Zhuo	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
286d4dc89d0SQiuxu Zhuo	select DMI
287d6a9f733STony Luck	select ACPI_ADXL
288d4dc89d0SQiuxu Zhuo	help
289d4dc89d0SQiuxu Zhuo	  Support for error detection and correction the Intel
290d4dc89d0SQiuxu Zhuo	  10nm server Integrated Memory Controllers. If your
291d4dc89d0SQiuxu Zhuo	  system has non-volatile DIMMs you should also manually
292d4dc89d0SQiuxu Zhuo	  select CONFIG_ACPI_NFIT.
293d4dc89d0SQiuxu Zhuo
2945c71ad17STony Luckconfig EDAC_PND2
2955c71ad17STony Luck	tristate "Intel Pondicherry2"
296e3c4ff6dSBorislav Petkov	depends on PCI && X86_64 && X86_MCE_INTEL
2977b2db704SAndy Shevchenko	select P2SB if X86
2985c71ad17STony Luck	help
2995c71ad17STony Luck	  Support for error detection and correction on the Intel
3005c71ad17STony Luck	  Pondicherry2 Integrated Memory Controller. This SoC IP is
3015c71ad17STony Luck	  first used on the Apollo Lake platform and Denverton
3025c71ad17STony Luck	  micro-server but may appear on others in the future.
3035c71ad17STony Luck
30410590a9dSQiuxu Zhuoconfig EDAC_IGEN6
30510590a9dSQiuxu Zhuo	tristate "Intel client SoC Integrated MC"
3060a9ece9bSRandy Dunlap	depends on PCI && PCI_MMCONFIG && ARCH_HAVE_NMI_SAFE_CMPXCHG
307a1c9ca5fSRandy Dunlap	depends on X86_64 && X86_MCE_INTEL
30810590a9dSQiuxu Zhuo	help
30910590a9dSQiuxu Zhuo	  Support for error detection and correction on the Intel
31010590a9dSQiuxu Zhuo	  client SoC Integrated Memory Controller using In-Band ECC IP.
31110590a9dSQiuxu Zhuo	  This In-Band ECC is first used on the Elkhart Lake SoC but
31210590a9dSQiuxu Zhuo	  may appear on others in the future.
31310590a9dSQiuxu Zhuo
314a9a753d5SDave Jiangconfig EDAC_MPC85XX
3152b8358a9SMichael Ellerman	bool "Freescale MPC83xx / MPC85xx"
3162b8358a9SMichael Ellerman	depends on FSL_SOC && EDAC=y
317a9a753d5SDave Jiang	help
318a9a753d5SDave Jiang	  Support for error detection and correction on the Freescale
31974210267SYork Sun	  MPC8349, MPC8560, MPC8540, MPC8548, T4240
320a9a753d5SDave Jiang
321eeb3d68bSYork Sunconfig EDAC_LAYERSCAPE
322eeb3d68bSYork Sun	tristate "Freescale Layerscape DDR"
32328dd6726SRasmus Villemoes	depends on ARCH_LAYERSCAPE || SOC_LS1021A
324eeb3d68bSYork Sun	help
325eeb3d68bSYork Sun	  Support for error detection and correction on Freescale memory
326eeb3d68bSYork Sun	  controllers on Layerscape SoCs.
327eeb3d68bSYork Sun
3287d8536fbSEgor Martovetskyconfig EDAC_PASEMI
3297d8536fbSEgor Martovetsky	tristate "PA Semi PWRficient"
330e3c4ff6dSBorislav Petkov	depends on PPC_PASEMI && PCI
3317d8536fbSEgor Martovetsky	help
3327d8536fbSEgor Martovetsky	  Support for error detection and correction on PA Semi
3337d8536fbSEgor Martovetsky	  PWRficient.
3347d8536fbSEgor Martovetsky
3352a9036afSHarry Ciaoconfig EDAC_CPC925
3362a9036afSHarry Ciao	tristate "IBM CPC925 Memory Controller (PPC970FX)"
337e3c4ff6dSBorislav Petkov	depends on PPC64
3382a9036afSHarry Ciao	help
3392a9036afSHarry Ciao	  Support for error detection and correction on the
3402a9036afSHarry Ciao	  IBM CPC925 Bridge and Memory Controller, which is
3412a9036afSHarry Ciao	  a companion chip to the PowerPC 970 family of
3422a9036afSHarry Ciao	  processors.
3432a9036afSHarry Ciao
344a1b01edbSRob Herringconfig EDAC_HIGHBANK_MC
345a1b01edbSRob Herring	tristate "Highbank Memory Controller"
346e3c4ff6dSBorislav Petkov	depends on ARCH_HIGHBANK
347a1b01edbSRob Herring	help
348a1b01edbSRob Herring	  Support for error detection and correction on the
349a1b01edbSRob Herring	  Calxeda Highbank memory controller.
350a1b01edbSRob Herring
35169154d06SRob Herringconfig EDAC_HIGHBANK_L2
35269154d06SRob Herring	tristate "Highbank L2 Cache"
353e3c4ff6dSBorislav Petkov	depends on ARCH_HIGHBANK
35469154d06SRob Herring	help
35569154d06SRob Herring	  Support for error detection and correction on the
35669154d06SRob Herring	  Calxeda Highbank memory controller.
35769154d06SRob Herring
358f65aad41SRalf Baechleconfig EDAC_OCTEON_PC
359f65aad41SRalf Baechle	tristate "Cavium Octeon Primary Caches"
360e3c4ff6dSBorislav Petkov	depends on CPU_CAVIUM_OCTEON
361f65aad41SRalf Baechle	help
362f65aad41SRalf Baechle	  Support for error detection and correction on the primary caches of
363f65aad41SRalf Baechle	  the cnMIPS cores of Cavium Octeon family SOCs.
364f65aad41SRalf Baechle
365f65aad41SRalf Baechleconfig EDAC_OCTEON_L2C
366f65aad41SRalf Baechle	tristate "Cavium Octeon Secondary Caches (L2C)"
367e3c4ff6dSBorislav Petkov	depends on CAVIUM_OCTEON_SOC
368f65aad41SRalf Baechle	help
369f65aad41SRalf Baechle	  Support for error detection and correction on the
370f65aad41SRalf Baechle	  Cavium Octeon family of SOCs.
371f65aad41SRalf Baechle
372f65aad41SRalf Baechleconfig EDAC_OCTEON_LMC
373f65aad41SRalf Baechle	tristate "Cavium Octeon DRAM Memory Controller (LMC)"
374e3c4ff6dSBorislav Petkov	depends on CAVIUM_OCTEON_SOC
375f65aad41SRalf Baechle	help
376f65aad41SRalf Baechle	  Support for error detection and correction on the
377f65aad41SRalf Baechle	  Cavium Octeon family of SOCs.
378f65aad41SRalf Baechle
379f65aad41SRalf Baechleconfig EDAC_OCTEON_PCI
380f65aad41SRalf Baechle	tristate "Cavium Octeon PCI Controller"
381e3c4ff6dSBorislav Petkov	depends on PCI && CAVIUM_OCTEON_SOC
382f65aad41SRalf Baechle	help
383f65aad41SRalf Baechle	  Support for error detection and correction on the
384f65aad41SRalf Baechle	  Cavium Octeon family of SOCs.
385f65aad41SRalf Baechle
38641003396SSergey Temerkhanovconfig EDAC_THUNDERX
38741003396SSergey Temerkhanov	tristate "Cavium ThunderX EDAC"
38841003396SSergey Temerkhanov	depends on ARM64
38941003396SSergey Temerkhanov	depends on PCI
39041003396SSergey Temerkhanov	help
39141003396SSergey Temerkhanov	  Support for error detection and correction on the
39241003396SSergey Temerkhanov	  Cavium ThunderX memory controllers (LMC), Cache
39341003396SSergey Temerkhanov	  Coherent Processor Interconnect (CCPI) and L2 cache
39441003396SSergey Temerkhanov	  blocks (TAD, CBC, MCI).
39541003396SSergey Temerkhanov
396c3eea194SThor Thayerconfig EDAC_ALTERA
397c3eea194SThor Thayer	bool "Altera SOCFPGA ECC"
398098da961SKrzysztof Kozlowski	depends on EDAC=y && ARCH_INTEL_SOCFPGA
39971bcada8SThor Thayer	help
40071bcada8SThor Thayer	  Support for error detection and correction on the
401580b5cf5SThor Thayer	  Altera SOCs. This is the global enable for the
402580b5cf5SThor Thayer	  various Altera peripherals.
403580b5cf5SThor Thayer
404580b5cf5SThor Thayerconfig EDAC_ALTERA_SDRAM
405580b5cf5SThor Thayer	bool "Altera SDRAM ECC"
406580b5cf5SThor Thayer	depends on EDAC_ALTERA=y
407580b5cf5SThor Thayer	help
408580b5cf5SThor Thayer	  Support for error detection and correction on the
409580b5cf5SThor Thayer	  Altera SDRAM Memory for Altera SoCs. Note that the
410580b5cf5SThor Thayer	  preloader must initialize the SDRAM before loading
411580b5cf5SThor Thayer	  the kernel.
412c3eea194SThor Thayer
413c3eea194SThor Thayerconfig EDAC_ALTERA_L2C
414c3eea194SThor Thayer	bool "Altera L2 Cache ECC"
4153a8f21f1SThor Thayer	depends on EDAC_ALTERA=y && CACHE_L2X0
416c3eea194SThor Thayer	help
417c3eea194SThor Thayer	  Support for error detection and correction on the
418c3eea194SThor Thayer	  Altera L2 cache Memory for Altera SoCs. This option
4193a8f21f1SThor Thayer	  requires L2 cache.
420c3eea194SThor Thayer
421c3eea194SThor Thayerconfig EDAC_ALTERA_OCRAM
422c3eea194SThor Thayer	bool "Altera On-Chip RAM ECC"
423c3eea194SThor Thayer	depends on EDAC_ALTERA=y && SRAM && GENERIC_ALLOCATOR
424c3eea194SThor Thayer	help
425c3eea194SThor Thayer	  Support for error detection and correction on the
426c3eea194SThor Thayer	  Altera On-Chip RAM Memory for Altera SoCs.
42771bcada8SThor Thayer
428ab8c1e0fSThor Thayerconfig EDAC_ALTERA_ETHERNET
429ab8c1e0fSThor Thayer	bool "Altera Ethernet FIFO ECC"
430ab8c1e0fSThor Thayer	depends on EDAC_ALTERA=y
431ab8c1e0fSThor Thayer	help
432ab8c1e0fSThor Thayer	  Support for error detection and correction on the
433ab8c1e0fSThor Thayer	  Altera Ethernet FIFO Memory for Altera SoCs.
434ab8c1e0fSThor Thayer
435c6882fb2SThor Thayerconfig EDAC_ALTERA_NAND
436c6882fb2SThor Thayer	bool "Altera NAND FIFO ECC"
437c6882fb2SThor Thayer	depends on EDAC_ALTERA=y && MTD_NAND_DENALI
438c6882fb2SThor Thayer	help
439c6882fb2SThor Thayer	  Support for error detection and correction on the
440c6882fb2SThor Thayer	  Altera NAND FIFO Memory for Altera SoCs.
441c6882fb2SThor Thayer
442e8263793SThor Thayerconfig EDAC_ALTERA_DMA
443e8263793SThor Thayer	bool "Altera DMA FIFO ECC"
444e8263793SThor Thayer	depends on EDAC_ALTERA=y && PL330_DMA=y
445e8263793SThor Thayer	help
446e8263793SThor Thayer	  Support for error detection and correction on the
447e8263793SThor Thayer	  Altera DMA FIFO Memory for Altera SoCs.
448e8263793SThor Thayer
449c609581dSThor Thayerconfig EDAC_ALTERA_USB
450c609581dSThor Thayer	bool "Altera USB FIFO ECC"
451c609581dSThor Thayer	depends on EDAC_ALTERA=y && USB_DWC2
452c609581dSThor Thayer	help
453c609581dSThor Thayer	  Support for error detection and correction on the
454c609581dSThor Thayer	  Altera USB FIFO Memory for Altera SoCs.
455c609581dSThor Thayer
456485fe9e2SThor Thayerconfig EDAC_ALTERA_QSPI
457485fe9e2SThor Thayer	bool "Altera QSPI FIFO ECC"
458485fe9e2SThor Thayer	depends on EDAC_ALTERA=y && SPI_CADENCE_QUADSPI
459485fe9e2SThor Thayer	help
460485fe9e2SThor Thayer	  Support for error detection and correction on the
461485fe9e2SThor Thayer	  Altera QSPI FIFO Memory for Altera SoCs.
462485fe9e2SThor Thayer
46391104984SThor Thayerconfig EDAC_ALTERA_SDMMC
46491104984SThor Thayer	bool "Altera SDMMC FIFO ECC"
46591104984SThor Thayer	depends on EDAC_ALTERA=y && MMC_DW
46691104984SThor Thayer	help
46791104984SThor Thayer	  Support for error detection and correction on the
46891104984SThor Thayer	  Altera SDMMC FIFO Memory for Altera SoCs.
46991104984SThor Thayer
47091abaeaaSYash Shahconfig EDAC_SIFIVE
47191abaeaaSYash Shah	bool "Sifive platform EDAC driver"
472ca120a79SGreentime Hu	depends on EDAC=y && SIFIVE_CCACHE
47391abaeaaSYash Shah	help
47491abaeaaSYash Shah	  Support for error detection and correction on the SiFive SoCs.
47591abaeaaSYash Shah
4767f6998a4SJan Luebbeconfig EDAC_ARMADA_XP
4777f6998a4SJan Luebbe	bool "Marvell Armada XP DDR and L2 Cache ECC"
4787f6998a4SJan Luebbe	depends on MACH_MVEBU_V7
4797f6998a4SJan Luebbe	help
4807f6998a4SJan Luebbe	  Support for error correction and detection on the Marvell Aramada XP
4817f6998a4SJan Luebbe	  DDR RAM and L2 cache controllers.
4827f6998a4SJan Luebbe
483ae9b56e3SPunnaiah Choudary Kalluriconfig EDAC_SYNOPSYS
484ae9b56e3SPunnaiah Choudary Kalluri	tristate "Synopsys DDR Memory Controller"
4855297ecfeSSherry Sun	depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || ARCH_MXC
486ae9b56e3SPunnaiah Choudary Kalluri	help
487ae9b56e3SPunnaiah Choudary Kalluri	  Support for error detection and correction on the Synopsys DDR
488ae9b56e3SPunnaiah Choudary Kalluri	  memory controller.
489ae9b56e3SPunnaiah Choudary Kalluri
4900d442930SLoc Hoconfig EDAC_XGENE
4910d442930SLoc Ho	tristate "APM X-Gene SoC"
492e3c4ff6dSBorislav Petkov	depends on (ARM64 || COMPILE_TEST)
4930d442930SLoc Ho	help
4940d442930SLoc Ho	  Support for error detection and correction on the
4950d442930SLoc Ho	  APM X-Gene family of SOCs.
4960d442930SLoc Ho
49786a18ee2STero Kristoconfig EDAC_TI
49886a18ee2STero Kristo	tristate "Texas Instruments DDR3 ECC Controller"
49986a18ee2STero Kristo	depends on ARCH_KEYSTONE || SOC_DRA7XX
50086a18ee2STero Kristo	help
501a483e227SKrzysztof Kozlowski	  Support for error detection and correction on the TI SoCs.
50286a18ee2STero Kristo
50327450653SChannagoud Kadabiconfig EDAC_QCOM
50427450653SChannagoud Kadabi	tristate "QCOM EDAC Controller"
50527450653SChannagoud Kadabi	depends on ARCH_QCOM && QCOM_LLCC
50627450653SChannagoud Kadabi	help
50727450653SChannagoud Kadabi	  Support for error detection and correction on the
50827450653SChannagoud Kadabi	  Qualcomm Technologies, Inc. SoCs.
50927450653SChannagoud Kadabi
51027450653SChannagoud Kadabi	  This driver reports Single Bit Errors (SBEs) and Double Bit Errors (DBEs).
51127450653SChannagoud Kadabi	  As of now, it supports error reporting for Last Level Cache Controller (LLCC)
51227450653SChannagoud Kadabi	  of Tag RAM and Data RAM.
51327450653SChannagoud Kadabi
51427450653SChannagoud Kadabi	  For debugging issues having to do with stability and overall system
51527450653SChannagoud Kadabi	  health, you should probably say 'Y' here.
51627450653SChannagoud Kadabi
5179b7e6242SStefan M Schaeckelerconfig EDAC_ASPEED
518edfc2d73STroy Lee	tristate "Aspeed AST BMC SoC"
519edfc2d73STroy Lee	depends on ARCH_ASPEED
5209b7e6242SStefan M Schaeckeler	help
521edfc2d73STroy Lee	  Support for error detection and correction on the Aspeed AST BMC SoC.
5229b7e6242SStefan M Schaeckeler
5239b7e6242SStefan M Schaeckeler	  First, ECC must be configured in the bootloader. Then, this driver
5249b7e6242SStefan M Schaeckeler	  will expose error counters via the EDAC kernel framework.
5259b7e6242SStefan M Schaeckeler
52682413e56SShravan Kumar Ramaniconfig EDAC_BLUEFIELD
52782413e56SShravan Kumar Ramani	tristate "Mellanox BlueField Memory ECC"
52882413e56SShravan Kumar Ramani	depends on ARM64 && ((MELLANOX_PLATFORM && ACPI) || COMPILE_TEST)
52982413e56SShravan Kumar Ramani	help
53082413e56SShravan Kumar Ramani	  Support for error detection and correction on the
53182413e56SShravan Kumar Ramani	  Mellanox BlueField SoCs.
53282413e56SShravan Kumar Ramani
5331088750dSLei Wangconfig EDAC_DMC520
5341088750dSLei Wang	tristate "ARM DMC-520 ECC"
5351088750dSLei Wang	depends on ARM64
5361088750dSLei Wang	help
5371088750dSLei Wang	  Support for error detection and correction on the
5381088750dSLei Wang	  SoCs with ARM DMC-520 DRAM controller.
5391088750dSLei Wang
5403bd2706cSSai Krishna Potthuriconfig EDAC_ZYNQMP
5413bd2706cSSai Krishna Potthuri	tristate "Xilinx ZynqMP OCM Controller"
5423bd2706cSSai Krishna Potthuri	depends on ARCH_ZYNQMP || COMPILE_TEST
5433bd2706cSSai Krishna Potthuri	help
5443bd2706cSSai Krishna Potthuri	  This driver supports error detection and correction for the
5453bd2706cSSai Krishna Potthuri	  Xilinx ZynqMP OCM (On Chip Memory) controller. It can also be
5463bd2706cSSai Krishna Potthuri	  built as a module. In that case it will be called zynqmp_edac.
5473bd2706cSSai Krishna Potthuri
548d244c610SMarvin Linconfig EDAC_NPCM
549d244c610SMarvin Lin	tristate "Nuvoton NPCM DDR Memory Controller"
550d244c610SMarvin Lin	depends on (ARCH_NPCM || COMPILE_TEST)
551d244c610SMarvin Lin	help
552d244c610SMarvin Lin	  Support for error detection and correction on the Nuvoton NPCM DDR
553d244c610SMarvin Lin	  memory controller.
554d244c610SMarvin Lin
555d244c610SMarvin Lin	  The memory controller supports single bit error correction, double bit
556d244c610SMarvin Lin	  error detection (in-line ECC in which a section 1/8th of the memory
557d244c610SMarvin Lin	  device used to store data is used for ECC storage).
558d244c610SMarvin Lin
5596f15b178SShubhrajyoti Dattaconfig EDAC_VERSAL
5606f15b178SShubhrajyoti Datta	tristate "Xilinx Versal DDR Memory Controller"
5616f15b178SShubhrajyoti Datta	depends on ARCH_ZYNQMP || COMPILE_TEST
5626f15b178SShubhrajyoti Datta	help
5636f15b178SShubhrajyoti Datta	  Support for error detection and correction on the Xilinx Versal DDR
5646f15b178SShubhrajyoti Datta	  memory controller.
5656f15b178SShubhrajyoti Datta
5666f15b178SShubhrajyoti Datta	  Report both single bit errors (CE) and double bit errors (UE).
5676f15b178SShubhrajyoti Datta	  Support injecting both correctable and uncorrectable errors
5686f15b178SShubhrajyoti Datta	  for debugging purposes.
5696f15b178SShubhrajyoti Datta
570558aff7aSZhao Qunqinconfig EDAC_LOONGSON
571558aff7aSZhao Qunqin	tristate "Loongson Memory Controller"
572558aff7aSZhao Qunqin	depends on LOONGARCH && ACPI
573558aff7aSZhao Qunqin	help
574558aff7aSZhao Qunqin	  Support for error detection and correction on the Loongson
575558aff7aSZhao Qunqin	  family memory controller. This driver reports single bit
576558aff7aSZhao Qunqin	  errors (CE) only. Loongson-3A5000/3C5000/3D5000/3A6000/3C6000
577558aff7aSZhao Qunqin	  are compatible.
5786f15b178SShubhrajyoti Datta
579751cb5e5SJan Engelhardtendif # EDAC
580