All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pandey, Radhey Shyam" <radheys@amd.com>
To: Rama devi Veggalam <rama.devi.veggalam@amd.com>,
	bp@alien8.de, tony.luck@intel.com, michal.simek@amd.com,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org,
	devicetree@vger.kernel.org, james.morse@arm.com,
	mchehab@kernel.org, rric@kernel.org, git@amd.com
Subject: Re: [PATCH v5 2/3] firmware: xilinx: Add XilSEM firmware interface
Date: Wed, 2 Dec 2026 15:44:45 +0530	[thread overview]
Message-ID: <85f55d39-e95f-4fa6-8725-6f3c8f16be46@amd.com> (raw)
In-Reply-To: <1795313124-2138932-3-git-send-email-rama.devi.veggalam@amd.com>

On 11/22/2026 7:35 AM, Rama devi Veggalam wrote:
> Add the firmware interface used by the Xilinx Soft Error Mitigation
> (XilSEM) EDAC driver on Versal and Versal NET devices. XilSEM runs as
> part of the Platform Loader and Manager (PLM) on the Platform
> Management Controller (PMC) and performs Configuration RAM (CRAM) and
> NoC programming interface (NPI) scan and error injection operations on
> request from Linux.
> 
> Add zynqmp_pm_xilsem_*() wrappers for scan control, CRAM error
> injection, frame ECC read and configuration read. Add the XilSEM error
> event node IDs and masks, and update xlnx_event_manager.c to accept the
> new software error node ID as a valid error event on both families.
> 
> Signed-off-by: Rama devi Veggalam <rama.devi.veggalam@amd.com>
> ---
> Changes in v5:
> - Replaced the SLR ID with a reserved id argument (must be 0) in the
>    zynqmp_pm_xilsem_*() wrappers and response structs.
> - Dropped SSIT support.
> - Cleared @response at the start of each zynqmp_pm_xilsem_*() wrapper,
>    so a failed call leaves no data from an earlier call.
> - Returned -EIO when the firmware reports a non-zero status, keeping
>    the firmware's code in the response.
> 
> Changes in v4:
> - Added XilSEM error-event node ID and error masks to the existing
>    include/linux/firmware/xlnx-zynqmp.h, used to register for error
>    event notification.
> - Updated xlnx_event_manager.c to recognize the new SW_ERR node ID as
>    a valid error event for both Versal and Versal NET.
> - Added full SSIT (multi-die) support.
> - Changed all firmware responses to use typed struct xsem_*_response *
>    output parameters (7 response structs) instead of raw buffers.
> - Added xsem_narrow_dma_addr() to validate and narrow coherent DMA
>    addresses for the two calls that take a DMA buffer.
> - Added NPI error injection as its own scan-control operation, CRAM
>    error injection has its own dedicated call and is not reachable
>    through the generic control-ops entry point.
> 
> Changes in v3:
> - created separate file for Xilsem ATF EEMI calls.
> 
> Changes in v2:
> - Patch created on top of dependent patch series
> "enhance zynqmp_pm_get_family_info()"
> - Removed non-relevant SOB names in error event header files
> - Updated copyright information
> - Merged Versal and Versal NET error event definitions to firmware
> patch
> ---
>   drivers/firmware/xilinx/Makefile         |   2 +-
>   drivers/firmware/xilinx/zynqmp-sem.c     | 142 +++++++++++++++++++++++++++++++
>   drivers/soc/xilinx/xlnx_event_manager.c  |  16 +++-
>   include/linux/firmware/xlnx-zynqmp-sem.h | 127 +++++++++++++++++++++++++++
>   include/linux/firmware/xlnx-zynqmp.h     |  50 +++++++++++
>   5 files changed, 334 insertions(+), 3 deletions(-)
>   create mode 100644 drivers/firmware/xilinx/zynqmp-sem.c
>   create mode 100644 include/linux/firmware/xlnx-zynqmp-sem.h
> 
> diff --git a/drivers/firmware/xilinx/Makefile b/drivers/firmware/xilinx/Makefile
> index 8db0e66..a71919a 100644
> --- a/drivers/firmware/xilinx/Makefile
> +++ b/drivers/firmware/xilinx/Makefile
> @@ -1,5 +1,5 @@
>   # SPDX-License-Identifier: GPL-2.0
>   # Makefile for Xilinx firmwares
>   
> -obj-$(CONFIG_ZYNQMP_FIRMWARE) += zynqmp.o zynqmp-ufs.o zynqmp-crypto.o
> +obj-$(CONFIG_ZYNQMP_FIRMWARE) += zynqmp.o zynqmp-ufs.o zynqmp-crypto.o zynqmp-sem.o
>   obj-$(CONFIG_ZYNQMP_FIRMWARE_DEBUG) += zynqmp-debug.o
> diff --git a/drivers/firmware/xilinx/zynqmp-sem.c b/drivers/firmware/xilinx/zynqmp-sem.c
> new file mode 100644
> index 0000000..ae73864
> --- /dev/null
> +++ b/drivers/firmware/xilinx/zynqmp-sem.c
> @@ -0,0 +1,142 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Firmware layer for XilSEM APIs.
> + *
> + * Copyright (C), 2026 Advanced Micro Devices, Inc.
> + */
> +
> +#include <linux/export.h>
> +#include <linux/firmware/xlnx-zynqmp.h>
> +#include <linux/firmware/xlnx-zynqmp-sem.h>
> +#include <linux/string.h>
> +
> +/**
> + * zynqmp_pm_xilsem_cntrl_ops - PM call to perform XilSEM operations
> + * @cmd:	Command for XilSEM scan control operations
> + * @id:	Reserved for future use, must be 0
> + * @response:	Output response
> + *
> + * Return: 0 on success, -EIO on a non-zero firmware status, or another
> + *         negative errno. @response is left unchanged if @cmd is invalid.

Trim this description.

> + *         Otherwise it is cleared first and filled once the firmware call
> + *         completes (return value 0 or -EIO).
> + */
> +int zynqmp_pm_xilsem_cntrl_ops(u32 cmd, u32 id, struct xsem_cntrl_ops_response *response)
> +{
> +	u32 ret_buf[PAYLOAD_ARG_CNT];
> +	int ret;
> +
> +	switch (cmd) {
> +	case PM_XSEM_CRAM_INIT_SCAN:
> +	case PM_XSEM_CRAM_START_SCAN:
> +	case PM_XSEM_CRAM_STOP_SCAN:
> +	case PM_XSEM_NPI_START_SCAN:
> +	case PM_XSEM_NPI_STOP_SCAN:
> +	case PM_XSEM_NPI_ERR_INJECT:
> +		break;
> +	default:
> +		return -EINVAL;
> +	}
> +
> +	memset(response, 0, sizeof(*response));
> +
> +	ret = zynqmp_pm_invoke_fn(PM_XSEM_HEADER | cmd, ret_buf, 1, id);
> +	if (ret)
> +		return ret;
> +
> +	memcpy(response, &ret_buf[1], sizeof(*response));
> +
> +	/* The call completed, but the firmware may report a failure in the response */
> +	return response->status ? -EIO : 0;
> +}
> +EXPORT_SYMBOL_GPL(zynqmp_pm_xilsem_cntrl_ops);
> +
> +/**
> + * zynqmp_pm_xilsem_cram_err_inj - PM call to perform CRAM error injection
> + * @id:	Reserved for future use, must be 0
> + * @frame:	Frame number to be used for error injection
> + * @qword:	Word number to be used for error injection
> + * @bit:	Bit location to be used for error injection
> + * @row:	CFRAME row number to be used for error injection

Avoid redundant - "to be used for error injection"

> + * @response:	Output response
> + *
> + * Return: 0 on success, -EIO on a non-zero firmware status, or another
> + *         negative errno. @response is cleared first and filled once the
> + *         firmware call completes (return value 0 or -EIO).
> + */

