Skip to contentSkip to conversation

EDAC: add EDAC driver for DMC520

PATCH Superseded Shiping Ji 1 participant 1 message Jan 23, 2020

Subsystems (2)

v10 of 11 Superseded Latest is v11 →

lore
Share & tools
lore

Shiping Ji

author
#0 lore raw

PATCH v10 2/2 EDAC: add EDAC driver for DMC520

New driver supports error detection and correction on the devices with ARM DMC-520 memory controller.

From: Lei Wang <[email protected]>

---
Changes in v10:
- Fixed issues during V9 review
- Fixed memory width variable in the device specific scope

---
 MAINTAINERS                |   6 +
 drivers/edac/Kconfig       |   7 +
 drivers/edac/Makefile      |   1 +
 drivers/edac/dmc520_edac.c | 656 +++++++++++++++++++++++++++++++++++++
 4 files changed, 670 insertions(+)
 create mode 100644 drivers/edac/dmc520_edac.c
MAINTAINERS +6 -0
index bd5847e802de..386195a019c6 100644
@@ -5914,6 +5914,12 @@ F:	Documentation/driver-api/edac.rst
 F:	drivers/edac/
 F:	include/linux/edac.h
 
+EDAC-DMC520
+M:	Lei Wang <[email protected]>
+L:	[email protected]
+S:	Supported
+F:	drivers/edac/dmc520_edac.c
+
 EDAC-E752X
 M:	Mark Gross <[email protected]>
 L:	[email protected]
drivers/edac/Kconfig +7 -0
index 37027c298323..7305bd1ec80e 100644
@@ -523,4 +523,11 @@ config EDAC_BLUEFIELD
 	  Support for error detection and correction on the
 	  Mellanox BlueField SoCs.
 
+config EDAC_DMC520
+	tristate "ARM DMC-520 ECC"
+	depends on ARM64
+	help
+	  Support for error detection and correction on the
+	  SoCs with ARM DMC-520 DRAM controller.
+
 endif # EDAC
drivers/edac/Makefile +1 -0
index d77200c9680b..269e15118cea 100644
@@ -87,3 +87,4 @@ obj-$(CONFIG_EDAC_TI)			+= ti_edac.o
 obj-$(CONFIG_EDAC_QCOM)			+= qcom_edac.o
 obj-$(CONFIG_EDAC_ASPEED)		+= aspeed_edac.o
 obj-$(CONFIG_EDAC_BLUEFIELD)		+= bluefield_edac.o
+obj-$(CONFIG_EDAC_DMC520)		+= dmc520_edac.o
drivers/edac/dmc520_edac.c new file +656 -0

656 lines not on this page · raw message

Signature · 1 line
2.17.1