mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v5 0/5] EDAC: Versal NET: Add support for error notification
@ 2025-01-06  5:33 Shubhrajyoti Datta
  2025-01-06  5:33 ` [PATCH v5 1/5] cdx: export the symbols Shubhrajyoti Datta
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Shubhrajyoti Datta @ 2025-01-06  5:33 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Conor Dooley, Borislav Petkov,
	Tony Luck, James Morse, Mauro Carvalho Chehab, Robert Richter,
	Shubhrajyoti Datta, linux-kernel, devicetree, linux-edac
  Cc: git

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 v5:
Update the binding
Update the compatible

Changes in v4:
Update the compatible
align the example
Enhance the description for rproc
Update the compatible

Changes in v3:
make remove void

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

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,versal-net-ddrmc5.yaml                |   41 +
 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           | 1325 +++++++++++++++++
 drivers/ras/ras.c                             |    1 +
 7 files changed, 1396 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/amd,versal-net-ddrmc5.yaml
 create mode 100644 drivers/edac/versalnet_rpmsg_edac.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-03-19 10:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-06  5:33 [PATCH v5 0/5] EDAC: Versal NET: Add support for error notification Shubhrajyoti Datta
2025-01-06  5:33 ` [PATCH v5 1/5] cdx: export the symbols Shubhrajyoti Datta
2025-01-15 22:27   ` Borislav Petkov
2025-02-11  5:29     ` Datta, Shubhrajyoti
2025-01-06  5:33 ` [PATCH v5 2/5] ras: export the log_non_standard_event Shubhrajyoti Datta
2025-01-06  5:33 ` [PATCH v5 3/5] cdx: add DDRMC commands Shubhrajyoti Datta
2025-01-06  5:33 ` [PATCH v5 4/5] dt-bindings: memory-controllers: Add support for Versal NET EDAC Shubhrajyoti Datta
2025-01-07  6:37   ` Krzysztof Kozlowski
2025-01-07 13:57     ` Michal Simek
2025-01-06  5:33 ` [PATCH v5 5/5] EDAC: Versal NET: Add support for error notification Shubhrajyoti Datta
2025-02-11  9:40   ` Borislav Petkov
2025-02-27 11:32     ` Datta, Shubhrajyoti
2025-03-03 17:55       ` Borislav Petkov
2025-03-05  5:18         ` Datta, Shubhrajyoti
2025-03-19 10:41           ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®