diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2012-10-16 18:39:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-12 10:48:49 -0500 |
commit | f65aad41772f6a0022e9763fe06f47604449964c (patch) | |
tree | 701d6ea74ac0c41f008c5554d876945fe4caf512 /drivers/edac/Kconfig | |
parent | aa1762f49c81a14d0453e4f67f922e4f155510a3 (diff) |
MIPS: Cavium: Add EDAC support.
Drivers for EDAC on Cavium. Supported subsystems are:
o CPU primary caches. These are parity protected only, so only error
reporting.
o Second level cache - ECC protected, provides SECDED.
o Memory: ECC / SECDEC if used with suitable DRAM modules. The driver will
will only initialize if ECC is enabled on a system so is safe to run on
non-ECC memory.
o PCI: Parity error reporting
Since it is very hard to test this sort of code the implementation is very
conservative and uses polling where possible for now.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reviewed-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r-- | drivers/edac/Kconfig | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 409b92b8d346..a9db20815a39 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig | |||
@@ -7,7 +7,7 @@ | |||
7 | menuconfig EDAC | 7 | menuconfig EDAC |
8 | bool "EDAC (Error Detection And Correction) reporting" | 8 | bool "EDAC (Error Detection And Correction) reporting" |
9 | depends on HAS_IOMEM | 9 | depends on HAS_IOMEM |
10 | depends on X86 || PPC || TILE || ARM | 10 | depends on X86 || PPC || TILE || ARM || EDAC_SUPPORT |
11 | help | 11 | help |
12 | EDAC is designed to report errors in the core system. | 12 | EDAC is designed to report errors in the core system. |
13 | These are low-level errors that are reported in the CPU or | 13 | These are low-level errors that are reported in the CPU or |
@@ -27,6 +27,9 @@ menuconfig EDAC | |||
27 | There is also a mailing list for the EDAC project, which can | 27 | There is also a mailing list for the EDAC project, which can |
28 | be found via the sourceforge page. | 28 | be found via the sourceforge page. |
29 | 29 | ||
30 | config EDAC_SUPPORT | ||
31 | bool | ||
32 | |||
30 | if EDAC | 33 | if EDAC |
31 | 34 | ||
32 | comment "Reporting subsystems" | 35 | comment "Reporting subsystems" |
@@ -316,4 +319,32 @@ config EDAC_HIGHBANK_L2 | |||
316 | Support for error detection and correction on the | 319 | Support for error detection and correction on the |
317 | Calxeda Highbank memory controller. | 320 | Calxeda Highbank memory controller. |
318 | 321 | ||
322 | config EDAC_OCTEON_PC | ||
323 | tristate "Cavium Octeon Primary Caches" | ||
324 | depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON | ||
325 | help | ||
326 | Support for error detection and correction on the primary caches of | ||
327 | the cnMIPS cores of Cavium Octeon family SOCs. | ||
328 | |||
329 | config EDAC_OCTEON_L2C | ||
330 | tristate "Cavium Octeon Secondary Caches (L2C)" | ||
331 | depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON | ||
332 | help | ||
333 | Support for error detection and correction on the | ||
334 | Cavium Octeon family of SOCs. | ||
335 | |||
336 | config EDAC_OCTEON_LMC | ||
337 | tristate "Cavium Octeon DRAM Memory Controller (LMC)" | ||
338 | depends on EDAC_MM_EDAC && CPU_CAVIUM_OCTEON | ||
339 | help | ||
340 | Support for error detection and correction on the | ||
341 | Cavium Octeon family of SOCs. | ||
342 | |||
343 | config EDAC_OCTEON_PCI | ||
344 | tristate "Cavium Octeon PCI Controller" | ||
345 | depends on EDAC_MM_EDAC && PCI && CPU_CAVIUM_OCTEON | ||
346 | help | ||
347 | Support for error detection and correction on the | ||
348 | Cavium Octeon family of SOCs. | ||
349 | |||
319 | endif # EDAC | 350 | endif # EDAC |