Skip to content

Commit 4100339

Browse files
temerkhanovsuryasaimadhu
authored andcommitted
EDAC, thunderx: Add Cavium ThunderX EDAC driver
Add support for Cavium ThunderX EDAC capable on-chip peripherals, namely the DRAM controller (LMC), cache coherent processor interconnect (CCPI) and level 2 cache blocks (L2C-TAD, L2C-MCI, L2C-CBC) Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Cc: David.Daney@cavium.com Cc: Jan.Glauber@cavium.com Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/20170324222837.60583-1-s.temerkhanov@gmail.com Signed-off-by: Borislav Petkov <bp@suse.de>
1 parent 819f60f commit 4100339

File tree

4 files changed

+2196
-0
lines changed

4 files changed

+2196
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4695,6 +4695,7 @@ L: linux-edac@vger.kernel.org
46954695
L: linux-mips@linux-mips.org
46964696
S: Supported
46974697
F: drivers/edac/octeon_edac*
4698+
F: drivers/edac/thunderx_edac*
46984699

46994700
EDAC-E752X
47004701
M: Mark Gross <mark.gross@intel.com>

drivers/edac/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,17 @@ config EDAC_OCTEON_PCI
392392
Support for error detection and correction on the
393393
Cavium Octeon family of SOCs.
394394

395+
config EDAC_THUNDERX
396+
tristate "Cavium ThunderX EDAC"
397+
depends on EDAC_MM_EDAC
398+
depends on ARM64
399+
depends on PCI
400+
help
401+
Support for error detection and correction on the
402+
Cavium ThunderX memory controllers (LMC), Cache
403+
Coherent Processor Interconnect (CCPI) and L2 cache
404+
blocks (TAD, CBC, MCI).
405+
395406
config EDAC_ALTERA
396407
bool "Altera SOCFPGA ECC"
397408
depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA

drivers/edac/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ obj-$(CONFIG_EDAC_OCTEON_PC) += octeon_edac-pc.o
7474
obj-$(CONFIG_EDAC_OCTEON_L2C) += octeon_edac-l2c.o
7575
obj-$(CONFIG_EDAC_OCTEON_LMC) += octeon_edac-lmc.o
7676
obj-$(CONFIG_EDAC_OCTEON_PCI) += octeon_edac-pci.o
77+
obj-$(CONFIG_EDAC_THUNDERX) += thunderx_edac.o
7778

7879
obj-$(CONFIG_EDAC_ALTERA) += altera_edac.o
7980
obj-$(CONFIG_EDAC_SYNOPSYS) += synopsys_edac.o

0 commit comments

Comments
 (0)