MIPS: Cavium: Add EDAC support.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 16 Oct 2012 22:39:09 +0000 (00:39 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Dec 2012 15:48:49 +0000 (16:48 +0100)
commitf65aad41772f6a0022e9763fe06f47604449964c
tree701d6ea74ac0c41f008c5554d876945fe4caf512
parentaa1762f49c81a14d0453e4f67f922e4f155510a3
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>
12 files changed:
MAINTAINERS
arch/mips/Kconfig
arch/mips/cavium-octeon/setup.c
arch/mips/mm/c-octeon.c
arch/mips/pci/pci-octeon.c
drivers/edac/Kconfig
drivers/edac/Makefile
drivers/edac/octeon_edac-l2c.c [new file with mode: 0644]
drivers/edac/octeon_edac-lmc.c [new file with mode: 0644]
drivers/edac/octeon_edac-lmc.h [new file with mode: 0644]
drivers/edac/octeon_edac-pc.c [new file with mode: 0644]
drivers/edac/octeon_edac-pci.c [new file with mode: 0644]