Trim return description.

> +int zynqmp_pm_xilsem_cram_err_inj(u32 id, u32 frame, u32 qword, u32 bit, u32 row,
> +				  struct xsem_cram_errinj_response *response)
> +{
> +	u32 ret_buf[PAYLOAD_ARG_CNT];
> +	int ret;
> +
> +	memset(response, 0, sizeof(*response));
> +
> +	ret = zynqmp_pm_invoke_fn(PM_XSEM_CRAM_ERRINJ, ret_buf, 5, id, frame, qword,
> +				  bit, row);
> +	if (ret)
> +		return ret;
> +
> +	memcpy(response, &ret_buf[1], sizeof(*response));
> +
> +	/* The call completed, but the firmware may report a failure in the response */

This comment is not really neeeded. Same for later occurences.

> +	return response->status ? -EIO : 0;
> +}
> +EXPORT_SYMBOL_GPL(zynqmp_pm_xilsem_cram_err_inj);
> +
> +/**
> + * zynqmp_pm_xilsem_cram_read_ecc - PM call to perform CFRAME ECC read
> + * @id:	Reserved for future use, must be 0
> + * @frame:	Frame number to be used for reading ECC
> + * @row:	CFRAME row number to be used for reading ECC
> + * @response:	Output response
> + *
> + * Return: 0 on success, -EIO on a non-zero firmware status, or another
> + *         negative errno. @response is cleared first and filled once the
> + *         firmware call completes (return value 0 or -EIO).
> + */
> +int zynqmp_pm_xilsem_cram_read_ecc(u32 id, u32 frame, u32 row,
> +				   struct xsem_cram_readecc_response *response)
> +{
> +	u32 ret_buf[PAYLOAD_ARG_CNT];
> +	int ret;
> +
> +	memset(response, 0, sizeof(*response));
> +
> +	ret = zynqmp_pm_invoke_fn(PM_XSEM_CRAM_RD_ECC, ret_buf, 3, id, frame, row);
> +	if (ret)
> +		return ret;
> +
> +	memcpy(response, &ret_buf[1], sizeof(*response));
> +
> +	/* The call completed, but the firmware may report a failure in the response */
> +	return response->status ? -EIO : 0;
> +}
> +EXPORT_SYMBOL_GPL(zynqmp_pm_xilsem_cram_read_ecc);
> +
> +/**
> + * zynqmp_pm_xilsem_read_cfg - PM call to perform Xilsem configuration read
> + * @id:	Reserved for future use, must be 0
> + * @response:	Output response
> + *
> + * Return: 0 on success, -EIO on a non-zero firmware status, or another
> + *         negative errno. @response is cleared first and filled once the
> + *         firmware call completes (return value 0 or -EIO).
> + */
> +int zynqmp_pm_xilsem_read_cfg(u32 id, struct xsem_read_cfg_response *response)
> +{
> +	u32 ret_buf[PAYLOAD_ARG_CNT];
> +	int ret;
> +
> +	memset(response, 0, sizeof(*response));
> +
> +	ret = zynqmp_pm_invoke_fn(PM_XSEM_RD_CONFIG, ret_buf, 1, id);
> +	if (ret)
> +		return ret;
> +
> +	memcpy(response, &ret_buf[1], sizeof(*response));
> +
> +	/* The call completed, but the firmware may report a failure in the response */
> +	return response->status ? -EIO : 0;
> +}
> +EXPORT_SYMBOL_GPL(zynqmp_pm_xilsem_read_cfg);
> diff --git a/drivers/soc/xilinx/xlnx_event_manager.c b/drivers/soc/xilinx/xlnx_event_manager.c
> index f733dc4..d832ee6 100644
> --- a/drivers/soc/xilinx/xlnx_event_manager.c
> +++ b/drivers/soc/xilinx/xlnx_event_manager.c
> @@ -75,6 +75,16 @@ struct registered_event_data {
>   	struct hlist_node hentry;
>   };
>   
> +/*
> + * Error-event node ids are per-family firmware IDs, packed at
> + * 0x28100000 + n * 0x4000. The same value names different nodes on
> + * different families: 0x28110000 is VERSAL_EVENT_ERROR_SW_ERR and
> + * VERSAL_NET_EVENT_ERROR_PSM_ERR2. Compare a node_id only inside the
> + * arm for the family that owns it. For this predicate the overlap does
> + * not change the result, because 0x28110000 is an error-event node on
> + * every family that defines it. The family split is required for ids
> + * that exist in only one table.
> + */
>   static bool xlnx_is_error_event(const u32 node_id)
>   {
>   	u32 pm_family_code;
> @@ -85,7 +95,8 @@ static bool xlnx_is_error_event(const u32 node_id)
>   		if (node_id == VERSAL_EVENT_ERROR_PMC_ERR1 ||
>   		    node_id == VERSAL_EVENT_ERROR_PMC_ERR2 ||
>   		    node_id == VERSAL_EVENT_ERROR_PSM_ERR1 ||
> -		    node_id == VERSAL_EVENT_ERROR_PSM_ERR2)
> +		    node_id == VERSAL_EVENT_ERROR_PSM_ERR2 ||
> +		    node_id == VERSAL_EVENT_ERROR_SW_ERR)
>   			return true;
>   	} else if (pm_family_code == PM_VERSAL_NET_FAMILY_CODE) {
>   		if (node_id == VERSAL_NET_EVENT_ERROR_PMC_ERR1 ||
> @@ -94,7 +105,8 @@ static bool xlnx_is_error_event(const u32 node_id)
>   		    node_id == VERSAL_NET_EVENT_ERROR_PSM_ERR1 ||
>   		    node_id == VERSAL_NET_EVENT_ERROR_PSM_ERR2 ||
>   		    node_id == VERSAL_NET_EVENT_ERROR_PSM_ERR3 ||
> -		    node_id == VERSAL_NET_EVENT_ERROR_PSM_ERR4)
> +		    node_id == VERSAL_NET_EVENT_ERROR_PSM_ERR4 ||
> +		    node_id == VERSAL_NET_EVENT_ERROR_SW_ERR)
>   			return true;
>   	}
>   
> diff --git a/include/linux/firmware/xlnx-zynqmp-sem.h b/include/linux/firmware/xlnx-zynqmp-sem.h
> new file mode 100644
> index 0000000..9e703ae
> --- /dev/null
> +++ b/include/linux/firmware/xlnx-zynqmp-sem.h
> @@ -0,0 +1,127 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Firmware layer for XilSEM APIs.
> + *
> + * Copyright (C), 2026 Advanced Micro Devices, Inc.
> + */
> +
> +#ifndef __FIRMWARE_ZYNQMP_SEM_H__
> +#define __FIRMWARE_ZYNQMP_SEM_H__
> +
> +#include <linux/errno.h>
> +#include <linux/types.h>
> +
> +/* XilSEM commands */
> +#define PM_XSEM_HEADER			0x300
> +#define PM_XSEM_CRAM_ERRINJ		0x304
> +#define PM_XSEM_RD_CONFIG		0x309
> +#define PM_XSEM_CRAM_RD_ECC		0x30B


