EDAC: add EDAC driver for DMC520
Subsystems (2)
PATCH v8 2/2 EDAC: add EDAC driver for DMC520
New driver supports error detection and correction on the devices with ARM DMC-520 memory controller.
---
Changes in v8:
- Removed interrupt-config and replaced with an interrupt map where names and masks are predefined
- Only one ISR function is defined, mask is retrieved from the interrupt map
- "dram_ecc_errc" and "dram_ecc_errd" are implemented
--- MAINTAINERS | 6 + drivers/edac/Kconfig | 7 + drivers/edac/Makefile | 1 + drivers/edac/dmc520_edac.c | 670 +++++++++++++++++++++++++++++++++++++ 4 files changed, 684 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 +670 -0
670 lines not on this page · raw message
Signature · 1 line
2.17.1
Borislav Petkov
maintainerQuoted 5 lines · Shiping Ji
New driver supports error detection and correction on the devices with ARM DMC-520 memory controller.
Signed-off-by Shiping Ji <[email protected]>Reviewed-by James Morse <[email protected]>
I don't think you've understood the whole SOB chain thing yet. Previous submissions had
and her as author and you've completely removed those and made yourself an author because when I apply this patch, it would take the From:
header from the mail and make it the author.
But you can't simply remove her authorship... you need to read that doc again.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 10 lines · Borislav Petkov
Quoted 5 lines · Shiping Ji
New driver supports error detection and correction on the devices with ARM DMC-520 memory controller.
Signed-off-by Shiping Ji <[email protected]>Reviewed-by James Morse <[email protected]>I don't think you've understood the whole SOB chain thing yet. Previous submissions had
Quoted 9 lines
Signed-off-by Lei Wang <[email protected]>and her as author and you've completely removed those and made yourself an author because when I apply this patch, it would take the From:
header from the mail and make it the author.But you can't simply remove her authorship... you need to read that doc again.
Sorry about it, my misunderstanding again. I'll submit a new patch shortly.
Signature · 2 lines
Best regards, Shiping Ji