From: "Purkait, Soham" <soham.purkait@intel.com>
To: Ravi Kishore Koppuravuri <ravi.kishore.koppuravuri@intel.com>,
<igt-dev@lists.freedesktop.org>
Cc: Riana Tauro <riana.tauro@intel.com>,
Anshuman Gupta <anshuman.gupta@intel.com>,
Raag Jadav <raag.jadav@intel.com>,
Badal Nilawar <badal.nilawar@intel.com>,
Mallesh Koujalagi <mallesh.koujalagi@intel.com>,
Harish Chegondi <harish.chegondi@intel.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Jani Nikula <jani.nikula@intel.com>
Subject: Re: [PATCH v5 01/10] drm-uapi/drm_ras: Sync with kernel b2207d4c4e84
Date: Thu, 22 Oct 2026 17:26:01 +0530 [thread overview]
Message-ID: <fd7e9ccc-5f7d-40e4-8e51-7cf813d8eaca@intel.com> (raw)
In-Reply-To: <20261013190651.897241-2-ravi.kishore.koppuravuri@intel.com>
Hi Ravi,
On 14-10-2026 00:36, Ravi Kishore Koppuravuri wrote:
> Sync Xe drm uapi up to commit b2207d4c4e84, this will bring following
> changes:
>
> b2207d4c4e84 ("drm/ras: Introduce error threshold")
> 6fdbfc75eaa1 ("drm/drm_ras: Add drm_ras netlink error event")
> ee18d39a0877 ("drm/drm_ras: Add clear-error-counter netlink command to
> drm_ras")
> c36218dc49f5 ("drm/ras: Introduce the DRM RAS infrastructure over
> generic netlink")
>
> Cc: Soham Purkait <soham.purkait@intel.com>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Cc: Anshuman Gupta <anshuman.gupta@intel.com>
> Cc: Raag Jadav <raag.jadav@intel.com>
> Cc: Badal Nilawar <badal.nilawar@intel.com>
> Cc: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
> Cc: Harish Chegondi <harish.chegondi@intel.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Cc: Jani Nikula <jani.nikula@intel.com>
> Signed-off-by: Ravi Kishore Koppuravuri <ravi.kishore.koppuravuri@intel.com>
> ---
> include/drm-uapi/drm_ras.h | 67 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 67 insertions(+)
> create mode 100644 include/drm-uapi/drm_ras.h
>
> diff --git a/include/drm-uapi/drm_ras.h b/include/drm-uapi/drm_ras.h
> new file mode 100644
> index 000000000..6b504faeb
> --- /dev/null
> +++ b/include/drm-uapi/drm_ras.h
> @@ -0,0 +1,67 @@
> +/* SPDX-License-Identifier: MIT */
> +/*
> + * Copyright © 2026 Intel Corporation
> + */
> +
> +#ifndef _UAPI_LINUX_DRM_RAS_H
> +#define _UAPI_LINUX_DRM_RAS_H
> +
> +#define DRM_RAS_FAMILY_NAME "drm-ras"
> +#define DRM_RAS_FAMILY_VERSION 1
> +
> +/*
> + * Type of the node. Currently, only error-counter nodes are supported, which
> + * expose reliability counters for a hardware/software component.
> + */
> +enum drm_ras_node_type {
> + DRM_RAS_NODE_TYPE_ERROR_COUNTER = 1,
> +};
> +
> +enum {
> + DRM_RAS_A_NODE_ATTRS_NODE_ID = 1,
> + DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
> + DRM_RAS_A_NODE_ATTRS_NODE_NAME,
> + DRM_RAS_A_NODE_ATTRS_NODE_TYPE,
> +
> + __DRM_RAS_A_NODE_ATTRS_MAX,
> + DRM_RAS_A_NODE_ATTRS_MAX = (__DRM_RAS_A_NODE_ATTRS_MAX - 1)
> +};
> +
> +enum {
> + DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID = 1,
> + DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID,
> + DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_NAME,
> + DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_VALUE,
> + DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD,
> +
> + __DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX,
> + DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX = (__DRM_RAS_A_ERROR_COUNTER_ATTRS_MAX - 1)
> +};
> +
> +enum {
> + DRM_RAS_A_ERROR_EVENT_ATTRS_DEVICE_NAME = 1,
> + DRM_RAS_A_ERROR_EVENT_ATTRS_NODE_ID,
> + DRM_RAS_A_ERROR_EVENT_ATTRS_NODE_NAME,
> + DRM_RAS_A_ERROR_EVENT_ATTRS_ERROR_ID,
> + DRM_RAS_A_ERROR_EVENT_ATTRS_ERROR_NAME,
> + DRM_RAS_A_ERROR_EVENT_ATTRS_ERROR_VALUE,
> +
> + __DRM_RAS_A_ERROR_EVENT_ATTRS_MAX,
> + DRM_RAS_A_ERROR_EVENT_ATTRS_MAX = (__DRM_RAS_A_ERROR_EVENT_ATTRS_MAX - 1)
> +};
> +
> +enum {
> + DRM_RAS_CMD_LIST_NODES = 1,
> + DRM_RAS_CMD_GET_ERROR_COUNTER,
> + DRM_RAS_CMD_CLEAR_ERROR_COUNTER,
> + DRM_RAS_CMD_ERROR_EVENT,
> + DRM_RAS_CMD_GET_ERROR_THRESHOLD,
> + DRM_RAS_CMD_SET_ERROR_THRESHOLD,
> +
> + __DRM_RAS_CMD_MAX,
> + DRM_RAS_CMD_MAX = (__DRM_RAS_CMD_MAX - 1)
> +};
> +
> +#define DRM_RAS_MCGRP_ERROR_REPORT "error-report"
> +
> +#endif /* _UAPI_LINUX_DRM_RAS_H */
LGTM
Reviewed-by: Soham Purkait <soham.purkait@intel.com>
Regards,
Soham
next prev parent reply other threads:[~2026-10-22 11:57 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 19:06 [PATCH v5 00/10] Xe3P GPU Error Injection Test Suite with DRM RAS Netlink Support Ravi Kishore Koppuravuri
2026-10-13 19:06 ` [PATCH v5 01/10] drm-uapi/drm_ras: Sync with kernel b2207d4c4e84 Ravi Kishore Koppuravuri
2026-10-22 11:56 ` Purkait, Soham [this message]
2026-10-13 19:06 ` [PATCH v5 02/10] lib/meson: Add libnl dependencies for DRM RAS support Ravi Kishore Koppuravuri
2026-10-22 11:56 ` Purkait, Soham
2026-10-13 19:06 ` [PATCH v5 03/10] lib/igt_drm_netlink: Introduce DRM RAS Netlink interface library Ravi Kishore Koppuravuri
2026-10-22 12:04 ` Purkait, Soham
2026-10-13 19:06 ` [PATCH v5 04/10] lib/igt_drm_netlink: add get_error_counter support Ravi Kishore Koppuravuri
2026-10-22 12:40 ` Purkait, Soham
2026-10-13 19:06 ` [PATCH v5 05/10] lib/igt_drm_netlink: add get_error_threshold command support Ravi Kishore Koppuravuri
2026-10-13 19:06 ` [PATCH v5 06/10] lib/igt_drm_netlink: add set_error_threshold " Ravi Kishore Koppuravuri
2026-10-22 16:55 ` Purkait, Soham
2026-10-13 19:06 ` [PATCH v5 07/10] tests/intel/xe_err_injection: Add GT UC Unicast GAM Walker Command Parity Error Injection Ravi Kishore Koppuravuri
2026-10-22 17:41 ` Purkait, Soham
2026-10-23 14:42 ` Tauro, Riana
2026-10-13 19:06 ` [PATCH v5 08/10] lib/igt_drm_netlink: add event notify subscription and event wait support Ravi Kishore Koppuravuri
2026-10-22 19:31 ` Purkait, Soham
2026-10-23 7:26 ` Koppuravuri, Ravi Kishore
2026-10-13 19:06 ` [PATCH v5 09/10] tests/intel/xe_err_injection: Add tests for L2 bank Corr err threshold scenarios Ravi Kishore Koppuravuri
2026-10-26 9:50 ` Tauro, Riana
2026-10-13 19:06 ` [PATCH v5 10/10] tests/intel/xe_err_injection: add CRI GPU requirement check Ravi Kishore Koppuravuri
2026-10-23 9:14 ` Purkait, Soham
2026-10-14 1:28 ` ✓ i915.CI.BAT: success for Xe3P GPU Error Injection Test Suite with DRM RAS Netlink Support (rev8) Patchwork
2026-10-14 5:35 ` ✓ Xe.CI.BAT: " Patchwork
2026-10-14 10:25 ` ✗ i915.CI.Full: failure " Patchwork
2026-10-14 20:18 ` ✗ Xe.CI.FULL: " Patchwork
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=fd7e9ccc-5f7d-40e4-8e51-7cf813d8eaca@intel.com \
--to=soham.purkait@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=badal.nilawar@intel.com \
--cc=harish.chegondi@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=mallesh.koujalagi@intel.com \
--cc=raag.jadav@intel.com \
--cc=ravi.kishore.koppuravuri@intel.com \
--cc=riana.tauro@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.