The inconsistency. Within the one new header, the module prefix is 
expressed two different ways:

#define PM_XSEM_HEADER          0x300   /* prefix, ORed at the call site */
#define PM_XSEM_CRAM_ERRINJ     0x304   /* prefix baked in */
#define PM_XSEM_RD_CONFIG       0x309   /* prefix baked in */
#define PM_XSEM_CRAM_RD_ECC     0x30B   /* prefix baked in */
enum pm_xsem_cntrl_op {

PM_XSEM_CRAM_INIT_SCAN = 1,             /* bare, prefix added later  */  ...
   };


Better to define all nine commands as bare IDs and apply the module 
prefix in one place:

   #define PM_XSEM_API(id)     (FIELD_PREP(MODULE_ID_MASK, 
XSEM_MODULE_ID) | (id))
   #define PM_XSEM_CRAM_ERRINJ 4
   #define PM_XSEM_RD_CONFIG   9
   #define PM_XSEM_CRAM_RD_ECC 0xB


> +
> +/*
> + * Valid cmd values for zynqmp_pm_xilsem_cntrl_ops(). CRAM error injection
> + * has its own dedicated firmware call (zynqmp_pm_xilsem_cram_err_inj()) and
> + * must not be reachable through this generic entry point, so it is
> + * deliberately not a member of this enum.

Don't define the implementation here.

> + */
> +enum pm_xsem_cntrl_op {
> +	PM_XSEM_CRAM_INIT_SCAN = 1,
> +	PM_XSEM_CRAM_START_SCAN = 2,
> +	PM_XSEM_CRAM_STOP_SCAN = 3,
> +	PM_XSEM_NPI_START_SCAN = 5,
> +	PM_XSEM_NPI_STOP_SCAN = 6,
> +	PM_XSEM_NPI_ERR_INJECT = 7,
> +};
> +
> +/**
> + * struct xsem_cntrl_ops_response - Response to zynqmp_pm_xilsem_cntrl_ops()
> + * @hdr:	Command header
> + * @status:	Error code or status, non-zero if the firmware reported a failure
> + * @id:	Reserved for future use
> + * @status1:	Reserved for future use
> + * @status2:	Reserved for future use
> + * @status3:	Reserved for future use

Say : Reserved

> + */
> +struct xsem_cntrl_ops_response {
> +	u32 hdr;
> +	u32 status;
> +	u32 id;
> +	u32 status1;
> +	u32 status2;
> +	u32 status3;
> +};
> +
> +/**
> + * struct xsem_cram_errinj_response - Response to zynqmp_pm_xilsem_cram_err_inj()
> + * @hdr:	Command header
> + * @status:	Error code or status, non-zero if the firmware reported a failure
> + * @id:	Reserved for future use
> + */
> +struct xsem_cram_errinj_response {
> +	u32 hdr;
> +	u32 status;
> +	u32 id;
> +};
> +
> +/**
> + * struct xsem_cram_readecc_response - Response to zynqmp_pm_xilsem_cram_read_ecc()
> + * @hdr:	Frame ECC read command header
> + * @ecc0:	First ECC word
> + * @ecc1:	Second ECC word
> + * @status:	Status, non-zero if the firmware reported a failure
> + */
> +struct xsem_cram_readecc_response {
> +	u32 hdr;
> +	u32 ecc0;
> +	u32 ecc1;
> +	u32 status;
> +};
> +
> +/**
> + * struct xsem_read_cfg_response - Response to zynqmp_pm_xilsem_read_cfg()
> + * @hdr:	Config read command header
> + * @cram_cfg:	CRAM scan configuration
> + * @npi_cfg:	NPI scan configuration
> + * @status:	Status, non-zero if the firmware reported a failure
> + */
> +struct xsem_read_cfg_response {
> +	u32 hdr;
> +	u32 cram_cfg;
> +	u32 npi_cfg;
> +	u32 status;
> +};
> +
> +#if IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)
> +int zynqmp_pm_xilsem_cntrl_ops(u32 cmd, u32 id, struct xsem_cntrl_ops_response *response);
> +int zynqmp_pm_xilsem_cram_err_inj(u32 id, u32 frame, u32 qword, u32 bit, u32 row,
> +				  struct xsem_cram_errinj_response *response);
> +int zynqmp_pm_xilsem_cram_read_ecc(u32 id, u32 frame, u32 row,
> +				   struct xsem_cram_readecc_response *response);
> +int zynqmp_pm_xilsem_read_cfg(u32 id, struct xsem_read_cfg_response *response);
> +#else
> +static inline int zynqmp_pm_xilsem_cntrl_ops(u32 cmd, u32 id,
> +					     struct xsem_cntrl_ops_response *response)
> +{
> +	return -ENODEV;
> +}
> +
> +static inline int zynqmp_pm_xilsem_cram_err_inj(u32 id, u32 frame, u32 qword, u32 bit,
> +						u32 row,
> +						struct xsem_cram_errinj_response *response)
> +{
> +	return -ENODEV;
> +}
> +
> +static inline int zynqmp_pm_xilsem_cram_read_ecc(u32 id, u32 frame, u32 row,
> +						 struct xsem_cram_readecc_response *response)
> +{
> +	return -ENODEV;
> +}
> +
> +static inline int zynqmp_pm_xilsem_read_cfg(u32 id,
> +					    struct xsem_read_cfg_response *response)
> +{
> +	return -ENODEV;
> +}
> +#endif
> +
> +#endif /* __FIRMWARE_ZYNQMP_SEM_H__ */
> diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h
> index 41a1cd8..2d64b02 100644
> --- a/include/linux/firmware/xlnx-zynqmp.h
> +++ b/include/linux/firmware/xlnx-zynqmp.h
> @@ -121,6 +121,12 @@
>   #define VERSAL_EVENT_ERROR_PMC_ERR2	(0x28104000U)
>   #define VERSAL_EVENT_ERROR_PSM_ERR1	(0x28108000U)
>   #define VERSAL_EVENT_ERROR_PSM_ERR2	(0x2810C000U)
> +/*
> + * SW Error Event Node Id (0x4000 stride from PSM_ERR2 above). This
> + * value coincidentally equals VERSAL_NET_EVENT_ERROR_PSM_ERR2 below -
> + * harmless, since each family's node IDs are an independent sequence.
> + */
> +#define VERSAL_EVENT_ERROR_SW_ERR	(0x28110000U)
>   
>   #define VERSAL_NET_EVENT_ERROR_PMC_ERR1	(0x28100000U)
>   #define VERSAL_NET_EVENT_ERROR_PMC_ERR2	(0x28104000U)
> @@ -129,6 +135,8 @@
>   #define VERSAL_NET_EVENT_ERROR_PSM_ERR2	(0x28110000U)
>   #define VERSAL_NET_EVENT_ERROR_PSM_ERR3	(0x28114000U)
>   #define VERSAL_NET_EVENT_ERROR_PSM_ERR4	(0x28118000U)
> +/* SW Error Event Node Id */
> +#define VERSAL_NET_EVENT_ERROR_SW_ERR	(0x2811C000U)
>   
>   /* ZynqMP SD tap delay tuning */
>   #define SD_ITAPDLY	0xFF180314
> @@ -146,6 +154,48 @@
>   #define XPM_EVENT_ERROR_MASK_NOC_NCR		BIT(13)
>   #define XPM_EVENT_ERROR_MASK_NOC_CR		BIT(12)
>   
> +/*
> + * XPM_VERSAL_EVENT_ERROR_MASK_XSEM_CRAM_CE_5: Error event mask for handling
> + * correctable error in Versal Configuration RAM which is reported by
> + * Soft Error Mitigation (XilSEM).
> + */
> +#define XPM_VERSAL_EVENT_ERROR_MASK_XSEM_CRAM_CE_5		BIT(5)
> +
> +/*
> + * XPM_VERSAL_EVENT_ERROR_MASK_XSEM_CRAM_UE_6: Error event mask for handling
> + * uncorrectable error in Versal Configuration RAM which is reported by
> + * Soft Error Mitigation (XilSEM).
> + */
> +#define XPM_VERSAL_EVENT_ERROR_MASK_XSEM_CRAM_UE_6		BIT(6)
> +
> +/*
> + * XPM_VERSAL_EVENT_ERROR_MASK_XSEM_NPI_UE_7: Error event mask for handling
> + * uncorrectable error in Versal NoC programming interface (NPI)
> + * register which is reported by Soft Error Mitigation (XilSEM).
> + */
> +#define XPM_VERSAL_EVENT_ERROR_MASK_XSEM_NPI_UE_7		BIT(7)


