dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Raag Jadav <raag.jadav@intel.com>
Cc: Jakub Kicinski <kuba@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	 Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>,
	"Simon Horman" <horms@kernel.org>,
	Donald Hunter <donald.hunter@gmail.com>,
	<intel-xe@lists.freedesktop.org>,
	<dri-devel@lists.freedesktop.org>, <netdev@vger.kernel.org>,
	<simona.vetter@ffwll.ch>, <airlied@gmail.com>,
	<lijo.lazar@amd.com>, <Hawking.Zhang@amd.com>, <dev@lankhorst.se>,
	<zachary.mckevitt@oss.qualcomm.com>, <riana.tauro@intel.com>,
	<michal.wajdeczko@intel.com>, <matthew.d.roper@intel.com>,
	<mallesh.koujalagi@intel.com>
Subject: Re: [PATCH v5 2/5] drm/ras: Introduce error threshold
Date: Wed, 5 Aug 2026 05:53:12 -0400	[thread overview]
Message-ID: <anMICHct8ipD-u12@intel.com> (raw)
In-Reply-To: <amymMwoSOxpHhEvX@black.igk.intel.com>

On Fri, Jul 31, 2026 at 03:42:11PM +0200, Raag Jadav wrote:
> Hi net maintainers,
> 
> On Wed, Jul 22, 2026 at 01:30:49PM -0400, Rodrigo Vivi wrote:
> > On Wed, Jul 22, 2026 at 09:11:12AM +0530, Raag Jadav wrote:
> > > Add get-error-threshold and set-error-threshold command support which
> > > allows querying/setting error threshold of the counter. Threshold in RAS
> > > context means the number of errors the hardware is expected to accumulate
> > > before it raises them to software. This is to have a fine grained control
> > > over error notifications that are raised by the hardware.
> > > 
> > > Signed-off-by: Raag Jadav <raag.jadav@intel.com>
> > > Reviewed-by: Riana Tauro <riana.tauro@intel.com>
> > > ---
> > > v2: Document threshold definition (Riana)
> > >     Return -EOPNOTSUPP on threshold callbacks absence (Riana)
> > >     Cancel and free genlmsg on failure (Riana)
> > >     Document threshold bounds checking responsibility (Riana)
> > > v3: Move documentation from yaml to rst file (Riana)
> > >     s/value/threshold (Riana)
> > >     Use goto for error handling (Riana)
> > > v4: Clarify 0 threshold expectations (Riana)
> > >     Drop redundant wrapping (Riana)
> > > v5: Drop redundant documentation (Riana)
> > >     Aesthetic adjustment (Riana)
> > > ---
> > >  Documentation/gpu/drm-ras.rst            |  18 +++
> > >  Documentation/netlink/specs/drm_ras.yaml |  32 +++++
> > 
> > Jakub and other net maintainers, ack on getting this through drm trees?
> 
> Can you please provide guidance?

Even better, could you please ack the MAINTAINERS change [1] so we can stop
bothering you with these asks?

[1] https://lore.kernel.org/all/20260805094949.536651-2-rodrigo.vivi@intel.com/T/#u

