Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras
@ 2026-11-25 19:02 Rodrigo Vivi
  2026-11-25 19:02 ` [PATCH v5 1/2] drm/ras: Add retired-pages node type Rodrigo Vivi
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Rodrigo Vivi @ 2026-11-25 19:02 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-xe, Rodrigo Vivi

This is v5 of:

https://lore.kernel.org/dri-devel/20261124203833.3618507-4-rodrigo.vivi@intel.com/

It addresses Riana's review: node-id is dropped from the dump entries,
and the clear-error-counter doit and the new handlers follow the same
style.

The IGT test and tools:
https://lore.kernel.org/igt-dev/20261124213532.3674338-10-rodrigo.vivi@intel.com/T/#t

Thanks,
Rodrigo.

Aravind Iddamsetty (2):
  drm/ras: Add retired-pages node type
  drm/xe: Expose retired VRAM pages via drm-ras

 Documentation/netlink/specs/drm_ras.yaml   |  73 ++++++-
 drivers/gpu/drm/drm_ras.c                  | 228 +++++++++++++++++++--
 drivers/gpu/drm/drm_ras_nl.c               |  24 +++
 drivers/gpu/drm/drm_ras_nl.h               |   4 +
 drivers/gpu/drm/xe/xe_drm_ras.c            |  56 +++++
 drivers/gpu/drm/xe/xe_drm_ras.h            |   1 +
 drivers/gpu/drm/xe/xe_ras.c                |   4 +
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       |  72 ++++++-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h       |   3 +
 drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h |   5 +
 include/drm/drm_ras.h                      |  49 +++++
 include/uapi/drm/drm_ras.h                 |  31 ++-
 12 files changed, 525 insertions(+), 25 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v5 1/2] drm/ras: Add retired-pages node type
  2026-11-25 19:02 [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
@ 2026-11-25 19:02 ` Rodrigo Vivi
  2026-11-25 23:46   ` Zack McKevitt
  2026-11-27  7:16   ` Tauro, Riana
  2026-11-25 19:02 ` [PATCH v5 2/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
                   ` (4 subsequent siblings)
  5 siblings, 2 replies; 12+ messages in thread
From: Rodrigo Vivi @ 2026-11-25 19:02 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-xe, Aravind Iddamsetty, Jakub Kicinski, Riana Tauro,
	Raag Jadav, Zack McKevitt, Jeff Hugo, Rodrigo Vivi

From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>

Add a retired-pages node type to drm-ras so drivers can report the
memory pages they have taken out of service, with two operations:

 - get-retired-pages: dump one entry per page with its address, size
   and status (retired, pending or failed). The dump is flagged with
   NLM_F_DUMP_INTR if the list changes while it is read.
 - get-retired-pages-info: return the maximum number of pages that can
   be retired.

v3 (Rodrigo+LLM):
 - Split the drm-ras core from the xe user.
 - Flatten the page attributes and name the node type retired-pages
   instead of retired-resources, avoiding the over-wrapping
   anti-pattern pointed out by Jakub: the type-specific nest and the
   resource-type enum are gone.
 - Use uint for address, size and max-pages, no pad (Jakub).
 - Start the status enum at 1.
 - Move max-pages to its own do operation instead of a leading dump
   entry.
 - Set NLM_F_DUMP_INTR from a driver generation counter.
 - Report unknown node IDs with NL_SET_BAD_ATTR.
 - Removed deprecated Assisted-by tag.

v4 (Rodrigo+LLM):
 - Check the dump consistency once a page message is filled (Sashiko),
   and on the final NLMSG_DONE (local Sashiko), so NLM_F_DUMP_INTR is
   not lost.
 - Make the error-counter operations reject other node types (Sashiko).
 - Hold a node reference in the new handlers (local Sashiko).
 - Rebase on the telemetry node type, moving the type check of its
   handlers into drm_ras_node_get().

v5 (Rodrigo+LLM):
 - Split the node and callback checks in the clear-error-counter doit,
   and write the new handlers like the error-counter ones, with
   put_node labels and an inline dump loop, for consistency (Riana).
 - Drop node-id from the dump entries (Riana).

Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Riana Tauro <riana.tauro@intel.com>
Cc: Raag Jadav <raag.jadav@intel.com>
Cc: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
Cc: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 Documentation/netlink/specs/drm_ras.yaml |  73 +++++++-
 drivers/gpu/drm/drm_ras.c                | 228 +++++++++++++++++++++--
 drivers/gpu/drm/drm_ras_nl.c             |  24 +++
 drivers/gpu/drm/drm_ras_nl.h             |   4 +
 include/drm/drm_ras.h                    |  49 +++++
 include/uapi/drm/drm_ras.h               |  31 ++-
 6 files changed, 385 insertions(+), 24 deletions(-)

diff --git a/Documentation/netlink/specs/drm_ras.yaml b/Documentation/netlink/specs/drm_ras.yaml
index 0f1ceb705d3d..c217e52197e6 100644
--- a/Documentation/netlink/specs/drm_ras.yaml
+++ b/Documentation/netlink/specs/drm_ras.yaml
@@ -16,16 +16,28 @@ definitions:
     type: enum
     name: node-type
     value-start: 1
-    entries: [error-counter, telemetry]
+    entries: [error-counter, telemetry, retired-pages]
     doc: >-
          Type of the node. The error-counter nodes expose reliability counters
-         for a hardware/software component, and telemetry nodes expose an
-         interface for reading and writing telemetry values to a device.
+         for a hardware/software component, telemetry nodes expose an
+         interface for reading and writing telemetry values to a device, and
+         retired-pages nodes list the memory pages that have been taken out
+         of service.
   -
     type: flags
     name: telemetry-field-mode
     entries: [read, write]
     doc: Bitmask of access modes supported by a telemetry field.
+  -
+    type: enum
+    name: retired-page-status
+    value-start: 1
+    entries: [retired, pending, failed]
+    doc: >-
+         Status of a retired page. retired means the page is reserved and out
+         of service; pending means the retirement is queued but the
+         reservation is not complete yet; failed means the reservation failed
+         and the page may still be in use.
 
 attribute-sets:
   -
@@ -140,6 +152,30 @@ attribute-sets:
         doc: >-
              Bitmask of access modes (read/write) supported by the
              telemetry field.
+  -
+    name: retired-page-attrs
+    attributes:
+      -
+        name: node-id
+        type: u32
+        doc: Node ID targeted by this retired pages operation.
+      -
+        name: address
+        type: uint
+        doc: Device address of the retired page.
+      -
+        name: size
+        type: uint
+        doc: Size of the retired page in bytes.
+      -
+        name: status
+        type: u32
+        doc: Retirement status of the page.
+        enum: retired-page-status
+      -
+        name: max-pages
+        type: uint
+        doc: Maximum number of pages that can be retired on this node.
 
 operations:
   list:
@@ -287,6 +323,37 @@ operations:
             - field
             - field-name
             - mode
+    -
+      name: get-retired-pages
+      doc: >-
+           Retrieve the pages retired on a retired-pages node, one entry per
+           page. The dump is flagged as interrupted if the list changes while
+           it is being read.
+      attribute-set: retired-page-attrs
+      flags: [admin-perm]
+      dump:
+        request:
+          attributes:
+            - node-id
+        reply:
+          attributes:
+            - address
+            - size
+            - status
+    -
+      name: get-retired-pages-info
+      doc: >-
+           Retrieve the retired page limits of a retired-pages node.
+      attribute-set: retired-page-attrs
+      flags: [admin-perm]
+      do:
+        request:
+          attributes:
+            - node-id
+        reply:
+          attributes:
+            - node-id
+            - max-pages
 
 mcast-groups:
   list:
diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
index 82fcc766b84b..26505a7e4f0f 100644
--- a/drivers/gpu/drm/drm_ras.c
+++ b/drivers/gpu/drm/drm_ras.c
@@ -69,6 +69,14 @@
  *     Each field contains the uAPI defined enum string, its numerical value,
  *     and its mode bitmask, which encodes read/write capabilities.
  *
+ * 11. GET_RETIRED_PAGES: Dump the retired pages of a given node.
+ *     Userspace must provide Node ID.
+ *     Returns one entry per page with its address, size and status.
+ *
+ * 12. GET_RETIRED_PAGES_INFO: Get the retired page limits of a given node.
+ *     Userspace must provide Node ID.
+ *     Returns the maximum number of pages that can be retired.
+ *
  * Node registration:
  *
  * - drm_ras_node_register(): Registers a new node and assigns
@@ -121,6 +129,13 @@
  *     + The driver can optionally provide a pre_doit callback, telemetry_pre(),
  *       to enforce permissions checks on telemetry operations.
  *
+ * - RETIRED_PAGES:
+ *     + The driver must implement the query_retired_page() callback, returning
+ *       the retired page with the lowest address at or above a cursor, and
+ *       -ENOENT when there is none.
+ *     + The driver can implement query_retired_pages_info() to report the
+ *       maximum number of pages that can be retired.
+ *
  * Netlink handlers:
  *
  * - drm_ras_nl_list_nodes_dumpit(): Implements the LIST_NODES
@@ -147,6 +162,10 @@
  * - drm_ras_nl_telemetry_list_fields_dumpit(): Implements the TELEMETRY_LIST_FIELDS
  *   dumpit operation, enumerating all telemetry fields and their supported
  *   access modes for a telemetry node.
+ * - drm_ras_nl_get_retired_pages_dumpit(): Implements the GET_RETIRED_PAGES dumpit
+ *   operation, listing the retired pages of a specific node.
+ * - drm_ras_nl_get_retired_pages_info_doit(): Implements the GET_RETIRED_PAGES_INFO
+ *   doit operation, fetching the retired page limits of a specific node.
  */
 
 static DEFINE_XARRAY_ALLOC(drm_ras_xa);
@@ -162,6 +181,8 @@ struct drm_ras_ctx {
 	unsigned long restart;
 	/* Node targeted by a telemetry get/set doit */
 	struct drm_ras_node *node;
+	/* Which retired page address to restart the dump from */
+	u64 cursor;
 };
 
 static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
@@ -169,6 +190,7 @@ static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
 /**
  * drm_ras_node_get() - Look up a RAS node by ID and take a reference
  * @node_id: ID of the node to look up
+ * @type: Expected type of the node
  *
  * Looks the node up in the global xarray and, if found, takes a reference to
  * it so that it cannot be freed while the caller is using it. The lookup and
@@ -179,16 +201,19 @@ static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
  *
  * The caller must drop the returned reference with drm_ras_node_put().
  *
- * Return: the referenced node, or NULL if no node with @node_id is registered.
+ * Return: the referenced node, or NULL if no node of @type with @node_id is
+ * registered.
  */
-static struct drm_ras_node *drm_ras_node_get(u32 node_id)
+static struct drm_ras_node *drm_ras_node_get(u32 node_id, enum drm_ras_node_type type)
 {
 	struct drm_ras_node *node;
 
 	xa_lock(&drm_ras_xa);
 	node = xa_load(&drm_ras_xa, node_id);
-	if (node)
+	if (node && node->type == type)
 		refcount_inc(&node->ref);
+	else
+		node = NULL;
 	xa_unlock(&drm_ras_xa);
 
 	return node;
@@ -412,7 +437,7 @@ static int doit_reply_value(struct genl_info *info, u32 node_id,
 	u32 value;
 	int ret;
 
-	node = drm_ras_node_get(node_id);
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
 	if (!node)
 		return -ENOENT;
 
@@ -461,7 +486,7 @@ static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_i
 	u32 threshold;
 	int ret;
 
-	node = drm_ras_node_get(node_id);
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
 	if (!node)
 		return -ENOENT;
 
@@ -603,7 +628,7 @@ int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
 
 	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
 
-	node = drm_ras_node_get(node_id);
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
 	if (!node)
 		return -ENOENT;
 
@@ -699,20 +724,24 @@ int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
 	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]);
 
-	node = drm_ras_node_get(node_id);
-	if (!node || !node->clear_error_counter) {
-		drm_ras_node_put(node);
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
+	if (!node)
 		return -ENOENT;
+
+	if (!node->clear_error_counter) {
+		ret = -ENOENT;
+		goto put_node;
 	}
 
 	if (error_id < node->error_counter_range.first ||
 	    error_id > node->error_counter_range.last) {
-		drm_ras_node_put(node);
-		return -EINVAL;
+		ret = -EINVAL;
+		goto put_node;
 	}
 
 	ret = node->clear_error_counter(node, error_id);
 
+put_node:
 	drm_ras_node_put(node);
 
 	return ret;
@@ -770,7 +799,7 @@ int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
 	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]);
 
-	node = drm_ras_node_get(node_id);
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
 	if (!node)
 		return -ENOENT;
 
@@ -781,6 +810,166 @@ int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
 	return ret;
 }
 
+static struct drm_ras_node *get_retired_pages_node(const struct genl_info *info)
+{
+	struct nlattr *attr = info->attrs[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID];
+	struct drm_ras_node *node;
+
+	node = drm_ras_node_get(nla_get_u32(attr), DRM_RAS_NODE_TYPE_RETIRED_PAGES);
+	if (!node)
+		NL_SET_BAD_ATTR(info->extack, attr);
+
+	return node;
+}
+
+static int msg_put_retired_page(struct sk_buff *msg,
+				const struct drm_ras_retired_page *page)
+{
+	int ret;
+
+	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_ADDRESS, page->address);
+	if (ret)
+		return ret;
+
+	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_SIZE, page->size);
+	if (ret)
+		return ret;
+
+	return nla_put_u32(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_STATUS, page->status);
+}
+
+/**
+ * drm_ras_nl_get_retired_pages_dumpit() - Dump the retired pages of a node
+ * @skb: Netlink message buffer
+ * @cb: Callback context for multi-part dumps
+ *
+ * Appends one message per retired page, in increasing address order. The
+ * dump resumes from the next address after a buffer overflow, and is flagged
+ * with %NLM_F_DUMP_INTR if the list changed between messages.
+ *
+ * Return: 0 if all pages fit in @skb, -EMSGSIZE if the buffer filled up
+ *         (requires multi-part continuation), or a negative error code on
+ *         failure.
+ */
+int drm_ras_nl_get_retired_pages_dumpit(struct sk_buff *skb,
+					struct netlink_callback *cb)
+{
+	const struct genl_info *info = genl_info_dump(cb);
+	struct drm_ras_ctx *ctx = (void *)cb->ctx;
+	struct drm_ras_retired_page page;
+	struct drm_ras_node *node;
+	void *hdr;
+	int ret;
+
+	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID))
+		return -EINVAL;
+
+	node = get_retired_pages_node(info);
+	if (!node)
+		return -ENOENT;
+
+	for (;;) {
+		ret = node->query_retired_page(node, ctx->cursor, &page);
+		if (ret && ret != -ENOENT)
+			break;
+
+		/* Never zero, so the first message is checked as well */
+		cb->seq = page.generation + 1;
+		if (ret == -ENOENT) {
+			ret = 0;
+			break;
+		}
+
+		hdr = genlmsg_iput(skb, info);
+		if (!hdr) {
+			ret = -EMSGSIZE;
+			break;
+		}
+
+		ret = msg_put_retired_page(skb, &page);
+		if (ret) {
+			genlmsg_cancel(skb, hdr);
+			break;
+		}
+
+		genl_dump_check_consistent(cb, hdr);
+
+		genlmsg_end(skb, hdr);
+		ctx->cursor = page.address + 1;
+	}
+
+	drm_ras_node_put(node);
+
+	return ret;
+}
+
+/**
+ * drm_ras_nl_get_retired_pages_info_doit() - Query the retired page limits of a node
+ * @skb: Netlink message buffer
+ * @info: Generic Netlink info containing attributes of the request
+ *
+ * Return: 0 on success, or negative errno on failure.
+ */
+int drm_ras_nl_get_retired_pages_info_doit(struct sk_buff *skb,
+					   struct genl_info *info)
+{
+	struct drm_ras_node *node;
+	struct sk_buff *msg;
+	u64 max_pages;
+	void *hdr;
+	int ret;
+
+	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID))
+		return -EINVAL;
+
+	node = get_retired_pages_node(info);
+	if (!node)
+		return -ENOENT;
+
+	if (!node->query_retired_pages_info) {
+		ret = -EOPNOTSUPP;
+		goto put_node;
+	}
+
+	ret = node->query_retired_pages_info(node, &max_pages);
+	if (ret)
+		goto put_node;
+
+	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
+	if (!msg) {
+		ret = -ENOMEM;
+		goto put_node;
+	}
+
+	hdr = genlmsg_iput(msg, info);
+	if (!hdr) {
+		ret = -EMSGSIZE;
+		goto free_msg;
+	}
+
+	ret = nla_put_u32(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID, node->id);
+	if (ret)
+		goto cancel_msg;
+
+	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX_PAGES, max_pages);
+	if (ret)
+		goto cancel_msg;
+
+	genlmsg_end(msg, hdr);
+
+	drm_ras_node_put(node);
+
+	return genlmsg_reply(msg, info);
+
+cancel_msg:
+	genlmsg_cancel(msg, hdr);
+free_msg:
+	nlmsg_free(msg);
+put_node:
+	drm_ras_node_put(node);
+	return ret;
+}
+
 /**
  * drm_ras_nl_pre_telemetry - Look up the telemetry node and enforce permissions
  * @ops: Generic netlink operations
@@ -808,10 +997,9 @@ int drm_ras_nl_pre_telemetry(const struct genl_split_ops *ops, struct sk_buff *s
 		return -EINVAL;
 
 	node_id = nla_get_u32(info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
-	node = drm_ras_node_get(node_id);
-	if (!node || node->type != DRM_RAS_NODE_TYPE_TELEMETRY) {
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_TELEMETRY);
+	if (!node) {
 		NL_SET_BAD_ATTR(info->extack, info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
-		drm_ras_node_put(node);
 		return -ENOENT;
 	}
 
@@ -892,10 +1080,9 @@ int drm_ras_nl_telemetry_list_fields_dumpit(struct sk_buff *skb, struct netlink_
 
 	node_id = nla_get_u32(info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
 
-	node = drm_ras_node_get(node_id);
-	if (!node || node->type != DRM_RAS_NODE_TYPE_TELEMETRY) {
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_TELEMETRY);
+	if (!node) {
 		NL_SET_BAD_ATTR(info->extack, info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
-		drm_ras_node_put(node);
 		return -ENOENT;
 	}
 
@@ -1100,7 +1287,6 @@ int drm_ras_node_register(struct drm_ras_node *node)
 	if (!node->device_name || !node->node_name)
 		return -EINVAL;
 
-	/* Currently, only Error Counter and Telemetry endpoints are supported */
 	switch (node->type) {
 	case DRM_RAS_NODE_TYPE_ERROR_COUNTER:
 		/* Mandatory entries for Error Counter Node */
@@ -1112,6 +1298,10 @@ int drm_ras_node_register(struct drm_ras_node *node)
 		if (!node->telemetry_get || !node->telemetry_fields)
 			return -EINVAL;
 		break;
+	case DRM_RAS_NODE_TYPE_RETIRED_PAGES:
+		if (!node->query_retired_page)
+			return -EINVAL;
+		break;
 	default:
 		return -EINVAL;
 	}
diff --git a/drivers/gpu/drm/drm_ras_nl.c b/drivers/gpu/drm/drm_ras_nl.c
index 589c6445eff7..c56220205876 100644
--- a/drivers/gpu/drm/drm_ras_nl.c
+++ b/drivers/gpu/drm/drm_ras_nl.c
@@ -59,6 +59,16 @@ static const struct nla_policy drm_ras_telemetry_list_fields_nl_policy[DRM_RAS_A
 	[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID] = { .type = NLA_U32, },
 };
 
