Skip to content

Commit ae9b56e

Browse files
Punnaiah Choudary Kallurisuryasaimadhu
authored andcommitted
EDAC, synps: Add EDAC support for zynq ddr ecc controller
Add EDAC support for ecc errors reporting on the synopsys ddr controller. The ddr ecc controller corrects single bit errors and detects double bit errors. Selected important-ish notes from the changelog: - I have not taken care of spliting synps_edac_geterror_info function as it adds additional indentation levels and moreover the existing changes were made as part of the v2 review comments - Removed dt binding info as already there is a binding info available under memorycontroller. so, updated ecc info there. - Shortened the prefix "sysnopsys" to "synps" Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com> Link: http://lkml.kernel.org/r/a728a8d4678f4dbf9de189a480297c3d@BY2FFO11FD034.protection.gbl [ Boris: massage commit message. ] Signed-off-by: Borislav Petkov <bp@suse.de>
1 parent 775c503 commit ae9b56e

File tree

4 files changed

+544
-0
lines changed

4 files changed

+544
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,6 +1583,7 @@ N: xilinx
15831583
F: drivers/clocksource/cadence_ttc_timer.c
15841584
F: drivers/i2c/busses/i2c-cadence.c
15851585
F: drivers/mmc/host/sdhci-of-arasan.c
1586+
F: drivers/edac/synopsys_edac.c
15861587

15871588
ARM SMMU DRIVER
15881589
M: Will Deacon <will.deacon@arm.com>

drivers/edac/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,11 @@ config EDAC_ALTERA_MC
385385
preloader must initialize the SDRAM before loading
386386
the kernel.
387387

388+
config EDAC_SYNOPSYS
389+
tristate "Synopsys DDR Memory Controller"
390+
depends on EDAC_MM_EDAC && ARCH_ZYNQ
391+
help
392+
Support for error detection and correction on the Synopsys DDR
393+
memory controller.
394+
388395
endif # EDAC

drivers/edac/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ obj-$(CONFIG_EDAC_OCTEON_LMC) += octeon_edac-lmc.o
6767
obj-$(CONFIG_EDAC_OCTEON_PCI) += octeon_edac-pci.o
6868

6969
obj-$(CONFIG_EDAC_ALTERA_MC) += altera_edac.o
70+
obj-$(CONFIG_EDAC_SYNOPSYS) += synopsys_edac.o

0 commit comments

Comments
 (0)