EDAC: add EDAC driver for DMC520
Subsystems (2)
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]>
Signed-off-by Lei Wang <[email protected]>
Signed-off-by Shiping Ji <[email protected]>
Reviewed-by James Morse <[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
@@ -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
@@ -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
@@ -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