[PATCH v2 0/5] EDAC: Versal NET: Add support for error notification

Shubhrajyoti Datta posted 5 patches 1 year, 4 months ago
There is a newer version of this series
.../amd,versalnet-ddrmc.yaml                  |   40 +
drivers/cdx/controller/mc_cdx_pcol.h          |   16 +
drivers/cdx/controller/mcdi.c                 |    3 +
drivers/edac/Kconfig                          |    9 +
drivers/edac/Makefile                         |    1 +
drivers/edac/versalnet_rpmsg_edac.c           | 1328 +++++++++++++++++
drivers/ras/ras.c                             |    1 +
7 files changed, 1398 insertions(+)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/amd,versalnet-ddrmc.yaml
create mode 100644 drivers/edac/versalnet_rpmsg_edac.c
[PATCH v2 0/5] EDAC: Versal NET: Add support for error notification
Posted by Shubhrajyoti Datta 1 year, 4 months ago
Adds support for the error notification.
Currently 20 errors has been tested.
This driver is receiving events over rpmsg.
It does not access the registers by itself instead the NMC
reads and sends the info by rpmsg

Also we register the edac once and it reports the errors for all the
events including the 8 DDRMC controllers. So while registering we give
the particulars of the 1st controller.


Changes in v2:
- Remove the dwidth, rank and channel number the same is read from the RpMsg.
- rename EDAC to memory controller
- update the compatible name
- Add remote proc handle
- remove reset
- Add the remote proc requests
- remove probe_once
- reorder the rpmsg registration
- Export the symbols for module compilation

Shubhrajyoti Datta (5):
  cdx: export the symbols
  ras: export the log_non_standard_event
  cdx: add DDRMC commands
  dt-bindings: memory-controllers: Add support for Versal NET EDAC
  EDAC: Versal NET: Add support for error notification

 .../amd,versalnet-ddrmc.yaml                  |   40 +
 drivers/cdx/controller/mc_cdx_pcol.h          |   16 +
 drivers/cdx/controller/mcdi.c                 |    3 +
 drivers/edac/Kconfig                          |    9 +
 drivers/edac/Makefile                         |    1 +
 drivers/edac/versalnet_rpmsg_edac.c           | 1328 +++++++++++++++++
 drivers/ras/ras.c                             |    1 +
 7 files changed, 1398 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/amd,versalnet-ddrmc.yaml
 create mode 100644 drivers/edac/versalnet_rpmsg_edac.c

-- 
2.17.1