These follow the XPM_EVENT_ERROR_MASK_DDRMC_* precedent a few lines up, 
so the per-define comment is fine, but please use /** like those do 
rather than /*, since the body is in kernel-doc form.

The _5 / _6 / _7 suffixes are worth dropping, though.  They encode the 
bit position in the name, which the BIT() already states, and the Versal 
NET variants added in the same hunk do not carry them -- so the two 
families end up named inconsistently for the same three errors.



> +
> +/*
> + * XPM_VERSAL_NET_EVENT_ERROR_MASK_XSEM_CRAM_CE: Error event mask for handling
> + * correctable error in Versal Configuration RAM which is reported by
> + * Soft Error Mitigation (XilSEM).
> + */
> +#define XPM_VERSAL_NET_EVENT_ERROR_MASK_XSEM_CRAM_CE		BIT(7)
> +
> +/*
> + * XPM_VERSAL_NET_EVENT_ERROR_MASK_XSEM_CRAM_UE: Error event mask for handling
> + * uncorrectable error in Versal Configuration RAM which is reported by
> + * Soft Error Mitigation (XilSEM).
> + */
> +#define XPM_VERSAL_NET_EVENT_ERROR_MASK_XSEM_CRAM_UE		BIT(8)
> +
> +/*
> + * XPM_VERSAL_NET_EVENT_ERROR_MASK_XSEM_NPI_UE: Error event mask for handling
> + * uncorrectable error in Versal NoC programming interface (NPI)
> + * register which is reported by Soft Error Mitigation (XilSEM).
> + */

