RE: [PATCH v5 1/3] dt-bindings: edac: Add Xilinx XilSEM

From: Veggalam, Rama Devi

Date: Fri Nov 27 2026 - 02:01:38 EST


AMD General

Hi Krzysztof,

Please see my response inline.

Regards,
Rama devi

> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Sent: Sunday, November 22, 2026 9:30 PM
> To: Veggalam, Rama Devi <rama.devi.veggalam@xxxxxxx>
> Cc: bp@xxxxxxxxx; tony.luck@xxxxxxxxx; Simek, Michal
> <michal.simek@xxxxxxx>; robh@xxxxxxxxxx; krzk+dt@xxxxxxxxxx;
> conor+dt@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; linux-
> edac@xxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; james.morse@xxxxxxx;
> mchehab@xxxxxxxxxx; rric@xxxxxxxxxx; git (AMD-Xilinx) <git@xxxxxxx>
> Subject: Re: [PATCH v5 1/3] dt-bindings: edac: Add Xilinx XilSEM
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> On Sun, Nov 22, 2026 at 07:35:22AM +0530, Rama devi Veggalam wrote:
> > Add a devicetree binding for the Xilinx Soft Error Mitigation (XilSEM)
> > block on Versal and Versal NET devices.
> >
> > XilSEM is part of the Platform Loader and Manager (PLM) that runs on
> > the Platform Management Controller (PMC). It detects, and optionally
> > corrects, soft errors in the Configuration RAM (CRAM) and the NoC
> > programming interface (NPI) registers. Errors are reported to Linux
> > through the firmware's event notification interface, so the node needs
> > no interrupt property. The only resource is the register region used
> > to read the CRAM and NPI scan status.
> >
> > Only monolithic (single-SLR) devices are supported; multi-SLR devices
> > are not covered by this binding.
> >
> > Use a single compatible, xlnx,xilsem, because XilSEM is common to
> > Versal and Versal NET devices.
> >
> > Signed-off-by: Rama devi Veggalam <rama.devi.veggalam@xxxxxxx>
> > ---
> > Changes in v5:
> > - Moved the XilSEM binding out of the Versal DDRMC EDAC yaml into a
> > separate xilsem yaml.
>
> Why different directory? So not a memory controller?
[Rama]:
XilSEM is not a memory controller. It is part of the PLM firmware and
monitors soft errors in the configuration memory (CRAM) and the NPI
registers. The driver registers an EDAC device, not a memory controller,
so, the binding belongs under edac/.
In v4 it was under memory-controllers/ only because it shared the DDR
memory controller binding. In v5 I split it into its own binding.
>
>
> > - Renamed the compatible to xlnx,xilsem, shared by Versal and Versal
> > NET.
>
> Odd, you need to explain the reasons for deviating from the rules.
[Rama]: The node describes the XilSEM region in the PLM
run-time configuration area, which has the same register layout on
Versal and Versal NET. The only difference, the firmware event IDs, is
selected by the driver at run time, not from the devicetree.
So, I used one compatible. If you prefer SoC-specific compatibles, I can use
xlnx,versal-xilsem and xlnx,versal-net-xilsem. Please suggest.
I will add these in the next version.
>
> Best regards,
> Krzysztof