mbox series

[0/3] EDAC: Versal NET: Add support for error notification

Message ID 20241122100625.24571-1-shubhrajyoti.datta@amd.com (mailing list archive)
Headers show
Series EDAC: Versal NET: Add support for error notification | expand

Message

Shubhrajyoti Datta Nov. 22, 2024, 10:06 a.m. UTC
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.


Shubhrajyoti Datta (3):
  dt-bindings: memory-controllers: Add support for Versal NET EDAC
  cdx: add DDRMC commands
  EDAC: Versal NET: Add support for error notification

 .../ABI/testing/sysfs-driver-versalnet-edac   |   11 +
 .../amd,versalnet-edac.yaml                   |   56 +
 drivers/cdx/controller/mc_cdx_pcol.h          |   16 +
 drivers/edac/Kconfig                          |    9 +
 drivers/edac/Makefile                         |    1 +
 drivers/edac/versalnet_rpmsg_edac.c           | 1321 +++++++++++++++++
 6 files changed, 1414 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-versalnet-edac
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/amd,versalnet-edac.yaml
 create mode 100644 drivers/edac/versalnet_rpmsg_edac.c