[PATCH v4 0/3] EDAC/versal: Add XilSEM CRAM/NPI error monitoring support

From: Rama devi Veggalam

Date: Wed Oct 21 2026 - 08:58:51 EST


Add support for XilSEM (Xilinx Soft Error Mitigation) to
the existing versal_edac driver. XilSEM runs as part of the Platform
Loader and Manager (PLM) on the PMC and monitors Configuration RAM
(CRAM) and the NoC Programming Interface (NPI) for correctable and
uncorrectable errors. It is registered as a second, independent EDAC
device alongside the existing DDR memory-controller (DDRMC) device,
using a new "xlnx,versal-xilsem" compatible string on the same
driver module.

Changes in this series:
- Extend the devicetree binding with the new compatible string.
- Add the firmware (EEMI) interface and error-event node ID/
masks XilSEM uses to report status.
- Add the driver support: probe/remove, event callback, sysfs
attributes, and their ABI documentation, bundled together in one
patch so the sysfs interface and its documentation land in the same
commit.

Rama devi Veggalam (3):
dt-bindings: edac: xlnx,versal-ddrmc: Add xlnx,versal-xilsem
compatible
firmware: xilinx: Add XilSEM firmware interface
edac: xilinx: Add XilSEM CRAM/NPI error monitoring support

.../ABI/testing/sysfs-devices-versal-edac | 286 +++++
.../memory-controllers/xlnx,versal-ddrmc-edac.yaml | 64 +-
MAINTAINERS | 5 +
drivers/edac/Kconfig | 17 +-
drivers/edac/versal_edac.c | 1276 +++++++++++++++++++-
drivers/edac/xsem_edac.h | 219 ++++
drivers/firmware/xilinx/Makefile | 2 +-
drivers/firmware/xilinx/zynqmp-sem.c | 229 ++++
drivers/soc/xilinx/xlnx_event_manager.c | 16 +-
include/linux/firmware/xlnx-zynqmp-sem.h | 196 +++
include/linux/firmware/xlnx-zynqmp.h | 50 +
11 files changed, 2328 insertions(+), 32 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-devices-versal-edac
create mode 100644 drivers/edac/xsem_edac.h
create mode 100644 drivers/firmware/xilinx/zynqmp-sem.c
create mode 100644 include/linux/firmware/xlnx-zynqmp-sem.h

--
1.9.5