+/* DRM_RAS_CMD_GET_RETIRED_PAGES - dump */
+static const struct nla_policy drm_ras_get_retired_pages_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {
+	[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID] = { .type = NLA_U32, },
+};
+
+/* DRM_RAS_CMD_GET_RETIRED_PAGES_INFO - do */
+static const struct nla_policy drm_ras_get_retired_pages_info_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {
+	[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID] = { .type = NLA_U32, },
+};
+
 /* Ops table for drm_ras */
 static const struct genl_split_ops drm_ras_nl_ops[] = {
 	{
@@ -126,6 +136,20 @@ static const struct genl_split_ops drm_ras_nl_ops[] = {
 		.maxattr	= DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID,
 		.flags		= GENL_CMD_CAP_DUMP,
 	},
+	{
+		.cmd		= DRM_RAS_CMD_GET_RETIRED_PAGES,
+		.dumpit		= drm_ras_nl_get_retired_pages_dumpit,
+		.policy		= drm_ras_get_retired_pages_nl_policy,
+		.maxattr	= DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID,
+		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
+	},
+	{
+		.cmd		= DRM_RAS_CMD_GET_RETIRED_PAGES_INFO,
+		.doit		= drm_ras_nl_get_retired_pages_info_doit,
+		.policy		= drm_ras_get_retired_pages_info_nl_policy,
+		.maxattr	= DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID,
+		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
+	},
 };
 
 static const struct genl_multicast_group drm_ras_nl_mcgrps[] = {
diff --git a/drivers/gpu/drm/drm_ras_nl.h b/drivers/gpu/drm/drm_ras_nl.h
index 7a1cba70fd50..880b0c2befe3 100644
--- a/drivers/gpu/drm/drm_ras_nl.h
+++ b/drivers/gpu/drm/drm_ras_nl.h
@@ -34,6 +34,10 @@ int drm_ras_nl_telemetry_get_doit(struct sk_buff *skb, struct genl_info *info);
 int drm_ras_nl_telemetry_set_doit(struct sk_buff *skb, struct genl_info *info);
 int drm_ras_nl_telemetry_list_fields_dumpit(struct sk_buff *skb,
 					    struct netlink_callback *cb);
+int drm_ras_nl_get_retired_pages_dumpit(struct sk_buff *skb,
+					struct netlink_callback *cb);
+int drm_ras_nl_get_retired_pages_info_doit(struct sk_buff *skb,
+					   struct genl_info *info);
 
 enum {
 	DRM_RAS_NLGRP_ERROR_REPORT,
diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
index 76bdcc6f96a5..5c3900a53278 100644
--- a/include/drm/drm_ras.h
+++ b/include/drm/drm_ras.h
@@ -28,6 +28,23 @@ struct drm_ras_telemetry_field {
 	u32 mode;
 };
 
+/**
+ * struct drm_ras_retired_page - A retired page reported by a driver
+ */
+struct drm_ras_retired_page {
+	/** @address: Device address of the page. */
+	u64 address;
+	/** @size: Size of the page in bytes. */
+	u64 size;
+	/** @status: Retirement status (enum drm_ras_retired_page_status). */
+	enum drm_ras_retired_page_status status;
+	/**
+	 * @generation: Generation of the retired page list, changed by the
+	 * driver whenever a page is added, removed or changes status.
+	 */
+	u32 generation;
+};
+
 /**
  * struct drm_ras_node - A DRM RAS Node
  */
@@ -184,6 +201,38 @@ struct drm_ras_node {
 	int (*telemetry_set)(struct drm_ras_node *ep, u64 *field, s64 *value,
 			     s64 *status);
 
+	/* Retired-Pages Related Callbacks */
+
+	/**
+	 * @query_retired_page:
+	 *
+	 * This callback is used by drm-ras to list the retired pages of a node.
+	 * It must fill @page with the retired page that has the lowest address
+	 * greater than or equal to @cursor. @page->generation must be set even
+	 * when no page is found.
+	 *
+	 * The @query_retired_page is a mandatory callback for
+	 * retired_pages_node.
+	 *
+	 * Returns: 0 on success,
+	 *          -ENOENT when no page is at or above @cursor, which ends the
+	 *                  list.
+	 *          Other negative values on errors that should terminate the
+	 *          netlink query.
+	 */
+	int (*query_retired_page)(struct drm_ras_node *node, u64 cursor,
+				  struct drm_ras_retired_page *page);
+
+	/**
+	 * @query_retired_pages_info:
+	 *
+	 * This callback is used by drm-ras to query the maximum number of pages
+	 * that can be retired on a node.
+	 *
+	 * Returns: 0 on success, negative error code on failure.
+	 */
+	int (*query_retired_pages_info)(struct drm_ras_node *node, u64 *max_pages);
+
 	/** @priv: Driver private data */
 	void *priv;
 
diff --git a/include/uapi/drm/drm_ras.h b/include/uapi/drm/drm_ras.h
index 56e0588af5d5..e7f2da18cc4c 100644
--- a/include/uapi/drm/drm_ras.h
+++ b/include/uapi/drm/drm_ras.h
@@ -12,12 +12,14 @@
 
 /*
  * Type of the node. The error-counter nodes expose reliability counters for a
- * hardware/software component, and telemetry nodes expose an interface for
- * reading and writing telemetry values to a device.
+ * hardware/software component, telemetry nodes expose an interface for reading
+ * and writing telemetry values to a device, and retired-pages nodes list the
+ * memory pages that have been taken out of service.
  */
 enum drm_ras_node_type {
 	DRM_RAS_NODE_TYPE_ERROR_COUNTER = 1,
 	DRM_RAS_NODE_TYPE_TELEMETRY,
+	DRM_RAS_NODE_TYPE_RETIRED_PAGES,
 };
 
 /*
@@ -28,6 +30,18 @@ enum drm_ras_telemetry_field_mode {
 	DRM_RAS_TELEMETRY_FIELD_MODE_WRITE = 2,
 };
 
+/*
+ * Status of a retired page. retired means the page is reserved and out of
+ * service; pending means the retirement is queued but the reservation is not
+ * complete yet; failed means the reservation failed and the page may still be
+ * in use.
+ */
+enum drm_ras_retired_page_status {
+	DRM_RAS_RETIRED_PAGE_STATUS_RETIRED = 1,
+	DRM_RAS_RETIRED_PAGE_STATUS_PENDING,
+	DRM_RAS_RETIRED_PAGE_STATUS_FAILED,
+};
+
 enum {
 	DRM_RAS_A_NODE_ATTRS_NODE_ID = 1,
 	DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
@@ -73,6 +87,17 @@ enum {
 	DRM_RAS_A_TELEMETRY_ATTRS_MAX = (__DRM_RAS_A_TELEMETRY_ATTRS_MAX - 1)
 };
 
+enum {
+	DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID = 1,
+	DRM_RAS_A_RETIRED_PAGE_ATTRS_ADDRESS,
+	DRM_RAS_A_RETIRED_PAGE_ATTRS_SIZE,
+	DRM_RAS_A_RETIRED_PAGE_ATTRS_STATUS,
+	DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX_PAGES,
+
+	__DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX,
+	DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX = (__DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX - 1)
+};
+
 enum {
 	DRM_RAS_CMD_LIST_NODES = 1,
 	DRM_RAS_CMD_GET_ERROR_COUNTER,
@@ -83,6 +108,8 @@ enum {
 	DRM_RAS_CMD_TELEMETRY_GET,
 	DRM_RAS_CMD_TELEMETRY_SET,
 	DRM_RAS_CMD_TELEMETRY_LIST_FIELDS,
+	DRM_RAS_CMD_GET_RETIRED_PAGES,
+	DRM_RAS_CMD_GET_RETIRED_PAGES_INFO,
 
 	__DRM_RAS_CMD_MAX,
 	DRM_RAS_CMD_MAX = (__DRM_RAS_CMD_MAX - 1)
-- 
2.56.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH v5 2/2] drm/xe: Expose retired VRAM pages via drm-ras
  2026-11-25 19:02 [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
  2026-11-25 19:02 ` [PATCH v5 1/2] drm/ras: Add retired-pages node type Rodrigo Vivi
@ 2026-11-25 19:02 ` Rodrigo Vivi
  2026-11-27  7:18   ` Tauro, Riana
  2026-11-25 20:19 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev5) Patchwork
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 12+ messages in thread
From: Rodrigo Vivi @ 2026-11-25 19:02 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-xe, Aravind Iddamsetty, Tejas Upadhyay,
	Himal Prasad Ghimiray, Riana Tauro, Rodrigo Vivi

From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>

Retired VRAM pages are only visible through the vram_bad_pages debugfs
file today. Register a drm-ras retired-pages node so userspace gets
them, and the maximum number of pages that can be retired, through a
stable interface.

The page lists are walked under the VRAM manager lock, and a generation
counter on each manager lets drm-ras flag dumps that raced with a page
being added, retired or failing its reservation.

v3 (Rodrigo+LLM):
 - Use the drm-ras retired-pages node type, which replaces the nested
   retired-resources layout (Jakub).
 - Walk the lists under mgr->lock instead of RCU, which they are not
   protected by, and stop reading the buddy blocks (Sashiko).
 - Add a generation counter for interrupted dumps.
 - Keep the vram_bad_pages debugfs file for now.
 - Remove deprecated Assisted-by tag.

v4 (Rodrigo+LLM):
 - Register the node at the end of xe_ras_init(), once the retired page
   lists are fetched. That point is only reached with a system
   controller, which replaces the XE_CRESCENTISLAND check and keeps the
   node off VFs (local Sashiko).
 - Report the list generation also when no page is left (local Sashiko).

Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Riana Tauro <riana.tauro@intel.com>
Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/xe/xe_drm_ras.c            | 56 +++++++++++++++++
 drivers/gpu/drm/xe/xe_drm_ras.h            |  1 +
 drivers/gpu/drm/xe/xe_ras.c                |  4 ++
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       | 72 +++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h       |  3 +
 drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h |  5 ++
 6 files changed, 140 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_drm_ras.c b/drivers/gpu/drm/xe/xe_drm_ras.c
index 86c589437a9f..5382b60bb328 100644
--- a/drivers/gpu/drm/xe/xe_drm_ras.c
+++ b/drivers/gpu/drm/xe/xe_drm_ras.c
@@ -13,6 +13,7 @@
 #include "xe_device_types.h"
 #include "xe_drm_ras.h"
 #include "xe_ras.h"
+#include "xe_ttm_vram_mgr.h"
 #include "xe_wedge.h"
 
 static const char * const error_components[] = DRM_XE_RAS_ERROR_COMPONENT_NAMES;
@@ -272,6 +273,61 @@ static int register_nodes(struct xe_device *xe)
 	return ret;
 }
 
+static int query_retired_page(struct drm_ras_node *node, u64 cursor,
+			      struct drm_ras_retired_page *page)
+{
+	return xe_ttm_vram_get_retired_page(node->priv, cursor, page);
+}
+
+static int query_retired_pages_info(struct drm_ras_node *node, u64 *max_pages)
+{
+	*max_pages = xe_ras_get_max_pages(node->priv);
+
+	return 0;
+}
+
+/**
+ * xe_drm_ras_register_retired_pages() - Register the retired VRAM pages node
+ * @xe: xe device instance
+ *
+ * Called once the retired page lists are populated.
+ *
+ * Return: 0 on success, negative error code otherwise.
+ */
+int xe_drm_ras_register_retired_pages(struct xe_device *xe)
+{
+	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
+	struct drm_ras_node *node;
+	int ret;
+
+	if (!xe->info.has_drm_ras)
+		return 0;
+
+	node = drmm_kzalloc(&xe->drm, sizeof(*node), GFP_KERNEL);
+	if (!node)
+		return -ENOMEM;
+
+	node->device_name = kasprintf(GFP_KERNEL, "%04x:%02x:%02x.%d",
+				      pci_domain_nr(pdev->bus), pdev->bus->number,
+				      PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
+	if (!node->device_name)
+		return -ENOMEM;
+
+	node->node_name = "vram-retired-pages";
+	node->type = DRM_RAS_NODE_TYPE_RETIRED_PAGES;
+	node->query_retired_page = query_retired_page;
+	node->query_retired_pages_info = query_retired_pages_info;
+	node->priv = xe;
+
+	ret = drm_ras_node_register(node);
+	if (ret) {
+		cleanup_node_param(node);
+		return ret;
+	}
+
+	return drmm_add_action_or_reset(&xe->drm, cleanup_node, node);
+}
+
 /**
  * xe_drm_ras_event() - Report drm-ras error event to userspace
  * @xe: xe device structure
diff --git a/drivers/gpu/drm/xe/xe_drm_ras.h b/drivers/gpu/drm/xe/xe_drm_ras.h
index 723229b2cffb..a6fc2255986d 100644
--- a/drivers/gpu/drm/xe/xe_drm_ras.h
+++ b/drivers/gpu/drm/xe/xe_drm_ras.h
@@ -13,6 +13,7 @@ struct xe_device;
 	for (i = 0; i < DRM_XE_RAS_ERR_SEV_MAX; i++)
 
 int xe_drm_ras_init(struct xe_device *xe);
+int xe_drm_ras_register_retired_pages(struct xe_device *xe);
 void xe_drm_ras_event(struct xe_device *xe, u32 component, u32 severity, u32 value);
 
 #endif
diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
index 9b04be3405ca..8e5e2df2c9f7 100644
--- a/drivers/gpu/drm/xe/xe_ras.c
+++ b/drivers/gpu/drm/xe/xe_ras.c
@@ -1508,6 +1508,10 @@ int xe_ras_init(struct xe_device *xe)
 	get_offline_list(xe);
 	get_offline_queue(xe);
 
+	ret = xe_drm_ras_register_retired_pages(xe);
+	if (ret)
+		return ret;
+
 	/*
 	 * During probe, process and log any errors detected by firmware while the driver was not
 	 * loaded. Critical errors such as Punit and CSC are reported through Pcode init failure,
diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
index 36d47de8b11b..4a7b9ea36211 100644
--- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
+++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
@@ -10,6 +10,7 @@
 #include <drm/drm_managed.h>
 #include <drm/drm_drv.h>
 #include <drm/drm_buddy.h>
+#include <drm/drm_ras.h>
 #include <uapi/drm/xe_drm.h>
 
 #include <drm/ttm/ttm_placement.h>
@@ -240,13 +241,17 @@ static void xe_ttm_vram_retry_queued_pages(struct xe_ttm_vram_mgr *mgr)
 					    PAGE_SIZE, PAGE_SIZE, &pos->blocks,
 					    GPU_BUDDY_RANGE_ALLOCATION, NULL,
 					    &pos->used_visible_size)) {
-			pos->status = XE_PAGE_RESERVE_FAIL;
+			if (pos->status != XE_PAGE_RESERVE_FAIL) {
+				pos->status = XE_PAGE_RESERVE_FAIL;
+				mgr->retired_gen++;
+			}
 			continue;
 		}
 		--mgr->n_queued_pages;
 		list_del(&pos->queued_link);
 		++mgr->n_offlined_pages;
 		list_add(&pos->offlined_link, &mgr->offlined_pages);
+		mgr->retired_gen++;
 	}
 }
 
@@ -625,6 +630,68 @@ u64 xe_ttm_vram_get_avail(struct ttm_resource_manager *man)
 	return avail;
 }
 
+static void retired_page_update(struct drm_ras_retired_page *page, bool *found,
+				u64 cursor, u64 addr, enum drm_ras_retired_page_status status)
+{
+	if (addr < cursor || (*found && addr >= page->address))
+		return;
+
+	page->address = addr;
+	page->status = status;
+	*found = true;
+}
+
+/**
+ * xe_ttm_vram_get_retired_page - Get the next retired VRAM page
+ * @xe: xe device instance
+ * @cursor: lowest device address to consider
+ * @page: filled with the retired page that has the lowest address >= @cursor
+ *
+ * Return: 0 on success, -ENOENT if no retired page is at or above @cursor.
+ */
+int xe_ttm_vram_get_retired_page(struct xe_device *xe, u64 cursor,
+				 struct drm_ras_retired_page *page)
+{
+	struct xe_ttm_vram_offline_resource *pos;
+	struct xe_tile *tile;
+	bool found = false;
+	u32 gen = 0;
+	u8 id;
+
+	for_each_tile(tile, xe, id) {
+		struct xe_vram_region *vr = tile->mem.vram;
+		struct ttm_resource_manager *man;
+		struct xe_ttm_vram_mgr *mgr;
+
+		man = ttm_manager_type(&xe->ttm, XE_PL_VRAM0 + id);
+		if (!man || !vr)
+			continue;
+		mgr = to_xe_ttm_vram_mgr(man);
+
+		guard(mutex)(&mgr->lock);
+
+		gen += mgr->retired_gen;
+
+		list_for_each_entry(pos, &mgr->offlined_pages, offlined_link)
+			retired_page_update(page, &found, cursor, pos->addr + vr->dpa_base,
+					    DRM_RAS_RETIRED_PAGE_STATUS_RETIRED);
+
+		list_for_each_entry(pos, &mgr->queued_pages, queued_link)
+			retired_page_update(page, &found, cursor, pos->addr + vr->dpa_base,
+					    pos->status == XE_PAGE_RESERVE_FAIL ?
+					    DRM_RAS_RETIRED_PAGE_STATUS_FAILED :
+					    DRM_RAS_RETIRED_PAGE_STATUS_PENDING);
+	}
+
+	page->generation = gen;
+	if (!found)
+		return -ENOENT;
+
+	page->size = PAGE_SIZE;
+
+	return 0;
+}
+
 static int xe_ttm_vram_purge_page(struct xe_device *xe, struct xe_bo *bo)
 {
 	u32 q_flag = DRM_XE_EXEC_QUEUE_BAN_REASON_PAGE_OFFLINE;
@@ -825,6 +892,7 @@ static int xe_ttm_vram_reserve_page_at_addr(struct xe_device *xe, u64 addr,
 			/* Queue free(to-be-purged) pages */
 			++vram_mgr->n_queued_pages;
 			list_add(&nentry->queued_link, &vram_mgr->queued_pages);
+			vram_mgr->retired_gen++;
 		} else {
 			/* Immediately offline unoccupied pages */
 			/* Queue free(to-be-reserved) pages */
@@ -839,10 +907,12 @@ static int xe_ttm_vram_reserve_page_at_addr(struct xe_device *xe, u64 addr,
 					addr, ret);
 				++vram_mgr->n_queued_pages;
 				list_add(&nentry->queued_link, &vram_mgr->queued_pages);
+				vram_mgr->retired_gen++;
 				return 0;
 			}
 			++vram_mgr->n_offlined_pages;
 			list_add(&nentry->offlined_link, &vram_mgr->offlined_pages);
+			vram_mgr->retired_gen++;
 			return ret;
 		}
 	}
diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
index d77f067d197b..91147385718c 100644
--- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
+++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
@@ -9,6 +9,7 @@
 #include "xe_ttm_vram_mgr_types.h"
 
 enum dma_data_direction;
+struct drm_ras_retired_page;
 struct xe_device;
 struct xe_tile;
 struct xe_vram_region;
@@ -33,6 +34,8 @@ void xe_ttm_vram_get_used(struct ttm_resource_manager *man,
 			  u64 *used, u64 *used_visible);
 int xe_ttm_vram_handle_addr_fault(struct xe_device *xe, u64 addr);
 int xe_ttm_vram_inject_fault(struct xe_device *xe);
+int xe_ttm_vram_get_retired_page(struct xe_device *xe, u64 cursor,
+				 struct drm_ras_retired_page *page);
 
 static inline struct xe_ttm_vram_mgr_resource *
 to_xe_ttm_vram_mgr_resource(struct ttm_resource *res)
diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
index 4a2cd27a5b61..6a49ee8b09ef 100644
--- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
+++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
@@ -27,6 +27,11 @@ struct xe_ttm_vram_mgr {
 	struct list_head queued_pages;
 	/** @n_queued_pages: Number of queued pages */
 	u16 n_queued_pages;
+	/**
+	 * @retired_gen: Changed whenever @offlined_pages or @queued_pages
+	 * change. Protected by @lock.
+	 */
+	u32 retired_gen;
 	/** @visible_size: Probed size of the CPU visible portion */
 	u64 visible_size;
 	/** @visible_avail: CPU visible portion still unallocated */
-- 
2.56.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev5)
  2026-11-25 19:02 [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
  2026-11-25 19:02 ` [PATCH v5 1/2] drm/ras: Add retired-pages node type Rodrigo Vivi
  2026-11-25 19:02 ` [PATCH v5 2/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
@ 2026-11-25 20:19 ` Patchwork
  2026-11-25 20:22 ` ✓ CI.KUnit: success " Patchwork
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2026-11-25 20:19 UTC (permalink / raw)
  To: Aravind Iddamsetty; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Expose retired VRAM pages via drm-ras (rev5)
URL   : https://patchwork.freedesktop.org/series/173066/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
3009867cd31863246e4afc138520a7a8bd37bb11
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 4d6cfbdc2b234ba97093caaa5457c60f544a7a27
Author: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Date:   Wed Nov 25 14:02:52 2026 -0500

    drm/xe: Expose retired VRAM pages via drm-ras
    
    Retired VRAM pages are only visible through the vram_bad_pages debugfs
    file today. Register a drm-ras retired-pages node so userspace gets
    them, and the maximum number of pages that can be retired, through a
    stable interface.
    
    The page lists are walked under the VRAM manager lock, and a generation
    counter on each manager lets drm-ras flag dumps that raced with a page
    being added, retired or failing its reservation.
    
    v3 (Rodrigo+LLM):
     - Use the drm-ras retired-pages node type, which replaces the nested
       retired-resources layout (Jakub).
     - Walk the lists under mgr->lock instead of RCU, which they are not
       protected by, and stop reading the buddy blocks (Sashiko).
     - Add a generation counter for interrupted dumps.
     - Keep the vram_bad_pages debugfs file for now.
     - Remove deprecated Assisted-by tag.
    
    v4 (Rodrigo+LLM):
     - Register the node at the end of xe_ras_init(), once the retired page
       lists are fetched. That point is only reached with a system
       controller, which replaces the XE_CRESCENTISLAND check and keeps the
       node off VFs (local Sashiko).
     - Report the list generation also when no page is left (local Sashiko).
    
    Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
    Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
    Cc: Riana Tauro <riana.tauro@intel.com>
    Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
+ /mt/dim checkpatch 01f73ffa8189526c8c33d591371ea89803fa6e2e drm-intel
62f5b73ac2f1 drm/ras: Add retired-pages node type
-:528: WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#528: FILE: drivers/gpu/drm/drm_ras_nl.c:63:
+static const struct nla_policy drm_ras_get_retired_pages_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {

-:533: WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#533: FILE: drivers/gpu/drm/drm_ras_nl.c:68:
+static const struct nla_policy drm_ras_get_retired_pages_info_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {

total: 0 errors, 2 warnings, 0 checks, 606 lines checked
4d6cfbdc2b23 drm/xe: Expose retired VRAM pages via drm-ras



^ permalink raw reply	[flat|nested] 12+ messages in thread

* ✓ CI.KUnit: success for drm/xe: Expose retired VRAM pages via drm-ras (rev5)
  2026-11-25 19:02 [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
                   ` (2 preceding siblings ...)
  2026-11-25 20:19 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev5) Patchwork
@ 2026-11-25 20:22 ` Patchwork
  2026-11-25 21:02 ` ✓ Xe.CI.BAT: " Patchwork
  2026-11-26  5:35 ` ✗ Xe.CI.FULL: failure " Patchwork
  5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2026-11-25 20:22 UTC (permalink / raw)
  To: Aravind Iddamsetty; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Expose retired VRAM pages via drm-ras (rev5)
URL   : https://patchwork.freedesktop.org/series/173066/
State : success

== Summary ==

+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[20:19:47] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[20:19:52] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[20:20:13] Starting KUnit Kernel (1/1)...
[20:20:13] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[20:20:13] ================= gpu_buddy (15 subtests) ==================
[20:20:13] [PASSED] gpu_test_buddy_alloc_limit
[20:20:13] [PASSED] gpu_test_buddy_alloc_optimistic
[20:20:13] [PASSED] gpu_test_buddy_alloc_pessimistic
[20:20:13] [PASSED] gpu_test_buddy_alloc_pathological
[20:20:13] [PASSED] gpu_test_buddy_alloc_contiguous
[20:20:13] [PASSED] gpu_test_buddy_alloc_clear
[20:20:13] [PASSED] gpu_test_buddy_alloc_range
[20:20:13] [PASSED] gpu_test_buddy_alloc_range_bias
[20:20:14] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[20:20:15] [PASSED] gpu_test_buddy_fragmentation_performance
[20:20:15] [PASSED] gpu_test_buddy_dirty_tracker_performance
[20:20:15] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[20:20:15] [PASSED] gpu_test_buddy_offset_aligned_allocation
[20:20:15] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[20:20:15] [PASSED] gpu_test_buddy_addr_to_block
[20:20:15] ==================== [PASSED] gpu_buddy ====================
[20:20:15] ============================================================
[20:20:15] Testing complete. Ran 15 tests: passed: 15
[20:20:15] Elapsed time: 28.103s total, 5.079s configuring, 20.755s building, 2.210s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[20:20:16] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[20:20:18] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[20:20:57] Starting KUnit Kernel (1/1)...
[20:20:57] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[20:20:57] ================= xe_ggtt_iov (9 subtests) =================
[20:20:57] [PASSED] init_shared_pf
[20:20:57] [PASSED] init_partial_overlap
[20:20:57] [PASSED] alloc_usable_pool_low
[20:20:57] [PASSED] alloc_shareable_pool_high
[20:20:57] [PASSED] alloc_partial_overlap
[20:20:57] [PASSED] alloc_partial_overlap_usable_full
[20:20:57] [PASSED] alloc_partial_overlap_shareable_full
[20:20:57] [PASSED] alloc_shareable_pool_unavailable
[20:20:57] [PASSED] alloc_shareable_pool_oversized
[20:20:57] =================== [PASSED] xe_ggtt_iov ===================
[20:20:57] =================== xe_ggtt (3 subtests) ===================
[20:20:57] [PASSED] init_native
[20:20:57] [PASSED] alloc_usable_pool_native
[20:20:57] [PASSED] alloc_usable_pool_oversized
[20:20:57] ===================== [PASSED] xe_ggtt =====================
[20:20:57] ================== guc_buf (11 subtests) ===================
[20:20:57] [PASSED] test_smallest
[20:20:57] [PASSED] test_largest
[20:20:57] [PASSED] test_granular
[20:20:57] [PASSED] test_unique
[20:20:57] [PASSED] test_overlap
[20:20:57] [PASSED] test_reusable
[20:20:57] [PASSED] test_too_big
[20:20:57] [PASSED] test_flush
[20:20:57] [PASSED] test_lookup
[20:20:57] [PASSED] test_data
[20:20:57] [PASSED] test_class
[20:20:57] ===================== [PASSED] guc_buf =====================
[20:20:57] =================== guc_dbm (7 subtests) ===================
[20:20:57] [PASSED] test_empty
[20:20:57] [PASSED] test_default
[20:20:57] ======================== test_size  ========================
[20:20:57] [PASSED] 4
[20:20:57] [PASSED] 8
[20:20:57] [PASSED] 32
[20:20:57] [PASSED] 256
[20:20:57] ==================== [PASSED] test_size ====================
[20:20:57] ======================= test_reuse  ========================
[20:20:57] [PASSED] 4
[20:20:57] [PASSED] 8
[20:20:57] [PASSED] 32
[20:20:57] [PASSED] 256
[20:20:57] =================== [PASSED] test_reuse ====================
[20:20:57] =================== test_range_overlap  ====================
[20:20:57] [PASSED] 4
[20:20:57] [PASSED] 8
[20:20:57] [PASSED] 32
[20:20:57] [PASSED] 256
[20:20:57] =============== [PASSED] test_range_overlap ================
[20:20:57] =================== test_range_compact  ====================
[20:20:57] [PASSED] 4
[20:20:57] [PASSED] 8
[20:20:57] [PASSED] 32
[20:20:57] [PASSED] 256
[20:20:57] =============== [PASSED] test_range_compact ================
[20:20:57] ==================== test_range_spare  =====================
[20:20:57] [PASSED] 4
[20:20:57] [PASSED] 8
[20:20:57] [PASSED] 32
[20:20:57] [PASSED] 256
[20:20:57] ================ [PASSED] test_range_spare =================
[20:20:57] ===================== [PASSED] guc_dbm =====================
[20:20:57] ================== guc_idm (22 subtests) ===================
[20:20:57] [PASSED] bad_init
[20:20:57] [PASSED] no_init
[20:20:57] [PASSED] init_fini
[20:20:57] [PASSED] check_init_small
[20:20:57] [PASSED] check_init_shared
[20:20:57] [PASSED] check_used
[20:20:57] [PASSED] check_quota
[20:20:57] [PASSED] check_all
[20:20:57] [PASSED] check_limits
[20:20:57] [PASSED] check_overlap
[20:20:57] [PASSED] check_overlap_alloc
[20:20:57] [PASSED] check_overlap_release
[20:20:57] [PASSED] check_overlap_partial_init
[20:20:57] [PASSED] check_overlap_partial_shared_range_blocking
[20:20:57] [PASSED] check_used_usable
[20:20:57] [PASSED] check_used_shareable
[20:20:57] [PASSED] check_used_mixed
[20:20:57] [PASSED] check_release_usable_range
[20:20:57] [PASSED] check_release_shareable_range
[20:20:57] [PASSED] check_split_boundaries
[20:20:57] [PASSED] check_shareable_spare
[20:20:57] [PASSED] check_shareable_spare_fragmented_tail
[20:20:57] ===================== [PASSED] guc_idm =====================
[20:20:57] ============== guc_klv_helpers (13 subtests) ===============
[20:20:57] [PASSED] test_count
[20:20:57] [PASSED] test_encode_u32
[20:20:57] [PASSED] test_encode_u64
[20:20:57] [PASSED] test_encode_string
[20:20:57] [PASSED] test_encode_object_raw
[20:20:57] [PASSED] test_encode_object_klv
[20:20:57] [PASSED] test_encode_object_nested
[20:20:57] [PASSED] test_encode_object_basic
[20:20:57] ===================== test_decode_u16  =====================
[20:20:57] [PASSED] empty
[20:20:58] [PASSED] valid
[20:20:58] [PASSED] max
[20:20:58] [PASSED] big
[20:20:58] [PASSED] long
[20:20:58] ================= [PASSED] test_decode_u16 =================
[20:20:58] ===================== test_decode_u32  =====================
[20:20:58] [PASSED] empty
[20:20:58] [PASSED] valid
[20:20:58] [PASSED] max
[20:20:58] [PASSED] long
[20:20:58] ================= [PASSED] test_decode_u32 =================
[20:20:58] ===================== test_decode_u64  =====================
[20:20:58] [PASSED] empty
[20:20:58] [PASSED] short
[20:20:58] [PASSED] valid
[20:20:58] [PASSED] max
[20:20:58] [PASSED] long
[20:20:58] ================= [PASSED] test_decode_u64 =================
[20:20:58] ===================== test_decode_str  =====================
[20:20:58] [PASSED] empty
[20:20:58] [PASSED] one
[20:20:58] [PASSED] one_trash
[20:20:58] [PASSED] two
[20:20:58] [PASSED] two_trash
[20:20:58] [PASSED] three
[20:20:58] [PASSED] dword
[20:20:58] [PASSED] four
[20:20:58] [PASSED] five
[20:20:58] [PASSED] six
[20:20:58] [PASSED] seven
[20:20:58] [PASSED] qword
[20:20:58] ================= [PASSED] test_decode_str =================
[20:20:58] [PASSED] test_print
[20:20:58] ================= [PASSED] guc_klv_helpers =================
[20:20:58] =================== xe_log (4 subtests) ====================
[20:20:58] [PASSED] demo_cper
[20:20:58] [PASSED] demo_dmesg
[20:20:58] ======================= test_dmesg  ========================
[20:20:58] [PASSED] test_fatal
[20:20:58] [PASSED] test_fatal_tile
[20:20:58] [PASSED] test_fatal_gt
[20:20:58] [PASSED] test_fatal_comp
[20:20:58] [PASSED] test_fatal_comp_tile
[20:20:58] [PASSED] test_fatal_comp_gt
[20:20:58] [PASSED] test_fatal_all
[20:20:58] [PASSED] test_recoverable
[20:20:58] [PASSED] test_recoverable_tile
[20:20:58] [PASSED] test_recoverable_gt
[20:20:58] [PASSED] test_recoverable_comp
[20:20:58] [PASSED] test_recoverable_comp_tile
[20:20:58] [PASSED] test_recoverable_comp_gt
[20:20:58] [PASSED] test_recoverable_all
[20:20:58] [PASSED] test_info
[20:20:58] [PASSED] test_info_tile
[20:20:58] [PASSED] test_info_gt
[20:20:58] [PASSED] test_info_err
[20:20:58] [PASSED] test_info_comp
[20:20:58] [PASSED] test_info_comp_tile
[20:20:58] [PASSED] test_info_comp_gt
[20:20:58] [PASSED] test_info_all
[20:20:58] [PASSED] test_hw_fatal
[20:20:58] [PASSED] test_hw_recoverable
[20:20:58] [PASSED] test_hw_corrected
[20:20:58] [PASSED] test_hw_informational
[20:20:58] =================== [PASSED] test_dmesg ====================
[20:20:58] ====================== test_invalid  =======================
[20:20:58] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[20:20:58] ================== [SKIPPED] test_invalid ==================
[20:20:58] ===================== [PASSED] xe_log ======================
[20:20:58] ================== no_relay (3 subtests) ===================
[20:20:58] [PASSED] xe_drops_guc2pf_if_not_ready
[20:20:58] [PASSED] xe_drops_guc2vf_if_not_ready
[20:20:58] [PASSED] xe_rejects_send_if_not_ready
[20:20:58] ==================== [PASSED] no_relay =====================
[20:20:58] ================== pf_relay (14 subtests) ==================
[20:20:58] [PASSED] pf_rejects_guc2pf_too_short
[20:20:58] [PASSED] pf_rejects_guc2pf_too_long
[20:20:58] [PASSED] pf_rejects_guc2pf_no_payload
[20:20:58] [PASSED] pf_fails_no_payload
[20:20:58] [PASSED] pf_fails_bad_origin
[20:20:58] [PASSED] pf_fails_bad_type
[20:20:58] [PASSED] pf_txn_reports_error
[20:20:58] [PASSED] pf_txn_sends_pf2guc
[20:20:58] [PASSED] pf_sends_pf2guc
[20:20:58] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[20:20:58] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[20:20:58] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[20:20:58] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[20:20:58] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[20:20:58] ==================== [PASSED] pf_relay =====================
[20:20:58] ================== vf_relay (3 subtests) ===================
[20:20:58] [PASSED] vf_rejects_guc2vf_too_short
[20:20:58] [PASSED] vf_rejects_guc2vf_too_long
[20:20:58] [PASSED] vf_rejects_guc2vf_no_payload
[20:20:58] ==================== [PASSED] vf_relay =====================
[20:20:58] ================ pf_gt_config (9 subtests) =================
[20:20:58] [PASSED] fair_contexts_1vf
[20:20:58] [PASSED] fair_doorbells_1vf
[20:20:58] [PASSED] fair_ggtt_1vf
[20:20:58] ====================== fair_vram_1vf  ======================
[20:20:58] [PASSED] 3.50 GiB
[20:20:58] [PASSED] 11.5 GiB
[20:20:58] [PASSED] 15.5 GiB
[20:20:58] [PASSED] 31.5 GiB
[20:20:58] [PASSED] 63.5 GiB
[20:20:58] [PASSED] 1.91 GiB
[20:20:58] ================== [PASSED] fair_vram_1vf ==================
[20:20:58] ================ fair_vram_1vf_admin_only  =================
[20:20:58] [PASSED] 3.50 GiB
[20:20:58] [PASSED] 11.5 GiB
[20:20:58] [PASSED] 15.5 GiB
[20:20:58] [PASSED] 31.5 GiB
[20:20:58] [PASSED] 63.5 GiB
[20:20:58] [PASSED] 1.91 GiB
[20:20:58] ============ [PASSED] fair_vram_1vf_admin_only =============
[20:20:58] ====================== fair_contexts  ======================
[20:20:58] [PASSED] 1 VF
[20:20:58] [PASSED] 2 VFs
[20:20:58] [PASSED] 3 VFs
[20:20:58] [PASSED] 4 VFs
[20:20:58] [PASSED] 5 VFs
[20:20:58] [PASSED] 6 VFs
[20:20:58] [PASSED] 7 VFs
[20:20:58] [PASSED] 8 VFs
[20:20:58] [PASSED] 9 VFs
[20:20:58] [PASSED] 10 VFs
[20:20:58] [PASSED] 11 VFs
[20:20:58] [PASSED] 12 VFs
[20:20:58] [PASSED] 13 VFs
[20:20:58] [PASSED] 14 VFs
[20:20:58] [PASSED] 15 VFs
[20:20:58] [PASSED] 16 VFs
[20:20:58] [PASSED] 17 VFs
[20:20:58] [PASSED] 18 VFs
[20:20:58] [PASSED] 19 VFs
[20:20:58] [PASSED] 20 VFs
[20:20:58] [PASSED] 21 VFs
[20:20:58] [PASSED] 22 VFs
[20:20:58] [PASSED] 23 VFs
[20:20:58] [PASSED] 24 VFs
[20:20:58] [PASSED] 25 VFs
[20:20:58] [PASSED] 26 VFs
[20:20:58] [PASSED] 27 VFs
[20:20:58] [PASSED] 28 VFs
[20:20:58] [PASSED] 29 VFs
[20:20:58] [PASSED] 30 VFs
[20:20:58] [PASSED] 31 VFs
[20:20:58] [PASSED] 32 VFs
[20:20:58] [PASSED] 33 VFs
[20:20:58] [PASSED] 34 VFs
[20:20:58] [PASSED] 35 VFs
[20:20:58] [PASSED] 36 VFs
[20:20:58] [PASSED] 37 VFs
[20:20:58] [PASSED] 38 VFs
[20:20:58] [PASSED] 39 VFs
[20:20:58] [PASSED] 40 VFs
[20:20:58] [PASSED] 41 VFs
[20:20:58] [PASSED] 42 VFs
[20:20:58] [PASSED] 43 VFs
[20:20:58] [PASSED] 44 VFs
[20:20:58] [PASSED] 45 VFs
[20:20:58] [PASSED] 46 VFs
[20:20:58] [PASSED] 47 VFs
[20:20:58] [PASSED] 48 VFs
[20:20:58] [PASSED] 49 VFs
[20:20:58] [PASSED] 50 VFs
[20:20:58] [PASSED] 51 VFs
[20:20:58] [PASSED] 52 VFs
[20:20:58] [PASSED] 53 VFs
[20:20:58] [PASSED] 54 VFs
[20:20:58] [PASSED] 55 VFs
[20:20:58] [PASSED] 56 VFs
[20:20:58] [PASSED] 57 VFs
[20:20:58] [PASSED] 58 VFs
[20:20:58] [PASSED] 59 VFs
[20:20:58] [PASSED] 60 VFs
[20:20:58] [PASSED] 61 VFs
[20:20:58] [PASSED] 62 VFs
[20:20:58] [PASSED] 63 VFs
[20:20:58] ================== [PASSED] fair_contexts ==================
[20:20:58] ===================== fair_doorbells  ======================
[20:20:58] [PASSED] 1 VF
[20:20:58] [PASSED] 2 VFs
[20:20:58] [PASSED] 3 VFs
[20:20:58] [PASSED] 4 VFs
[20:20:58] [PASSED] 5 VFs
[20:20:58] [PASSED] 6 VFs
[20:20:58] [PASSED] 7 VFs
[20:20:58] [PASSED] 8 VFs
[20:20:58] [PASSED] 9 VFs
[20:20:58] [PASSED] 10 VFs
[20:20:58] [PASSED] 11 VFs
[20:20:58] [PASSED] 12 VFs
[20:20:58] [PASSED] 13 VFs
[20:20:58] [PASSED] 14 VFs
[20:20:58] [PASSED] 15 VFs
[20:20:58] [PASSED] 16 VFs
[20:20:58] [PASSED] 17 VFs
[20:20:58] [PASSED] 18 VFs
[20:20:58] [PASSED] 19 VFs
[20:20:58] [PASSED] 20 VFs
[20:20:58] [PASSED] 21 VFs
[20:20:58] [PASSED] 22 VFs
[20:20:58] [PASSED] 23 VFs
[20:20:58] [PASSED] 24 VFs
[20:20:58] [PASSED] 25 VFs
[20:20:58] [PASSED] 26 VFs
[20:20:58] [PASSED] 27 VFs
[20:20:58] [PASSED] 28 VFs
[20:20:58] [PASSED] 29 VFs
[20:20:58] [PASSED] 30 VFs
[20:20:58] [PASSED] 31 VFs
[20:20:58] [PASSED] 32 VFs
[20:20:58] [PASSED] 33 VFs
[20:20:58] [PASSED] 34 VFs
[20:20:58] [PASSED] 35 VFs
[20:20:58] [PASSED] 36 VFs
[20:20:58] [PASSED] 37 VFs
[20:20:58] [PASSED] 38 VFs
[20:20:58] [PASSED] 39 VFs
[20:20:58] [PASSED] 40 VFs
[20:20:58] [PASSED] 41 VFs
[20:20:58] [PASSED] 42 VFs
[20:20:58] [PASSED] 43 VFs
[20:20:58] [PASSED] 44 VFs
[20:20:58] [PASSED] 45 VFs
[20:20:58] [PASSED] 46 VFs
[20:20:58] [PASSED] 47 VFs
[20:20:58] [PASSED] 48 VFs
[20:20:58] [PASSED] 49 VFs
[20:20:58] [PASSED] 50 VFs
[20:20:58] [PASSED] 51 VFs
[20:20:58] [PASSED] 52 VFs
[20:20:58] [PASSED] 53 VFs
[20:20:58] [PASSED] 54 VFs
[20:20:58] [PASSED] 55 VFs
[20:20:58] [PASSED] 56 VFs
[20:20:58] [PASSED] 57 VFs
[20:20:58] [PASSED] 58 VFs
[20:20:58] [PASSED] 59 VFs
[20:20:58] [PASSED] 60 VFs
[20:20:58] [PASSED] 61 VFs
[20:20:58] [PASSED] 62 VFs
[20:20:58] [PASSED] 63 VFs
[20:20:58] ================= [PASSED] fair_doorbells ==================
[20:20:58] ======================== fair_ggtt  ========================
[20:20:58] [PASSED] 1 VF
[20:20:58] [PASSED] 2 VFs
[20:20:58] [PASSED] 3 VFs
[20:20:58] [PASSED] 4 VFs
[20:20:58] [PASSED] 5 VFs
[20:20:58] [PASSED] 6 VFs
[20:20:58] [PASSED] 7 VFs
[20:20:58] [PASSED] 8 VFs
[20:20:58] [PASSED] 9 VFs
[20:20:58] [PASSED] 10 VFs
[20:20:58] [PASSED] 11 VFs
[20:20:58] [PASSED] 12 VFs
[20:20:58] [PASSED] 13 VFs
[20:20:58] [PASSED] 14 VFs
[20:20:58] [PASSED] 15 VFs
[20:20:58] [PASSED] 16 VFs
[20:20:58] [PASSED] 17 VFs
[20:20:58] [PASSED] 18 VFs
[20:20:58] [PASSED] 19 VFs
[20:20:58] [PASSED] 20 VFs
[20:20:58] [PASSED] 21 VFs
[20:20:58] [PASSED] 22 VFs
[20:20:58] [PASSED] 23 VFs
[20:20:58] [PASSED] 24 VFs
[20:20:58] [PASSED] 25 VFs
[20:20:58] [PASSED] 26 VFs
[20:20:58] [PASSED] 27 VFs
[20:20:58] [PASSED] 28 VFs
[20:20:58] [PASSED] 29 VFs
[20:20:58] [PASSED] 30 VFs
[20:20:58] [PASSED] 31 VFs
[20:20:58] [PASSED] 32 VFs
[20:20:58] [PASSED] 33 VFs
[20:20:58] [PASSED] 34 VFs
[20:20:58] [PASSED] 35 VFs
[20:20:58] [PASSED] 36 VFs
[20:20:58] [PASSED] 37 VFs
[20:20:58] [PASSED] 38 VFs
[20:20:58] [PASSED] 39 VFs
[20:20:58] [PASSED] 40 VFs
[20:20:58] [PASSED] 41 VFs
[20:20:58] [PASSED] 42 VFs
[20:20:58] [PASSED] 43 VFs
[20:20:58] [PASSED] 44 VFs
[20:20:58] [PASSED] 45 VFs
[20:20:58] [PASSED] 46 VFs
[20:20:58] [PASSED] 47 VFs
[20:20:58] [PASSED] 48 VFs
[20:20:58] [PASSED] 49 VFs
[20:20:58] [PASSED] 50 VFs
[20:20:58] [PASSED] 51 VFs
[20:20:58] [PASSED] 52 VFs
[20:20:58] [PASSED] 53 VFs
[20:20:58] [PASSED] 54 VFs
[20:20:58] [PASSED] 55 VFs
[20:20:58] [PASSED] 56 VFs
[20:20:58] [PASSED] 57 VFs
[20:20:58] [PASSED] 58 VFs
[20:20:58] [PASSED] 59 VFs
[20:20:58] [PASSED] 60 VFs
[20:20:58] [PASSED] 61 VFs
[20:20:58] [PASSED] 62 VFs
[20:20:58] [PASSED] 63 VFs
[20:20:58] ==================== [PASSED] fair_ggtt ====================
[20:20:58] ======================== fair_vram  ========================
[20:20:58] [PASSED] 1 VF
[20:20:58] [PASSED] 2 VFs
[20:20:58] [PASSED] 3 VFs
[20:20:58] [PASSED] 4 VFs
[20:20:58] [PASSED] 5 VFs
[20:20:58] [PASSED] 6 VFs
[20:20:58] [PASSED] 7 VFs
[20:20:58] [PASSED] 8 VFs
[20:20:58] [PASSED] 9 VFs
[20:20:58] [PASSED] 10 VFs
[20:20:58] [PASSED] 11 VFs
[20:20:58] [PASSED] 12 VFs
[20:20:58] [PASSED] 13 VFs
[20:20:58] [PASSED] 14 VFs
[20:20:58] [PASSED] 15 VFs
[20:20:58] [PASSED] 16 VFs
[20:20:58] [PASSED] 17 VFs
[20:20:58] [PASSED] 18 VFs
[20:20:58] [PASSED] 19 VFs
[20:20:58] [PASSED] 20 VFs
[20:20:58] [PASSED] 21 VFs
[20:20:58] [PASSED] 22 VFs
[20:20:58] [PASSED] 23 VFs
[20:20:58] [PASSED] 24 VFs
[20:20:58] [PASSED] 25 VFs
[20:20:58] [PASSED] 26 VFs
[20:20:58] [PASSED] 27 VFs
[20:20:58] [PASSED] 28 VFs
[20:20:58] [PASSED] 29 VFs
[20:20:58] [PASSED] 30 VFs
[20:20:58] [PASSED] 31 VFs
[20:20:58] [PASSED] 32 VFs
[20:20:58] [PASSED] 33 VFs
[20:20:58] [PASSED] 34 VFs
[20:20:58] [PASSED] 35 VFs
[20:20:58] [PASSED] 36 VFs
[20:20:58] [PASSED] 37 VFs
[20:20:58] [PASSED] 38 VFs
[20:20:58] [PASSED] 39 VFs
[20:20:58] [PASSED] 40 VFs
[20:20:58] [PASSED] 41 VFs
[20:20:58] [PASSED] 42 VFs
[20:20:58] [PASSED] 43 VFs
[20:20:58] [PASSED] 44 VFs
[20:20:58] [PASSED] 45 VFs
[20:20:58] [PASSED] 46 VFs
[20:20:58] [PASSED] 47 VFs
[20:20:58] [PASSED] 48 VFs
[20:20:58] [PASSED] 49 VFs
[20:20:58] [PASSED] 50 VFs
[20:20:58] [PASSED] 51 VFs
[20:20:58] [PASSED] 52 VFs
[20:20:58] [PASSED] 53 VFs
[20:20:58] [PASSED] 54 VFs
[20:20:58] [PASSED] 55 VFs
[20:20:58] [PASSED] 56 VFs
[20:20:58] [PASSED] 57 VFs
[20:20:58] [PASSED] 58 VFs
[20:20:58] [PASSED] 59 VFs
[20:20:58] [PASSED] 60 VFs
[20:20:58] [PASSED] 61 VFs
[20:20:58] [PASSED] 62 VFs
[20:20:58] [PASSED] 63 VFs
[20:20:58] ==================== [PASSED] fair_vram ====================
[20:20:58] ================== [PASSED] pf_gt_config ===================
[20:20:58] ===================== lmtt (1 subtest) =====================
[20:20:58] ======================== test_ops  =========================
[20:20:58] [PASSED] 2-level
[20:20:58] [PASSED] multi-level
[20:20:58] ==================== [PASSED] test_ops =====================
[20:20:58] ====================== [PASSED] lmtt =======================
[20:20:58] ================= sriov_packet (1 subtest) =================
[20:20:58] [PASSED] test_descriptor_init
[20:20:58] ================== [PASSED] sriov_packet ===================
[20:20:58] ================= pf_service (11 subtests) =================
[20:20:58] [PASSED] pf_negotiate_any
[20:20:58] [PASSED] pf_negotiate_base_match
[20:20:58] [PASSED] pf_negotiate_base_newer
[20:20:58] [PASSED] pf_negotiate_base_next
[20:20:58] [SKIPPED] pf_negotiate_base_older (no older minor)
[20:20:58] [PASSED] pf_negotiate_base_prev
[20:20:58] [PASSED] pf_negotiate_latest_match
[20:20:58] [PASSED] pf_negotiate_latest_newer
[20:20:58] [PASSED] pf_negotiate_latest_next
[20:20:58] [SKIPPED] pf_negotiate_latest_older (no older minor)
[20:20:58] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[20:20:58] =================== [PASSED] pf_service ====================
[20:20:58] ================= xe_guc_g2g (2 subtests) ==================
[20:20:58] ============== xe_live_guc_g2g_kunit_default  ==============
[20:20:58] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[20:20:58] ============== xe_live_guc_g2g_kunit_allmem  ===============
[20:20:58] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[20:20:58] =================== [SKIPPED] xe_guc_g2g ===================
[20:20:58] =================== xe_mocs (2 subtests) ===================
[20:20:58] ================ xe_live_mocs_kernel_kunit  ================
[20:20:58] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[20:20:58] ================ xe_live_mocs_reset_kunit  =================
[20:20:58] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[20:20:58] ==================== [SKIPPED] xe_mocs =====================
[20:20:58] ================= xe_migrate (3 subtests) ==================
[20:20:58] ================= xe_migrate_sanity_kunit  =================
[20:20:58] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[20:20:58] ================== xe_validate_ccs_kunit  ==================
[20:20:58] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[20:20:58] ============= xe_migrate_access_memory_kunit  ==============
[20:20:58] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[20:20:58] =================== [SKIPPED] xe_migrate ===================
[20:20:58] ================== xe_dma_buf (1 subtest) ==================
[20:20:58] ==================== xe_dma_buf_kunit  =====================
[20:20:58] ================ [SKIPPED] xe_dma_buf_kunit ================
[20:20:58] =================== [SKIPPED] xe_dma_buf ===================
[20:20:58] ================= xe_bo_shrink (1 subtest) =================
[20:20:58] =================== xe_bo_shrink_kunit  ====================
[20:20:58] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[20:20:58] ================== [SKIPPED] xe_bo_shrink ==================
[20:20:58] ==================== xe_bo (2 subtests) ====================
[20:20:58] ================== xe_ccs_migrate_kunit  ===================
[20:20:58] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[20:20:58] ==================== xe_bo_evict_kunit  ====================
[20:20:58] =============== [SKIPPED] xe_bo_evict_kunit ================
[20:20:58] ===================== [SKIPPED] xe_bo ======================
[20:20:58] =================== xe_any (9 subtests) ====================
[20:20:58] [PASSED] test_to_xe
[20:20:58] [PASSED] test_to_dev
[20:20:58] [PASSED] test_to_pdev
[20:20:58] [PASSED] test_to_drm
[20:20:58] [PASSED] test_if_pdev
[20:20:58] [PASSED] test_if_xe
[20:20:58] [PASSED] test_if_tile
[20:20:58] [PASSED] test_if_gt
[20:20:58] [PASSED] test_to_id
[20:20:58] ===================== [PASSED] xe_any ======================
[20:20:58] ==================== args (13 subtests) ====================
[20:20:58] [PASSED] count_args_test
[20:20:58] [PASSED] call_args_example
[20:20:58] [PASSED] call_args_test
[20:20:58] [PASSED] drop_first_arg_example
[20:20:58] [PASSED] drop_first_arg_test
[20:20:58] [PASSED] first_arg_example
[20:20:58] [PASSED] first_arg_test
[20:20:58] [PASSED] last_arg_example
[20:20:58] [PASSED] last_arg_test
[20:20:58] [PASSED] pick_arg_example
[20:20:58] [PASSED] if_args_example
[20:20:58] [PASSED] if_args_test
[20:20:58] [PASSED] sep_comma_example
[20:20:58] ====================== [PASSED] args =======================
[20:20:58] =================== xe_pci (3 subtests) ====================
[20:20:58] ==================== check_graphics_ip  ====================
[20:20:58] [PASSED] 12.00 Xe_LP
[20:20:58] [PASSED] 12.10 Xe_LP+
[20:20:58] [PASSED] 12.55 Xe_HPG
[20:20:58] [PASSED] 12.60 Xe_HPC
[20:20:58] [PASSED] 12.70 Xe_LPG
[20:20:58] [PASSED] 12.71 Xe_LPG
[20:20:58] [PASSED] 12.74 Xe_LPG+
[20:20:58] [PASSED] 20.01 Xe2_HPG
[20:20:58] [PASSED] 20.02 Xe2_HPG
[20:20:58] [PASSED] 20.04 Xe2_LPG
[20:20:58] [PASSED] 30.00 Xe3_LPG
[20:20:58] [PASSED] 30.01 Xe3_LPG
[20:20:58] [PASSED] 30.03 Xe3_LPG
[20:20:58] [PASSED] 30.04 Xe3_LPG
[20:20:58] [PASSED] 30.05 Xe3_LPG
[20:20:58] [PASSED] 35.10 Xe3p_LPG
[20:20:58] [PASSED] 35.11 Xe3p_XPC
[20:20:58] ================ [PASSED] check_graphics_ip ================
[20:20:58] ===================== check_media_ip  ======================
[20:20:58] [PASSED] 12.00 Xe_M
[20:20:58] [PASSED] 12.55 Xe_HPM
[20:20:58] [PASSED] 13.00 Xe_LPM+
[20:20:58] [PASSED] 13.01 Xe2_HPM
[20:20:58] [PASSED] 20.00 Xe2_LPM
[20:20:58] [PASSED] 30.00 Xe3_LPM
[20:20:58] [PASSED] 30.02 Xe3_LPM
[20:20:58] [PASSED] 35.00 Xe3p_LPM
[20:20:58] [PASSED] 35.03 Xe3p_HPM
[20:20:58] ================= [PASSED] check_media_ip ==================
[20:20:58] =================== check_platform_desc  ===================
[20:20:58] [PASSED] 0x9A60 (TIGERLAKE)
[20:20:58] [PASSED] 0x9A68 (TIGERLAKE)
[20:20:58] [PASSED] 0x9A70 (TIGERLAKE)
[20:20:58] [PASSED] 0x9A40 (TIGERLAKE)
[20:20:58] [PASSED] 0x9A49 (TIGERLAKE)
[20:20:58] [PASSED] 0x9A59 (TIGERLAKE)
[20:20:58] [PASSED] 0x9A78 (TIGERLAKE)
[20:20:58] [PASSED] 0x9AC0 (TIGERLAKE)
[20:20:58] [PASSED] 0x9AC9 (TIGERLAKE)
[20:20:58] [PASSED] 0x9AD9 (TIGERLAKE)
[20:20:58] [PASSED] 0x9AF8 (TIGERLAKE)
[20:20:58] [PASSED] 0x4C80 (ROCKETLAKE)
[20:20:58] [PASSED] 0x4C8A (ROCKETLAKE)
[20:20:58] [PASSED] 0x4C8B (ROCKETLAKE)
[20:20:58] [PASSED] 0x4C8C (ROCKETLAKE)
[20:20:58] [PASSED] 0x4C90 (ROCKETLAKE)
[20:20:58] [PASSED] 0x4C9A (ROCKETLAKE)
[20:20:58] [PASSED] 0x4680 (ALDERLAKE_S)
[20:20:58] [PASSED] 0x4682 (ALDERLAKE_S)
[20:20:58] [PASSED] 0x4688 (ALDERLAKE_S)
[20:20:58] [PASSED] 0x468A (ALDERLAKE_S)
[20:20:58] [PASSED] 0x468B (ALDERLAKE_S)
[20:20:58] [PASSED] 0x4690 (ALDERLAKE_S)
[20:20:58] [PASSED] 0x4692 (ALDERLAKE_S)
[20:20:58] [PASSED] 0x4693 (ALDERLAKE_S)
[20:20:58] [PASSED] 0x46A0 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46A1 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46A2 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46A3 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46A6 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46A8 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46AA (ALDERLAKE_P)
[20:20:58] [PASSED] 0x462A (ALDERLAKE_P)
[20:20:58] [PASSED] 0x4626 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x4628 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46B0 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46B1 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46B2 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46B3 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46C0 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46C1 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46C2 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46C3 (ALDERLAKE_P)
[20:20:58] [PASSED] 0x46D0 (ALDERLAKE_N)
[20:20:58] [PASSED] 0x46D1 (ALDERLAKE_N)
[20:20:58] [PASSED] 0x46D2 (ALDERLAKE_N)
[20:20:58] [PASSED] 0x46D3 (ALDERLAKE_N)
[20:20:58] [PASSED] 0x46D4 (ALDERLAKE_N)
[20:20:58] [PASSED] 0xA721 (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7A1 (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7A9 (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7AC (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7AD (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA720 (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7A0 (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7A8 (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7AA (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA7AB (ALDERLAKE_P)
[20:20:58] [PASSED] 0xA780 (ALDERLAKE_S)
[20:20:58] [PASSED] 0xA781 (ALDERLAKE_S)
[20:20:58] [PASSED] 0xA782 (ALDERLAKE_S)
[20:20:58] [PASSED] 0xA783 (ALDERLAKE_S)
[20:20:58] [PASSED] 0xA788 (ALDERLAKE_S)
[20:20:58] [PASSED] 0xA789 (ALDERLAKE_S)
[20:20:58] [PASSED] 0xA78A (ALDERLAKE_S)
[20:20:58] [PASSED] 0xA78B (ALDERLAKE_S)
[20:20:58] [PASSED] 0x4905 (DG1)
[20:20:58] [PASSED] 0x4906 (DG1)
[20:20:58] [PASSED] 0x4907 (DG1)
[20:20:58] [PASSED] 0x4908 (DG1)
[20:20:58] [PASSED] 0x4909 (DG1)
[20:20:58] [PASSED] 0x56C0 (DG2)
[20:20:58] [PASSED] 0x56C2 (DG2)
[20:20:58] [PASSED] 0x56C1 (DG2)
[20:20:58] [PASSED] 0x7D51 (METEORLAKE)
[20:20:58] [PASSED] 0x7DD1 (METEORLAKE)
[20:20:58] [PASSED] 0x7D41 (METEORLAKE)
[20:20:58] [PASSED] 0x7D67 (METEORLAKE)
[20:20:58] [PASSED] 0xB640 (METEORLAKE)
[20:20:58] [PASSED] 0x56A0 (DG2)
[20:20:58] [PASSED] 0x56A1 (DG2)
[20:20:58] [PASSED] 0x56A2 (DG2)
[20:20:58] [PASSED] 0x56BE (DG2)
[20:20:58] [PASSED] 0x56BF (DG2)
[20:20:58] [PASSED] 0x5690 (DG2)
[20:20:58] [PASSED] 0x5691 (DG2)
[20:20:58] [PASSED] 0x5692 (DG2)
[20:20:58] [PASSED] 0x56A5 (DG2)
[20:20:58] [PASSED] 0x56A6 (DG2)
[20:20:58] [PASSED] 0x56B0 (DG2)
[20:20:58] [PASSED] 0x56B1 (DG2)
[20:20:58] [PASSED] 0x56BA (DG2)
[20:20:58] [PASSED] 0x56BB (DG2)
[20:20:58] [PASSED] 0x56BC (DG2)
[20:20:58] [PASSED] 0x56BD (DG2)
[20:20:58] [PASSED] 0x5693 (DG2)
[20:20:58] [PASSED] 0x5694 (DG2)
[20:20:58] [PASSED] 0x5695 (DG2)
[20:20:58] [PASSED] 0x56A3 (DG2)
[20:20:58] [PASSED] 0x56A4 (DG2)
[20:20:58] [PASSED] 0x56B2 (DG2)
[20:20:58] [PASSED] 0x56B3 (DG2)
[20:20:58] [PASSED] 0x5696 (DG2)
[20:20:58] [PASSED] 0x5697 (DG2)
[20:20:58] [PASSED] 0xB69 (PVC)
[20:20:58] [PASSED] 0xB6E (PVC)
[20:20:58] [PASSED] 0xBD4 (PVC)
[20:20:58] [PASSED] 0xBD5 (PVC)
[20:20:58] [PASSED] 0xBD6 (PVC)
[20:20:58] [PASSED] 0xBD7 (PVC)
[20:20:58] [PASSED] 0xBD8 (PVC)
[20:20:58] [PASSED] 0xBD9 (PVC)
[20:20:58] [PASSED] 0xBDA (PVC)
[20:20:58] [PASSED] 0xBDB (PVC)
[20:20:58] [PASSED] 0xBE0 (PVC)
[20:20:58] [PASSED] 0xBE1 (PVC)
[20:20:58] [PASSED] 0xBE5 (PVC)
[20:20:58] [PASSED] 0x7D40 (METEORLAKE)
[20:20:58] [PASSED] 0x7D45 (METEORLAKE)
[20:20:58] [PASSED] 0x7D55 (METEORLAKE)
[20:20:58] [PASSED] 0x7D60 (METEORLAKE)
[20:20:58] [PASSED] 0x7DD5 (METEORLAKE)
[20:20:58] [PASSED] 0x6420 (LUNARLAKE)
[20:20:58] [PASSED] 0x64A0 (LUNARLAKE)
[20:20:58] [PASSED] 0x64B0 (LUNARLAKE)
[20:20:58] [PASSED] 0xE202 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE209 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE20B (BATTLEMAGE)
[20:20:58] [PASSED] 0xE20C (BATTLEMAGE)
[20:20:58] [PASSED] 0xE20D (BATTLEMAGE)
[20:20:58] [PASSED] 0xE210 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE211 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE212 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE216 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE220 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE221 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE222 (BATTLEMAGE)
[20:20:58] [PASSED] 0xE223 (BATTLEMAGE)
[20:20:58] [PASSED] 0xB080 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB081 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB082 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB083 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB084 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB085 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB086 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB087 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB08F (PANTHERLAKE)
[20:20:58] [PASSED] 0xB090 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB0A0 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB0A1 (PANTHERLAKE)
[20:20:58] [PASSED] 0xB0B0 (PANTHERLAKE)
[20:20:58] [PASSED] 0xFD80 (PANTHERLAKE)
[20:20:58] [PASSED] 0xFD81 (PANTHERLAKE)
[20:20:58] [PASSED] 0xD740 (NOVALAKE_S)
[20:20:58] [PASSED] 0xD741 (NOVALAKE_S)
[20:20:58] [PASSED] 0xD742 (NOVALAKE_S)
[20:20:58] [PASSED] 0xD743 (NOVALAKE_S)
[20:20:58] [PASSED] 0xD745 (NOVALAKE_S)
[20:20:58] [PASSED] 0xD74A (NOVALAKE_S)
[20:20:58] [PASSED] 0xD74B (NOVALAKE_S)
[20:20:58] [PASSED] 0x674C (CRESCENTISLAND)
[20:20:58] [PASSED] 0x674D (CRESCENTISLAND)
[20:20:58] [PASSED] 0x674E (CRESCENTISLAND)
[20:20:58] [PASSED] 0x674F (CRESCENTISLAND)
[20:20:58] [PASSED] 0x6750 (CRESCENTISLAND)
[20:20:58] [PASSED] 0x6751 (CRESCENTISLAND)
[20:20:58] [PASSED] 0x6752 (CRESCENTISLAND)
[20:20:58] [PASSED] 0x6753 (CRESCENTISLAND)
[20:20:58] [PASSED] 0x6754 (CRESCENTISLAND)
[20:20:58] [PASSED] 0x6755 (CRESCENTISLAND)
[20:20:58] [PASSED] 0x6756 (CRESCENTISLAND)
[20:20:58] [PASSED] 0xD750 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD751 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD752 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD753 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD754 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD755 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD756 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD757 (NOVALAKE_P)
[20:20:58] [PASSED] 0xD75F (NOVALAKE_P)
[20:20:58] =============== [PASSED] check_platform_desc ===============
[20:20:58] ===================== [PASSED] xe_pci ======================
[20:20:58] ============= xe_rtp_tables_test (5 subtests) ==============
[20:20:58] ================== xe_rtp_table_gt_test  ===================
[20:20:58] [PASSED] gt_was/14011060649
[20:20:58] [PASSED] gt_was/14011059788
[20:20:58] [PASSED] gt_was/14015795083
[20:20:58] [PASSED] gt_was/16021867713
[20:20:58] [PASSED] gt_was/14019449301
[20:20:58] [PASSED] gt_was/16028005424
[20:20:58] [PASSED] gt_was/14026578760
[20:20:58] [PASSED] gt_was/1409420604
[20:20:58] [PASSED] gt_was/1408615072
[20:20:58] [PASSED] gt_was/22010523718
[20:20:58] [PASSED] gt_was/14011006942
[20:20:58] [PASSED] gt_was/14014830051
[20:20:58] [PASSED] gt_was/18018781329
[20:20:58] [PASSED] gt_was/1509235366
[20:20:58] [PASSED] gt_was/18018781329
[20:20:58] [PASSED] gt_was/16016694945
[20:20:58] [PASSED] gt_was/14018575942
[20:20:58] [PASSED] gt_was/22016670082
[20:20:58] [PASSED] gt_was/22016670082
[20:20:58] [PASSED] gt_was/14017421178
[20:20:58] [PASSED] gt_was/16025250150
[20:20:58] [PASSED] gt_was/14021871409
[20:20:58] [PASSED] gt_was/16021865536
[20:20:58] [PASSED] gt_was/14021486841
[20:20:58] [PASSED] gt_was/14025160223
[20:20:58] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[20:20:58] [PASSED] gt_was/14025635424
[20:20:58] [PASSED] gt_was/16028005424
[20:20:58] ============== [PASSED] xe_rtp_table_gt_test ===============
[20:20:58] ================== xe_rtp_table_gt_test  ===================
[20:20:58] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[20:20:58] [PASSED] gt_tunings/Tuning: 32B Access Enable
[20:20:58] [PASSED] gt_tunings/Tuning: L3 cache
[20:20:58] [PASSED] gt_tunings/Tuning: L3 cache - media
[20:20:58] [PASSED] gt_tunings/Tuning: Compression Overfetch
[20:20:58] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[20:20:58] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[20:20:58] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[20:20:58] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[20:20:58] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[20:20:58] [PASSED] gt_tunings/Tuning: Stateless compression control
[20:20:58] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[20:20:58] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[20:20:58] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[20:20:58] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[20:20:58] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[20:20:58] ============== [PASSED] xe_rtp_table_gt_test ===============
[20:20:58] ================== xe_rtp_table_oob_test  ==================
[20:20:58] [PASSED] oob_was/1607983814
[20:20:58] [PASSED] oob_was/16010904313
[20:20:58] [PASSED] oob_was/18022495364
[20:20:58] [PASSED] oob_was/22012773006
[20:20:58] [PASSED] oob_was/14014475959
[20:20:58] [PASSED] oob_was/22011391025
[20:20:58] [PASSED] oob_was/22012727170
[20:20:58] [PASSED] oob_was/22012727685
[20:20:58] [PASSED] oob_was/22016596838
[20:20:58] [PASSED] oob_was/18020744125
[20:20:58] [PASSED] oob_was/1409600907
[20:20:58] [PASSED] oob_was/22014953428
[20:20:58] [PASSED] oob_was/16017236439
[20:20:58] [PASSED] oob_was/14019821291
[20:20:58] [PASSED] oob_was/14015076503
[20:20:58] [PASSED] oob_was/22016122933
[20:20:58] [PASSED] oob_was/14018913170
[20:20:58] [PASSED] oob_was/14018094691
[20:20:58] [PASSED] oob_was/18024947630
[20:20:58] [PASSED] oob_was/16022287689
[20:20:58] [PASSED] oob_was/13011645652
[20:20:58] [PASSED] oob_was/14022293748
[20:20:58] [PASSED] oob_was/22019794406
[20:20:58] [PASSED] oob_was/22019338487
[20:20:58] [PASSED] oob_was/16023588340
[20:20:58] [PASSED] oob_was/14019789679
[20:20:58] [PASSED] oob_was/14022866841
[20:20:58] [PASSED] oob_was/16021333562
[20:20:58] [PASSED] oob_was/14016712196
[20:20:58] [PASSED] oob_was/14015568240
[20:20:58] [PASSED] oob_was/18013179988
[20:20:58] [PASSED] oob_was/1508761755
[20:20:58] [PASSED] oob_was/16023105232
[20:20:58] [PASSED] oob_was/16026508708
[20:20:58] [PASSED] oob_was/14020001231
[20:20:58] [PASSED] oob_was/16023683509
[20:20:58] [PASSED] oob_was/14025515070
[20:20:58] [PASSED] oob_was/15015404425_disable
[20:20:58] [PASSED] oob_was/16026007364
[20:20:58] [PASSED] oob_was/14020316580
[20:20:58] [PASSED] oob_was/14025883347
[20:20:58] [PASSED] oob_was/16029380221
[20:20:58] [PASSED] oob_was/22022079272
[20:20:58] [PASSED] oob_was/16029897822
[20:20:58] [PASSED] oob_was/14026539277
[20:20:58] [PASSED] oob_was/14027054324
[20:20:58] [PASSED] oob_was/14025941587
[20:20:58] [PASSED] oob_was/16030224309
[20:20:58] [PASSED] oob_was/14028709524
[20:20:58] [PASSED] oob_was/14028250015
[20:20:58] [PASSED] oob_was/16031259911
[20:20:58] ============== [PASSED] xe_rtp_table_oob_test ==============
[20:20:58] ================ xe_rtp_table_dev_oob_test  ================
[20:20:58] [PASSED] device_oob_was/22010954014
[20:20:58] [PASSED] device_oob_was/15015404425
[20:20:58] [PASSED] device_oob_was/22019338487_display
[20:20:58] [PASSED] device_oob_was/14022085890
[20:20:58] [PASSED] device_oob_was/14026633728
[20:20:58] [PASSED] device_oob_was/14026746987
[20:20:58] [PASSED] device_oob_was/14026779378
[20:20:58] [PASSED] device_oob_was/14028586678
[20:20:58] [PASSED] device_oob_was/14028434957
[20:20:58] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[20:20:58] ========== xe_rtp_table_missing_upper_bound_test  ==========
[20:20:58] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[20:20:58] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[20:20:58] [PASSED] register_whitelist/1806527549
[20:20:58] [PASSED] register_whitelist/allow_read_ctx_timestamp
[20:20:58] [PASSED] register_whitelist/allow_read_queue_timestamp
[20:20:58] [PASSED] register_whitelist/16014440446
[20:20:58] [PASSED] register_whitelist/16017236439
[20:20:58] [PASSED] register_whitelist/16020183090
[20:20:58] [PASSED] register_whitelist/14024997852
[20:20:58] [PASSED] register_whitelist/14024997852
[20:20:58] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[20:20:58] =============== [PASSED] xe_rtp_tables_test ================
[20:20:58] =================== xe_rtp (3 subtests) ====================
[20:20:58] =================== xe_rtp_rules_tests  ====================
[20:20:58] [PASSED] no
[20:20:58] [PASSED] yes
[20:20:58] [PASSED] no-and-no
[20:20:58] [PASSED] no-and-yes
[20:20:58] [PASSED] yes-and-no
[20:20:58] [PASSED] yes-and-yes
[20:20:58] [PASSED] no-or-no
[20:20:58] [PASSED] no-or-yes
[20:20:58] [PASSED] yes-or-no
[20:20:58] [PASSED] yes-or-yes
[20:20:58] [PASSED] no-yes-or-yes-no
[20:20:58] [PASSED] no-yes-or-yes-yes
[20:20:58] [PASSED] yes-yes-or-no-yes
[20:20:58] [PASSED] yes-yes-or-yes-yes
[20:20:58] [PASSED] no-no-or-yes-or-no
[20:20:58] [PASSED] or
[20:20:58] [PASSED] or-yes
[20:20:58] [PASSED] or-no
[20:20:58] [PASSED] yes-or
[20:20:58] [PASSED] no-or
[20:20:58] [PASSED] no-or-or-yes
[20:20:58] [PASSED] yes-or-or-no
[20:20:58] [PASSED] no-or-or-no
[20:20:58] [PASSED] missing-context-engine-class
[20:20:58] [PASSED] missing-context-engine-class-or-yes
[20:20:58] [PASSED] missing-context-engine-class-or-or-yes
[20:20:58] =============== [PASSED] xe_rtp_rules_tests ================
[20:20:58] =============== xe_rtp_process_to_sr_tests  ================
[20:20:58] [PASSED] coalesce-same-reg
[20:20:58] [PASSED] coalesce-same-reg-literal-and-func
[20:20:58] [PASSED] no-match-no-add
[20:20:58] [PASSED] two-regs-two-entries
[20:20:58] [PASSED] clr-one-set-other
[20:20:58] [PASSED] set-field
[20:20:58] [PASSED] conflict-duplicate
[20:20:58] [PASSED] conflict-not-disjoint
[20:20:58] [PASSED] conflict-not-disjoint-literal-and-func
[20:20:58] [PASSED] conflict-reg-type
[20:20:58] [PASSED] bad-mcr-reg-forced-to-regular
[20:20:58] [PASSED] bad-regular-reg-forced-to-mcr
[20:20:58] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[20:20:58] ================== xe_rtp_process_tests  ===================
[20:20:58] [PASSED] active1
[20:20:58] [PASSED] active2
[20:20:58] [PASSED] active-inactive
[20:20:58] [PASSED] inactive-active
[20:20:58] [PASSED] inactive-active-inactive
[20:20:58] [PASSED] inactive-inactive-inactive
[20:20:58] ============== [PASSED] xe_rtp_process_tests ===============
[20:20:58] ===================== [PASSED] xe_rtp ======================
[20:20:58] ==================== xe_wa (1 subtest) =====================
[20:20:58] ======================== xe_wa_gt  =========================
[20:20:58] [PASSED] TIGERLAKE B0
[20:20:58] [PASSED] DG1 A0
[20:20:58] [PASSED] DG1 B0
[20:20:58] [PASSED] ALDERLAKE_S A0
[20:20:58] [PASSED] ALDERLAKE_S B0
[20:20:58] [PASSED] ALDERLAKE_S C0
[20:20:58] [PASSED] ALDERLAKE_S D0
[20:20:58] [PASSED] ALDERLAKE_P A0
[20:20:58] [PASSED] ALDERLAKE_P B0
[20:20:58] [PASSED] ALDERLAKE_P C0
[20:20:58] [PASSED] ALDERLAKE_S RPLS D0
[20:20:58] [PASSED] ALDERLAKE_P RPLU E0
[20:20:58] [PASSED] DG2 G10 C0
[20:20:58] [PASSED] DG2 G11 B1
[20:20:58] [PASSED] DG2 G12 A1
[20:20:58] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[20:20:58] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[20:20:58] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[20:20:58] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[20:20:58] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[20:20:58] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[20:20:58] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[20:20:58] ==================== [PASSED] xe_wa_gt =====================
[20:20:58] ====================== [PASSED] xe_wa ======================
[20:20:58] ============================================================
[20:20:58] Testing complete. Ran 860 tests: passed: 831, skipped: 29
[20:20:58] Elapsed time: 42.382s total, 2.598s configuring, 39.018s building, 0.742s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[20:20:58] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[20:21:01] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[20:21:26] Starting KUnit Kernel (1/1)...
[20:21:26] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[20:21:27] ============ drm_test_pick_cmdline (2 subtests) ============
[20:21:27] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[20:21:27] =============== drm_test_pick_cmdline_named  ===============
[20:21:27] [PASSED] NTSC
[20:21:27] [PASSED] NTSC-J
[20:21:27] [PASSED] PAL
[20:21:27] [PASSED] PAL-M
[20:21:27] =========== [PASSED] drm_test_pick_cmdline_named ===========
[20:21:27] ============== [PASSED] drm_test_pick_cmdline ==============
[20:21:27] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[20:21:27] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[20:21:27] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[20:21:27] =========== drm_validate_clone_mode (2 subtests) ===========
[20:21:27] ============== drm_test_check_in_clone_mode  ===============
[20:21:27] [PASSED] in_clone_mode
[20:21:27] [PASSED] not_in_clone_mode
[20:21:27] ========== [PASSED] drm_test_check_in_clone_mode ===========
[20:21:27] =============== drm_test_check_valid_clones  ===============
[20:21:27] [PASSED] not_in_clone_mode
[20:21:27] [PASSED] valid_clone
[20:21:27] [PASSED] invalid_clone
[20:21:27] =========== [PASSED] drm_test_check_valid_clones ===========
[20:21:27] ============= [PASSED] drm_validate_clone_mode =============
[20:21:27] ============= drm_validate_modeset (1 subtest) =============
[20:21:27] [PASSED] drm_test_check_connector_changed_modeset
[20:21:27] ============== [PASSED] drm_validate_modeset ===============
[20:21:27] ====== drm_test_bridge_get_current_state (1 subtest) =======
[20:21:27] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[20:21:27] ======== [PASSED] drm_test_bridge_get_current_state ========
[20:21:27] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[20:21:27] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[20:21:27] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[20:21:27] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[20:21:27] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[20:21:27] ============== drm_bridge_alloc (2 subtests) ===============
[20:21:27] [PASSED] drm_test_drm_bridge_alloc_basic
[20:21:27] [PASSED] drm_test_drm_bridge_alloc_get_put
[20:21:27] ================ [PASSED] drm_bridge_alloc =================
[20:21:27] ============= drm_bridge_bus_fmt (5 subtests) ==============
[20:21:27] [PASSED] drm_test_bridge_rgb_yuv_rgb
[20:21:27] [PASSED] drm_test_bridge_must_convert_to_yuv444
[20:21:27] [PASSED] drm_test_bridge_hdmi_auto_rgb
[20:21:27] [PASSED] drm_test_bridge_auto_first
[20:21:27] [PASSED] drm_test_bridge_rgb_yuv_no_path
[20:21:27] =============== [PASSED] drm_bridge_bus_fmt ================
[20:21:27] ============= drm_cmdline_parser (40 subtests) =============
[20:21:27] [PASSED] drm_test_cmdline_force_d_only
[20:21:27] [PASSED] drm_test_cmdline_force_D_only_dvi
[20:21:27] [PASSED] drm_test_cmdline_force_D_only_hdmi
[20:21:27] [PASSED] drm_test_cmdline_force_D_only_not_digital
[20:21:27] [PASSED] drm_test_cmdline_force_e_only
[20:21:27] [PASSED] drm_test_cmdline_res
[20:21:27] [PASSED] drm_test_cmdline_res_vesa
[20:21:27] [PASSED] drm_test_cmdline_res_vesa_rblank
[20:21:27] [PASSED] drm_test_cmdline_res_rblank
[20:21:27] [PASSED] drm_test_cmdline_res_bpp
[20:21:27] [PASSED] drm_test_cmdline_res_refresh
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[20:21:27] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[20:21:27] [PASSED] drm_test_cmdline_res_margins_force_on
[20:21:27] [PASSED] drm_test_cmdline_res_vesa_margins
[20:21:27] [PASSED] drm_test_cmdline_name
[20:21:27] [PASSED] drm_test_cmdline_name_bpp
[20:21:27] [PASSED] drm_test_cmdline_name_option
[20:21:27] [PASSED] drm_test_cmdline_name_bpp_option
[20:21:27] [PASSED] drm_test_cmdline_rotate_0
[20:21:27] [PASSED] drm_test_cmdline_rotate_90
[20:21:27] [PASSED] drm_test_cmdline_rotate_180
[20:21:27] [PASSED] drm_test_cmdline_rotate_270
[20:21:27] [PASSED] drm_test_cmdline_hmirror
[20:21:27] [PASSED] drm_test_cmdline_vmirror
[20:21:27] [PASSED] drm_test_cmdline_margin_options
[20:21:27] [PASSED] drm_test_cmdline_multiple_options
[20:21:27] [PASSED] drm_test_cmdline_bpp_extra_and_option
[20:21:27] [PASSED] drm_test_cmdline_extra_and_option
[20:21:27] [PASSED] drm_test_cmdline_freestanding_options
[20:21:27] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[20:21:27] [PASSED] drm_test_cmdline_panel_orientation
[20:21:27] ================ drm_test_cmdline_invalid  =================
[20:21:27] [PASSED] margin_only
[20:21:27] [PASSED] interlace_only
[20:21:27] [PASSED] res_missing_x
[20:21:27] [PASSED] res_missing_y
[20:21:27] [PASSED] res_bad_y
[20:21:27] [PASSED] res_missing_y_bpp
[20:21:27] [PASSED] res_bad_bpp
[20:21:27] [PASSED] res_bad_refresh
[20:21:27] [PASSED] res_bpp_refresh_force_on_off
[20:21:27] [PASSED] res_invalid_mode
[20:21:27] [PASSED] res_bpp_wrong_place_mode
[20:21:27] [PASSED] name_bpp_refresh
[20:21:27] [PASSED] name_refresh
[20:21:27] [PASSED] name_refresh_wrong_mode
[20:21:27] [PASSED] name_refresh_invalid_mode
[20:21:27] [PASSED] rotate_multiple
[20:21:27] [PASSED] rotate_invalid_val
[20:21:27] [PASSED] rotate_truncated
[20:21:27] [PASSED] invalid_option
[20:21:27] [PASSED] invalid_tv_option
[20:21:27] [PASSED] truncated_tv_option
[20:21:27] ============ [PASSED] drm_test_cmdline_invalid =============
[20:21:27] =============== drm_test_cmdline_tv_options  ===============
[20:21:27] [PASSED] NTSC
[20:21:27] [PASSED] NTSC_443
[20:21:27] [PASSED] NTSC_J
[20:21:27] [PASSED] PAL
[20:21:27] [PASSED] PAL_M
[20:21:27] [PASSED] PAL_N
[20:21:27] [PASSED] SECAM
[20:21:27] [PASSED] MONO_525
[20:21:27] [PASSED] MONO_625
[20:21:27] =========== [PASSED] drm_test_cmdline_tv_options ===========
[20:21:27] =============== [PASSED] drm_cmdline_parser ================
[20:21:27] ========== drmm_connector_hdmi_init (20 subtests) ==========
[20:21:27] [PASSED] drm_test_connector_hdmi_init_valid
[20:21:27] [PASSED] drm_test_connector_hdmi_init_bpc_8
[20:21:27] [PASSED] drm_test_connector_hdmi_init_bpc_10
[20:21:27] [PASSED] drm_test_connector_hdmi_init_bpc_12
[20:21:27] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[20:21:27] [PASSED] drm_test_connector_hdmi_init_bpc_null
[20:21:27] [PASSED] drm_test_connector_hdmi_init_formats_empty
[20:21:27] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[20:21:27] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[20:21:27] [PASSED] supported_formats=0x9 yuv420_allowed=1
[20:21:27] [PASSED] supported_formats=0x9 yuv420_allowed=0
[20:21:27] [PASSED] supported_formats=0x5 yuv420_allowed=1
[20:21:27] [PASSED] supported_formats=0x5 yuv420_allowed=0
[20:21:27] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[20:21:27] [PASSED] drm_test_connector_hdmi_init_null_ddc
[20:21:27] [PASSED] drm_test_connector_hdmi_init_null_product
[20:21:27] [PASSED] drm_test_connector_hdmi_init_null_vendor
[20:21:27] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[20:21:27] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[20:21:27] [PASSED] drm_test_connector_hdmi_init_product_valid
[20:21:27] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[20:21:27] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[20:21:27] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[20:21:27] ========= drm_test_connector_hdmi_init_type_valid  =========
[20:21:27] [PASSED] HDMI-A
[20:21:27] [PASSED] HDMI-B
[20:21:27] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[20:21:27] ======== drm_test_connector_hdmi_init_type_invalid  ========
[20:21:27] [PASSED] Unknown
[20:21:27] [PASSED] VGA
[20:21:27] [PASSED] DVI-I
[20:21:27] [PASSED] DVI-D
[20:21:27] [PASSED] DVI-A
[20:21:27] [PASSED] Composite
[20:21:27] [PASSED] SVIDEO
[20:21:27] [PASSED] LVDS
[20:21:27] [PASSED] Component
[20:21:27] [PASSED] DIN
[20:21:27] [PASSED] DP
[20:21:27] [PASSED] TV
[20:21:27] [PASSED] eDP
[20:21:27] [PASSED] Virtual
[20:21:27] [PASSED] DSI
[20:21:27] [PASSED] DPI
[20:21:27] [PASSED] Writeback
[20:21:27] [PASSED] SPI
[20:21:27] [PASSED] USB
[20:21:27] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[20:21:27] ============ [PASSED] drmm_connector_hdmi_init =============
[20:21:27] ============= drmm_connector_init (3 subtests) =============
[20:21:27] [PASSED] drm_test_drmm_connector_init
[20:21:27] [PASSED] drm_test_drmm_connector_init_null_ddc
[20:21:27] ========= drm_test_drmm_connector_init_type_valid  =========
[20:21:27] [PASSED] Unknown
[20:21:27] [PASSED] VGA
[20:21:27] [PASSED] DVI-I
[20:21:27] [PASSED] DVI-D
[20:21:27] [PASSED] DVI-A
[20:21:27] [PASSED] Composite
[20:21:27] [PASSED] SVIDEO
[20:21:27] [PASSED] LVDS
[20:21:27] [PASSED] Component
[20:21:27] [PASSED] DIN
[20:21:27] [PASSED] DP
[20:21:27] [PASSED] HDMI-A
[20:21:27] [PASSED] HDMI-B
[20:21:27] [PASSED] TV
[20:21:27] [PASSED] eDP
[20:21:27] [PASSED] Virtual
[20:21:27] [PASSED] DSI
[20:21:27] [PASSED] DPI
[20:21:27] [PASSED] Writeback
[20:21:27] [PASSED] SPI
[20:21:27] [PASSED] USB
[20:21:27] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[20:21:27] =============== [PASSED] drmm_connector_init ===============
[20:21:27] ========= drm_connector_dynamic_init (6 subtests) ==========
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_init
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_init_properties
[20:21:27] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[20:21:27] [PASSED] Unknown
[20:21:27] [PASSED] VGA
[20:21:27] [PASSED] DVI-I
[20:21:27] [PASSED] DVI-D
[20:21:27] [PASSED] DVI-A
[20:21:27] [PASSED] Composite
[20:21:27] [PASSED] SVIDEO
[20:21:27] [PASSED] LVDS
[20:21:27] [PASSED] Component
[20:21:27] [PASSED] DIN
[20:21:27] [PASSED] DP
[20:21:27] [PASSED] HDMI-A
[20:21:27] [PASSED] HDMI-B
[20:21:27] [PASSED] TV
[20:21:27] [PASSED] eDP
[20:21:27] [PASSED] Virtual
[20:21:27] [PASSED] DSI
[20:21:27] [PASSED] DPI
[20:21:27] [PASSED] Writeback
[20:21:27] [PASSED] SPI
[20:21:27] [PASSED] USB
[20:21:27] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[20:21:27] ======== drm_test_drm_connector_dynamic_init_name  =========
[20:21:27] [PASSED] Unknown
[20:21:27] [PASSED] VGA
[20:21:27] [PASSED] DVI-I
[20:21:27] [PASSED] DVI-D
[20:21:27] [PASSED] DVI-A
[20:21:27] [PASSED] Composite
[20:21:27] [PASSED] SVIDEO
[20:21:27] [PASSED] LVDS
[20:21:27] [PASSED] Component
[20:21:27] [PASSED] DIN
[20:21:27] [PASSED] DP
[20:21:27] [PASSED] HDMI-A
[20:21:27] [PASSED] HDMI-B
[20:21:27] [PASSED] TV
[20:21:27] [PASSED] eDP
[20:21:27] [PASSED] Virtual
[20:21:27] [PASSED] DSI
[20:21:27] [PASSED] DPI
[20:21:27] [PASSED] Writeback
[20:21:27] [PASSED] SPI
[20:21:27] [PASSED] USB
[20:21:27] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[20:21:27] =========== [PASSED] drm_connector_dynamic_init ============
[20:21:27] ==== drm_connector_dynamic_register_early (4 subtests) =====
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[20:21:27] ====== [PASSED] drm_connector_dynamic_register_early =======
[20:21:27] ======= drm_connector_dynamic_register (7 subtests) ========
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[20:21:27] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[20:21:27] ========= [PASSED] drm_connector_dynamic_register ==========
[20:21:27] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[20:21:27] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[20:21:27] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[20:21:27] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[20:21:27] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[20:21:27] ========== drm_test_get_tv_mode_from_name_valid  ===========
[20:21:27] [PASSED] NTSC
[20:21:27] [PASSED] NTSC-443
[20:21:27] [PASSED] NTSC-J
[20:21:27] [PASSED] PAL
[20:21:27] [PASSED] PAL-M
[20:21:27] [PASSED] PAL-N
[20:21:27] [PASSED] SECAM
[20:21:27] [PASSED] Mono
[20:21:27] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[20:21:27] [PASSED] drm_test_get_tv_mode_from_name_truncated
[20:21:27] ============ [PASSED] drm_get_tv_mode_from_name ============
[20:21:27] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[20:21:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[20:21:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[20:21:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[20:21:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[20:21:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[20:21:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[20:21:27] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[20:21:27] [PASSED] VIC 96
[20:21:27] [PASSED] VIC 97
[20:21:27] [PASSED] VIC 101
[20:21:27] [PASSED] VIC 102
[20:21:27] [PASSED] VIC 106
[20:21:27] [PASSED] VIC 107
[20:21:27] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[20:21:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[20:21:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[20:21:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[20:21:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[20:21:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[20:21:27] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[20:21:27] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[20:21:27] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[20:21:27] [PASSED] Automatic
[20:21:27] [PASSED] Full
[20:21:27] [PASSED] Limited 16:235
[20:21:27] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[20:21:27] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[20:21:27] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[20:21:27] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[20:21:27] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[20:21:27] [PASSED] RGB
[20:21:27] [PASSED] YUV 4:2:0
[20:21:27] [PASSED] YUV 4:2:2
[20:21:27] [PASSED] YUV 4:4:4
[20:21:27] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[20:21:27] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[20:21:27] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[20:21:27] ============= drm_damage_helper (21 subtests) ==============
[20:21:27] [PASSED] drm_test_damage_iter_no_damage
[20:21:27] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[20:21:27] [PASSED] drm_test_damage_iter_no_damage_src_moved
[20:21:27] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[20:21:27] [PASSED] drm_test_damage_iter_no_damage_not_visible
[20:21:27] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[20:21:27] [PASSED] drm_test_damage_iter_no_damage_no_fb
[20:21:27] [PASSED] drm_test_damage_iter_simple_damage
[20:21:27] [PASSED] drm_test_damage_iter_single_damage
[20:21:27] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[20:21:27] [PASSED] drm_test_damage_iter_single_damage_outside_src
[20:21:27] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[20:21:27] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[20:21:27] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[20:21:27] [PASSED] drm_test_damage_iter_single_damage_src_moved
[20:21:27] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[20:21:27] [PASSED] drm_test_damage_iter_damage
[20:21:27] [PASSED] drm_test_damage_iter_damage_one_intersect
[20:21:27] [PASSED] drm_test_damage_iter_damage_one_outside
[20:21:27] [PASSED] drm_test_damage_iter_damage_src_moved
[20:21:27] [PASSED] drm_test_damage_iter_damage_not_visible
[20:21:27] ================ [PASSED] drm_damage_helper ================
[20:21:27] ============== drm_dp_mst_helper (3 subtests) ==============
[20:21:27] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[20:21:27] [PASSED] Clock 154000 BPP 30 DSC disabled
[20:21:27] [PASSED] Clock 234000 BPP 30 DSC disabled
[20:21:27] [PASSED] Clock 297000 BPP 24 DSC disabled
[20:21:27] [PASSED] Clock 332880 BPP 24 DSC enabled
[20:21:27] [PASSED] Clock 324540 BPP 24 DSC enabled
[20:21:27] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[20:21:27] ============== drm_test_dp_mst_calc_pbn_div  ===============
[20:21:27] [PASSED] Link rate 2000000 lane count 4
[20:21:27] [PASSED] Link rate 2000000 lane count 2
[20:21:27] [PASSED] Link rate 2000000 lane count 1
[20:21:27] [PASSED] Link rate 1350000 lane count 4
[20:21:27] [PASSED] Link rate 1350000 lane count 2
[20:21:27] [PASSED] Link rate 1350000 lane count 1
[20:21:27] [PASSED] Link rate 1000000 lane count 4
[20:21:27] [PASSED] Link rate 1000000 lane count 2
[20:21:27] [PASSED] Link rate 1000000 lane count 1
[20:21:27] [PASSED] Link rate 810000 lane count 4
[20:21:27] [PASSED] Link rate 810000 lane count 2
[20:21:27] [PASSED] Link rate 810000 lane count 1
[20:21:27] [PASSED] Link rate 540000 lane count 4
[20:21:27] [PASSED] Link rate 540000 lane count 2
[20:21:27] [PASSED] Link rate 540000 lane count 1
[20:21:27] [PASSED] Link rate 270000 lane count 4
[20:21:27] [PASSED] Link rate 270000 lane count 2
[20:21:27] [PASSED] Link rate 270000 lane count 1
[20:21:27] [PASSED] Link rate 162000 lane count 4
[20:21:27] [PASSED] Link rate 162000 lane count 2
[20:21:27] [PASSED] Link rate 162000 lane count 1
[20:21:27] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[20:21:27] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[20:21:27] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[20:21:27] [PASSED] DP_POWER_UP_PHY with port number
[20:21:27] [PASSED] DP_POWER_DOWN_PHY with port number
[20:21:27] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[20:21:27] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[20:21:27] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[20:21:27] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[20:21:27] [PASSED] DP_QUERY_PAYLOAD with port number
[20:21:27] [PASSED] DP_QUERY_PAYLOAD with VCPI
[20:21:27] [PASSED] DP_REMOTE_DPCD_READ with port number
[20:21:27] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[20:21:27] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[20:21:27] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[20:21:27] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[20:21:27] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[20:21:27] [PASSED] DP_REMOTE_I2C_READ with port number
[20:21:27] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[20:21:27] [PASSED] DP_REMOTE_I2C_READ with transactions array
[20:21:27] [PASSED] DP_REMOTE_I2C_WRITE with port number
[20:21:27] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[20:21:27] [PASSED] DP_REMOTE_I2C_WRITE with data array
[20:21:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[20:21:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[20:21:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[20:21:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[20:21:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[20:21:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[20:21:27] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[20:21:27] ================ [PASSED] drm_dp_mst_helper ================
[20:21:27] ================== drm_exec (7 subtests) ===================
[20:21:27] [PASSED] sanitycheck
[20:21:27] [PASSED] test_lock
[20:21:27] [PASSED] test_lock_unlock
[20:21:27] [PASSED] test_duplicates
[20:21:27] [PASSED] test_prepare
[20:21:27] [PASSED] test_prepare_array
[20:21:27] [PASSED] test_multiple_loops
[20:21:27] ==================== [PASSED] drm_exec =====================
[20:21:27] =========== drm_format_helper_test (17 subtests) ===========
[20:21:27] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[20:21:27] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[20:21:27] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[20:21:27] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[20:21:27] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[20:21:27] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[20:21:27] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[20:21:27] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[20:21:27] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[20:21:27] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[20:21:27] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[20:21:27] ============== drm_test_fb_xrgb8888_to_mono  ===============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[20:21:27] ==================== drm_test_fb_swab  =====================
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ================ [PASSED] drm_test_fb_swab =================
[20:21:27] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[20:21:27] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[20:21:27] [PASSED] single_pixel_source_buffer
[20:21:27] [PASSED] single_pixel_clip_rectangle
[20:21:27] [PASSED] well_known_colors
[20:21:27] [PASSED] destination_pitch
[20:21:27] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[20:21:27] ================= drm_test_fb_clip_offset  =================
[20:21:27] [PASSED] pass through
[20:21:27] [PASSED] horizontal offset
[20:21:27] [PASSED] vertical offset
[20:21:27] [PASSED] horizontal and vertical offset
[20:21:27] [PASSED] horizontal offset (custom pitch)
[20:21:27] [PASSED] vertical offset (custom pitch)
[20:21:27] [PASSED] horizontal and vertical offset (custom pitch)
[20:21:27] ============= [PASSED] drm_test_fb_clip_offset =============
[20:21:27] =================== drm_test_fb_memcpy  ====================
[20:21:27] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[20:21:27] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[20:21:27] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[20:21:27] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[20:21:27] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[20:21:27] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[20:21:27] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[20:21:27] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[20:21:27] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[20:21:27] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[20:21:27] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[20:21:27] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[20:21:27] =============== [PASSED] drm_test_fb_memcpy ================
[20:21:27] ============= [PASSED] drm_format_helper_test ==============
[20:21:27] ================= drm_format (18 subtests) =================
[20:21:27] [PASSED] drm_test_format_block_width_invalid
[20:21:27] [PASSED] drm_test_format_block_width_one_plane
[20:21:27] [PASSED] drm_test_format_block_width_two_plane
[20:21:27] [PASSED] drm_test_format_block_width_three_plane
[20:21:27] [PASSED] drm_test_format_block_width_tiled
[20:21:27] [PASSED] drm_test_format_block_height_invalid
[20:21:27] [PASSED] drm_test_format_block_height_one_plane
[20:21:27] [PASSED] drm_test_format_block_height_two_plane
[20:21:27] [PASSED] drm_test_format_block_height_three_plane
[20:21:27] [PASSED] drm_test_format_block_height_tiled
[20:21:27] [PASSED] drm_test_format_min_pitch_invalid
[20:21:27] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[20:21:27] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[20:21:27] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[20:21:27] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[20:21:27] [PASSED] drm_test_format_min_pitch_two_plane
[20:21:27] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[20:21:27] [PASSED] drm_test_format_min_pitch_tiled
[20:21:27] =================== [PASSED] drm_format ====================
[20:21:27] ============== drm_framebuffer (10 subtests) ===============
[20:21:27] ========== drm_test_framebuffer_check_src_coords  ==========
[20:21:27] [PASSED] Success: source fits into fb
[20:21:27] [PASSED] Fail: overflowing fb with x-axis coordinate
[20:21:27] [PASSED] Fail: overflowing fb with y-axis coordinate
[20:21:27] [PASSED] Fail: overflowing fb with source width
[20:21:27] [PASSED] Fail: overflowing fb with source height
[20:21:27] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[20:21:27] [PASSED] drm_test_framebuffer_cleanup
[20:21:27] =============== drm_test_framebuffer_create  ===============
[20:21:27] [PASSED] ABGR8888 normal sizes
[20:21:27] [PASSED] ABGR8888 max sizes
[20:21:27] [PASSED] ABGR8888 pitch greater than min required
[20:21:27] [PASSED] ABGR8888 pitch less than min required
[20:21:27] [PASSED] ABGR8888 Invalid width
[20:21:27] [PASSED] ABGR8888 Invalid buffer handle
[20:21:27] [PASSED] No pixel format
[20:21:27] [PASSED] ABGR8888 Width 0
[20:21:27] [PASSED] ABGR8888 Height 0
[20:21:27] [PASSED] ABGR8888 Out of bound height * pitch combination
[20:21:27] [PASSED] ABGR8888 Large buffer offset
[20:21:27] [PASSED] ABGR8888 Buffer offset for inexistent plane
[20:21:27] [PASSED] ABGR8888 Invalid flag
[20:21:27] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[20:21:27] [PASSED] ABGR8888 Valid buffer modifier
[20:21:27] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[20:21:27] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[20:21:27] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[20:21:27] [PASSED] NV12 Normal sizes
[20:21:27] [PASSED] NV12 Max sizes
[20:21:27] [PASSED] NV12 Invalid pitch
[20:21:27] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[20:21:27] [PASSED] NV12 different  modifier per-plane
[20:21:27] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[20:21:27] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[20:21:27] [PASSED] NV12 Modifier for inexistent plane
[20:21:27] [PASSED] NV12 Handle for inexistent plane
[20:21:27] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[20:21:27] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[20:21:27] [PASSED] YVU420 Normal sizes
[20:21:27] [PASSED] YVU420 Max sizes
[20:21:27] [PASSED] YVU420 Invalid pitch
[20:21:27] [PASSED] YVU420 Different pitches
[20:21:27] [PASSED] YVU420 Different buffer offsets/pitches
[20:21:27] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[20:21:27] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[20:21:27] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[20:21:27] [PASSED] YVU420 Valid modifier
[20:21:27] [PASSED] YVU420 Different modifiers per plane
[20:21:27] [PASSED] YVU420 Modifier for inexistent plane
[20:21:27] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[20:21:27] [PASSED] X0L2 Normal sizes
[20:21:27] [PASSED] X0L2 Max sizes
[20:21:27] [PASSED] X0L2 Invalid pitch
[20:21:27] [PASSED] X0L2 Pitch greater than minimum required
[20:21:27] [PASSED] X0L2 Handle for inexistent plane
[20:21:27] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[20:21:27] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[20:21:27] [PASSED] X0L2 Valid modifier
[20:21:27] [PASSED] X0L2 Modifier for inexistent plane
[20:21:27] =========== [PASSED] drm_test_framebuffer_create ===========
[20:21:27] [PASSED] drm_test_framebuffer_free
[20:21:27] [PASSED] drm_test_framebuffer_init
[20:21:27] [PASSED] drm_test_framebuffer_init_bad_format
[20:21:27] [PASSED] drm_test_framebuffer_init_dev_mismatch
[20:21:27] [PASSED] drm_test_framebuffer_lookup
[20:21:27] [PASSED] drm_test_framebuffer_lookup_inexistent
[20:21:27] [PASSED] drm_test_framebuffer_modifiers_not_supported
[20:21:27] ================= [PASSED] drm_framebuffer =================
[20:21:27] ================ drm_gem_shmem (8 subtests) ================
[20:21:27] [PASSED] drm_gem_shmem_test_obj_create
[20:21:27] [PASSED] drm_gem_shmem_test_obj_create_private
[20:21:27] [PASSED] drm_gem_shmem_test_pin_pages
[20:21:27] [PASSED] drm_gem_shmem_test_vmap
[20:21:27] [PASSED] drm_gem_shmem_test_get_sg_table
[20:21:27] [PASSED] drm_gem_shmem_test_get_pages_sgt
[20:21:27] [PASSED] drm_gem_shmem_test_madvise
[20:21:27] [PASSED] drm_gem_shmem_test_purge
[20:21:27] ================== [PASSED] drm_gem_shmem ==================
[20:21:27] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[20:21:27] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[20:21:27] [PASSED] Automatic
[20:21:27] [PASSED] Full
[20:21:27] [PASSED] Limited 16:235
[20:21:27] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[20:21:27] [PASSED] drm_test_check_disable_connector
[20:21:27] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[20:21:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[20:21:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[20:21:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[20:21:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[20:21:27] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[20:21:27] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[20:21:27] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[20:21:27] [PASSED] drm_test_check_output_bpc_dvi
[20:21:27] [PASSED] drm_test_check_output_bpc_format_vic_1
[20:21:27] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[20:21:27] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[20:21:27] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[20:21:27] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[20:21:27] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[20:21:27] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[20:21:27] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[20:21:27] ============ drm_test_check_hdmi_color_format  =============
[20:21:27] [PASSED] AUTO -> RGB
[20:21:27] [PASSED] YCBCR422 -> YUV422
[20:21:27] [PASSED] YCBCR420 -> YUV420
[20:21:27] [PASSED] YCBCR444 -> YUV444
[20:21:27] [PASSED] RGB -> RGB
[20:21:27] ======== [PASSED] drm_test_check_hdmi_color_format =========
[20:21:27] ======== drm_test_check_hdmi_color_format_420_only  ========
[20:21:27] [PASSED] RGB should fail
[20:21:27] [PASSED] YUV444 should fail
[20:21:27] [PASSED] YUV422 should fail
[20:21:27] [PASSED] YUV420 should work
[20:21:27] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[20:21:27] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[20:21:27] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[20:21:27] [PASSED] drm_test_check_broadcast_rgb_value
[20:21:27] [PASSED] drm_test_check_bpc_8_value
[20:21:27] [PASSED] drm_test_check_bpc_10_value
[20:21:27] [PASSED] drm_test_check_bpc_12_value
[20:21:27] [PASSED] drm_test_check_format_value
[20:21:27] [PASSED] drm_test_check_tmds_char_value
[20:21:27] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[20:21:27] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[20:21:27] [PASSED] drm_test_check_mode_valid
[20:21:27] [PASSED] drm_test_check_mode_valid_reject
[20:21:27] [PASSED] drm_test_check_mode_valid_reject_rate
[20:21:27] [PASSED] drm_test_check_mode_valid_reject_max_clock
[20:21:27] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[20:21:27] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[20:21:27] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[20:21:27] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[20:21:27] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[20:21:27] [PASSED] drm_test_check_infoframes
[20:21:27] [PASSED] drm_test_check_reject_avi_infoframe
[20:21:27] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[20:21:27] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[20:21:27] [PASSED] drm_test_check_reject_audio_infoframe
[20:21:27] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[20:21:27] ================= drm_managed (2 subtests) =================
[20:21:27] [PASSED] drm_test_managed_release_action
[20:21:27] [PASSED] drm_test_managed_run_action
[20:21:27] =================== [PASSED] drm_managed ===================
[20:21:27] =================== drm_mm (6 subtests) ====================
[20:21:27] [PASSED] drm_test_mm_init
[20:21:27] [PASSED] drm_test_mm_debug
[20:21:27] [PASSED] drm_test_mm_align32
[20:21:27] [PASSED] drm_test_mm_align64
[20:21:27] [PASSED] drm_test_mm_lowest
[20:21:27] [PASSED] drm_test_mm_highest
[20:21:27] ===================== [PASSED] drm_mm ======================
[20:21:27] ============= drm_modes_analog_tv (5 subtests) =============
[20:21:27] [PASSED] drm_test_modes_analog_tv_mono_576i
[20:21:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[20:21:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[20:21:27] [PASSED] drm_test_modes_analog_tv_pal_576i
[20:21:27] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[20:21:27] =============== [PASSED] drm_modes_analog_tv ===============
[20:21:27] ============== drm_panic_helper (3 subtests) ===============
[20:21:27] ============= drm_test_panic_screen_user_map  ==============
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[20:21:27] ========= [PASSED] drm_test_panic_screen_user_map ==========
[20:21:27] ============= drm_test_panic_screen_user_page  =============
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[20:21:27] ========= [PASSED] drm_test_panic_screen_user_page =========
[20:21:27] ========== drm_test_panic_screen_user_set_pixel  ===========
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[20:21:27] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[20:21:27] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[20:21:27] ====== [PASSED] drm_test_panic_screen_user_set_pixel =======
[20:21:27] ================ [PASSED] drm_panic_helper =================
[20:21:27] ============== drm_plane_helper (2 subtests) ===============
[20:21:27] =============== drm_test_check_plane_state  ================
[20:21:27] [PASSED] clipping_simple
[20:21:27] [PASSED] clipping_rotate_reflect
[20:21:27] [PASSED] positioning_simple
[20:21:27] [PASSED] upscaling
[20:21:27] [PASSED] downscaling
[20:21:27] [PASSED] rounding1
[20:21:27] [PASSED] rounding2
[20:21:27] [PASSED] rounding3
[20:21:27] [PASSED] rounding4
[20:21:27] =========== [PASSED] drm_test_check_plane_state ============
[20:21:27] =========== drm_test_check_invalid_plane_state  ============
[20:21:27] [PASSED] positioning_invalid
[20:21:27] [PASSED] upscaling_invalid
[20:21:27] [PASSED] downscaling_invalid
[20:21:27] ======= [PASSED] drm_test_check_invalid_plane_state ========
[20:21:27] ================ [PASSED] drm_plane_helper =================
[20:21:27] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[20:21:27] ====== drm_test_connector_helper_tv_get_modes_check  =======
[20:21:27] [PASSED] None
[20:21:27] [PASSED] PAL
[20:21:27] [PASSED] NTSC
[20:21:27] [PASSED] Both, NTSC Default
[20:21:27] [PASSED] Both, PAL Default
[20:21:27] [PASSED] Both, NTSC Default, with PAL on command-line
[20:21:27] [PASSED] Both, PAL Default, with NTSC on command-line
[20:21:27] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[20:21:27] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[20:21:27] ================== drm_rect (9 subtests) ===================
[20:21:27] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[20:21:27] [PASSED] drm_test_rect_clip_scaled_not_clipped
[20:21:27] [PASSED] drm_test_rect_clip_scaled_clipped
[20:21:27] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[20:21:27] ================= drm_test_rect_intersect  =================
[20:21:27] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[20:21:27] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[20:21:27] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[20:21:27] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[20:21:27] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[20:21:27] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[20:21:27] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[20:21:27] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[20:21:27] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[20:21:27] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[20:21:27] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[20:21:27] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[20:21:27] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[20:21:27] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[20:21:27] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[20:21:27] ============= [PASSED] drm_test_rect_intersect =============
[20:21:27] ================ drm_test_rect_calc_hscale  ================
[20:21:27] [PASSED] normal use
[20:21:27] [PASSED] out of max range
[20:21:27] [PASSED] out of min range
[20:21:27] [PASSED] zero dst
[20:21:27] [PASSED] negative src
[20:21:27] [PASSED] negative dst
[20:21:27] ============ [PASSED] drm_test_rect_calc_hscale ============
[20:21:27] ================ drm_test_rect_calc_vscale  ================
[20:21:27] [PASSED] normal use
[20:21:27] [PASSED] out of max range
[20:21:27] [PASSED] out of min range
[20:21:27] [PASSED] zero dst
[20:21:27] [PASSED] negative src
[20:21:27] [PASSED] negative dst
[20:21:27] ============ [PASSED] drm_test_rect_calc_vscale ============
[20:21:27] ================== drm_test_rect_rotate  ===================
[20:21:27] [PASSED] reflect-x
[20:21:27] [PASSED] reflect-y
[20:21:27] [PASSED] rotate-0
[20:21:27] [PASSED] rotate-90
[20:21:27] [PASSED] rotate-180
[20:21:27] [PASSED] rotate-270
[20:21:27] ============== [PASSED] drm_test_rect_rotate ===============
[20:21:27] ================ drm_test_rect_rotate_inv  =================
[20:21:27] [PASSED] reflect-x
[20:21:27] [PASSED] reflect-y
[20:21:27] [PASSED] rotate-0
[20:21:27] [PASSED] rotate-90
[20:21:27] [PASSED] rotate-180
[20:21:27] [PASSED] rotate-270
[20:21:27] ============ [PASSED] drm_test_rect_rotate_inv =============
[20:21:27] ==================== [PASSED] drm_rect =====================
[20:21:27] ============ drm_sysfb_modeset_test (1 subtest) ============
[20:21:27] ============ drm_test_sysfb_build_fourcc_list  =============
[20:21:27] [PASSED] no native formats
[20:21:27] [PASSED] XRGB8888 as native format
[20:21:27] [PASSED] remove duplicates
[20:21:27] [PASSED] convert alpha formats
[20:21:27] [PASSED] random formats
[20:21:27] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[20:21:27] ============= [PASSED] drm_sysfb_modeset_test ==============
[20:21:27] ================== drm_fixp (2 subtests) ===================
[20:21:27] [PASSED] drm_test_int2fixp
[20:21:27] [PASSED] drm_test_sm2fixp
[20:21:27] ==================== [PASSED] drm_fixp =====================
[20:21:27] ============================================================
[20:21:27] Testing complete. Ran 667 tests: passed: 667
[20:21:27] Elapsed time: 28.682s total, 2.525s configuring, 25.842s building, 0.299s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[20:21:27] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[20:21:29] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[20:21:40] Starting KUnit Kernel (1/1)...
[20:21:40] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[20:21:40] ================= ttm_device (5 subtests) ==================
[20:21:40] [PASSED] ttm_device_init_basic
[20:21:40] [PASSED] ttm_device_init_multiple
[20:21:40] [PASSED] ttm_device_fini_basic
[20:21:40] [PASSED] ttm_device_init_no_vma_man
[20:21:40] ================== ttm_device_init_pools  ==================
[20:21:40] [PASSED] No DMA allocations, no DMA32 required
[20:21:40] [PASSED] DMA allocations, DMA32 required
[20:21:40] [PASSED] No DMA allocations, DMA32 required
[20:21:40] [PASSED] DMA allocations, no DMA32 required
[20:21:40] ============== [PASSED] ttm_device_init_pools ==============
[20:21:40] =================== [PASSED] ttm_device ====================
[20:21:40] ================== ttm_pool (8 subtests) ===================
[20:21:40] ================== ttm_pool_alloc_basic  ===================
[20:21:40] [PASSED] One page
[20:21:40] [PASSED] More than one page
[20:21:40] [PASSED] Above the allocation limit
[20:21:40] [PASSED] One page, with coherent DMA mappings enabled
[20:21:40] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[20:21:40] ============== [PASSED] ttm_pool_alloc_basic ===============
[20:21:40] ============== ttm_pool_alloc_basic_dma_addr  ==============
[20:21:40] [PASSED] One page
[20:21:40] [PASSED] More than one page
[20:21:40] [PASSED] Above the allocation limit
[20:21:40] [PASSED] One page, with coherent DMA mappings enabled
[20:21:40] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[20:21:40] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[20:21:40] [PASSED] ttm_pool_alloc_order_caching_match
[20:21:40] [PASSED] ttm_pool_alloc_caching_mismatch
[20:21:40] [PASSED] ttm_pool_alloc_order_mismatch
[20:21:40] [PASSED] ttm_pool_free_dma_alloc
[20:21:40] [PASSED] ttm_pool_free_no_dma_alloc
[20:21:40] [PASSED] ttm_pool_fini_basic
[20:21:40] ==================== [PASSED] ttm_pool =====================
[20:21:40] ================ ttm_resource (8 subtests) =================
[20:21:40] ================= ttm_resource_init_basic  =================
[20:21:40] [PASSED] Init resource in TTM_PL_SYSTEM
[20:21:40] [PASSED] Init resource in TTM_PL_VRAM
[20:21:40] [PASSED] Init resource in a private placement
[20:21:40] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[20:21:40] ============= [PASSED] ttm_resource_init_basic =============
[20:21:40] [PASSED] ttm_resource_init_pinned
[20:21:40] [PASSED] ttm_resource_fini_basic
[20:21:40] [PASSED] ttm_resource_manager_init_basic
[20:21:40] [PASSED] ttm_resource_manager_usage_basic
[20:21:40] [PASSED] ttm_resource_manager_set_used_basic
[20:21:40] [PASSED] ttm_sys_man_alloc_basic
[20:21:40] [PASSED] ttm_sys_man_free_basic
[20:21:40] ================== [PASSED] ttm_resource ===================
[20:21:40] =================== ttm_tt (15 subtests) ===================
[20:21:40] ==================== ttm_tt_init_basic  ====================
[20:21:40] [PASSED] Page-aligned size
[20:21:40] [PASSED] Extra pages requested
[20:21:40] ================ [PASSED] ttm_tt_init_basic ================
[20:21:40] [PASSED] ttm_tt_init_misaligned
[20:21:40] [PASSED] ttm_tt_fini_basic
[20:21:40] [PASSED] ttm_tt_fini_sg
[20:21:40] [PASSED] ttm_tt_fini_shmem
[20:21:40] [PASSED] ttm_tt_create_basic
[20:21:40] [PASSED] ttm_tt_create_invalid_bo_type
[20:21:40] [PASSED] ttm_tt_create_ttm_exists
[20:21:40] [PASSED] ttm_tt_create_failed
[20:21:40] [PASSED] ttm_tt_destroy_basic
[20:21:40] [PASSED] ttm_tt_populate_null_ttm
[20:21:40] [PASSED] ttm_tt_populate_populated_ttm
[20:21:40] [PASSED] ttm_tt_unpopulate_basic
[20:21:40] [PASSED] ttm_tt_unpopulate_empty_ttm
[20:21:40] [PASSED] ttm_tt_swapin_basic
[20:21:40] ===================== [PASSED] ttm_tt ======================
[20:21:40] =================== ttm_bo (14 subtests) ===================
[20:21:40] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[20:21:40] [PASSED] Cannot be interrupted and sleeps
[20:21:40] [PASSED] Cannot be interrupted, locks straight away
[20:21:40] [PASSED] Can be interrupted, sleeps
[20:21:40] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[20:21:40] [PASSED] ttm_bo_reserve_locked_no_sleep
[20:21:40] [PASSED] ttm_bo_reserve_no_wait_ticket
[20:21:40] [PASSED] ttm_bo_reserve_double_resv
[20:21:40] [PASSED] ttm_bo_reserve_interrupted
[20:21:40] [PASSED] ttm_bo_reserve_deadlock
[20:21:40] [PASSED] ttm_bo_unreserve_basic
[20:21:40] [PASSED] ttm_bo_unreserve_pinned
[20:21:40] [PASSED] ttm_bo_unreserve_bulk
[20:21:40] [PASSED] ttm_bo_fini_basic
[20:21:40] [PASSED] ttm_bo_fini_shared_resv
[20:21:40] [PASSED] ttm_bo_pin_basic
[20:21:40] [PASSED] ttm_bo_pin_unpin_resource
[20:21:40] [PASSED] ttm_bo_multiple_pin_one_unpin
[20:21:40] ===================== [PASSED] ttm_bo ======================
[20:21:40] ============== ttm_bo_validate (22 subtests) ===============
[20:21:40] ============== ttm_bo_init_reserved_sys_man  ===============
[20:21:40] [PASSED] Buffer object for userspace
[20:21:40] [PASSED] Kernel buffer object
[20:21:40] [PASSED] Shared buffer object
[20:21:40] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[20:21:40] ============== ttm_bo_init_reserved_mock_man  ==============
[20:21:40] [PASSED] Buffer object for userspace
[20:21:40] [PASSED] Kernel buffer object
[20:21:40] [PASSED] Shared buffer object
[20:21:40] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[20:21:40] [PASSED] ttm_bo_init_reserved_resv
[20:21:40] ================== ttm_bo_validate_basic  ==================
[20:21:40] [PASSED] Buffer object for userspace
[20:21:40] [PASSED] Kernel buffer object
[20:21:40] [PASSED] Shared buffer object
[20:21:40] ============== [PASSED] ttm_bo_validate_basic ==============
[20:21:40] [PASSED] ttm_bo_validate_invalid_placement
[20:21:40] ============= ttm_bo_validate_same_placement  ==============
[20:21:40] [PASSED] System manager
[20:21:40] [PASSED] VRAM manager
[20:21:40] ========= [PASSED] ttm_bo_validate_same_placement ==========
[20:21:40] [PASSED] ttm_bo_validate_failed_alloc
[20:21:40] [PASSED] ttm_bo_validate_pinned
[20:21:40] [PASSED] ttm_bo_validate_busy_placement
[20:21:40] ================ ttm_bo_validate_multihop  =================
[20:21:40] [PASSED] Buffer object for userspace
[20:21:40] [PASSED] Kernel buffer object
[20:21:40] [PASSED] Shared buffer object
[20:21:40] ============ [PASSED] ttm_bo_validate_multihop =============
[20:21:40] ========== ttm_bo_validate_no_placement_signaled  ==========
[20:21:40] [PASSED] Buffer object in system domain, no page vector
[20:21:40] [PASSED] Buffer object in system domain with an existing page vector
[20:21:40] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[20:21:40] ======== ttm_bo_validate_no_placement_not_signaled  ========
[20:21:40] [PASSED] Buffer object for userspace
[20:21:40] [PASSED] Kernel buffer object
[20:21:40] [PASSED] Shared buffer object
[20:21:40] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[20:21:40] [PASSED] ttm_bo_validate_move_fence_signaled
[20:21:40] ========= ttm_bo_validate_move_fence_not_signaled  =========
[20:21:40] [PASSED] Waits for GPU
[20:21:40] [PASSED] Tries to lock straight away
[20:21:40] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[20:21:40] [PASSED] ttm_bo_validate_swapout
[20:21:40] [PASSED] ttm_bo_validate_happy_evict
[20:21:40] [PASSED] ttm_bo_validate_all_pinned_evict
[20:21:40] [PASSED] ttm_bo_validate_allowed_only_evict
[20:21:40] [PASSED] ttm_bo_validate_deleted_evict
[20:21:40] [PASSED] ttm_bo_validate_busy_domain_evict
[20:21:40] [PASSED] ttm_bo_validate_evict_gutting
[20:21:40] [PASSED] ttm_bo_validate_recrusive_evict
[20:21:40] ================= [PASSED] ttm_bo_validate =================
[20:21:40] ============================================================
[20:21:40] Testing complete. Ran 102 tests: passed: 102
[20:21:40] Elapsed time: 13.058s total, 2.541s configuring, 10.302s building, 0.185s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[20:21:40] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[20:21:43] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[20:21:52] Starting KUnit Kernel (1/1)...
[20:21:52] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[20:21:52] =============== dma-buf-fence (12 subtests) ================
[20:21:52] [PASSED] test_sanitycheck
[20:21:52] [PASSED] test_signaling
[20:21:52] [PASSED] test_add_callback
[20:21:52] [PASSED] test_late_add_callback
[20:21:52] [PASSED] test_rm_callback
[20:21:52] [PASSED] test_late_rm_callback
[20:21:52] [PASSED] test_status
[20:21:52] [PASSED] test_error
[20:21:52] [PASSED] test_wait
[20:21:52] [PASSED] test_wait_timeout
[20:21:52] [PASSED] test_stub
[20:21:52] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[20:21:52] ================== [PASSED] dma-buf-fence ==================
[20:21:52] ============ dma-buf-fence-chain (11 subtests) =============
[20:21:52] [PASSED] test_sanitycheck
[20:21:52] [PASSED] test_find_seqno
[20:21:52] [PASSED] test_find_signaled
[20:21:52] [PASSED] test_find_out_of_order
[20:21:57] [PASSED] test_find_gap
[20:21:57] [PASSED] test_find_race
[20:21:57] [PASSED] test_signal_forward
[20:21:57] [PASSED] test_signal_backward
[20:21:57] [PASSED] test_wait_forward
[20:21:57] [PASSED] test_wait_backward
[20:21:57] [PASSED] test_wait_random
[20:21:57] =============== [PASSED] dma-buf-fence-chain ===============
[20:21:57] ============ dma-buf-fence-unwrap (11 subtests) ============
[20:21:57] [PASSED] test_sanitycheck
[20:21:57] [PASSED] test_unwrap_array
[20:21:57] [PASSED] test_unwrap_chain
[20:21:57] [PASSED] test_unwrap_chain_array
[20:21:57] [PASSED] test_unwrap_merge
[20:21:57] [PASSED] test_unwrap_merge_duplicate
[20:21:57] [PASSED] test_unwrap_merge_seqno
[20:21:57] [PASSED] test_unwrap_merge_order
[20:21:57] [PASSED] test_unwrap_merge_complex
[20:21:57] [PASSED] test_unwrap_merge_complex_seqno
[20:21:57] [PASSED] test_dedup_empty
[20:21:57] ============== [PASSED] dma-buf-fence-unwrap ===============
[20:21:57] ================ dma-buf-resv (5 subtests) =================
[20:21:57] [PASSED] test_sanitycheck
[20:21:57] ===================== test_signaling  ======================
[20:21:57] [PASSED] kernel
[20:21:57] [PASSED] write
[20:21:57] [PASSED] read
[20:21:57] [PASSED] bookkeep
[20:21:57] ================= [PASSED] test_signaling ==================
[20:21:57] ====================== test_for_each  ======================
[20:21:57] [PASSED] kernel
[20:21:57] [PASSED] write
[20:21:57] [PASSED] read
[20:21:57] [PASSED] bookkeep
[20:21:57] ================== [PASSED] test_for_each ==================
[20:21:57] ================= test_for_each_unlocked  ==================
[20:21:57] [PASSED] kernel
[20:21:57] [PASSED] write
[20:21:57] [PASSED] read
[20:21:57] [PASSED] bookkeep
[20:21:57] ============= [PASSED] test_for_each_unlocked ==============
[20:21:57] ===================== test_get_fences  =====================
[20:21:57] [PASSED] kernel
[20:21:57] [PASSED] write
[20:21:57] [PASSED] read
[20:21:57] [PASSED] bookkeep
[20:21:57] ================= [PASSED] test_get_fences =================
[20:21:57] ================== [PASSED] dma-buf-resv ===================
[20:21:57] ============================================================
[20:21:57] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[20:21:57] Elapsed time: 16.703s total, 2.529s configuring, 8.903s building, 5.255s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel



^ permalink raw reply	[flat|nested] 12+ messages in thread

* ✓ Xe.CI.BAT: success for drm/xe: Expose retired VRAM pages via drm-ras (rev5)
  2026-11-25 19:02 [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
                   ` (3 preceding siblings ...)
  2026-11-25 20:22 ` ✓ CI.KUnit: success " Patchwork
@ 2026-11-25 21:02 ` Patchwork
  2026-11-26  5:35 ` ✗ Xe.CI.FULL: failure " Patchwork
  5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2026-11-25 21:02 UTC (permalink / raw)
  To: Aravind Iddamsetty; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]

== Series Details ==

Series: drm/xe: Expose retired VRAM pages via drm-ras (rev5)
URL   : https://patchwork.freedesktop.org/series/173066/
State : success

== Summary ==

CI Bug Log - changes from xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e_BAT -> xe-pw-173066v5_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (15 -> 15)
------------------------------

  No changes in participating hosts

Known issues
------------

  Here are the changes found in xe-pw-173066v5_BAT that come from known issues:

### IGT changes ###

#### Possible fixes ####

  * igt@core_hotunplug@unbind-rebind:
    - bat-bmg-1:          [ABORT][1] ([Intel XE#9841]) -> [PASS][2]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/bat-bmg-1/igt@core_hotunplug@unbind-rebind.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/bat-bmg-1/igt@core_hotunplug@unbind-rebind.html

  
  [Intel XE#9841]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9841


Build changes
-------------

  * Linux: xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e -> xe-pw-173066v5

  IGT_9204: 52e9317c945f97f29fbec75be29280fc7b00cf32 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e: 01f73ffa8189526c8c33d591371ea89803fa6e2e
  xe-pw-173066v5: 173066v5

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/index.html

[-- Attachment #2: Type: text/html, Size: 2095 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v5 1/2] drm/ras: Add retired-pages node type
  2026-11-25 19:02 ` [PATCH v5 1/2] drm/ras: Add retired-pages node type Rodrigo Vivi
@ 2026-11-25 23:46   ` Zack McKevitt
  2026-11-27  7:16   ` Tauro, Riana
  1 sibling, 0 replies; 12+ messages in thread
From: Zack McKevitt @ 2026-11-25 23:46 UTC (permalink / raw)
  To: Rodrigo Vivi, dri-devel
  Cc: intel-xe, Aravind Iddamsetty, Jakub Kicinski, Riana Tauro,
	Raag Jadav, Jeff Hugo



On 11/25/2026 12:02 PM, Rodrigo Vivi wrote:
> From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> 
> Add a retired-pages node type to drm-ras so drivers can report the
> memory pages they have taken out of service, with two operations:
> 
>   - get-retired-pages: dump one entry per page with its address, size
>     and status (retired, pending or failed). The dump is flagged with
>     NLM_F_DUMP_INTR if the list changes while it is read.
>   - get-retired-pages-info: return the maximum number of pages that can
>     be retired.
> 
> v3 (Rodrigo+LLM):
>   - Split the drm-ras core from the xe user.
>   - Flatten the page attributes and name the node type retired-pages
>     instead of retired-resources, avoiding the over-wrapping
>     anti-pattern pointed out by Jakub: the type-specific nest and the
>     resource-type enum are gone.
>   - Use uint for address, size and max-pages, no pad (Jakub).
>   - Start the status enum at 1.
>   - Move max-pages to its own do operation instead of a leading dump
>     entry.
>   - Set NLM_F_DUMP_INTR from a driver generation counter.
>   - Report unknown node IDs with NL_SET_BAD_ATTR.
>   - Removed deprecated Assisted-by tag.
> 
> v4 (Rodrigo+LLM):
>   - Check the dump consistency once a page message is filled (Sashiko),
>     and on the final NLMSG_DONE (local Sashiko), so NLM_F_DUMP_INTR is
>     not lost.
>   - Make the error-counter operations reject other node types (Sashiko).
>   - Hold a node reference in the new handlers (local Sashiko).
>   - Rebase on the telemetry node type, moving the type check of its
>     handlers into drm_ras_node_get().
> 
> v5 (Rodrigo+LLM):
>   - Split the node and callback checks in the clear-error-counter doit,
>     and write the new handlers like the error-counter ones, with
>     put_node labels and an inline dump loop, for consistency (Riana).
>   - Drop node-id from the dump entries (Riana).
> 
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Cc: Raag Jadav <raag.jadav@intel.com>
> Cc: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> Cc: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
> Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

The type check in drm_ras_node_get() looks good to me.

Acked-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* ✗ Xe.CI.FULL: failure for drm/xe: Expose retired VRAM pages via drm-ras (rev5)
  2026-11-25 19:02 [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
                   ` (4 preceding siblings ...)
  2026-11-25 21:02 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-11-26  5:35 ` Patchwork
  5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2026-11-26  5:35 UTC (permalink / raw)
  To: Aravind Iddamsetty; +Cc: intel-xe

[-- Attachment #1: Type: text/plain, Size: 49120 bytes --]

== Series Details ==

Series: drm/xe: Expose retired VRAM pages via drm-ras (rev5)
URL   : https://patchwork.freedesktop.org/series/173066/
State : failure

== Summary ==

CI Bug Log - changes from xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e_FULL -> xe-pw-173066v5_FULL
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-173066v5_FULL absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-173066v5_FULL, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

Participating hosts (3 -> 3)
------------------------------

  No changes in participating hosts

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in xe-pw-173066v5_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@kms_color_pipeline@plane-fixed-matrix-yuv-rgb-bt2020-lim:
    - shard-bmg:          NOTRUN -> [INCOMPLETE][1] +1 other test incomplete
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@kms_color_pipeline@plane-fixed-matrix-yuv-rgb-bt2020-lim.html

  
New tests
---------

  New tests have been introduced between xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e_FULL and xe-pw-173066v5_FULL:

### New IGT tests (1) ###

  * igt@kms_content_protection@atomic@pipe-a-dp-2:
    - Statuses : 1 fail(s)
    - Exec time: [111.84] s

  

Known issues
------------

  Here are the changes found in xe-pw-173066v5_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
    - shard-lnl:          NOTRUN -> [SKIP][2] ([Intel XE#3658] / [Intel XE#7360])
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html

  * igt@kms_big_fb@linear-8bpp-rotate-270:
    - shard-bmg:          NOTRUN -> [SKIP][3] ([Intel XE#2327]) +4 other tests skip
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_big_fb@linear-8bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-64bpp-rotate-90:
    - shard-bmg:          NOTRUN -> [SKIP][4] ([Intel XE#1124]) +7 other tests skip
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_big_fb@y-tiled-64bpp-rotate-90.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180:
    - shard-lnl:          NOTRUN -> [SKIP][5] ([Intel XE#1124]) +2 other tests skip
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180.html

  * igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#607] / [Intel XE#7361])
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow.html

  * igt@kms_bw@connected-linear-tiling-2-displays-target-3840x2160p:
    - shard-lnl:          NOTRUN -> [SKIP][7] ([Intel XE#7679])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_bw@connected-linear-tiling-2-displays-target-3840x2160p.html

  * igt@kms_bw@linear-tiling-3-displays-target-2160x1440p:
    - shard-lnl:          NOTRUN -> [SKIP][8] ([Intel XE#367])
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_bw@linear-tiling-3-displays-target-2160x1440p.html

  * igt@kms_bw@linear-tiling-4-displays-target-2560x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#367])
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_bw@linear-tiling-4-displays-target-2560x1440p.html

  * igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs-cc:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#2887]) +5 other tests skip
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs-cc.html

  * igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs:
    - shard-lnl:          NOTRUN -> [SKIP][11] ([Intel XE#2887]) +2 other tests skip
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs.html

  * igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][12] ([Intel XE#3432])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs.html

  * igt@kms_ccs@crc-primary-suspend-y-tiled-ccs:
    - shard-lnl:          NOTRUN -> [SKIP][13] ([Intel XE#3432])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_ccs@crc-primary-suspend-y-tiled-ccs.html

  * igt@kms_cdclk@mode-transition-all-outputs:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#2724] / [Intel XE#7449])
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@kms_cdclk@mode-transition-all-outputs.html

  * igt@kms_chamelium_audio@dp-audio-after-suspend:
    - shard-lnl:          NOTRUN -> [SKIP][15] ([Intel XE#2252])
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_chamelium_audio@dp-audio-after-suspend.html

  * igt@kms_chamelium_color_pipeline@plane-lut3d-green-only:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#7358]) +2 other tests skip
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_chamelium_color_pipeline@plane-lut3d-green-only.html

  * igt@kms_chamelium_edid@dp-edid-resolution-list:
    - shard-lnl:          NOTRUN -> [SKIP][17] ([Intel XE#373]) +1 other test skip
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_chamelium_edid@dp-edid-resolution-list.html

  * igt@kms_chamelium_frames@hdmi-aspect-ratio:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#2252]) +6 other tests skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_chamelium_frames@hdmi-aspect-ratio.html

  * igt@kms_chamelium_hpd@dp-hpd-fast:
    - shard-ptl:          NOTRUN -> [SKIP][19] ([Intel XE#2252])
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@kms_chamelium_hpd@dp-hpd-fast.html

  * igt@kms_color_pipeline@plane-lut1d-ctm3x4@pipe-b-plane-4:
    - shard-bmg:          NOTRUN -> [SKIP][20] ([Intel XE#6969]) +7 other tests skip
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_color_pipeline@plane-lut1d-ctm3x4@pipe-b-plane-4.html

  * igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-1:
    - shard-bmg:          NOTRUN -> [FAIL][21] ([Intel XE#3304])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-7/igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-1.html

  * igt@kms_content_protection@atomic-dpms@pipe-a-dp-1:
    - shard-bmg:          NOTRUN -> [FAIL][22] ([Intel XE#3304] / [Intel XE#7374])
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-7/igt@kms_content_protection@atomic-dpms@pipe-a-dp-1.html

  * igt@kms_content_protection@atomic-hdcp14:
    - shard-bmg:          NOTRUN -> [FAIL][23] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_content_protection@atomic-hdcp14.html

  * igt@kms_content_protection@dp-mst-type-0-hdcp14:
    - shard-lnl:          NOTRUN -> [SKIP][24] ([Intel XE#6974])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_content_protection@dp-mst-type-0-hdcp14.html

  * igt@kms_cursor_crc@cursor-random-64x21:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#2320]) +2 other tests skip
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@kms_cursor_crc@cursor-random-64x21.html

  * igt@kms_cursor_crc@cursor-sliding-256x85:
    - shard-lnl:          NOTRUN -> [SKIP][26] ([Intel XE#1424]) +2 other tests skip
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_cursor_crc@cursor-sliding-256x85.html

  * igt@kms_cursor_legacy@cursorb-vs-flipa-atomic:
    - shard-lnl:          NOTRUN -> [SKIP][27] ([Intel XE#309] / [Intel XE#7343])
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic.html

  * igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#2286] / [Intel XE#6035])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html

  * igt@kms_dp_link_training@non-uhbr-mst-direct-train:
    - shard-lnl:          NOTRUN -> [SKIP][29] ([Intel XE#9532])
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_dp_link_training@non-uhbr-mst-direct-train.html

  * igt@kms_dsc@dsc-with-bpc-formats-bigjoiner:
    - shard-lnl:          NOTRUN -> [SKIP][30] ([Intel XE#8265])
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_dsc@dsc-with-bpc-formats-bigjoiner.html

  * igt@kms_dsc@dsc-with-output-formats-with-bpc-ultrajoiner:
    - shard-bmg:          NOTRUN -> [SKIP][31] ([Intel XE#8265]) +1 other test skip
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_dsc@dsc-with-output-formats-with-bpc-ultrajoiner.html

  * igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-different-formats:
    - shard-bmg:          NOTRUN -> [SKIP][32] ([Intel XE#4422] / [Intel XE#7442])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-different-formats.html

  * igt@kms_feature_discovery@display-4x:
    - shard-lnl:          NOTRUN -> [SKIP][33] ([Intel XE#1138] / [Intel XE#7344])
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_feature_discovery@display-4x.html

  * igt@kms_feature_discovery@hdr:
    - shard-ptl:          NOTRUN -> [SKIP][34] ([Intel XE#9287])
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@kms_feature_discovery@hdr.html

  * igt@kms_flip@2x-flip-vs-rmfb-interruptible:
    - shard-lnl:          NOTRUN -> [SKIP][35] ([Intel XE#1421]) +2 other tests skip
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_flip@2x-flip-vs-rmfb-interruptible.html

  * igt@kms_flip@2x-plain-flip-ts-check-interruptible:
    - shard-bmg:          [PASS][36] -> [FAIL][37] ([Intel XE#5408] / [Intel XE#6266]) +1 other test fail
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-9/igt@kms_flip@2x-plain-flip-ts-check-interruptible.html
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-3/igt@kms_flip@2x-plain-flip-ts-check-interruptible.html

  * igt@kms_flip@flip-vs-expired-vblank@c-edp1:
    - shard-lnl:          [PASS][38] -> [FAIL][39] ([Intel XE#301] / [Intel XE#3149])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html

  * igt@kms_flip@flip-vs-suspend-interruptible:
    - shard-ptl:          [PASS][40] -> [INCOMPLETE][41] ([Intel XE#2597] / [Intel XE#9721]) +1 other test incomplete
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-ptl-8/igt@kms_flip@flip-vs-suspend-interruptible.html
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-3/igt@kms_flip@flip-vs-suspend-interruptible.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling:
    - shard-lnl:          NOTRUN -> [SKIP][42] ([Intel XE#7178] / [Intel XE#7351])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#7178] / [Intel XE#7351])
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-1/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x:
    - shard-bmg:          NOTRUN -> [SKIP][44] ([Intel XE#7179])
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-1/igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x.html
    - shard-ptl:          NOTRUN -> [SKIP][45] ([Intel XE#7179])
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x.html

  * igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-indfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][46] ([Intel XE#6312]) +2 other tests skip
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][47] ([Intel XE#656] / [Intel XE#7905]) +8 other tests skip
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-render:
    - shard-lnl:          NOTRUN -> [SKIP][48] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_frontbuffer_tracking@fbc-abgr161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-tiling-linear:
    - shard-bmg:          NOTRUN -> [SKIP][49] ([Intel XE#4141]) +6 other tests skip
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-tiling-linear.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-indfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][50] ([Intel XE#6312] / [Intel XE#651]) +2 other tests skip
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#7061] / [Intel XE#7356])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-cur-indfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][52] ([Intel XE#2311]) +30 other tests skip
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-cur-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-pri-indfb-draw-render:
    - shard-ptl:          NOTRUN -> [SKIP][53] ([Intel XE#5812])
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-scndscrn-pri-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbchdr-argb161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][54] ([Intel XE#7061]) +2 other tests skip
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_frontbuffer_tracking@fbchdr-argb161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-indfb-plflip-blt:
    - shard-ptl:          NOTRUN -> [SKIP][55] ([Intel XE#7865])
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@kms_frontbuffer_tracking@fbcpsrhdr-1p-primscrn-indfb-plflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-spr-indfb-move:
    - shard-lnl:          NOTRUN -> [SKIP][56] ([Intel XE#7905]) +12 other tests skip
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-primscrn-spr-indfb-move.html

  * igt@kms_frontbuffer_tracking@psrhdr-1p-offscreen-pri-indfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][57] ([Intel XE#7865]) +6 other tests skip
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_frontbuffer_tracking@psrhdr-1p-offscreen-pri-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-spr-indfb-move:
    - shard-bmg:          NOTRUN -> [SKIP][58] ([Intel XE#2313]) +29 other tests skip
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-spr-indfb-move.html

  * igt@kms_hdmi_audio_bw@suspend-disk-audio-recovery:
    - shard-bmg:          NOTRUN -> [FAIL][59] ([Intel XE#9346])
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_hdmi_audio_bw@suspend-disk-audio-recovery.html

  * igt@kms_hdr@static-toggle:
    - shard-lnl:          NOTRUN -> [SKIP][60] ([Intel XE#1503])
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_hdr@static-toggle.html

  * igt@kms_joiner@invalid-modeset-ultra-joiner:
    - shard-lnl:          NOTRUN -> [SKIP][61] ([Intel XE#6900] / [Intel XE#7362])
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_joiner@invalid-modeset-ultra-joiner.html

  * igt@kms_panel_fitting@atomic-fastset:
    - shard-bmg:          NOTRUN -> [SKIP][62] ([Intel XE#2486])
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_panel_fitting@atomic-fastset.html

  * igt@kms_plane@pixel-format-yf-tiled-modifier:
    - shard-bmg:          NOTRUN -> [SKIP][63] ([Intel XE#7283])
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_plane@pixel-format-yf-tiled-modifier.html

  * igt@kms_plane@pixel-format-yf-tiled-modifier-source-clamping:
    - shard-lnl:          NOTRUN -> [SKIP][64] ([Intel XE#7283])
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_plane@pixel-format-yf-tiled-modifier-source-clamping.html

  * igt@kms_plane_multiple@2x-tiling-4:
    - shard-lnl:          NOTRUN -> [SKIP][65] ([Intel XE#4596] / [Intel XE#5854])
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_plane_multiple@2x-tiling-4.html

  * igt@kms_plane_scaling@plane-downscale-max-crc-rotation-180-4-tiled@pipe-c-dp-1-p010:
    - shard-bmg:          NOTRUN -> [FAIL][66] ([Intel XE#9780]) +3 other tests fail
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-7/igt@kms_plane_scaling@plane-downscale-max-crc-rotation-180-4-tiled@pipe-c-dp-1-p010.html

  * igt@kms_plane_scaling@plane-upscale-max-crc-rotation-270-y-tiled:
    - shard-bmg:          NOTRUN -> [SKIP][67] ([Intel XE#9779]) +3 other tests skip
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-1/igt@kms_plane_scaling@plane-upscale-max-crc-rotation-270-y-tiled.html
    - shard-ptl:          NOTRUN -> [SKIP][68] ([Intel XE#9779])
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@kms_plane_scaling@plane-upscale-max-crc-rotation-270-y-tiled.html

  * igt@kms_pm_rpm@modeset-lpsp-stress-no-wait:
    - shard-bmg:          NOTRUN -> [SKIP][69] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383] / [Intel XE#836])
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_pm_rpm@modeset-lpsp-stress-no-wait.html

  * igt@kms_pm_rpm@package-g7:
    - shard-bmg:          NOTRUN -> [SKIP][70] ([Intel XE#6814] / [Intel XE#7428])
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_pm_rpm@package-g7.html

  * igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf:
    - shard-lnl:          NOTRUN -> [SKIP][71] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304])
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf.html

  * igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf@pipe-a-edp-1:
    - shard-lnl:          NOTRUN -> [SKIP][72] ([Intel XE#4608])
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf@pipe-a-edp-1.html

  * igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf@pipe-b-edp-1:
    - shard-lnl:          NOTRUN -> [SKIP][73] ([Intel XE#4608] / [Intel XE#7304])
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-exceed-fully-sf@pipe-b-edp-1.html

  * igt@kms_psr2_sf@fbc-psr2-plane-move-sf-dmg-area:
    - shard-bmg:          NOTRUN -> [SKIP][74] ([Intel XE#1489]) +3 other tests skip
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_psr2_sf@fbc-psr2-plane-move-sf-dmg-area.html

  * igt@kms_psr2_sf@pr-overlay-plane-move-continuous-sf:
    - shard-lnl:          NOTRUN -> [SKIP][75] ([Intel XE#2893] / [Intel XE#7304])
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_psr2_sf@pr-overlay-plane-move-continuous-sf.html

  * igt@kms_psr@fbc-psr2-sprite-blt:
    - shard-bmg:          NOTRUN -> [SKIP][76] ([Intel XE#2234] / [Intel XE#2850]) +6 other tests skip
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-1/igt@kms_psr@fbc-psr2-sprite-blt.html

  * igt@kms_psr@fbc-psr2-sprite-blt@edp-1:
    - shard-ptl:          NOTRUN -> [SKIP][77] ([Intel XE#1406] / [Intel XE#5835]) +1 other test skip
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@kms_psr@fbc-psr2-sprite-blt@edp-1.html

  * igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
    - shard-bmg:          NOTRUN -> [SKIP][78] ([Intel XE#7795])
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
    - shard-bmg:          NOTRUN -> [SKIP][79] ([Intel XE#2330] / [Intel XE#5813])
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@kms_rotation_crc@primary-y-tiled-reflect-x-180.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-90:
    - shard-bmg:          NOTRUN -> [SKIP][80] ([Intel XE#3904] / [Intel XE#7342])
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@kms_rotation_crc@primary-y-tiled-reflect-x-90.html

  * igt@kms_setmode@invalid-clone-exclusive-crtc:
    - shard-lnl:          NOTRUN -> [SKIP][81] ([Intel XE#1435] / [Intel XE#9142])
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@kms_setmode@invalid-clone-exclusive-crtc.html

  * igt@kms_sharpness_filter@filter-basic:
    - shard-bmg:          NOTRUN -> [SKIP][82] ([Intel XE#6503])
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@kms_sharpness_filter@filter-basic.html

  * igt@kms_vrr@flip-basic:
    - shard-ptl:          [PASS][83] -> [FAIL][84] ([Intel XE#4227] / [Intel XE#7397]) +1 other test fail
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-ptl-2/igt@kms_vrr@flip-basic.html
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-2/igt@kms_vrr@flip-basic.html

  * igt@sriov_basic@pf-unbind-with-vfs-enabled-numvfs-all:
    - shard-lnl:          NOTRUN -> [SKIP][85] ([Intel XE#8866])
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@sriov_basic@pf-unbind-with-vfs-enabled-numvfs-all.html

  * igt@xe_err_injection@inject_core_compute_corr_error_once:
    - shard-bmg:          NOTRUN -> [SKIP][86] ([Intel XE#9769])
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_err_injection@inject_core_compute_corr_error_once.html

  * igt@xe_evict@evict-small-multi-queue:
    - shard-bmg:          NOTRUN -> [SKIP][87] ([Intel XE#8370])
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_evict@evict-small-multi-queue.html

  * igt@xe_evict@evict-threads-small:
    - shard-lnl:          NOTRUN -> [SKIP][88] ([Intel XE#6540] / [Intel XE#688]) +2 other tests skip
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_evict@evict-threads-small.html

  * igt@xe_exec_balancer@many-execqueues-parallel-userptr-invalidate:
    - shard-lnl:          NOTRUN -> [SKIP][89] ([Intel XE#7482]) +3 other tests skip
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_exec_balancer@many-execqueues-parallel-userptr-invalidate.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate:
    - shard-bmg:          NOTRUN -> [SKIP][90] ([Intel XE#2322] / [Intel XE#7372]) +6 other tests skip
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate.html

  * igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-rebind:
    - shard-lnl:          NOTRUN -> [SKIP][91] ([Intel XE#1392]) +1 other test skip
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-rebind.html

  * igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-race-prefetch:
    - shard-lnl:          NOTRUN -> [SKIP][92] ([Intel XE#8374]) +2 other tests skip
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-race-prefetch.html

  * igt@xe_exec_fault_mode@twice-multi-queue-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][93] ([Intel XE#8374]) +2 other tests skip
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_exec_fault_mode@twice-multi-queue-rebind.html

  * igt@xe_exec_multi_queue@few-execs-close-fd-smem:
    - shard-lnl:          NOTRUN -> [SKIP][94] ([Intel XE#8364]) +7 other tests skip
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_exec_multi_queue@few-execs-close-fd-smem.html

  * igt@xe_exec_multi_queue@many-execs-preempt-mode-close-fd:
    - shard-bmg:          NOTRUN -> [SKIP][95] ([Intel XE#8364]) +17 other tests skip
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-1/igt@xe_exec_multi_queue@many-execs-preempt-mode-close-fd.html

  * igt@xe_exec_multi_queue@one-queue-userptr:
    - shard-ptl:          NOTRUN -> [SKIP][96] ([Intel XE#8364])
   [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@xe_exec_multi_queue@one-queue-userptr.html

  * igt@xe_exec_reset@multi-queue-long-spin-reuse-many-queue-switch:
    - shard-bmg:          NOTRUN -> [SKIP][97] ([Intel XE#8369])
   [97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-6/igt@xe_exec_reset@multi-queue-long-spin-reuse-many-queue-switch.html

  * igt@xe_exec_threads@threads-multi-queue-mixed-many-groups-priority:
    - shard-bmg:          NOTRUN -> [SKIP][98] ([Intel XE#8780])
   [98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-7/igt@xe_exec_threads@threads-multi-queue-mixed-many-groups-priority.html

  * igt@xe_exec_threads@threads-multi-queue-mixed-userptr:
    - shard-lnl:          NOTRUN -> [SKIP][99] ([Intel XE#8378])
   [99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_exec_threads@threads-multi-queue-mixed-userptr.html

  * igt@xe_exec_threads@threads-multi-queue-userptr-invalidate-race:
    - shard-bmg:          NOTRUN -> [SKIP][100] ([Intel XE#8378])
   [100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_exec_threads@threads-multi-queue-userptr-invalidate-race.html

  * igt@xe_fault_injection@inject-fault-probe-function-xe_ggtt_init_early:
    - shard-bmg:          [PASS][101] -> [ABORT][102] ([Intel XE#9841]) +2 other tests abort
   [101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-8/igt@xe_fault_injection@inject-fault-probe-function-xe_ggtt_init_early.html
   [102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-10/igt@xe_fault_injection@inject-fault-probe-function-xe_ggtt_init_early.html

  * igt@xe_mmap@small-bar:
    - shard-bmg:          NOTRUN -> [SKIP][103] ([Intel XE#586] / [Intel XE#7323] / [Intel XE#7384])
   [103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@xe_mmap@small-bar.html

  * igt@xe_multigpu_svm@mgpu-concurrent-access-prefetch:
    - shard-lnl:          NOTRUN -> [SKIP][104] ([Intel XE#6964])
   [104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_multigpu_svm@mgpu-concurrent-access-prefetch.html

  * igt@xe_multigpu_svm@mgpu-pagefault-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][105] ([Intel XE#6964]) +4 other tests skip
   [105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_multigpu_svm@mgpu-pagefault-prefetch.html

  * igt@xe_multigpu_svm@mgpu-xgpu-access-basic:
    - shard-ptl:          NOTRUN -> [SKIP][106] ([Intel XE#6964])
   [106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@xe_multigpu_svm@mgpu-xgpu-access-basic.html

  * igt@xe_page_reclaim@binds-full-pd:
    - shard-bmg:          NOTRUN -> [SKIP][107] ([Intel XE#7793])
   [107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@xe_page_reclaim@binds-full-pd.html

  * igt@xe_page_reclaim@pde-vs-pd:
    - shard-lnl:          NOTRUN -> [SKIP][108] ([Intel XE#7793])
   [108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_page_reclaim@pde-vs-pd.html

  * igt@xe_pm@d3cold-mmap-vram:
    - shard-lnl:          NOTRUN -> [SKIP][109] ([Intel XE#2284] / [Intel XE#366] / [Intel XE#7370])
   [109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_pm@d3cold-mmap-vram.html

  * igt@xe_pm@s4-mocs:
    - shard-ptl:          [PASS][110] -> [ABORT][111] ([Intel XE#9362])
   [110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-ptl-4/igt@xe_pm@s4-mocs.html
   [111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-5/igt@xe_pm@s4-mocs.html

  * igt@xe_pm@s4-multiple-execs:
    - shard-bmg:          NOTRUN -> [ABORT][112] ([Intel XE#9399])
   [112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-1/igt@xe_pm@s4-multiple-execs.html

  * igt@xe_pm@s4-vm-bind-userptr:
    - shard-lnl:          [PASS][113] -> [ABORT][114] ([Intel XE#9362]) +1 other test abort
   [113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-lnl-7/igt@xe_pm@s4-vm-bind-userptr.html
   [114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-6/igt@xe_pm@s4-vm-bind-userptr.html

  * igt@xe_pm_residency@gt-c6-freeze@gt0:
    - shard-bmg:          [PASS][115] -> [FAIL][116] ([Intel XE#9254])
   [115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-5/igt@xe_pm_residency@gt-c6-freeze@gt0.html
   [116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-10/igt@xe_pm_residency@gt-c6-freeze@gt0.html

  * igt@xe_pxp@pxp-stale-bo-bind-post-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][117] ([Intel XE#4733] / [Intel XE#7417])
   [117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-1/igt@xe_pxp@pxp-stale-bo-bind-post-suspend.html

  * igt@xe_query@multigpu-query-invalid-uc-fw-version-mbz:
    - shard-bmg:          NOTRUN -> [SKIP][118] ([Intel XE#944])
   [118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_query@multigpu-query-invalid-uc-fw-version-mbz.html

  * igt@xe_query@multigpu-query-pxp-status:
    - shard-lnl:          NOTRUN -> [SKIP][119] ([Intel XE#944])
   [119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_query@multigpu-query-pxp-status.html

  * igt@xe_ras@gpu-health:
    - shard-bmg:          NOTRUN -> [SKIP][120] ([Intel XE#9588])
   [120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_ras@gpu-health.html

  * igt@xe_sriov_auto_provisioning@exclusive-ranges:
    - shard-lnl:          NOTRUN -> [SKIP][121] ([Intel XE#4130] / [Intel XE#7366])
   [121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_sriov_auto_provisioning@exclusive-ranges.html

  * igt@xe_wedged@cold-reset-wedged:
    - shard-bmg:          NOTRUN -> [SKIP][122] ([Intel XE#9747])
   [122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_wedged@cold-reset-wedged.html

  
#### Possible fixes ####

  * igt@kms_async_flips@alternate-sync-async-flip-atomic:
    - shard-bmg:          [FAIL][123] ([Intel XE#3718] / [Intel XE#6078]) -> [PASS][124]
   [123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-3/igt@kms_async_flips@alternate-sync-async-flip-atomic.html
   [124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-7/igt@kms_async_flips@alternate-sync-async-flip-atomic.html

  * igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
    - shard-bmg:          [INCOMPLETE][125] ([Intel XE#7084] / [Intel XE#8150]) -> [PASS][126] +1 other test pass
   [125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-8/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html
   [126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-3/igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs.html

  * igt@kms_flip@flip-vs-expired-vblank@a-edp1:
    - shard-lnl:          [FAIL][127] ([Intel XE#301]) -> [PASS][128]
   [127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
   [128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html

  * igt@kms_force_connector_basic@prune-stale-modes:
    - shard-ptl:          [SKIP][129] ([Intel XE#352]) -> [PASS][130] +1 other test pass
   [129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-ptl-1/igt@kms_force_connector_basic@prune-stale-modes.html
   [130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-1/igt@kms_force_connector_basic@prune-stale-modes.html

  * igt@kms_vrr@flip-dpms@pipe-a-edp-1:
    - shard-ptl:          [FAIL][131] ([Intel XE#4227] / [Intel XE#7397]) -> [PASS][132] +1 other test pass
   [131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-ptl-6/igt@kms_vrr@flip-dpms@pipe-a-edp-1.html
   [132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-8/igt@kms_vrr@flip-dpms@pipe-a-edp-1.html

  * igt@xe_fault_injection@inject-fault-probe-function-xe_guc_log_init:
    - shard-bmg:          [ABORT][133] ([Intel XE#9841]) -> [PASS][134]
   [133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-6/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_log_init.html
   [134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-5/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_log_init.html

  * igt@xe_pm@s4-basic-exec:
    - shard-ptl:          [DMESG-WARN][135] ([Intel XE#7727]) -> [PASS][136]
   [135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-ptl-5/igt@xe_pm@s4-basic-exec.html
   [136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-ptl-4/igt@xe_pm@s4-basic-exec.html

  * igt@xe_pm@s4-multiple-execs:
    - shard-lnl:          [ABORT][137] ([Intel XE#9362]) -> [PASS][138]
   [137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-lnl-5/igt@xe_pm@s4-multiple-execs.html
   [138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-8/igt@xe_pm@s4-multiple-execs.html

  * igt@xe_pm_residency@gt-c6-freeze@gt1:
    - shard-bmg:          [FAIL][139] ([Intel XE#9254]) -> [PASS][140]
   [139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-5/igt@xe_pm_residency@gt-c6-freeze@gt1.html
   [140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-10/igt@xe_pm_residency@gt-c6-freeze@gt1.html

  
#### Warnings ####

  * igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
    - shard-lnl:          [SKIP][141] ([Intel XE#309] / [Intel XE#7343] / [Intel XE#7935]) -> [SKIP][142] ([Intel XE#309] / [Intel XE#7343])
   [141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-lnl-8/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html
   [142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-6/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html

  * igt@kms_flip@flip-vs-expired-vblank:
    - shard-lnl:          [FAIL][143] ([Intel XE#301]) -> [FAIL][144] ([Intel XE#301] / [Intel XE#3149])
   [143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank.html
   [144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank.html

  * igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add:
    - shard-bmg:          [ABORT][145] ([Intel XE#9841]) -> [SKIP][146] ([Intel XE#6281] / [Intel XE#7426])
   [145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e/shard-bmg-6/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
   [146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/shard-bmg-9/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1138
  [Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
  [Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
  [Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
  [Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
  [Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
  [Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
  [Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
  [Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
  [Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
  [Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
  [Intel XE#3658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3658
  [Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
  [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
  [Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
  [Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
  [Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#5408]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5408
  [Intel XE#5812]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5812
  [Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
  [Intel XE#5835]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5835
  [Intel XE#5854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5854
  [Intel XE#586]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/586
  [Intel XE#6035]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6035
  [Intel XE#607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/607
  [Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
  [Intel XE#6266]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6266
  [Intel XE#6281]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6281
  [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6814
  [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
  [Intel XE#6900]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6900
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#6969]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6969
  [Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
  [Intel XE#7323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7323
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
  [Intel XE#7344]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7344
  [Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
  [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
  [Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
  [Intel XE#7360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7360
  [Intel XE#7361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7361
  [Intel XE#7362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7362
  [Intel XE#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366
  [Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
  [Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
  [Intel XE#7384]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7384
  [Intel XE#7397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7397
  [Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
  [Intel XE#7426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7426
  [Intel XE#7428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7428
  [Intel XE#7442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7442
  [Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
  [Intel XE#7727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7727
  [Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
  [Intel XE#7795]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7795
  [Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
  [Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
  [Intel XE#7935]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7935
  [Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
  [Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
  [Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
  [Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
  [Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
  [Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
  [Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
  [Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
  [Intel XE#8780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8780
  [Intel XE#8866]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8866
  [Intel XE#9142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9142
  [Intel XE#9254]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9254
  [Intel XE#9287]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9287
  [Intel XE#9346]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9346
  [Intel XE#9362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9362
  [Intel XE#9399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9399
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
  [Intel XE#9532]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9532
  [Intel XE#9588]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9588
  [Intel XE#9721]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9721
  [Intel XE#9747]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9747
  [Intel XE#9769]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9769
  [Intel XE#9779]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9779
  [Intel XE#9780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9780
  [Intel XE#9841]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9841


Build changes
-------------

  * Linux: xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e -> xe-pw-173066v5

  IGT_9204: 52e9317c945f97f29fbec75be29280fc7b00cf32 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-6236-01f73ffa8189526c8c33d591371ea89803fa6e2e: 01f73ffa8189526c8c33d591371ea89803fa6e2e
  xe-pw-173066v5: 173066v5

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-173066v5/index.html

[-- Attachment #2: Type: text/html, Size: 55707 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v5 1/2] drm/ras: Add retired-pages node type
  2026-11-25 19:02 ` [PATCH v5 1/2] drm/ras: Add retired-pages node type Rodrigo Vivi
  2026-11-25 23:46   ` Zack McKevitt
@ 2026-11-27  7:16   ` Tauro, Riana
  2026-11-27 18:03     ` Rodrigo Vivi
  1 sibling, 1 reply; 12+ messages in thread
From: Tauro, Riana @ 2026-11-27  7:16 UTC (permalink / raw)
  To: Rodrigo Vivi, dri-devel
  Cc: intel-xe, Aravind Iddamsetty, Jakub Kicinski, Raag Jadav,
	Zack McKevitt, Jeff Hugo, Upadhyay, Tejas


On 26-11-2026 00:32, Rodrigo Vivi wrote:
> From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
>
> Add a retired-pages node type to drm-ras so drivers can report the
> memory pages they have taken out of service, with two operations:
>
>   - get-retired-pages: dump one entry per page with its address, size
>     and status (retired, pending or failed). The dump is flagged with
>     NLM_F_DUMP_INTR if the list changes while it is read.
>   - get-retired-pages-info: return the maximum number of pages that can
>     be retired.
>
> v3 (Rodrigo+LLM):
>   - Split the drm-ras core from the xe user.
>   - Flatten the page attributes and name the node type retired-pages
>     instead of retired-resources, avoiding the over-wrapping
>     anti-pattern pointed out by Jakub: the type-specific nest and the
>     resource-type enum are gone.
>   - Use uint for address, size and max-pages, no pad (Jakub).
>   - Start the status enum at 1.
>   - Move max-pages to its own do operation instead of a leading dump
>     entry.
>   - Set NLM_F_DUMP_INTR from a driver generation counter.
>   - Report unknown node IDs with NL_SET_BAD_ATTR.
>   - Removed deprecated Assisted-by tag.
>
> v4 (Rodrigo+LLM):
>   - Check the dump consistency once a page message is filled (Sashiko),
>     and on the final NLMSG_DONE (local Sashiko), so NLM_F_DUMP_INTR is
>     not lost.
>   - Make the error-counter operations reject other node types (Sashiko).
>   - Hold a node reference in the new handlers (local Sashiko).
>   - Rebase on the telemetry node type, moving the type check of its
>     handlers into drm_ras_node_get().
>
> v5 (Rodrigo+LLM):
>   - Split the node and callback checks in the clear-error-counter doit,
>     and write the new handlers like the error-counter ones, with
>     put_node labels and an inline dump loop, for consistency (Riana).
>   - Drop node-id from the dump entries (Riana).
CC: Tejas
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Cc: Raag Jadav <raag.jadav@intel.com>
> Cc: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> Cc: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
> Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
>   Documentation/netlink/specs/drm_ras.yaml |  73 +++++++-
>   drivers/gpu/drm/drm_ras.c                | 228 +++++++++++++++++++++--
>   drivers/gpu/drm/drm_ras_nl.c             |  24 +++
>   drivers/gpu/drm/drm_ras_nl.h             |   4 +
>   include/drm/drm_ras.h                    |  49 +++++
>   include/uapi/drm/drm_ras.h               |  31 ++-
>   6 files changed, 385 insertions(+), 24 deletions(-)
>
> diff --git a/Documentation/netlink/specs/drm_ras.yaml b/Documentation/netlink/specs/drm_ras.yaml
> index 0f1ceb705d3d..c217e52197e6 100644
> --- a/Documentation/netlink/specs/drm_ras.yaml
> +++ b/Documentation/netlink/specs/drm_ras.yaml
> @@ -16,16 +16,28 @@ definitions:
>       type: enum
>       name: node-type
>       value-start: 1
> -    entries: [error-counter, telemetry]
> +    entries: [error-counter, telemetry, retired-pages]
>       doc: >-
>            Type of the node. The error-counter nodes expose reliability counters
> -         for a hardware/software component, and telemetry nodes expose an
> -         interface for reading and writing telemetry values to a device.
> +         for a hardware/software component, telemetry nodes expose an
> +         interface for reading and writing telemetry values to a device, and
> +         retired-pages nodes list the memory pages that have been taken out
> +         of service.
>     -
>       type: flags
>       name: telemetry-field-mode
>       entries: [read, write]
>       doc: Bitmask of access modes supported by a telemetry field.
> +  -
> +    type: enum
> +    name: retired-page-status
> +    value-start: 1
> +    entries: [retired, pending, failed]
> +    doc: >-
> +         Status of a retired page. retired means the page is reserved and out
> +         of service; pending means the retirement is queued but the
> +         reservation is not complete yet; failed means the reservation failed
> +         and the page may still be in use.

YNL allows per enum member description and would also put the description
in the uapi header next to each member which would be cleaner

>   
>   attribute-sets:
>     -
> @@ -140,6 +152,30 @@ attribute-sets:
>           doc: >-
>                Bitmask of access modes (read/write) supported by the
>                telemetry field.
> +  -
> +    name: retired-page-attrs
> +    attributes:
> +      -
> +        name: node-id
> +        type: u32
> +        doc: Node ID targeted by this retired pages operation.
> +      -
> +        name: address
> +        type: uint
> +        doc: Device address of the retired page.
> +      -
> +        name: size
> +        type: uint
> +        doc: Size of the retired page in bytes.
> +      -
> +        name: status
> +        type: u32
> +        doc: Retirement status of the page.
> +        enum: retired-page-status
> +      -
> +        name: max-pages
> +        type: uint
> +        doc: Maximum number of pages that can be retired on this node.

Nit: 'on this node' can be removed since it only defines attributes here.

>   
>   operations:
>     list:
> @@ -287,6 +323,37 @@ operations:
>               - field
>               - field-name
>               - mode
> +    -
> +      name: get-retired-pages
> +      doc: >-
> +           Retrieve the pages retired on a retired-pages node, one entry per
> +           page. The dump is flagged as interrupted if the list changes while
> +           it is being read.
> +      attribute-set: retired-page-attrs
> +      flags: [admin-perm]

Do we need admin permission for this?

> +      dump:
> +        request:
> +          attributes:
> +            - node-id
> +        reply:
> +          attributes:
> +            - address
> +            - size
> +            - status
> +    -
> +      name: get-retired-pages-info
> +      doc: >-
> +           Retrieve the retired page limits of a retired-pages node.

Nit: %s/limits/info. Would allow other drivers to add additional 
attributes if required.

> +      attribute-set: retired-page-attrs
> +      flags: [admin-perm]

Same.

> +      do:
> +        request:
> +          attributes:
> +            - node-id
> +        reply:
> +          attributes:
> +            - node-id

Why do we need node-id for this response?

> +            - max-pages
>   
>   mcast-groups:
>     list:
> diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
> index 82fcc766b84b..26505a7e4f0f 100644
> --- a/drivers/gpu/drm/drm_ras.c
> +++ b/drivers/gpu/drm/drm_ras.c
> @@ -69,6 +69,14 @@
>    *     Each field contains the uAPI defined enum string, its numerical value,
>    *     and its mode bitmask, which encodes read/write capabilities.
>    *
> + * 11. GET_RETIRED_PAGES: Dump the retired pages of a given node.
> + *     Userspace must provide Node ID.
> + *     Returns one entry per page with its address, size and status.
> + *
> + * 12. GET_RETIRED_PAGES_INFO: Get the retired page limits of a given node.
> + *     Userspace must provide Node ID.
> + *     Returns the maximum number of pages that can be retired.
> + *
>    * Node registration:
>    *
>    * - drm_ras_node_register(): Registers a new node and assigns
> @@ -121,6 +129,13 @@
>    *     + The driver can optionally provide a pre_doit callback, telemetry_pre(),
>    *       to enforce permissions checks on telemetry operations.
>    *
> + * - RETIRED_PAGES:
> + *     + The driver must implement the query_retired_page() callback, returning
> + *       the retired page with the lowest address at or above a cursor, and
> + *       -ENOENT when there is none.
> + *     + The driver can implement query_retired_pages_info() to report the
> + *       maximum number of pages that can be retired.
> + *
>    * Netlink handlers:
>    *
>    * - drm_ras_nl_list_nodes_dumpit(): Implements the LIST_NODES
> @@ -147,6 +162,10 @@
>    * - drm_ras_nl_telemetry_list_fields_dumpit(): Implements the TELEMETRY_LIST_FIELDS
>    *   dumpit operation, enumerating all telemetry fields and their supported
>    *   access modes for a telemetry node.
> + * - drm_ras_nl_get_retired_pages_dumpit(): Implements the GET_RETIRED_PAGES dumpit
> + *   operation, listing the retired pages of a specific node.
> + * - drm_ras_nl_get_retired_pages_info_doit(): Implements the GET_RETIRED_PAGES_INFO
> + *   doit operation, fetching the retired page limits of a specific node.
>    */
>   
>   static DEFINE_XARRAY_ALLOC(drm_ras_xa);
> @@ -162,6 +181,8 @@ struct drm_ras_ctx {
>   	unsigned long restart;
>   	/* Node targeted by a telemetry get/set doit */
>   	struct drm_ras_node *node;
> +	/* Which retired page address to restart the dump from */
> +	u64 cursor;
>   };
>   
>   static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
> @@ -169,6 +190,7 @@ static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
>   /**
>    * drm_ras_node_get() - Look up a RAS node by ID and take a reference
>    * @node_id: ID of the node to look up
> + * @type: Expected type of the node
>    *
>    * Looks the node up in the global xarray and, if found, takes a reference to
>    * it so that it cannot be freed while the caller is using it. The lookup and
> @@ -179,16 +201,19 @@ static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
>    *
>    * The caller must drop the returned reference with drm_ras_node_put().
>    *
> - * Return: the referenced node, or NULL if no node with @node_id is registered.
> + * Return: the referenced node, or NULL if no node of @type with @node_id is
> + * registered.
>    */
> -static struct drm_ras_node *drm_ras_node_get(u32 node_id)
> +static struct drm_ras_node *drm_ras_node_get(u32 node_id, enum drm_ras_node_type type)

Can you please split this into its own patch. Making the node-get type aware
makes changes to existing code paths and is not specific to retired pages.
We can have this part of the same series but as a different patch.

>   {
>   	struct drm_ras_node *node;
>   
>   	xa_lock(&drm_ras_xa);
>   	node = xa_load(&drm_ras_xa, node_id);
> -	if (node)
> +	if (node && node->type == type)
>   		refcount_inc(&node->ref);
> +	else
> +		node = NULL;
>   	xa_unlock(&drm_ras_xa);
>   
>   	return node;
> @@ -412,7 +437,7 @@ static int doit_reply_value(struct genl_info *info, u32 node_id,
>   	u32 value;
>   	int ret;
>   
> -	node = drm_ras_node_get(node_id);
> +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
>   	if (!node)
>   		return -ENOENT;
>   
> @@ -461,7 +486,7 @@ static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_i
>   	u32 threshold;
>   	int ret;
>   
> -	node = drm_ras_node_get(node_id);
> +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
>   	if (!node)
>   		return -ENOENT;
>   
> @@ -603,7 +628,7 @@ int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
>   
>   	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
>   
> -	node = drm_ras_node_get(node_id);
> +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
>   	if (!node)
>   		return -ENOENT;
>   
> @@ -699,20 +724,24 @@ int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
>   	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]);
>   
> -	node = drm_ras_node_get(node_id);
> -	if (!node || !node->clear_error_counter) {
> -		drm_ras_node_put(node);
> +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
> +	if (!node)
>   		return -ENOENT;
> +
> +	if (!node->clear_error_counter) {
> +		ret = -ENOENT;
> +		goto put_node;
>   	}
>   
>   	if (error_id < node->error_counter_range.first ||
>   	    error_id > node->error_counter_range.last) {
> -		drm_ras_node_put(node);
> -		return -EINVAL;
> +		ret = -EINVAL;
> +		goto put_node;
>   	}
>   
>   	ret = node->clear_error_counter(node, error_id);
>   
> +put_node:
>   	drm_ras_node_put(node);
>   
>   	return ret;
> @@ -770,7 +799,7 @@ int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
>   	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]);
>   
> -	node = drm_ras_node_get(node_id);
> +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
>   	if (!node)
>   		return -ENOENT;
>   
> @@ -781,6 +810,166 @@ int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
>   	return ret;
>   }
>   
> +static struct drm_ras_node *get_retired_pages_node(const struct genl_info *info)
> +{
> +	struct nlattr *attr = info->attrs[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID];
> +	struct drm_ras_node *node;
> +
> +	node = drm_ras_node_get(nla_get_u32(attr), DRM_RAS_NODE_TYPE_RETIRED_PAGES);
> +	if (!node)
> +		NL_SET_BAD_ATTR(info->extack, attr);
> +
> +	return node;
> +}
> +
> +static int msg_put_retired_page(struct sk_buff *msg,
> +				const struct drm_ras_retired_page *page)
> +{
> +	int ret;
> +
> +	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_ADDRESS, page->address);
> +	if (ret)
> +		return ret;
> +
> +	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_SIZE, page->size);
> +	if (ret)
> +		return ret;
> +
> +	return nla_put_u32(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_STATUS, page->status);
> +}
> +
> +/**
> + * drm_ras_nl_get_retired_pages_dumpit() - Dump the retired pages of a node
> + * @skb: Netlink message buffer
> + * @cb: Callback context for multi-part dumps
> + *
> + * Appends one message per retired page, in increasing address order. The
> + * dump resumes from the next address after a buffer overflow, and is flagged
> + * with %NLM_F_DUMP_INTR if the list changed between messages.
> + *
> + * Return: 0 if all pages fit in @skb, -EMSGSIZE if the buffer filled up
> + *         (requires multi-part continuation), or a negative error code on
> + *         failure.
> + */
> +int drm_ras_nl_get_retired_pages_dumpit(struct sk_buff *skb,
> +					struct netlink_callback *cb)

Since the function changes. Have reviewed the github.
In v6, can you please make changes to this patch instead of a third 
patch since the entire
implementation changes. Its tough to review the third patch only from 
github.

> +{
> +	const struct genl_info *info = genl_info_dump(cb);
> +	struct drm_ras_ctx *ctx = (void *)cb->ctx;
> +	struct drm_ras_retired_page page;
> +	struct drm_ras_node *node;
> +	void *hdr;
> +	int ret;
> +
> +	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID))
> +		return -EINVAL;
> +
> +	node = get_retired_pages_node(info);
> +	if (!node)
> +		return -ENOENT;
> +
> +	for (;;) {
> +		ret = node->query_retired_page(node, ctx->cursor, &page);
> +		if (ret && ret != -ENOENT)
> +			break;
> +
> +		/* Never zero, so the first message is checked as well */
> +		cb->seq = page.generation + 1;
> +		if (ret == -ENOENT) {
> +			ret = 0;
> +			break;
> +		}
> +
> +		hdr = genlmsg_iput(skb, info);
> +		if (!hdr) {
> +			ret = -EMSGSIZE;
> +			break;
> +		}
> +
> +		ret = msg_put_retired_page(skb, &page);
> +		if (ret) {
> +			genlmsg_cancel(skb, hdr);
> +			break;
> +		}
> +
> +		genl_dump_check_consistent(cb, hdr);
> +
> +		genlmsg_end(skb, hdr);
> +		ctx->cursor = page.address + 1;
> +	}
> +
> +	drm_ras_node_put(node);
> +
> +	return ret;
> +}
> +
> +/**
> + * drm_ras_nl_get_retired_pages_info_doit() - Query the retired page limits of a node
> + * @skb: Netlink message buffer
> + * @info: Generic Netlink info containing attributes of the request
> + *
> + * Return: 0 on success, or negative errno on failure.
> + */
> +int drm_ras_nl_get_retired_pages_info_doit(struct sk_buff *skb,
> +					   struct genl_info *info)
> +{
> +	struct drm_ras_node *node;
> +	struct sk_buff *msg;
> +	u64 max_pages;
> +	void *hdr;

Rest of the file uses nlattr

> +	int ret;
> +
> +	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID))
> +		return -EINVAL;
> +
> +	node = get_retired_pages_node(info);
> +	if (!node)
> +		return -ENOENT;
> +
> +	if (!node->query_retired_pages_info) {
> +		ret = -EOPNOTSUPP;
> +		goto put_node;
> +	}
> +
> +	ret = node->query_retired_pages_info(node, &max_pages);
> +	if (ret)
> +		goto put_node;
> +
> +	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
> +	if (!msg) {
> +		ret = -ENOMEM;
> +		goto put_node;
> +	}
> +
> +	hdr = genlmsg_iput(msg, info);
> +	if (!hdr) {
> +		ret = -EMSGSIZE;
> +		goto free_msg;
> +	}
> +
> +	ret = nla_put_u32(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID, node->id);
> +	if (ret)
> +		goto cancel_msg;
> +
> +	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX_PAGES, max_pages);
> +	if (ret)
> +		goto cancel_msg;
> +
> +	genlmsg_end(msg, hdr);
> +
> +	drm_ras_node_put(node);
> +
> +	return genlmsg_reply(msg, info);
> +
> +cancel_msg:
> +	genlmsg_cancel(msg, hdr);
> +free_msg:
> +	nlmsg_free(msg);
> +put_node:
> +	drm_ras_node_put(node);
> +	return ret;
> +}
> +
>   /**
>    * drm_ras_nl_pre_telemetry - Look up the telemetry node and enforce permissions
>    * @ops: Generic netlink operations
> @@ -808,10 +997,9 @@ int drm_ras_nl_pre_telemetry(const struct genl_split_ops *ops, struct sk_buff *s
>   		return -EINVAL;
>   
>   	node_id = nla_get_u32(info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
> -	node = drm_ras_node_get(node_id);
> -	if (!node || node->type != DRM_RAS_NODE_TYPE_TELEMETRY) {
> +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_TELEMETRY);
> +	if (!node) {
>   		NL_SET_BAD_ATTR(info->extack, info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
> -		drm_ras_node_put(node);
>   		return -ENOENT;
>   	}
>   
> @@ -892,10 +1080,9 @@ int drm_ras_nl_telemetry_list_fields_dumpit(struct sk_buff *skb, struct netlink_
>   
>   	node_id = nla_get_u32(info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
>   
> -	node = drm_ras_node_get(node_id);
> -	if (!node || node->type != DRM_RAS_NODE_TYPE_TELEMETRY) {
> +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_TELEMETRY);
> +	if (!node) {
>   		NL_SET_BAD_ATTR(info->extack, info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
> -		drm_ras_node_put(node);
>   		return -ENOENT;
>   	}
>   
> @@ -1100,7 +1287,6 @@ int drm_ras_node_register(struct drm_ras_node *node)
>   	if (!node->device_name || !node->node_name)
>   		return -EINVAL;
>   
> -	/* Currently, only Error Counter and Telemetry endpoints are supported */
>   	switch (node->type) {
>   	case DRM_RAS_NODE_TYPE_ERROR_COUNTER:
>   		/* Mandatory entries for Error Counter Node */
> @@ -1112,6 +1298,10 @@ int drm_ras_node_register(struct drm_ras_node *node)
>   		if (!node->telemetry_get || !node->telemetry_fields)
>   			return -EINVAL;
>   		break;
> +	case DRM_RAS_NODE_TYPE_RETIRED_PAGES:
> +		if (!node->query_retired_page)
> +			return -EINVAL;
> +		break;
>   	default:
>   		return -EINVAL;
>   	}
> diff --git a/drivers/gpu/drm/drm_ras_nl.c b/drivers/gpu/drm/drm_ras_nl.c
> index 589c6445eff7..c56220205876 100644
> --- a/drivers/gpu/drm/drm_ras_nl.c
> +++ b/drivers/gpu/drm/drm_ras_nl.c
> @@ -59,6 +59,16 @@ static const struct nla_policy drm_ras_telemetry_list_fields_nl_policy[DRM_RAS_A
>   	[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID] = { .type = NLA_U32, },
>   };
>   
> +/* DRM_RAS_CMD_GET_RETIRED_PAGES - dump */
> +static const struct nla_policy drm_ras_get_retired_pages_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {
> +	[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID] = { .type = NLA_U32, },
> +};
> +
> +/* DRM_RAS_CMD_GET_RETIRED_PAGES_INFO - do */
> +static const struct nla_policy drm_ras_get_retired_pages_info_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {
> +	[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID] = { .type = NLA_U32, },
> +};
> +
>   /* Ops table for drm_ras */
>   static const struct genl_split_ops drm_ras_nl_ops[] = {
>   	{
> @@ -126,6 +136,20 @@ static const struct genl_split_ops drm_ras_nl_ops[] = {
>   		.maxattr	= DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID,
>   		.flags		= GENL_CMD_CAP_DUMP,
>   	},
> +	{
> +		.cmd		= DRM_RAS_CMD_GET_RETIRED_PAGES,
> +		.dumpit		= drm_ras_nl_get_retired_pages_dumpit,
> +		.policy		= drm_ras_get_retired_pages_nl_policy,
> +		.maxattr	= DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID,
> +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
> +	},
> +	{
> +		.cmd		= DRM_RAS_CMD_GET_RETIRED_PAGES_INFO,
> +		.doit		= drm_ras_nl_get_retired_pages_info_doit,
> +		.policy		= drm_ras_get_retired_pages_info_nl_policy,
> +		.maxattr	= DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID,
> +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
> +	},
>   };
>   
>   static const struct genl_multicast_group drm_ras_nl_mcgrps[] = {
> diff --git a/drivers/gpu/drm/drm_ras_nl.h b/drivers/gpu/drm/drm_ras_nl.h
> index 7a1cba70fd50..880b0c2befe3 100644
> --- a/drivers/gpu/drm/drm_ras_nl.h
> +++ b/drivers/gpu/drm/drm_ras_nl.h
> @@ -34,6 +34,10 @@ int drm_ras_nl_telemetry_get_doit(struct sk_buff *skb, struct genl_info *info);
>   int drm_ras_nl_telemetry_set_doit(struct sk_buff *skb, struct genl_info *info);
>   int drm_ras_nl_telemetry_list_fields_dumpit(struct sk_buff *skb,
>   					    struct netlink_callback *cb);
> +int drm_ras_nl_get_retired_pages_dumpit(struct sk_buff *skb,
> +					struct netlink_callback *cb);
> +int drm_ras_nl_get_retired_pages_info_doit(struct sk_buff *skb,
> +					   struct genl_info *info);
>   
>   enum {
>   	DRM_RAS_NLGRP_ERROR_REPORT,
> diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
> index 76bdcc6f96a5..5c3900a53278 100644
> --- a/include/drm/drm_ras.h
> +++ b/include/drm/drm_ras.h
> @@ -28,6 +28,23 @@ struct drm_ras_telemetry_field {
>   	u32 mode;
>   };
>   
> +/**
> + * struct drm_ras_retired_page - A retired page reported by a driver
> + */
> +struct drm_ras_retired_page {
> +	/** @address: Device address of the page. */
> +	u64 address;
> +	/** @size: Size of the page in bytes. */
> +	u64 size;
> +	/** @status: Retirement status (enum drm_ras_retired_page_status). */
> +	enum drm_ras_retired_page_status status;
> +	/**
> +	 * @generation: Generation of the retired page list, changed by the
> +	 * driver whenever a page is added, removed or changes status.
> +	 */
> +	u32 generation;
> +};
> +
>   /**
>    * struct drm_ras_node - A DRM RAS Node
>    */
> @@ -184,6 +201,38 @@ struct drm_ras_node {
>   	int (*telemetry_set)(struct drm_ras_node *ep, u64 *field, s64 *value,
>   			     s64 *status);
>   
> +	/* Retired-Pages Related Callbacks */
> +
> +	/**
> +	 * @query_retired_page:
> +	 *
> +	 * This callback is used by drm-ras to list the retired pages of a node.
> +	 * It must fill @page with the retired page that has the lowest address
> +	 * greater than or equal to @cursor. @page->generation must be set even
> +	 * when no page is found.
> +	 *
> +	 * The @query_retired_page is a mandatory callback for
> +	 * retired_pages_node.
> +	 *
> +	 * Returns: 0 on success,
> +	 *          -ENOENT when no page is at or above @cursor, which ends the
> +	 *                  list.
> +	 *          Other negative values on errors that should terminate the
> +	 *          netlink query.
> +	 */
> +	int (*query_retired_page)(struct drm_ras_node *node, u64 cursor,
> +				  struct drm_ras_retired_page *page);
> +
> +	/**
> +	 * @query_retired_pages_info:
> +	 *
> +	 * This callback is used by drm-ras to query the maximum number of pages

query the info.  The parameter also should be a generic struct instead 
of max pages if
any other driver wants to add extra parameters.

Thanks
Riana


> +	 * that can be retired on a node.
> +	 *
> +	 * Returns: 0 on success, negative error code on failure.
> +	 */
> +	int (*query_retired_pages_info)(struct drm_ras_node *node, u64 *max_pages);
> +
>   	/** @priv: Driver private data */
>   	void *priv;
>   
> diff --git a/include/uapi/drm/drm_ras.h b/include/uapi/drm/drm_ras.h
> index 56e0588af5d5..e7f2da18cc4c 100644
> --- a/include/uapi/drm/drm_ras.h
> +++ b/include/uapi/drm/drm_ras.h
> @@ -12,12 +12,14 @@
>   
>   /*
>    * Type of the node. The error-counter nodes expose reliability counters for a
> - * hardware/software component, and telemetry nodes expose an interface for
> - * reading and writing telemetry values to a device.
> + * hardware/software component, telemetry nodes expose an interface for reading
> + * and writing telemetry values to a device, and retired-pages nodes list the
> + * memory pages that have been taken out of service.
>    */
>   enum drm_ras_node_type {
>   	DRM_RAS_NODE_TYPE_ERROR_COUNTER = 1,
>   	DRM_RAS_NODE_TYPE_TELEMETRY,
> +	DRM_RAS_NODE_TYPE_RETIRED_PAGES,
>   };
>   
>   /*
> @@ -28,6 +30,18 @@ enum drm_ras_telemetry_field_mode {
>   	DRM_RAS_TELEMETRY_FIELD_MODE_WRITE = 2,
>   };
>   
> +/*
> + * Status of a retired page. retired means the page is reserved and out of
> + * service; pending means the retirement is queued but the reservation is not
> + * complete yet; failed means the reservation failed and the page may still be
> + * in use.
> + */
> +enum drm_ras_retired_page_status {
> +	DRM_RAS_RETIRED_PAGE_STATUS_RETIRED = 1,
> +	DRM_RAS_RETIRED_PAGE_STATUS_PENDING,
> +	DRM_RAS_RETIRED_PAGE_STATUS_FAILED,
> +};
> +
>   enum {
>   	DRM_RAS_A_NODE_ATTRS_NODE_ID = 1,
>   	DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
> @@ -73,6 +87,17 @@ enum {
>   	DRM_RAS_A_TELEMETRY_ATTRS_MAX = (__DRM_RAS_A_TELEMETRY_ATTRS_MAX - 1)
>   };
>   
> +enum {
> +	DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID = 1,
> +	DRM_RAS_A_RETIRED_PAGE_ATTRS_ADDRESS,
> +	DRM_RAS_A_RETIRED_PAGE_ATTRS_SIZE,
> +	DRM_RAS_A_RETIRED_PAGE_ATTRS_STATUS,
> +	DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX_PAGES,
> +
> +	__DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX,
> +	DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX = (__DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX - 1)
> +};
> +
>   enum {
>   	DRM_RAS_CMD_LIST_NODES = 1,
>   	DRM_RAS_CMD_GET_ERROR_COUNTER,
> @@ -83,6 +108,8 @@ enum {
>   	DRM_RAS_CMD_TELEMETRY_GET,
>   	DRM_RAS_CMD_TELEMETRY_SET,
>   	DRM_RAS_CMD_TELEMETRY_LIST_FIELDS,
> +	DRM_RAS_CMD_GET_RETIRED_PAGES,
> +	DRM_RAS_CMD_GET_RETIRED_PAGES_INFO,
>   
>   	__DRM_RAS_CMD_MAX,
>   	DRM_RAS_CMD_MAX = (__DRM_RAS_CMD_MAX - 1)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v5 2/2] drm/xe: Expose retired VRAM pages via drm-ras
  2026-11-25 19:02 ` [PATCH v5 2/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
@ 2026-11-27  7:18   ` Tauro, Riana
  2026-11-27 18:07     ` Rodrigo Vivi
  0 siblings, 1 reply; 12+ messages in thread
From: Tauro, Riana @ 2026-11-27  7:18 UTC (permalink / raw)
  To: Rodrigo Vivi, dri-devel
  Cc: intel-xe, Aravind Iddamsetty, Tejas Upadhyay,
	Himal Prasad Ghimiray


On 26-11-2026 00:32, Rodrigo Vivi wrote:
> From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
>
> Retired VRAM pages are only visible through the vram_bad_pages debugfs
> file today. Register a drm-ras retired-pages node so userspace gets
> them, and the maximum number of pages that can be retired, through a
> stable interface.
>
> The page lists are walked under the VRAM manager lock, and a generation
> counter on each manager lets drm-ras flag dumps that raced with a page
> being added, retired or failing its reservation.
>
> v3 (Rodrigo+LLM):
>   - Use the drm-ras retired-pages node type, which replaces the nested
>     retired-resources layout (Jakub).
>   - Walk the lists under mgr->lock instead of RCU, which they are not
>     protected by, and stop reading the buddy blocks (Sashiko).
>   - Add a generation counter for interrupted dumps.
>   - Keep the vram_bad_pages debugfs file for now.
>   - Remove deprecated Assisted-by tag.
>
> v4 (Rodrigo+LLM):
>   - Register the node at the end of xe_ras_init(), once the retired page
>     lists are fetched. That point is only reached with a system
>     controller, which replaces the XE_CRESCENTISLAND check and keeps the
>     node off VFs (local Sashiko).
>   - Report the list generation also when no page is left (local Sashiko).
>
> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
>   drivers/gpu/drm/xe/xe_drm_ras.c            | 56 +++++++++++++++++
>   drivers/gpu/drm/xe/xe_drm_ras.h            |  1 +
>   drivers/gpu/drm/xe/xe_ras.c                |  4 ++
>   drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       | 72 +++++++++++++++++++++-
>   drivers/gpu/drm/xe/xe_ttm_vram_mgr.h       |  3 +
>   drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h |  5 ++
>   6 files changed, 140 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_drm_ras.c b/drivers/gpu/drm/xe/xe_drm_ras.c
> index 86c589437a9f..5382b60bb328 100644
> --- a/drivers/gpu/drm/xe/xe_drm_ras.c
> +++ b/drivers/gpu/drm/xe/xe_drm_ras.c
> @@ -13,6 +13,7 @@
>   #include "xe_device_types.h"
>   #include "xe_drm_ras.h"
>   #include "xe_ras.h"
> +#include "xe_ttm_vram_mgr.h"
>   #include "xe_wedge.h"
>   
>   static const char * const error_components[] = DRM_XE_RAS_ERROR_COMPONENT_NAMES;
> @@ -272,6 +273,61 @@ static int register_nodes(struct xe_device *xe)
>   	return ret;
>   }
>   
> +static int query_retired_page(struct drm_ras_node *node, u64 cursor,
> +			      struct drm_ras_retired_page *page)
> +{
> +	return xe_ttm_vram_get_retired_page(node->priv, cursor, page);
> +}

This patch [PATCH v4 0/2] Protect drm_ras against unplugged or wedged 
device - Raag Jadav
<https://lore.kernel.org/intel-xe/20261119102344.2053821-1-raag.jadav@intel.com/>adds 
protection against a dev unplug for error counter nodes due to a issue 
we saw while unbind.
The same needs to be added here.

> +
> +static int query_retired_pages_info(struct drm_ras_node *node, u64 *max_pages)
> +{
> +	*max_pages = xe_ras_get_max_pages(node->priv);

There could be an issue with firmware reporting incorrect max pages.
Can we return -EINVAL for max_pages if its 0.


> +
> +	return 0;
> +}
> +
> +/**
> + * xe_drm_ras_register_retired_pages() - Register the retired VRAM pages node
> + * @xe: xe device instance
> + *
> + * Called once the retired page lists are populated.
> + *
> + * Return: 0 on success, negative error code otherwise.
> + */
> +int xe_drm_ras_register_retired_pages(struct xe_device *xe)
> +{
> +	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
> +	struct drm_ras_node *node;
> +	int ret;
> +
> +	if (!xe->info.has_drm_ras)
> +		return 0;
> +
> +	node = drmm_kzalloc(&xe->drm, sizeof(*node), GFP_KERNEL);
> +	if (!node)
> +		return -ENOMEM;
> +
> +	node->device_name = kasprintf(GFP_KERNEL, "%04x:%02x:%02x.%d",
> +				      pci_domain_nr(pdev->bus), pdev->bus->number,
> +				      PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
> +	if (!node->device_name)
> +		return -ENOMEM;
> +
> +	node->node_name = "vram-retired-pages";
> +	node->type = DRM_RAS_NODE_TYPE_RETIRED_PAGES;
> +	node->query_retired_page = query_retired_page;
> +	node->query_retired_pages_info = query_retired_pages_info;
> +	node->priv = xe;
> +
> +	ret = drm_ras_node_register(node);
> +	if (ret) {
> +		cleanup_node_param(node);
> +		return ret;
> +	}
> +
> +	return drmm_add_action_or_reset(&xe->drm, cleanup_node, node);
> +}
> +
>   /**
>    * xe_drm_ras_event() - Report drm-ras error event to userspace
>    * @xe: xe device structure
> diff --git a/drivers/gpu/drm/xe/xe_drm_ras.h b/drivers/gpu/drm/xe/xe_drm_ras.h
> index 723229b2cffb..a6fc2255986d 100644
> --- a/drivers/gpu/drm/xe/xe_drm_ras.h
> +++ b/drivers/gpu/drm/xe/xe_drm_ras.h
> @@ -13,6 +13,7 @@ struct xe_device;
>   	for (i = 0; i < DRM_XE_RAS_ERR_SEV_MAX; i++)
>   
>   int xe_drm_ras_init(struct xe_device *xe);
> +int xe_drm_ras_register_retired_pages(struct xe_device *xe);
>   void xe_drm_ras_event(struct xe_device *xe, u32 component, u32 severity, u32 value);
>   
>   #endif
> diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
> index 9b04be3405ca..8e5e2df2c9f7 100644
> --- a/drivers/gpu/drm/xe/xe_ras.c
> +++ b/drivers/gpu/drm/xe/xe_ras.c
> @@ -1508,6 +1508,10 @@ int xe_ras_init(struct xe_device *xe)
>   	get_offline_list(xe);
>   	get_offline_queue(xe);
>   
> +	ret = xe_drm_ras_register_retired_pages(xe);
> +	if (ret)
> +		return ret;

Could we move this into xe_drm_ras_init() and add the sysctrl check there
too? That way all the initialization stays in one init function.

We should also add a check to skip registering this node when page
offlining is disabled.

Do we really need to fail probe if drm_ras node fails to register?

Thanks
Riana


> +
>   	/*
>   	 * During probe, process and log any errors detected by firmware while the driver was not
>   	 * loaded. Critical errors such as Punit and CSC are reported through Pcode init failure,
> diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> index 36d47de8b11b..4a7b9ea36211 100644
> --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> @@ -10,6 +10,7 @@
>   #include <drm/drm_managed.h>
>   #include <drm/drm_drv.h>
>   #include <drm/drm_buddy.h>
> +#include <drm/drm_ras.h>
>   #include <uapi/drm/xe_drm.h>
>   
>   #include <drm/ttm/ttm_placement.h>
> @@ -240,13 +241,17 @@ static void xe_ttm_vram_retry_queued_pages(struct xe_ttm_vram_mgr *mgr)
>   					    PAGE_SIZE, PAGE_SIZE, &pos->blocks,
>   					    GPU_BUDDY_RANGE_ALLOCATION, NULL,
>   					    &pos->used_visible_size)) {
> -			pos->status = XE_PAGE_RESERVE_FAIL;
> +			if (pos->status != XE_PAGE_RESERVE_FAIL) {
> +				pos->status = XE_PAGE_RESERVE_FAIL;
> +				mgr->retired_gen++;
> +			}
>   			continue;
>   		}
>   		--mgr->n_queued_pages;
>   		list_del(&pos->queued_link);
>   		++mgr->n_offlined_pages;
>   		list_add(&pos->offlined_link, &mgr->offlined_pages);
> +		mgr->retired_gen++;
>   	}
>   }
>   
> @@ -625,6 +630,68 @@ u64 xe_ttm_vram_get_avail(struct ttm_resource_manager *man)
>   	return avail;
>   }
>   
> +static void retired_page_update(struct drm_ras_retired_page *page, bool *found,
> +				u64 cursor, u64 addr, enum drm_ras_retired_page_status status)
> +{
> +	if (addr < cursor || (*found && addr >= page->address))
> +		return;
> +
> +	page->address = addr;
> +	page->status = status;
> +	*found = true;
> +}
> +
> +/**
> + * xe_ttm_vram_get_retired_page - Get the next retired VRAM page
> + * @xe: xe device instance
> + * @cursor: lowest device address to consider
> + * @page: filled with the retired page that has the lowest address >= @cursor
> + *
> + * Return: 0 on success, -ENOENT if no retired page is at or above @cursor.
> + */
> +int xe_ttm_vram_get_retired_page(struct xe_device *xe, u64 cursor,
> +				 struct drm_ras_retired_page *page)
> +{
> +	struct xe_ttm_vram_offline_resource *pos;
> +	struct xe_tile *tile;
> +	bool found = false;
> +	u32 gen = 0;
> +	u8 id;
> +
> +	for_each_tile(tile, xe, id) {
> +		struct xe_vram_region *vr = tile->mem.vram;
> +		struct ttm_resource_manager *man;
> +		struct xe_ttm_vram_mgr *mgr;
> +
> +		man = ttm_manager_type(&xe->ttm, XE_PL_VRAM0 + id);
> +		if (!man || !vr)
> +			continue;
> +		mgr = to_xe_ttm_vram_mgr(man);
> +
> +		guard(mutex)(&mgr->lock);
> +
> +		gen += mgr->retired_gen;
> +
> +		list_for_each_entry(pos, &mgr->offlined_pages, offlined_link)
> +			retired_page_update(page, &found, cursor, pos->addr + vr->dpa_base,
> +					    DRM_RAS_RETIRED_PAGE_STATUS_RETIRED);
> +
> +		list_for_each_entry(pos, &mgr->queued_pages, queued_link)
> +			retired_page_update(page, &found, cursor, pos->addr + vr->dpa_base,
> +					    pos->status == XE_PAGE_RESERVE_FAIL ?
> +					    DRM_RAS_RETIRED_PAGE_STATUS_FAILED :
> +					    DRM_RAS_RETIRED_PAGE_STATUS_PENDING);
> +	}
> +
> +	page->generation = gen;
> +	if (!found)
> +		return -ENOENT;
> +
> +	page->size = PAGE_SIZE;
> +
> +	return 0;
> +}
> +
>   static int xe_ttm_vram_purge_page(struct xe_device *xe, struct xe_bo *bo)
>   {
>   	u32 q_flag = DRM_XE_EXEC_QUEUE_BAN_REASON_PAGE_OFFLINE;
> @@ -825,6 +892,7 @@ static int xe_ttm_vram_reserve_page_at_addr(struct xe_device *xe, u64 addr,
>   			/* Queue free(to-be-purged) pages */
>   			++vram_mgr->n_queued_pages;
>   			list_add(&nentry->queued_link, &vram_mgr->queued_pages);
> +			vram_mgr->retired_gen++;
>   		} else {
>   			/* Immediately offline unoccupied pages */
>   			/* Queue free(to-be-reserved) pages */
> @@ -839,10 +907,12 @@ static int xe_ttm_vram_reserve_page_at_addr(struct xe_device *xe, u64 addr,
>   					addr, ret);
>   				++vram_mgr->n_queued_pages;
>   				list_add(&nentry->queued_link, &vram_mgr->queued_pages);
> +				vram_mgr->retired_gen++;
>   				return 0;
>   			}
>   			++vram_mgr->n_offlined_pages;
>   			list_add(&nentry->offlined_link, &vram_mgr->offlined_pages);
> +			vram_mgr->retired_gen++;
>   			return ret;
>   		}
>   	}
> diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
> index d77f067d197b..91147385718c 100644
> --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
> +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
> @@ -9,6 +9,7 @@
>   #include "xe_ttm_vram_mgr_types.h"
>   
>   enum dma_data_direction;
> +struct drm_ras_retired_page;
>   struct xe_device;
>   struct xe_tile;
>   struct xe_vram_region;
> @@ -33,6 +34,8 @@ void xe_ttm_vram_get_used(struct ttm_resource_manager *man,
>   			  u64 *used, u64 *used_visible);
>   int xe_ttm_vram_handle_addr_fault(struct xe_device *xe, u64 addr);
>   int xe_ttm_vram_inject_fault(struct xe_device *xe);
> +int xe_ttm_vram_get_retired_page(struct xe_device *xe, u64 cursor,
> +				 struct drm_ras_retired_page *page);
>   
>   static inline struct xe_ttm_vram_mgr_resource *
>   to_xe_ttm_vram_mgr_resource(struct ttm_resource *res)
> diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
> index 4a2cd27a5b61..6a49ee8b09ef 100644
> --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
> +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
> @@ -27,6 +27,11 @@ struct xe_ttm_vram_mgr {
>   	struct list_head queued_pages;
>   	/** @n_queued_pages: Number of queued pages */
>   	u16 n_queued_pages;
> +	/**
> +	 * @retired_gen: Changed whenever @offlined_pages or @queued_pages
> +	 * change. Protected by @lock.
> +	 */
> +	u32 retired_gen;
>   	/** @visible_size: Probed size of the CPU visible portion */
>   	u64 visible_size;
>   	/** @visible_avail: CPU visible portion still unallocated */

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v5 1/2] drm/ras: Add retired-pages node type
  2026-11-27  7:16   ` Tauro, Riana
@ 2026-11-27 18:03     ` Rodrigo Vivi
  0 siblings, 0 replies; 12+ messages in thread
From: Rodrigo Vivi @ 2026-11-27 18:03 UTC (permalink / raw)
  To: Tauro, Riana
  Cc: dri-devel, intel-xe, Aravind Iddamsetty, Jakub Kicinski,
	Raag Jadav, Zack McKevitt, Jeff Hugo, Upadhyay, Tejas

On Fri, Nov 27, 2026 at 12:46:46PM +0530, Tauro, Riana wrote:
> 
> On 26-11-2026 00:32, Rodrigo Vivi wrote:
> > From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> > 
> > Add a retired-pages node type to drm-ras so drivers can report the
> > memory pages they have taken out of service, with two operations:
> > 
> >   - get-retired-pages: dump one entry per page with its address, size
> >     and status (retired, pending or failed). The dump is flagged with
> >     NLM_F_DUMP_INTR if the list changes while it is read.
> >   - get-retired-pages-info: return the maximum number of pages that can
> >     be retired.
> > 
> > v3 (Rodrigo+LLM):
> >   - Split the drm-ras core from the xe user.
> >   - Flatten the page attributes and name the node type retired-pages
> >     instead of retired-resources, avoiding the over-wrapping
> >     anti-pattern pointed out by Jakub: the type-specific nest and the
> >     resource-type enum are gone.
> >   - Use uint for address, size and max-pages, no pad (Jakub).
> >   - Start the status enum at 1.
> >   - Move max-pages to its own do operation instead of a leading dump
> >     entry.
> >   - Set NLM_F_DUMP_INTR from a driver generation counter.
> >   - Report unknown node IDs with NL_SET_BAD_ATTR.
> >   - Removed deprecated Assisted-by tag.
> > 
> > v4 (Rodrigo+LLM):
> >   - Check the dump consistency once a page message is filled (Sashiko),
> >     and on the final NLMSG_DONE (local Sashiko), so NLM_F_DUMP_INTR is
> >     not lost.
> >   - Make the error-counter operations reject other node types (Sashiko).
> >   - Hold a node reference in the new handlers (local Sashiko).
> >   - Rebase on the telemetry node type, moving the type check of its
> >     handlers into drm_ras_node_get().
> > 
> > v5 (Rodrigo+LLM):
> >   - Split the node and callback checks in the clear-error-counter doit,
> >     and write the new handlers like the error-counter ones, with
> >     put_node labels and an inline dump loop, for consistency (Riana).
> >   - Drop node-id from the dump entries (Riana).
> CC: Tejas
> > Cc: Jakub Kicinski <kuba@kernel.org>
> > Cc: Riana Tauro <riana.tauro@intel.com>
> > Cc: Raag Jadav <raag.jadav@intel.com>
> > Cc: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> > Cc: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
> > Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > ---
> >   Documentation/netlink/specs/drm_ras.yaml |  73 +++++++-
> >   drivers/gpu/drm/drm_ras.c                | 228 +++++++++++++++++++++--
> >   drivers/gpu/drm/drm_ras_nl.c             |  24 +++
> >   drivers/gpu/drm/drm_ras_nl.h             |   4 +
> >   include/drm/drm_ras.h                    |  49 +++++
> >   include/uapi/drm/drm_ras.h               |  31 ++-
> >   6 files changed, 385 insertions(+), 24 deletions(-)
> > 
> > diff --git a/Documentation/netlink/specs/drm_ras.yaml b/Documentation/netlink/specs/drm_ras.yaml
> > index 0f1ceb705d3d..c217e52197e6 100644
> > --- a/Documentation/netlink/specs/drm_ras.yaml
> > +++ b/Documentation/netlink/specs/drm_ras.yaml
> > @@ -16,16 +16,28 @@ definitions:
> >       type: enum
> >       name: node-type
> >       value-start: 1
> > -    entries: [error-counter, telemetry]
> > +    entries: [error-counter, telemetry, retired-pages]
> >       doc: >-
> >            Type of the node. The error-counter nodes expose reliability counters
> > -         for a hardware/software component, and telemetry nodes expose an
> > -         interface for reading and writing telemetry values to a device.
> > +         for a hardware/software component, telemetry nodes expose an
> > +         interface for reading and writing telemetry values to a device, and
> > +         retired-pages nodes list the memory pages that have been taken out
> > +         of service.
> >     -
> >       type: flags
> >       name: telemetry-field-mode
> >       entries: [read, write]
> >       doc: Bitmask of access modes supported by a telemetry field.
> > +  -
> > +    type: enum
> > +    name: retired-page-status
> > +    value-start: 1
> > +    entries: [retired, pending, failed]
> > +    doc: >-
> > +         Status of a retired page. retired means the page is reserved and out
> > +         of service; pending means the retirement is queued but the
> > +         reservation is not complete yet; failed means the reservation failed
> > +         and the page may still be in use.
> 
> YNL allows per enum member description and would also put the description
> in the uapi header next to each member which would be cleaner
> 
> >   attribute-sets:
> >     -
> > @@ -140,6 +152,30 @@ attribute-sets:
> >           doc: >-
> >                Bitmask of access modes (read/write) supported by the
> >                telemetry field.
> > +  -
> > +    name: retired-page-attrs
> > +    attributes:
> > +      -
> > +        name: node-id
> > +        type: u32
> > +        doc: Node ID targeted by this retired pages operation.
> > +      -
> > +        name: address
> > +        type: uint
> > +        doc: Device address of the retired page.
> > +      -
> > +        name: size
> > +        type: uint
> > +        doc: Size of the retired page in bytes.
> > +      -
> > +        name: status
> > +        type: u32
> > +        doc: Retirement status of the page.
> > +        enum: retired-page-status
> > +      -
> > +        name: max-pages
> > +        type: uint
> > +        doc: Maximum number of pages that can be retired on this node.
> 
> Nit: 'on this node' can be removed since it only defines attributes here.
> 
> >   operations:
> >     list:
> > @@ -287,6 +323,37 @@ operations:
> >               - field
> >               - field-name
> >               - mode
> > +    -
> > +      name: get-retired-pages
> > +      doc: >-
> > +           Retrieve the pages retired on a retired-pages node, one entry per
> > +           page. The dump is flagged as interrupted if the list changes while
> > +           it is being read.
> > +      attribute-set: retired-page-attrs
> > +      flags: [admin-perm]
> 
> Do we need admin permission for this?

Let's keep it for now. It exposes device addresses of faulty memory,
the error counters need it too, and vram_bad_pages is root only.
Dropping admin-perm later is backward compatible, adding it later is not.

everything else is addressed in the upcoming v6. Thanks for the diligence,
patience, and for paying attention to the details.

Thanks,
Rodrigo.

> 
> > +      dump:
> > +        request:
> > +          attributes:
> > +            - node-id
> > +        reply:
> > +          attributes:
> > +            - address
> > +            - size
> > +            - status
> > +    -
> > +      name: get-retired-pages-info
> > +      doc: >-
> > +           Retrieve the retired page limits of a retired-pages node.
> 
> Nit: %s/limits/info. Would allow other drivers to add additional attributes
> if required.
> 
> > +      attribute-set: retired-page-attrs
> > +      flags: [admin-perm]
> 
> Same.
> 
> > +      do:
> > +        request:
> > +          attributes:
> > +            - node-id
> > +        reply:
> > +          attributes:
> > +            - node-id
> 
> Why do we need node-id for this response?
> 
> > +            - max-pages
> >   mcast-groups:
> >     list:
> > diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
> > index 82fcc766b84b..26505a7e4f0f 100644
> > --- a/drivers/gpu/drm/drm_ras.c
> > +++ b/drivers/gpu/drm/drm_ras.c
> > @@ -69,6 +69,14 @@
> >    *     Each field contains the uAPI defined enum string, its numerical value,
> >    *     and its mode bitmask, which encodes read/write capabilities.
> >    *
> > + * 11. GET_RETIRED_PAGES: Dump the retired pages of a given node.
> > + *     Userspace must provide Node ID.
> > + *     Returns one entry per page with its address, size and status.
> > + *
> > + * 12. GET_RETIRED_PAGES_INFO: Get the retired page limits of a given node.
> > + *     Userspace must provide Node ID.
> > + *     Returns the maximum number of pages that can be retired.
> > + *
> >    * Node registration:
> >    *
> >    * - drm_ras_node_register(): Registers a new node and assigns
> > @@ -121,6 +129,13 @@
> >    *     + The driver can optionally provide a pre_doit callback, telemetry_pre(),
> >    *       to enforce permissions checks on telemetry operations.
> >    *
> > + * - RETIRED_PAGES:
> > + *     + The driver must implement the query_retired_page() callback, returning
> > + *       the retired page with the lowest address at or above a cursor, and
> > + *       -ENOENT when there is none.
> > + *     + The driver can implement query_retired_pages_info() to report the
> > + *       maximum number of pages that can be retired.
> > + *
> >    * Netlink handlers:
> >    *
> >    * - drm_ras_nl_list_nodes_dumpit(): Implements the LIST_NODES
> > @@ -147,6 +162,10 @@
> >    * - drm_ras_nl_telemetry_list_fields_dumpit(): Implements the TELEMETRY_LIST_FIELDS
> >    *   dumpit operation, enumerating all telemetry fields and their supported
> >    *   access modes for a telemetry node.
> > + * - drm_ras_nl_get_retired_pages_dumpit(): Implements the GET_RETIRED_PAGES dumpit
> > + *   operation, listing the retired pages of a specific node.
> > + * - drm_ras_nl_get_retired_pages_info_doit(): Implements the GET_RETIRED_PAGES_INFO
> > + *   doit operation, fetching the retired page limits of a specific node.
> >    */
> >   static DEFINE_XARRAY_ALLOC(drm_ras_xa);
> > @@ -162,6 +181,8 @@ struct drm_ras_ctx {
> >   	unsigned long restart;
> >   	/* Node targeted by a telemetry get/set doit */
> >   	struct drm_ras_node *node;
> > +	/* Which retired page address to restart the dump from */
> > +	u64 cursor;
> >   };
> >   static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
> > @@ -169,6 +190,7 @@ static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
> >   /**
> >    * drm_ras_node_get() - Look up a RAS node by ID and take a reference
> >    * @node_id: ID of the node to look up
> > + * @type: Expected type of the node
> >    *
> >    * Looks the node up in the global xarray and, if found, takes a reference to
> >    * it so that it cannot be freed while the caller is using it. The lookup and
> > @@ -179,16 +201,19 @@ static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
> >    *
> >    * The caller must drop the returned reference with drm_ras_node_put().
> >    *
> > - * Return: the referenced node, or NULL if no node with @node_id is registered.
> > + * Return: the referenced node, or NULL if no node of @type with @node_id is
> > + * registered.
> >    */
> > -static struct drm_ras_node *drm_ras_node_get(u32 node_id)
> > +static struct drm_ras_node *drm_ras_node_get(u32 node_id, enum drm_ras_node_type type)
> 
> Can you please split this into its own patch. Making the node-get type aware
> makes changes to existing code paths and is not specific to retired pages.
> We can have this part of the same series but as a different patch.
> 
> >   {
> >   	struct drm_ras_node *node;
> >   	xa_lock(&drm_ras_xa);
> >   	node = xa_load(&drm_ras_xa, node_id);
> > -	if (node)
> > +	if (node && node->type == type)
> >   		refcount_inc(&node->ref);
> > +	else
> > +		node = NULL;
> >   	xa_unlock(&drm_ras_xa);
> >   	return node;
> > @@ -412,7 +437,7 @@ static int doit_reply_value(struct genl_info *info, u32 node_id,
> >   	u32 value;
> >   	int ret;
> > -	node = drm_ras_node_get(node_id);
> > +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
> >   	if (!node)
> >   		return -ENOENT;
> > @@ -461,7 +486,7 @@ static int doit_reply_threshold(struct genl_info *info, u32 node_id, u32 error_i
> >   	u32 threshold;
> >   	int ret;
> > -	node = drm_ras_node_get(node_id);
> > +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
> >   	if (!node)
> >   		return -ENOENT;
> > @@ -603,7 +628,7 @@ int drm_ras_nl_get_error_counter_dumpit(struct sk_buff *skb,
> >   	node_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_NODE_ID]);
> > -	node = drm_ras_node_get(node_id);
> > +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
> >   	if (!node)
> >   		return -ENOENT;
> > @@ -699,20 +724,24 @@ int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
> >   	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]);
> > -	node = drm_ras_node_get(node_id);
> > -	if (!node || !node->clear_error_counter) {
> > -		drm_ras_node_put(node);
> > +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
> > +	if (!node)
> >   		return -ENOENT;
> > +
> > +	if (!node->clear_error_counter) {
> > +		ret = -ENOENT;
> > +		goto put_node;
> >   	}
> >   	if (error_id < node->error_counter_range.first ||
> >   	    error_id > node->error_counter_range.last) {
> > -		drm_ras_node_put(node);
> > -		return -EINVAL;
> > +		ret = -EINVAL;
> > +		goto put_node;
> >   	}
> >   	ret = node->clear_error_counter(node, error_id);
> > +put_node:
> >   	drm_ras_node_put(node);
> >   	return ret;
> > @@ -770,7 +799,7 @@ int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
> >   	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]);
> > -	node = drm_ras_node_get(node_id);
> > +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
> >   	if (!node)
> >   		return -ENOENT;
> > @@ -781,6 +810,166 @@ int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb, struct genl_info *i
> >   	return ret;
> >   }
> > +static struct drm_ras_node *get_retired_pages_node(const struct genl_info *info)
> > +{
> > +	struct nlattr *attr = info->attrs[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID];
> > +	struct drm_ras_node *node;
> > +
> > +	node = drm_ras_node_get(nla_get_u32(attr), DRM_RAS_NODE_TYPE_RETIRED_PAGES);
> > +	if (!node)
> > +		NL_SET_BAD_ATTR(info->extack, attr);
> > +
> > +	return node;
> > +}
> > +
> > +static int msg_put_retired_page(struct sk_buff *msg,
> > +				const struct drm_ras_retired_page *page)
> > +{
> > +	int ret;
> > +
> > +	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_ADDRESS, page->address);
> > +	if (ret)
> > +		return ret;
> > +
> > +	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_SIZE, page->size);
> > +	if (ret)
> > +		return ret;
> > +
> > +	return nla_put_u32(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_STATUS, page->status);
> > +}
> > +
> > +/**
> > + * drm_ras_nl_get_retired_pages_dumpit() - Dump the retired pages of a node
> > + * @skb: Netlink message buffer
> > + * @cb: Callback context for multi-part dumps
> > + *
> > + * Appends one message per retired page, in increasing address order. The
> > + * dump resumes from the next address after a buffer overflow, and is flagged
> > + * with %NLM_F_DUMP_INTR if the list changed between messages.
> > + *
> > + * Return: 0 if all pages fit in @skb, -EMSGSIZE if the buffer filled up
> > + *         (requires multi-part continuation), or a negative error code on
> > + *         failure.
> > + */
> > +int drm_ras_nl_get_retired_pages_dumpit(struct sk_buff *skb,
> > +					struct netlink_callback *cb)
> 
> Since the function changes. Have reviewed the github.
> In v6, can you please make changes to this patch instead of a third patch
> since the entire
> implementation changes. Its tough to review the third patch only from
> github.
> 
> > +{
> > +	const struct genl_info *info = genl_info_dump(cb);
> > +	struct drm_ras_ctx *ctx = (void *)cb->ctx;
> > +	struct drm_ras_retired_page page;
> > +	struct drm_ras_node *node;
> > +	void *hdr;
> > +	int ret;
> > +
> > +	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID))
> > +		return -EINVAL;
> > +
> > +	node = get_retired_pages_node(info);
> > +	if (!node)
> > +		return -ENOENT;
> > +
> > +	for (;;) {
> > +		ret = node->query_retired_page(node, ctx->cursor, &page);
> > +		if (ret && ret != -ENOENT)
> > +			break;
> > +
> > +		/* Never zero, so the first message is checked as well */
> > +		cb->seq = page.generation + 1;
> > +		if (ret == -ENOENT) {
> > +			ret = 0;
> > +			break;
> > +		}
> > +
> > +		hdr = genlmsg_iput(skb, info);
> > +		if (!hdr) {
> > +			ret = -EMSGSIZE;
> > +			break;
> > +		}
> > +
> > +		ret = msg_put_retired_page(skb, &page);
> > +		if (ret) {
> > +			genlmsg_cancel(skb, hdr);
> > +			break;
> > +		}
> > +
> > +		genl_dump_check_consistent(cb, hdr);
> > +
> > +		genlmsg_end(skb, hdr);
> > +		ctx->cursor = page.address + 1;
> > +	}
> > +
> > +	drm_ras_node_put(node);
> > +
> > +	return ret;
> > +}
> > +
> > +/**
> > + * drm_ras_nl_get_retired_pages_info_doit() - Query the retired page limits of a node
> > + * @skb: Netlink message buffer
> > + * @info: Generic Netlink info containing attributes of the request
> > + *
> > + * Return: 0 on success, or negative errno on failure.
> > + */
> > +int drm_ras_nl_get_retired_pages_info_doit(struct sk_buff *skb,
> > +					   struct genl_info *info)
> > +{
> > +	struct drm_ras_node *node;
> > +	struct sk_buff *msg;
> > +	u64 max_pages;
> > +	void *hdr;
> 
> Rest of the file uses nlattr
> 
> > +	int ret;
> > +
> > +	if (!info->attrs || GENL_REQ_ATTR_CHECK(info, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID))
> > +		return -EINVAL;
> > +
> > +	node = get_retired_pages_node(info);
> > +	if (!node)
> > +		return -ENOENT;
> > +
> > +	if (!node->query_retired_pages_info) {
> > +		ret = -EOPNOTSUPP;
> > +		goto put_node;
> > +	}
> > +
> > +	ret = node->query_retired_pages_info(node, &max_pages);
> > +	if (ret)
> > +		goto put_node;
> > +
> > +	msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
> > +	if (!msg) {
> > +		ret = -ENOMEM;
> > +		goto put_node;
> > +	}
> > +
> > +	hdr = genlmsg_iput(msg, info);
> > +	if (!hdr) {
> > +		ret = -EMSGSIZE;
> > +		goto free_msg;
> > +	}
> > +
> > +	ret = nla_put_u32(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID, node->id);
> > +	if (ret)
> > +		goto cancel_msg;
> > +
> > +	ret = nla_put_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX_PAGES, max_pages);
> > +	if (ret)
> > +		goto cancel_msg;
> > +
> > +	genlmsg_end(msg, hdr);
> > +
> > +	drm_ras_node_put(node);
> > +
> > +	return genlmsg_reply(msg, info);
> > +
> > +cancel_msg:
> > +	genlmsg_cancel(msg, hdr);
> > +free_msg:
> > +	nlmsg_free(msg);
> > +put_node:
> > +	drm_ras_node_put(node);
> > +	return ret;
> > +}
> > +
> >   /**
> >    * drm_ras_nl_pre_telemetry - Look up the telemetry node and enforce permissions
> >    * @ops: Generic netlink operations
> > @@ -808,10 +997,9 @@ int drm_ras_nl_pre_telemetry(const struct genl_split_ops *ops, struct sk_buff *s
> >   		return -EINVAL;
> >   	node_id = nla_get_u32(info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
> > -	node = drm_ras_node_get(node_id);
> > -	if (!node || node->type != DRM_RAS_NODE_TYPE_TELEMETRY) {
> > +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_TELEMETRY);
> > +	if (!node) {
> >   		NL_SET_BAD_ATTR(info->extack, info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
> > -		drm_ras_node_put(node);
> >   		return -ENOENT;
> >   	}
> > @@ -892,10 +1080,9 @@ int drm_ras_nl_telemetry_list_fields_dumpit(struct sk_buff *skb, struct netlink_
> >   	node_id = nla_get_u32(info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
> > -	node = drm_ras_node_get(node_id);
> > -	if (!node || node->type != DRM_RAS_NODE_TYPE_TELEMETRY) {
> > +	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_TELEMETRY);
> > +	if (!node) {
> >   		NL_SET_BAD_ATTR(info->extack, info->attrs[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID]);
> > -		drm_ras_node_put(node);
> >   		return -ENOENT;
> >   	}
> > @@ -1100,7 +1287,6 @@ int drm_ras_node_register(struct drm_ras_node *node)
> >   	if (!node->device_name || !node->node_name)
> >   		return -EINVAL;
> > -	/* Currently, only Error Counter and Telemetry endpoints are supported */
> >   	switch (node->type) {
> >   	case DRM_RAS_NODE_TYPE_ERROR_COUNTER:
> >   		/* Mandatory entries for Error Counter Node */
> > @@ -1112,6 +1298,10 @@ int drm_ras_node_register(struct drm_ras_node *node)
> >   		if (!node->telemetry_get || !node->telemetry_fields)
> >   			return -EINVAL;
> >   		break;
> > +	case DRM_RAS_NODE_TYPE_RETIRED_PAGES:
> > +		if (!node->query_retired_page)
> > +			return -EINVAL;
> > +		break;
> >   	default:
> >   		return -EINVAL;
> >   	}
> > diff --git a/drivers/gpu/drm/drm_ras_nl.c b/drivers/gpu/drm/drm_ras_nl.c
> > index 589c6445eff7..c56220205876 100644
> > --- a/drivers/gpu/drm/drm_ras_nl.c
> > +++ b/drivers/gpu/drm/drm_ras_nl.c
> > @@ -59,6 +59,16 @@ static const struct nla_policy drm_ras_telemetry_list_fields_nl_policy[DRM_RAS_A
> >   	[DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID] = { .type = NLA_U32, },
> >   };
> > +/* DRM_RAS_CMD_GET_RETIRED_PAGES - dump */
> > +static const struct nla_policy drm_ras_get_retired_pages_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {
> > +	[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID] = { .type = NLA_U32, },
> > +};
> > +
> > +/* DRM_RAS_CMD_GET_RETIRED_PAGES_INFO - do */
> > +static const struct nla_policy drm_ras_get_retired_pages_info_nl_policy[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID + 1] = {
> > +	[DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID] = { .type = NLA_U32, },
> > +};
> > +
> >   /* Ops table for drm_ras */
> >   static const struct genl_split_ops drm_ras_nl_ops[] = {
> >   	{
> > @@ -126,6 +136,20 @@ static const struct genl_split_ops drm_ras_nl_ops[] = {
> >   		.maxattr	= DRM_RAS_A_TELEMETRY_ATTRS_NODE_ID,
> >   		.flags		= GENL_CMD_CAP_DUMP,
> >   	},
> > +	{
> > +		.cmd		= DRM_RAS_CMD_GET_RETIRED_PAGES,
> > +		.dumpit		= drm_ras_nl_get_retired_pages_dumpit,
> > +		.policy		= drm_ras_get_retired_pages_nl_policy,
> > +		.maxattr	= DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID,
> > +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DUMP,
> > +	},
> > +	{
> > +		.cmd		= DRM_RAS_CMD_GET_RETIRED_PAGES_INFO,
> > +		.doit		= drm_ras_nl_get_retired_pages_info_doit,
> > +		.policy		= drm_ras_get_retired_pages_info_nl_policy,
> > +		.maxattr	= DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID,
> > +		.flags		= GENL_ADMIN_PERM | GENL_CMD_CAP_DO,
> > +	},
> >   };
> >   static const struct genl_multicast_group drm_ras_nl_mcgrps[] = {
> > diff --git a/drivers/gpu/drm/drm_ras_nl.h b/drivers/gpu/drm/drm_ras_nl.h
> > index 7a1cba70fd50..880b0c2befe3 100644
> > --- a/drivers/gpu/drm/drm_ras_nl.h
> > +++ b/drivers/gpu/drm/drm_ras_nl.h
> > @@ -34,6 +34,10 @@ int drm_ras_nl_telemetry_get_doit(struct sk_buff *skb, struct genl_info *info);
> >   int drm_ras_nl_telemetry_set_doit(struct sk_buff *skb, struct genl_info *info);
> >   int drm_ras_nl_telemetry_list_fields_dumpit(struct sk_buff *skb,
> >   					    struct netlink_callback *cb);
> > +int drm_ras_nl_get_retired_pages_dumpit(struct sk_buff *skb,
> > +					struct netlink_callback *cb);
> > +int drm_ras_nl_get_retired_pages_info_doit(struct sk_buff *skb,
> > +					   struct genl_info *info);
> >   enum {
> >   	DRM_RAS_NLGRP_ERROR_REPORT,
> > diff --git a/include/drm/drm_ras.h b/include/drm/drm_ras.h
> > index 76bdcc6f96a5..5c3900a53278 100644
> > --- a/include/drm/drm_ras.h
> > +++ b/include/drm/drm_ras.h
> > @@ -28,6 +28,23 @@ struct drm_ras_telemetry_field {
> >   	u32 mode;
> >   };
> > +/**
> > + * struct drm_ras_retired_page - A retired page reported by a driver
> > + */
> > +struct drm_ras_retired_page {
> > +	/** @address: Device address of the page. */
> > +	u64 address;
> > +	/** @size: Size of the page in bytes. */
> > +	u64 size;
> > +	/** @status: Retirement status (enum drm_ras_retired_page_status). */
> > +	enum drm_ras_retired_page_status status;
> > +	/**
> > +	 * @generation: Generation of the retired page list, changed by the
> > +	 * driver whenever a page is added, removed or changes status.
> > +	 */
> > +	u32 generation;
> > +};
> > +
> >   /**
> >    * struct drm_ras_node - A DRM RAS Node
> >    */
> > @@ -184,6 +201,38 @@ struct drm_ras_node {
> >   	int (*telemetry_set)(struct drm_ras_node *ep, u64 *field, s64 *value,
> >   			     s64 *status);
> > +	/* Retired-Pages Related Callbacks */
> > +
> > +	/**
> > +	 * @query_retired_page:
> > +	 *
> > +	 * This callback is used by drm-ras to list the retired pages of a node.
> > +	 * It must fill @page with the retired page that has the lowest address
> > +	 * greater than or equal to @cursor. @page->generation must be set even
> > +	 * when no page is found.
> > +	 *
> > +	 * The @query_retired_page is a mandatory callback for
> > +	 * retired_pages_node.
> > +	 *
> > +	 * Returns: 0 on success,
> > +	 *          -ENOENT when no page is at or above @cursor, which ends the
> > +	 *                  list.
> > +	 *          Other negative values on errors that should terminate the
> > +	 *          netlink query.
> > +	 */
> > +	int (*query_retired_page)(struct drm_ras_node *node, u64 cursor,
> > +				  struct drm_ras_retired_page *page);
> > +
> > +	/**
> > +	 * @query_retired_pages_info:
> > +	 *
> > +	 * This callback is used by drm-ras to query the maximum number of pages
> 
> query the info.  The parameter also should be a generic struct instead of
> max pages if
> any other driver wants to add extra parameters.
> 
> Thanks
> Riana
> 
> 
> > +	 * that can be retired on a node.
> > +	 *
> > +	 * Returns: 0 on success, negative error code on failure.
> > +	 */
> > +	int (*query_retired_pages_info)(struct drm_ras_node *node, u64 *max_pages);
> > +
> >   	/** @priv: Driver private data */
> >   	void *priv;
> > diff --git a/include/uapi/drm/drm_ras.h b/include/uapi/drm/drm_ras.h
> > index 56e0588af5d5..e7f2da18cc4c 100644
> > --- a/include/uapi/drm/drm_ras.h
> > +++ b/include/uapi/drm/drm_ras.h
> > @@ -12,12 +12,14 @@
> >   /*
> >    * Type of the node. The error-counter nodes expose reliability counters for a
> > - * hardware/software component, and telemetry nodes expose an interface for
> > - * reading and writing telemetry values to a device.
> > + * hardware/software component, telemetry nodes expose an interface for reading
> > + * and writing telemetry values to a device, and retired-pages nodes list the
> > + * memory pages that have been taken out of service.
> >    */
> >   enum drm_ras_node_type {
> >   	DRM_RAS_NODE_TYPE_ERROR_COUNTER = 1,
> >   	DRM_RAS_NODE_TYPE_TELEMETRY,
> > +	DRM_RAS_NODE_TYPE_RETIRED_PAGES,
> >   };
> >   /*
> > @@ -28,6 +30,18 @@ enum drm_ras_telemetry_field_mode {
> >   	DRM_RAS_TELEMETRY_FIELD_MODE_WRITE = 2,
> >   };
> > +/*
> > + * Status of a retired page. retired means the page is reserved and out of
> > + * service; pending means the retirement is queued but the reservation is not
> > + * complete yet; failed means the reservation failed and the page may still be
> > + * in use.
> > + */
> > +enum drm_ras_retired_page_status {
> > +	DRM_RAS_RETIRED_PAGE_STATUS_RETIRED = 1,
> > +	DRM_RAS_RETIRED_PAGE_STATUS_PENDING,
> > +	DRM_RAS_RETIRED_PAGE_STATUS_FAILED,
> > +};
> > +
> >   enum {
> >   	DRM_RAS_A_NODE_ATTRS_NODE_ID = 1,
> >   	DRM_RAS_A_NODE_ATTRS_DEVICE_NAME,
> > @@ -73,6 +87,17 @@ enum {
> >   	DRM_RAS_A_TELEMETRY_ATTRS_MAX = (__DRM_RAS_A_TELEMETRY_ATTRS_MAX - 1)
> >   };
> > +enum {
> > +	DRM_RAS_A_RETIRED_PAGE_ATTRS_NODE_ID = 1,
> > +	DRM_RAS_A_RETIRED_PAGE_ATTRS_ADDRESS,
> > +	DRM_RAS_A_RETIRED_PAGE_ATTRS_SIZE,
> > +	DRM_RAS_A_RETIRED_PAGE_ATTRS_STATUS,
> > +	DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX_PAGES,
> > +
> > +	__DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX,
> > +	DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX = (__DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX - 1)
> > +};
> > +
> >   enum {
> >   	DRM_RAS_CMD_LIST_NODES = 1,
> >   	DRM_RAS_CMD_GET_ERROR_COUNTER,
> > @@ -83,6 +108,8 @@ enum {
> >   	DRM_RAS_CMD_TELEMETRY_GET,
> >   	DRM_RAS_CMD_TELEMETRY_SET,
> >   	DRM_RAS_CMD_TELEMETRY_LIST_FIELDS,
> > +	DRM_RAS_CMD_GET_RETIRED_PAGES,
> > +	DRM_RAS_CMD_GET_RETIRED_PAGES_INFO,
> >   	__DRM_RAS_CMD_MAX,
> >   	DRM_RAS_CMD_MAX = (__DRM_RAS_CMD_MAX - 1)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v5 2/2] drm/xe: Expose retired VRAM pages via drm-ras
  2026-11-27  7:18   ` Tauro, Riana
@ 2026-11-27 18:07     ` Rodrigo Vivi
  0 siblings, 0 replies; 12+ messages in thread
From: Rodrigo Vivi @ 2026-11-27 18:07 UTC (permalink / raw)
  To: Tauro, Riana
  Cc: dri-devel, intel-xe, Aravind Iddamsetty, Tejas Upadhyay,
	Himal Prasad Ghimiray

On Fri, Nov 27, 2026 at 12:48:39PM +0530, Tauro, Riana wrote:
> 
> On 26-11-2026 00:32, Rodrigo Vivi wrote:
> > From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> > 
> > Retired VRAM pages are only visible through the vram_bad_pages debugfs
> > file today. Register a drm-ras retired-pages node so userspace gets
> > them, and the maximum number of pages that can be retired, through a
> > stable interface.
> > 
> > The page lists are walked under the VRAM manager lock, and a generation
> > counter on each manager lets drm-ras flag dumps that raced with a page
> > being added, retired or failing its reservation.
> > 
> > v3 (Rodrigo+LLM):
> >   - Use the drm-ras retired-pages node type, which replaces the nested
> >     retired-resources layout (Jakub).
> >   - Walk the lists under mgr->lock instead of RCU, which they are not
> >     protected by, and stop reading the buddy blocks (Sashiko).
> >   - Add a generation counter for interrupted dumps.
> >   - Keep the vram_bad_pages debugfs file for now.
> >   - Remove deprecated Assisted-by tag.
> > 
> > v4 (Rodrigo+LLM):
> >   - Register the node at the end of xe_ras_init(), once the retired page
> >     lists are fetched. That point is only reached with a system
> >     controller, which replaces the XE_CRESCENTISLAND check and keeps the
> >     node off VFs (local Sashiko).
> >   - Report the list generation also when no page is left (local Sashiko).
> > 
> > Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
> > Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> > Cc: Riana Tauro <riana.tauro@intel.com>
> > Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > ---
> >   drivers/gpu/drm/xe/xe_drm_ras.c            | 56 +++++++++++++++++
> >   drivers/gpu/drm/xe/xe_drm_ras.h            |  1 +
> >   drivers/gpu/drm/xe/xe_ras.c                |  4 ++
> >   drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       | 72 +++++++++++++++++++++-
> >   drivers/gpu/drm/xe/xe_ttm_vram_mgr.h       |  3 +
> >   drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h |  5 ++
> >   6 files changed, 140 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/gpu/drm/xe/xe_drm_ras.c b/drivers/gpu/drm/xe/xe_drm_ras.c
> > index 86c589437a9f..5382b60bb328 100644
> > --- a/drivers/gpu/drm/xe/xe_drm_ras.c
> > +++ b/drivers/gpu/drm/xe/xe_drm_ras.c
> > @@ -13,6 +13,7 @@
> >   #include "xe_device_types.h"
> >   #include "xe_drm_ras.h"
> >   #include "xe_ras.h"
> > +#include "xe_ttm_vram_mgr.h"
> >   #include "xe_wedge.h"
> >   static const char * const error_components[] = DRM_XE_RAS_ERROR_COMPONENT_NAMES;
> > @@ -272,6 +273,61 @@ static int register_nodes(struct xe_device *xe)
> >   	return ret;
> >   }
> > +static int query_retired_page(struct drm_ras_node *node, u64 cursor,
> > +			      struct drm_ras_retired_page *page)
> > +{
> > +	return xe_ttm_vram_get_retired_page(node->priv, cursor, page);
> > +}
> 
> This patch [PATCH v4 0/2] Protect drm_ras against unplugged or wedged device
> - Raag Jadav
> <https://lore.kernel.org/intel-xe/20261119102344.2053821-1-raag.jadav@intel.com/>adds
> protection against a dev unplug for error counter nodes due to a issue we
> saw while unbind.
> The same needs to be added here.

upcoming v6 adds the unplug protection. I left the wedged check out on
purpose: the counters skip a wedged device because they talk to the
firmware, while the retired pages are driver memory, and still
useful to read after a wedge.

> 
> > +
> > +static int query_retired_pages_info(struct drm_ras_node *node, u64 *max_pages)
> > +{
> > +	*max_pages = xe_ras_get_max_pages(node->priv);
> 
> There could be an issue with firmware reporting incorrect max pages.
> Can we return -EINVAL for max_pages if its 0.
> 
> 
> > +
> > +	return 0;
> > +}
> > +
> > +/**
> > + * xe_drm_ras_register_retired_pages() - Register the retired VRAM pages node
> > + * @xe: xe device instance
> > + *
> > + * Called once the retired page lists are populated.
> > + *
> > + * Return: 0 on success, negative error code otherwise.
> > + */
> > +int xe_drm_ras_register_retired_pages(struct xe_device *xe)
> > +{
> > +	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
> > +	struct drm_ras_node *node;
> > +	int ret;
> > +
> > +	if (!xe->info.has_drm_ras)
> > +		return 0;
> > +
> > +	node = drmm_kzalloc(&xe->drm, sizeof(*node), GFP_KERNEL);
> > +	if (!node)
> > +		return -ENOMEM;
> > +
> > +	node->device_name = kasprintf(GFP_KERNEL, "%04x:%02x:%02x.%d",
> > +				      pci_domain_nr(pdev->bus), pdev->bus->number,
> > +				      PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));
> > +	if (!node->device_name)
> > +		return -ENOMEM;
> > +
> > +	node->node_name = "vram-retired-pages";
> > +	node->type = DRM_RAS_NODE_TYPE_RETIRED_PAGES;
> > +	node->query_retired_page = query_retired_page;
> > +	node->query_retired_pages_info = query_retired_pages_info;
> > +	node->priv = xe;
> > +
> > +	ret = drm_ras_node_register(node);
> > +	if (ret) {
> > +		cleanup_node_param(node);
> > +		return ret;
> > +	}
> > +
> > +	return drmm_add_action_or_reset(&xe->drm, cleanup_node, node);
> > +}
> > +
> >   /**
> >    * xe_drm_ras_event() - Report drm-ras error event to userspace
> >    * @xe: xe device structure
> > diff --git a/drivers/gpu/drm/xe/xe_drm_ras.h b/drivers/gpu/drm/xe/xe_drm_ras.h
> > index 723229b2cffb..a6fc2255986d 100644
> > --- a/drivers/gpu/drm/xe/xe_drm_ras.h
> > +++ b/drivers/gpu/drm/xe/xe_drm_ras.h
> > @@ -13,6 +13,7 @@ struct xe_device;
> >   	for (i = 0; i < DRM_XE_RAS_ERR_SEV_MAX; i++)
> >   int xe_drm_ras_init(struct xe_device *xe);
> > +int xe_drm_ras_register_retired_pages(struct xe_device *xe);
> >   void xe_drm_ras_event(struct xe_device *xe, u32 component, u32 severity, u32 value);
> >   #endif
> > diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c
> > index 9b04be3405ca..8e5e2df2c9f7 100644
> > --- a/drivers/gpu/drm/xe/xe_ras.c
> > +++ b/drivers/gpu/drm/xe/xe_ras.c
> > @@ -1508,6 +1508,10 @@ int xe_ras_init(struct xe_device *xe)
> >   	get_offline_list(xe);
> >   	get_offline_queue(xe);
> > +	ret = xe_drm_ras_register_retired_pages(xe);
> > +	if (ret)
> > +		return ret;
> 
> Could we move this into xe_drm_ras_init() and add the sysctrl check there
> too? That way all the initialization stays in one init function.

The node needs the retired page lists, which are only fetched later
in xe_ras_init(), by get_offline_list() and get_offline_queue().
Registering it in xe_drm_ras_init() would expose an incomplete list
in the meantime, so I kept it right after the lists are fetched,
which is also only reached with a system controller.

> 
> We should also add a check to skip registering this node when page
> offlining is disabled.
> 
> Do we really need to fail probe if drm_ras node fails to register?
> 
> Thanks
> Riana
> 
> 
> > +
> >   	/*
> >   	 * During probe, process and log any errors detected by firmware while the driver was not
> >   	 * loaded. Critical errors such as Punit and CSC are reported through Pcode init failure,
> > diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> > index 36d47de8b11b..4a7b9ea36211 100644
> > --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> > +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
> > @@ -10,6 +10,7 @@
> >   #include <drm/drm_managed.h>
> >   #include <drm/drm_drv.h>
> >   #include <drm/drm_buddy.h>
> > +#include <drm/drm_ras.h>
> >   #include <uapi/drm/xe_drm.h>
> >   #include <drm/ttm/ttm_placement.h>
> > @@ -240,13 +241,17 @@ static void xe_ttm_vram_retry_queued_pages(struct xe_ttm_vram_mgr *mgr)
> >   					    PAGE_SIZE, PAGE_SIZE, &pos->blocks,
> >   					    GPU_BUDDY_RANGE_ALLOCATION, NULL,
> >   					    &pos->used_visible_size)) {
> > -			pos->status = XE_PAGE_RESERVE_FAIL;
> > +			if (pos->status != XE_PAGE_RESERVE_FAIL) {
> > +				pos->status = XE_PAGE_RESERVE_FAIL;
> > +				mgr->retired_gen++;
> > +			}
> >   			continue;
> >   		}
> >   		--mgr->n_queued_pages;
> >   		list_del(&pos->queued_link);
> >   		++mgr->n_offlined_pages;
> >   		list_add(&pos->offlined_link, &mgr->offlined_pages);
> > +		mgr->retired_gen++;
> >   	}
> >   }
> > @@ -625,6 +630,68 @@ u64 xe_ttm_vram_get_avail(struct ttm_resource_manager *man)
> >   	return avail;
> >   }
> > +static void retired_page_update(struct drm_ras_retired_page *page, bool *found,
> > +				u64 cursor, u64 addr, enum drm_ras_retired_page_status status)
> > +{
> > +	if (addr < cursor || (*found && addr >= page->address))
> > +		return;
> > +
> > +	page->address = addr;
> > +	page->status = status;
> > +	*found = true;
> > +}
> > +
> > +/**
> > + * xe_ttm_vram_get_retired_page - Get the next retired VRAM page
> > + * @xe: xe device instance
> > + * @cursor: lowest device address to consider
> > + * @page: filled with the retired page that has the lowest address >= @cursor
> > + *
> > + * Return: 0 on success, -ENOENT if no retired page is at or above @cursor.
> > + */
> > +int xe_ttm_vram_get_retired_page(struct xe_device *xe, u64 cursor,
> > +				 struct drm_ras_retired_page *page)
> > +{
> > +	struct xe_ttm_vram_offline_resource *pos;
> > +	struct xe_tile *tile;
> > +	bool found = false;
> > +	u32 gen = 0;
> > +	u8 id;
> > +
> > +	for_each_tile(tile, xe, id) {
> > +		struct xe_vram_region *vr = tile->mem.vram;
> > +		struct ttm_resource_manager *man;
> > +		struct xe_ttm_vram_mgr *mgr;
> > +
> > +		man = ttm_manager_type(&xe->ttm, XE_PL_VRAM0 + id);
> > +		if (!man || !vr)
> > +			continue;
> > +		mgr = to_xe_ttm_vram_mgr(man);
> > +
> > +		guard(mutex)(&mgr->lock);
> > +
> > +		gen += mgr->retired_gen;
> > +
> > +		list_for_each_entry(pos, &mgr->offlined_pages, offlined_link)
> > +			retired_page_update(page, &found, cursor, pos->addr + vr->dpa_base,
> > +					    DRM_RAS_RETIRED_PAGE_STATUS_RETIRED);
> > +
> > +		list_for_each_entry(pos, &mgr->queued_pages, queued_link)
> > +			retired_page_update(page, &found, cursor, pos->addr + vr->dpa_base,
> > +					    pos->status == XE_PAGE_RESERVE_FAIL ?
> > +					    DRM_RAS_RETIRED_PAGE_STATUS_FAILED :
> > +					    DRM_RAS_RETIRED_PAGE_STATUS_PENDING);
> > +	}
> > +
> > +	page->generation = gen;
> > +	if (!found)
> > +		return -ENOENT;
> > +
> > +	page->size = PAGE_SIZE;
> > +
> > +	return 0;
> > +}
> > +
> >   static int xe_ttm_vram_purge_page(struct xe_device *xe, struct xe_bo *bo)
> >   {
> >   	u32 q_flag = DRM_XE_EXEC_QUEUE_BAN_REASON_PAGE_OFFLINE;
> > @@ -825,6 +892,7 @@ static int xe_ttm_vram_reserve_page_at_addr(struct xe_device *xe, u64 addr,
> >   			/* Queue free(to-be-purged) pages */
> >   			++vram_mgr->n_queued_pages;
> >   			list_add(&nentry->queued_link, &vram_mgr->queued_pages);
> > +			vram_mgr->retired_gen++;
> >   		} else {
> >   			/* Immediately offline unoccupied pages */
> >   			/* Queue free(to-be-reserved) pages */
> > @@ -839,10 +907,12 @@ static int xe_ttm_vram_reserve_page_at_addr(struct xe_device *xe, u64 addr,
> >   					addr, ret);
> >   				++vram_mgr->n_queued_pages;
> >   				list_add(&nentry->queued_link, &vram_mgr->queued_pages);
> > +				vram_mgr->retired_gen++;
> >   				return 0;
> >   			}
> >   			++vram_mgr->n_offlined_pages;
> >   			list_add(&nentry->offlined_link, &vram_mgr->offlined_pages);
> > +			vram_mgr->retired_gen++;
> >   			return ret;
> >   		}
> >   	}
> > diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
> > index d77f067d197b..91147385718c 100644
> > --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
> > +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
> > @@ -9,6 +9,7 @@
> >   #include "xe_ttm_vram_mgr_types.h"
> >   enum dma_data_direction;
> > +struct drm_ras_retired_page;
> >   struct xe_device;
> >   struct xe_tile;
> >   struct xe_vram_region;
> > @@ -33,6 +34,8 @@ void xe_ttm_vram_get_used(struct ttm_resource_manager *man,
> >   			  u64 *used, u64 *used_visible);
> >   int xe_ttm_vram_handle_addr_fault(struct xe_device *xe, u64 addr);
> >   int xe_ttm_vram_inject_fault(struct xe_device *xe);
> > +int xe_ttm_vram_get_retired_page(struct xe_device *xe, u64 cursor,
> > +				 struct drm_ras_retired_page *page);
> >   static inline struct xe_ttm_vram_mgr_resource *
> >   to_xe_ttm_vram_mgr_resource(struct ttm_resource *res)
> > diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
> > index 4a2cd27a5b61..6a49ee8b09ef 100644
> > --- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
> > +++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
> > @@ -27,6 +27,11 @@ struct xe_ttm_vram_mgr {
> >   	struct list_head queued_pages;
> >   	/** @n_queued_pages: Number of queued pages */
> >   	u16 n_queued_pages;
> > +	/**
> > +	 * @retired_gen: Changed whenever @offlined_pages or @queued_pages
> > +	 * change. Protected by @lock.
> > +	 */
> > +	u32 retired_gen;
> >   	/** @visible_size: Probed size of the CPU visible portion */
> >   	u64 visible_size;
> >   	/** @visible_avail: CPU visible portion still unallocated */

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-11-27 18:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 19:02 [PATCH v5 0/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-25 19:02 ` [PATCH v5 1/2] drm/ras: Add retired-pages node type Rodrigo Vivi
2026-11-25 23:46   ` Zack McKevitt
2026-11-27  7:16   ` Tauro, Riana
2026-11-27 18:03     ` Rodrigo Vivi
2026-11-25 19:02 ` [PATCH v5 2/2] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-27  7:18   ` Tauro, Riana
2026-11-27 18:07     ` Rodrigo Vivi
2026-11-25 20:19 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev5) Patchwork
2026-11-25 20:22 ` ✓ CI.KUnit: success " Patchwork
2026-11-25 21:02 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-26  5:35 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox