Re: [PATCH 2/5] drm/xe/uapi: Add additional error components to XE DRM RAS

Aravind Iddamsetty
2026-03-25T09:24:47Z

On 20-03-2026 15:55, Riana Tauro wrote:
> Add additional Error components supported by XE RAS (Reliability,
> Availability and Serviceability).
>
> Signed-off-by: Riana Tauro <riana.tauro@intel.com>
> ---
> include/uapi/drm/xe_drm.h | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
> index f8b2afb20540..a1b1e15209cf 100644
> --- a/include/uapi/drm/xe_drm.h
> +++ b/include/uapi/drm/xe_drm.h
> @@ -2432,6 +2432,12 @@ enum drm_xe_ras_error_component {
> DRM_XE_RAS_ERR_COMP_CORE_COMPUTE = 1,
> /** @DRM_XE_RAS_ERR_COMP_SOC_INTERNAL: SoC Internal Error */
> DRM_XE_RAS_ERR_COMP_SOC_INTERNAL,
> + /** @DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY: Device Memory Error */
> + DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY,
> + /** @DRM_XE_RAS_ERR_COMP_PCIE: PCIe Subsystem Error */
> + DRM_XE_RAS_ERR_COMP_PCIE,
> + /** @DRM_XE_RAS_ERR_COMP_FABRIC: Fabric Subsystem Error */
> + DRM_XE_RAS_ERR_COMP_FABRIC,
> /** @DRM_XE_RAS_ERR_COMP_MAX: Max Error */
> DRM_XE_RAS_ERR_COMP_MAX /* non-ABI */
> };
> @@ -2449,7 +2455,10 @@ enum drm_xe_ras_error_component {
> */
> #define DRM_XE_RAS_ERROR_COMPONENT_NAMES { \
> [DRM_XE_RAS_ERR_COMP_CORE_COMPUTE] = "core-compute", \
> - [DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal" \
> + [DRM_XE_RAS_ERR_COMP_SOC_INTERNAL] = "soc-internal", \
> + [DRM_XE_RAS_ERR_COMP_DEVICE_MEMORY] = "device-memory", \
> + [DRM_XE_RAS_ERR_COMP_PCIE] = "pcie", \
> + [DRM_XE_RAS_ERR_COMP_FABRIC] = "fabric", \
> }
>

Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>

Thanks,
Aravind.
> #if defined(__cplusplus)