• Ralf Baechle's avatar
    MIPS: Cavium: Add EDAC support. · f65aad41
    Ralf Baechle authored
    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: default avatarRalf Baechle <ralf@linux-mips.org>
    Reviewed-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
    f65aad41
setup.c 22.9 KB