These defines name are self explanatory. In next version trim all
un-necessary documentation.

> +#define XPM_VERSAL_NET_EVENT_ERROR_MASK_XSEM_NPI_UE		BIT(9)
> +
>   /* Node ID for all peripheral devices */
>   #define PM_DEV_ALL_PERIPH	0x18224FFFU
>   

Thanks,
Radhey




  reply	other threads:[~2026-12-02 10:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  2:05 [PATCH v5 0/3] EDAC: Add Xilinx XilSEM error monitoring driver Rama devi Veggalam
2026-11-22  2:05 ` [PATCH v5 1/3] dt-bindings: edac: Add Xilinx XilSEM Rama devi Veggalam
2026-11-22 16:00   ` Krzysztof Kozlowski
2026-11-27  7:01     ` Veggalam, Rama Devi
2026-11-29  8:21       ` Krzysztof Kozlowski
2026-11-22  2:05 ` [PATCH v5 2/3] firmware: xilinx: Add XilSEM firmware interface Rama devi Veggalam
2026-12-02 10:14   ` Pandey, Radhey Shyam [this message]
2026-11-22  2:05 ` [PATCH v5 3/3] edac: Add Xilinx XilSEM error monitoring driver Rama devi Veggalam
2026-11-25 15:48 ` [PATCH v5 0/3] EDAC: " Yazen Ghannam
2026-11-26  7:11   ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85f55d39-e95f-4fa6-8725-6f3c8f16be46@amd.com \
    --to=radheys@amd.com \
    --cc=bp@alien8.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=git@amd.com \
    --cc=james.morse@arm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=michal.simek@amd.com \
    --cc=rama.devi.veggalam@amd.com \
    --cc=robh@kernel.org \
    --cc=rric@kernel.org \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.