> 
> Raag
> 
> > >  drivers/gpu/drm/drm_ras.c                | 158 +++++++++++++++++++++++
> > >  drivers/gpu/drm/drm_ras_nl.c             |  27 ++++
> > >  drivers/gpu/drm/drm_ras_nl.h             |   4 +
> > >  include/drm/drm_ras.h                    |  29 +++++
> > >  include/uapi/drm/drm_ras.h               |   3 +
> > >  7 files changed, 271 insertions(+)
> > > 
> > > diff --git a/Documentation/gpu/drm-ras.rst b/Documentation/gpu/drm-ras.rst
> > > index 83c21853b74b..2718f8aee09d 100644
> > > --- a/Documentation/gpu/drm-ras.rst
> > > +++ b/Documentation/gpu/drm-ras.rst
> > > @@ -56,6 +56,10 @@ User space tools can:
> > >    ``node-id`` and ``error-id`` as parameters.
> > >  * Clear specific error counters with the ``clear-error-counter`` command, using both
> > >    ``node-id`` and ``error-id`` as parameters.
> > > +* Query specific error counter threshold with the ``get-error-threshold`` command, using both
> > > +  ``node-id`` and ``error-id`` as parameters.
> > > +* Set specific error counter threshold with the ``set-error-threshold`` command, using
> > > +  ``node-id``, ``error-id`` and ``error-threshold`` as parameters.
> > >  
> > >  YAML-based Interface
> > >  --------------------
> > > @@ -111,3 +115,17 @@ Example: Clear an error counter for a given node
> > >  
> > >      sudo ynl --family drm_ras --do clear-error-counter --json '{"node-id":0, "error-id":1}'
> > >      None
> > > +
> > > +Example: Query error threshold of a given counter
> > > +
> > > +.. code-block:: bash
> > > +
> > > +    sudo ynl --family drm_ras --do get-error-threshold --json '{"node-id":0, "error-id":1}'
> > > +    {'error-id': 1, 'error-name': 'error_name1', 'error-threshold': 16}
> > > +
> > > +Example: Set error threshold of a given counter
> > > +
> > > +.. code-block:: bash
> > > +
> > > +    sudo ynl --family drm_ras --do set-error-threshold --json '{"node-id":0, "error-id":1, "error-threshold":8}'
> > > +    None
> > > diff --git a/Documentation/netlink/specs/drm_ras.yaml b/Documentation/netlink/specs/drm_ras.yaml
> > > index e113056f8c01..9cf7f9cde242 100644
> > > --- a/Documentation/netlink/specs/drm_ras.yaml
> > > +++ b/Documentation/netlink/specs/drm_ras.yaml
> > > @@ -69,6 +69,10 @@ attribute-sets:
> > >          name: error-value
> > >          type: u32
> > >          doc: Current value of the requested error counter.
> > > +      -
> > > +        name: error-threshold
> > > +        type: u32
> > > +        doc: Error threshold of the counter.
> > >  
> > >  operations:
> > >    list:
> > > @@ -124,3 +128,31 @@ operations:
> > >        do:
> > >          request:
> > >            attributes: *id-attrs
> > > +    -
> > > +      name: get-error-threshold
> > > +      doc: >-
> > > +           Retrieve error threshold of a given counter.
> > > +           The response includes the id, the name, and current threshold
> > > +           of the counter.
> > > +      attribute-set: error-counter-attrs
> > > +      flags: [admin-perm]
> > > +      do:
> > > +        request:
> > > +          attributes: *id-attrs
> > > +        reply:
> > > +          attributes:
> > > +            - error-id
> > > +            - error-name
> > > +            - error-threshold
> > > +    -
> > > +      name: set-error-threshold
> > > +      doc: >-
> > > +           Set error threshold of a given counter.
> > > +      attribute-set: error-counter-attrs
> > > +      flags: [admin-perm]
> > > +      do:
> > > +        request:
> > > +          attributes:
> > > +            - node-id
> > > +            - error-id
> > > +            - error-threshold
> > > diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
> > > index 467a169026fc..9a7b3d2acd25 100644
> > > --- a/drivers/gpu/drm/drm_ras.c
> > > +++ b/drivers/gpu/drm/drm_ras.c
> > > @@ -41,6 +41,13 @@
> > >   *    Userspace must provide Node ID, Error ID.
> > >   *    Clears specific error counter of a node if supported.
> > >   *
> > > + * 4. GET_ERROR_THRESHOLD: Query error threshold of a given counter.
> > > + *    Userspace must provide Node ID and Error ID.
> > > + *    Returns the error threshold of a specific counter.
> > > + *
> > > + * 5. SET_ERROR_THRESHOLD: Set error threshold of a given counter.
> > > + *    Userspace must provide Node ID, Error ID and threshold to be set.
> > > + *
> > >   * Node registration:
> > >   *
> > >   * - drm_ras_node_register(): Registers a new node and assigns
> > > @@ -61,6 +68,13 @@
> > >   *     + The error counters in the driver doesn't need to be contiguous, but the
> > >   *       driver must return -ENOENT to the query_error_counter as an indication
> > >   *       that the ID should be skipped and not listed in the netlink API.
> > > + *     + The driver can optionally implement query_error_threshold() and
> > > + *       set_error_threshold() callbacks to facilitate getting/setting error
> > > + *       threshold of the counter. Threshold in RAS context means the number of
> > > + *       errors the hardware is expected to accumulate before it raises them to
> > > + *       software. This is to have a fine grained control over error notifications
> > > + *       that are raised by the hardware.
> > > + *     + The driver is responsible for error threshold bounds checking.
> > >   *
> > >   * Netlink handlers:
> > >   *
> > > @@ -72,6 +86,10 @@
> > >   *   operation, fetching a counter value from a specific node.
> > >   * - drm_ras_nl_clear_error_counter_doit(): Implements the CLEAR_ERROR_COUNTER doit
> > >   *   operation, clearing a counter value from a specific node.
> > > + * - drm_ras_nl_get_error_threshold_doit(): Implements the GET_ERROR_THRESHOLD doit
> > > + *   operation, fetching the error threshold of a specific counter.
> > > + * - drm_ras_nl_set_error_threshold_doit(): Implements the SET_ERROR_THRESHOLD doit
> > > + *   operation, setting the error threshold of a specific counter.
> > >   */
> > >  
> > >  static DEFINE_XARRAY_ALLOC(drm_ras_xa);
> > > @@ -168,6 +186,40 @@ static int get_node_error_counter(u32 node_id, u32 error_id,
> > >  	return node->query_error_counter(node, error_id, name, value);
> > >  }
> > >  
> > > +static int get_node_error_threshold(u32 node_id, u32 error_id, const char **name, u32 *threshold)
> > > +{
> > > +	struct drm_ras_node *node;
> > > +
> > > +	node = xa_load(&drm_ras_xa, node_id);
> > > +	if (!node)
> > > +		return -ENOENT;
> > > +
> > > +	if (!node->query_error_threshold)
> > > +		return -EOPNOTSUPP;
> > > +
> > > +	if (error_id < node->error_counter_range.first || error_id > node->error_counter_range.last)
> > > +		return -EINVAL;
> > > +
> > > +	return node->query_error_threshold(node, error_id, name, threshold);
> > > +}
> > > +
> > > +static int set_node_error_threshold(u32 node_id, u32 error_id, u32 threshold)
> > > +{
> > > +	struct drm_ras_node *node;
> > > +
> > > +	node = xa_load(&drm_ras_xa, node_id);
> > > +	if (!node)
> > > +		return -ENOENT;
> > > +
> > > +	if (!node->set_error_threshold)
> > > +		return -EOPNOTSUPP;
> > > +
> > > +	if (error_id < node->error_counter_range.first || error_id > node->error_counter_range.last)
> > > +		return -EINVAL;
> > > +
> > > +	return node->set_error_threshold(node, error_id, threshold);
> > > +}
> > > +
> > >  static int msg_reply_value(struct sk_buff *msg, u32 error_id,
> > >  			   const char *error_name, u32 value)
> > >  {
> > > @@ -186,6 +238,22 @@ static int msg_reply_value(struct sk_buff *msg, u32 error_id,
> > >  			   value);
> > >  }
> > >  
> > > +static int msg_reply_threshold(struct sk_buff *msg, u32 error_id, const char *error_name,
> > > +			       u32 threshold)
> > > +{
> > > +	int ret;
> > > +
> > > +	ret = nla_put_u32(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID, error_id);
> > > +	if (ret)
> > > +		return ret;
> > > +
> > > +	ret = nla_put_string(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_NAME, error_name);
> > > +	if (ret)
> > > +		return ret;
> > > +
> > > +	return nla_put_u32(msg, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD, threshold);
> > > +}
> > > +
> > >  static int doit_reply_value(struct genl_info *info, u32 node_id,
> > >  			    u32 error_id)
> > >  {
> > > @@ -225,6 +293,43 @@ static int doit_reply_value(struct genl_info *info, u32 node_id,
> > >  	return ret;
> > >  }
> > >  
> > > +static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_id)
> > > +{
> > > +	const char *error_name;
> > > +	struct sk_buff *msg;
> > > +	struct nlattr *hdr;
> > > +	u32 threshold;
> > > +	int ret;
> > > +
> > > +	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
> > > +	if (!msg)
> > > +		return -ENOMEM;
> > > +
> > > +	hdr = genlmsg_iput(msg, info);
> > > +	if (!hdr) {
> > > +		ret = -EMSGSIZE;
> > > +		goto free_msg;
> > > +	}
> > > +
> > > +	ret = get_node_error_threshold(node_id, error_id, &error_name, &threshold);
> > > +	if (ret)
> > > +		goto cancel_msg;
> > > +
> > > +	ret = msg_reply_threshold(msg, error_id, error_name, threshold);
> > > +	if (ret)
> > > +		goto cancel_msg;
> > > +
> > > +	genlmsg_end(msg, hdr);
> > > +
> > > +	return genlmsg_reply(msg, info);
> > > +
> > > +cancel_msg:
> > > +	genlmsg_cancel(msg, hdr);
> > > +free_msg:
> > > +	nlmsg_free(msg);
> > > +	return ret;
> > > +}
> > > +
> > >  /**
> > >   * drm_ras_nl_get_error_counter_dumpit() - Dump all Error Counters
> > >   * @skb: Netlink message buffer
> > > @@ -358,6 +463,59 @@ int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
> > >  	return node->clear_error_counter(node, error_id);
> > >  }
> > >  
> > > +/**
> > > + * drm_ras_nl_get_error_threshold_doit() - Query error threshold of a counter
> > > + * @skb: Netlink message buffer
> > > + * @info: Generic Netlink info containing attributes of the request
> > > + *
> > > + * Extracts the Node ID and Error ID from the netlink attributes and retrieves
> > > + * the error threshold of the corresponding counter. Sends the result back to
> > > + * the requesting user via the standard Genl reply.
> > > + *
> > > + * Return: 0 on success, or negative errno on failure.
> > > + */
> > > +int drm_ras_nl_get_error_threshold_doit(struct sk_buff *skb, struct genl_info *info)
> > > +{
> > > +	u32 node_id, error_id;
> > > +
> > > +	if (!info->attrs ||
> > > +	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID) ||
> > > +	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID))
> > > +		return -EINVAL;
> > > +
> > > +	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
> > > +	error_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID]);
> > > +
> > > +	return doit_reply_threshold(info, node_id, error_id);
> > > +}
> > > +
> > > +/**
> > > + * drm_ras_nl_set_error_threshold_doit() - Set error threshold of a counter
> > > + * @skb: Netlink message buffer
> > > + * @info: Generic Netlink info containing attributes of the request
> > > + *
> > > + * Extracts the Node ID, Error ID and threshold from the netlink attributes and
> > > + * sets the error threshold of the corresponding counter.
> > > + *
> > > + * Return: 0 on success, or negative errno on failure.
> > > + */
> > > +int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *info)
> > > +{
> > > +	u32 node_id, error_id, threshold;
> > > +
> > > +	if (!info->attrs ||
> > > +	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID) ||
> > > +	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID) ||
> > > +	    GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD))
> > > +		return -EINVAL;
> > > +
> > > +	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
> > > +	error_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID]);
> > > +	threshold = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD]);
> > > +
> > > +	return set_node_error_threshold(node_id, error_id, threshold);
> > > +}
> > > +
> > >  /**
> > >   * drm_ras_node_register() - Register a new RAS node
> > >   * @node: Node structure to register
> > > diff --git a/drivers/gpu/drm/drm_ras_nl.c b/drivers/gpu/drm/drm_ras_nl.c
> > > index dea1c1b2494e..02e8e5054d05 100644
> > > --- a/drivers/gpu/drm/drm_ras_nl.c
> > > +++ b/drivers/gpu/drm/drm_ras_nl.c
> > > @@ -28,6 +28,19 @@ static const struct nla_policy drm_ras_clear_error_counter_nl_policy[DRM_RAS_A_E
> > >  	[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID] = { .type = NLA_U32, },
> > >  };
> > >  
> > > +/* DRM_RAS_CMD_GET_ERROR_THRESHOLD - do */
> > > +static const struct nla_policy drm_ras_get_error_threshold_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID + 1] = {
> > > +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID] = { .type = NLA_U32, },
> > > +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID] = { .type = NLA_U32, },
> > > +};
> > > +
> > > +/* DRM_RAS_CMD_SET_ERROR_THRESHOLD - do */
> > > +static const struct nla_policy drm_ras_set_error_threshold_nl_policy[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD + 1] = {
> > > +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID] = { .type = NLA_U32, },
> > > +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID] = { .type = NLA_U32, },
> > > +	[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD] = { .type = NLA_U32, },
> > > +};
> > > +
> > >  /* Ops table for drm_ras */
> > >  static const struct genl_split_ops drm_ras_nl_ops[] = {
> > >  	{
> > > @@ -56,6 +69,20 @@ static const struct genl_split_ops drm_ras_nl_ops[] = {
> > >  		.maxattr	= DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID,
> > >  		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
> > >  	},
> > > +	{
> > > +		.cmd		= DRM_RAS_CMD_GET_ERROR_THRESHOLD,
> > > +		.doit		= drm_ras_nl_get_error_threshold_doit,
> > > +		.policy		= drm_ras_get_error_threshold_nl_policy,
> > > +		.maxattr	= DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID,
> > > +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
> > > +	},
> > > +	{
> > > +		.cmd		= DRM_RAS_CMD_SET_ERROR_THRESHOLD,
> > > +		.doit		= drm_ras_nl_set_error_threshold_doit,
> > > +		.policy		= drm_ras_set_error_threshold_nl_policy,
> > > +		.maxattr	= DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_THRESHOLD,
> > > +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
> > > +	},
> > >  };
> > >  
> > >  struct genl_family drm_ras_nl_family __ro_after_init = {
> > > diff --git a/drivers/gpu/drm/drm_ras_nl.h b/drivers/gpu/drm/drm_ras_nl.h
> > > index a398643572a5..57b1e647d833 100644
> > > --- a/drivers/gpu/drm/drm_ras_nl.h
> > > +++ b/drivers/gpu/drm/drm_ras_nl.h
> > > @@ -20,6 +20,10 @@ int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
> > >  					struct netlink_callback *cb);
> > >  int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
> > >  					struct genl_info *info);
> > > +int drm_ras_nl_get_error_threshold_doit(struct sk_buff *skb,
> > > +					struct genl_info *info);
> > > +int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb,
> > > +					struct genl_info *info);
> > >  
> > >  extern struct genl_family drm_ras_nl_family;
> > >  
> > > diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
> > > index 0beede3ddc4e..b1fa87975cc5 100644
> > > --- a/include/drm/drm_ras.h
> > > +++ b/include/drm/drm_ras.h
> > > @@ -71,6 +71,35 @@ struct drm_ras_node {
> > >  	 */
> > >  	int (*clear_error_counter)(struct drm_ras_node *node, u32 error_id);
> > >  
> > > +	/**
> > > +	 * @query_error_threshold:
> > > +	 *
> > > +	 * This callback is used by drm-ras to query error threshold of a
> > > +	 * specific counter.
> > > +	 *
> > > +	 * Driver should expect query_error_threshold() to be called with
> > > +	 * error_id from `error_counter_range.first` to
> > > +	 * `error_counter_range.last`.
> > > +	 *
> > > +	 * Returns: 0 on success, negative error code on failure.
> > > +	 */
> > > +	int (*query_error_threshold)(struct drm_ras_node *node, u32 error_id, const char **name,
> > > +				     u32 *threshold);
> > > +
> > > +	/**
> > > +	 * @set_error_threshold:
> > > +	 *
> > > +	 * This callback is used by drm-ras to set error threshold of a specific
> > > +	 * counter.
> > > +	 *
> > > +	 * Driver should expect set_error_threshold() to be called with error_id
> > > +	 * from `error_counter_range.first` to `error_counter_range.last`.
> > > +	 * Driver is responsible for error threshold bounds checking.
> > > +	 *
> > > +	 * Returns: 0 on success, negative error code on failure.
> > > +	 */
> > > +	int (*set_error_threshold)(struct drm_ras_node *node, u32 error_id, u32 threshold);
> > > +
> > >  	/** @priv: Driver private data */
> > >  	void *priv;
> > >  };
> > > diff --git a/include/uapi/drm/drm_ras.h b/include/uapi/drm/drm_ras.h
> > > index 218a3ee86805..27c68956495f 100644
> > > --- a/include/uapi/drm/drm_ras.h
> > > +++ b/include/uapi/drm/drm_ras.h
> > > @@ -33,6 +33,7 @@ enum {
> > >  	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)
> > > @@ -42,6 +43,8 @@ enum {
> > >  	DRM_RAS_CMD_LIST_NODES = 1,
> > >  	DRM_RAS_CMD_GET_ERROR_COUNTER,
> > >  	DRM_RAS_CMD_CLEAR_ERROR_COUNTER,
> > > +	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)
> > > -- 
> > > 2.43.0
> > > 

  reply	other threads:[~2026-08-05  9:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-22  3:41 [PATCH v5 0/5] Introduce error threshold to drm_ras Raag Jadav
2026-07-22  3:41 ` [PATCH v5 1/5] drm/ras: Cancel and free message on get counter failure Raag Jadav
2026-07-22 17:27   ` Rodrigo Vivi
2026-07-23  3:47   ` sashiko-bot
2026-07-22  3:41 ` [PATCH v5 2/5] drm/ras: Introduce error threshold Raag Jadav
2026-07-22 17:30   ` Rodrigo Vivi
2026-07-31 13:42     ` Raag Jadav
2026-08-05  9:53       ` Rodrigo Vivi [this message]
2026-07-23  3:47   ` sashiko-bot
2026-07-22  3:41 ` [PATCH v5 3/5] drm/xe/ras: Add support for " Raag Jadav
2026-07-22  3:41 ` [PATCH v5 4/5] drm/xe/drm_ras: Wire up error threshold callbacks Raag Jadav
2026-07-23  3:47   ` sashiko-bot
2026-07-22  3:41 ` [PATCH v5 5/5] drm/xe/sysctrl: Reuse xe_sysctrl_create_command() Raag Jadav

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=anMICHct8ipD-u12@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=Hawking.Zhang@amd.com \
    --cc=airlied@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dev@lankhorst.se \
    --cc=donald.hunter@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=kuba@kernel.org \
    --cc=lijo.lazar@amd.com \
    --cc=mallesh.koujalagi@intel.com \
    --cc=matthew.d.roper@intel.com \
    --cc=michal.wajdeczko@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=raag.jadav@intel.com \
    --cc=riana.tauro@intel.com \
    --cc=simona.vetter@ffwll.ch \
    --cc=zachary.mckevitt@oss.qualcomm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox