Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras
@ 2026-11-27 18:17 Rodrigo Vivi
  2026-11-27 18:17 ` [PATCH v6 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2026-11-27 18:17 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-xe, Rodrigo Vivi

This is v6 of:

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

It addresses Riana's review: the type check of drm_ras_node_get() is
now its own patch, and the snapshot for the dump is folded into
Aravind's patches.

The IGT test and tools:
https://lore.kernel.org/igt-dev/20261127181133.801215-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

Rodrigo Vivi (1):
  drm/ras: Check the node type in node lookups

 Documentation/netlink/specs/drm_ras.yaml |  78 ++++++-
 drivers/gpu/drm/drm_ras.c                | 282 +++++++++++++++++++++--
 drivers/gpu/drm/drm_ras_nl.c             |  26 +++
 drivers/gpu/drm/drm_ras_nl.h             |   6 +
 drivers/gpu/drm/xe/xe_drm_ras.c          |  78 +++++++
 drivers/gpu/drm/xe/xe_drm_ras.h          |   1 +
 drivers/gpu/drm/xe/xe_ras.c              |   2 +
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c     |  58 +++++
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h     |   2 +
 include/drm/drm_ras.h                    |  68 ++++++
 include/uapi/drm/drm_ras.h               |  34 ++-
 11 files changed, 611 insertions(+), 24 deletions(-)

-- 
2.56.0


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

* [PATCH v6 1/3] drm/ras: Check the node type in node lookups
  2026-11-27 18:17 [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
@ 2026-11-27 18:17 ` Rodrigo Vivi
  2026-11-27 18:24   ` sashiko-bot
  2026-11-27 18:17 ` [PATCH v6 2/3] drm/ras: Add retired-pages node type Rodrigo Vivi
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Rodrigo Vivi @ 2026-11-27 18:17 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-xe, Rodrigo Vivi, Riana Tauro, Zack McKevitt

drm_ras_node_get() returns a node of any type. The telemetry handlers
check the type themselves, but the error-counter ones do not, so an
error-counter operation on a telemetry node fails with -EOPNOTSUPP or
walks its empty counter range, instead of reporting -ENOENT.

Pass the expected type to drm_ras_node_get(), so a node of another
type is not found, and drop the type checks of the telemetry handlers.

Suggested-by: Riana Tauro <riana.tauro@intel.com>
Acked-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/drm_ras.c | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
index 82fcc766b84b..5ae6d0a3b751 100644
--- a/drivers/gpu/drm/drm_ras.c
+++ b/drivers/gpu/drm/drm_ras.c
@@ -169,6 +169,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 +180,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 +416,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 +465,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 +607,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,7 +703,7 @@ 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);
+	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
 	if (!node || !node->clear_error_counter) {
 		drm_ras_node_put(node);
 		return -ENOENT;
@@ -770,7 +774,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;
 
@@ -808,10 +812,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 +895,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;
 	}
 
-- 
2.56.0


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

* [PATCH v6 2/3] drm/ras: Add retired-pages node type
  2026-11-27 18:17 [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
  2026-11-27 18:17 ` [PATCH v6 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
@ 2026-11-27 18:17 ` Rodrigo Vivi
  2026-11-27 18:17 ` [PATCH v6 3/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2026-11-27 18:17 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 list is read once, when
   the dump starts.
 - 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).

v6 (Rodrigo+LLM):
 - Take a snapshot of the retired pages when the dump starts, instead of
   asking the driver for each page, so large lists are dumped in linear
   time. The snapshot is consistent, so NLM_F_DUMP_INTR and the
   generation counter are gone (Riana).
 - Move the type check of drm_ras_node_get() to its own patch (Riana).
 - Let drm-ras own the snapshot array, which drivers fill with
   drm_ras_retired_pages_add(), and do not sort it (Riana).
 - Pass the info to the driver in a struct, so it can grow, and drop
   node-id from the get-retired-pages-info reply (Riana).
 - Document each retired-page-status value, which also documents them
   in the uAPI header, and reword the max-pages and info docs (Riana).
 - Name the dump hooks pre/post like the other drm-ras ones, and use
   struct nlattr for the message headers (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 |  78 ++++++-
 drivers/gpu/drm/drm_ras.c                | 252 ++++++++++++++++++++++-
 drivers/gpu/drm/drm_ras_nl.c             |  26 +++
 drivers/gpu/drm/drm_ras_nl.h             |   6 +
 include/drm/drm_ras.h                    |  68 ++++++
 include/uapi/drm/drm_ras.h               |  34 ++-
 6 files changed, 454 insertions(+), 10 deletions(-)

diff --git a/Documentation/netlink/specs/drm_ras.yaml b/Documentation/netlink/specs/drm_ras.yaml
index 0f1ceb705d3d..7cab42685568 100644
--- a/Documentation/netlink/specs/drm_ras.yaml
+++ b/Documentation/netlink/specs/drm_ras.yaml
@@ -16,16 +16,33 @@ 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
+    doc: Status of a retired page.
+    entries:
+      -
+        name: retired
+        doc: The page is reserved and out of service.
+      -
+        name: pending
+        doc: The retirement is queued, but the reservation is not complete yet.
+      -
+        name: failed
+        doc: The reservation failed, and the page may still be in use.
 
 attribute-sets:
   -
@@ -140,6 +157,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.
 
 operations:
   list:
@@ -287,6 +328,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 list is read once, when the dump starts.
+      attribute-set: retired-page-attrs
+      flags: [admin-perm]
+      dump:
+        pre: drm-ras-nl-pre-retired-pages
+        post: drm-ras-nl-post-retired-pages
+        request:
+          attributes:
+            - node-id
+        reply:
+          attributes:
+            - address
+            - size
+            - status
+    -
+      name: get-retired-pages-info
+      doc: >-
+           Retrieve the retired pages info of a retired-pages node.
+      attribute-set: retired-page-attrs
+      flags: [admin-perm]
+      do:
+        request:
+          attributes:
+            - node-id
+        reply:
+          attributes:
+            - max-pages
 
 mcast-groups:
   list:
diff --git a/drivers/gpu/drm/drm_ras.c b/drivers/gpu/drm/drm_ras.c
index 5ae6d0a3b751..618b6a44c95b 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 pages info 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_pages() callback, adding
+ *       each retired page of the node to the snapshot of the dump with
+ *       drm_ras_retired_pages_add().
+ *     + 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,10 +162,26 @@
  * - 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_pre_retired_pages(): GET_RETIRED_PAGES dump start operation,
+ *   taking a snapshot of the retired pages of a specific node.
+ * - drm_ras_nl_get_retired_pages_dumpit(): Implements the GET_RETIRED_PAGES dumpit
+ *   operation, listing the retired pages of the snapshot.
+ * - drm_ras_nl_post_retired_pages(): GET_RETIRED_PAGES dump done operation,
+ *   freeing the snapshot.
+ * - drm_ras_nl_get_retired_pages_info_doit(): Implements the GET_RETIRED_PAGES_INFO
+ *   doit operation, fetching the retired pages info of a specific node.
  */
 
 static DEFINE_XARRAY_ALLOC(drm_ras_xa);
 
+/* State of a GET_RETIRED_PAGES dump */
+struct drm_ras_retired_pages_ctx {
+	/* Snapshot of the retired pages, taken when the dump starts */
+	struct drm_ras_retired_pages snapshot;
+	/* Index of the next page of @snapshot to dump */
+	u32 next;
+};
+
 /*
  * Per-command netlink context. Overlaid on the callback storage (cb->ctx) for
  * dumps and on genl_info (info->ctx) for doits. @node pins the node targeted by
@@ -162,6 +193,8 @@ struct drm_ras_ctx {
 	unsigned long restart;
 	/* Node targeted by a telemetry get/set doit */
 	struct drm_ras_node *node;
+	/* State of a retired pages dump */
+	struct drm_ras_retired_pages_ctx retired;
 };
 
 static_assert(sizeof(struct drm_ras_ctx) <= NETLINK_CTX_SIZE);
@@ -704,19 +737,23 @@ int drm_ras_nl_clear_error_counter_doit(struct sk_buff *skb,
 	error_id = nla_get_u32(info->attrs[DRM_RAS_A_ERROR_COUNTER_ATTRS_ERROR_ID]);
 
 	node = drm_ras_node_get(node_id, DRM_RAS_NODE_TYPE_ERROR_COUNTER);
-	if (!node || !node->clear_error_counter) {
-		drm_ras_node_put(node);
+	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;
@@ -785,6 +822,208 @@ 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_retired_pages_add() - Add a page to a retired pages snapshot
+ * @list: Snapshot passed to the query_retired_pages() callback
+ * @page: Retired page to add
+ *
+ * Return: 0 on success, or -ENOMEM if @list cannot grow.
+ */
+int drm_ras_retired_pages_add(struct drm_ras_retired_pages *list,
+			      const struct drm_ras_retired_page *page)
+{
+	struct drm_ras_retired_page *pages;
+	u32 capacity;
+
+	if (list->count == list->capacity) {
+		capacity = max(16U, 2 * list->capacity);
+		pages = kvrealloc(list->pages, array_size(capacity, sizeof(*pages)), GFP_KERNEL);
+		if (!pages)
+			return -ENOMEM;
+
+		list->pages = pages;
+		list->capacity = capacity;
+	}
+
+	list->pages[list->count++] = *page;
+
+	return 0;
+}
+EXPORT_SYMBOL(drm_ras_retired_pages_add);
+
+/**
+ * drm_ras_nl_pre_retired_pages() - Take a snapshot of the retired pages
+ * @cb: Callback context for multi-part dumps
+ *
+ * Return: 0 on success, or a negative error code on failure.
+ */
+int drm_ras_nl_pre_retired_pages(struct netlink_callback *cb)
+{
+	const struct genl_info *info = genl_info_dump(cb);
+	struct drm_ras_ctx *ctx = (void *)cb->ctx;
+	struct drm_ras_node *node;
+	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;
+
+	ret = node->query_retired_pages(node, &ctx->retired.snapshot);
+	drm_ras_node_put(node);
+	if (ret)
+		kvfree(ctx->retired.snapshot.pages);
+
+	return ret;
+}
+
+/**
+ * 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 of the snapshot. The dump resumes from
+ * the next page after a buffer overflow.
+ *
+ * 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 nlattr *hdr;
+	int ret = 0;
+
+	for (; ctx->retired.next < ctx->retired.snapshot.count; ctx->retired.next++) {
+		hdr = genlmsg_iput(skb, info);
+		if (!hdr) {
+			ret = -EMSGSIZE;
+			break;
+		}
+
+		ret = msg_put_retired_page(skb, &ctx->retired.snapshot.pages[ctx->retired.next]);
+		if (ret) {
+			genlmsg_cancel(skb, hdr);
+			break;
+		}
+
+		genlmsg_end(skb, hdr);
+	}
+
+	return ret;
+}
+
+/**
+ * drm_ras_nl_post_retired_pages() - Free the retired pages snapshot
+ * @cb: Callback context for multi-part dumps
+ *
+ * Return: 0.
+ */
+int drm_ras_nl_post_retired_pages(struct netlink_callback *cb)
+{
+	struct drm_ras_ctx *ctx = (void *)cb->ctx;
+
+	kvfree(ctx->retired.snapshot.pages);
+
+	return 0;
+}
+
+/**
+ * drm_ras_nl_get_retired_pages_info_doit() - Query the retired pages info 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_retired_pages_info pages_info = {};
+	struct drm_ras_node *node;
+	struct sk_buff *msg;
+	struct nlattr *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, &pages_info);
+	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_uint(msg, DRM_RAS_A_RETIRED_PAGE_ATTRS_MAX_PAGES, pages_info.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
@@ -1102,7 +1341,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 */
@@ -1114,6 +1352,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_pages)
+			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..3fadd8742760 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,22 @@ 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,
+		.start		= drm_ras_nl_pre_retired_pages,
+		.dumpit		= drm_ras_nl_get_retired_pages_dumpit,
+		.done		= drm_ras_nl_post_retired_pages,
+		.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..9d6c43279eb1 100644
--- a/drivers/gpu/drm/drm_ras_nl.h
+++ b/drivers/gpu/drm/drm_ras_nl.h
@@ -17,6 +17,8 @@ int drm_ras_nl_pre_telemetry(const struct genl_split_ops *ops,
 void
 drm_ras_nl_post_telemetry(const struct genl_split_ops *ops,
 			  struct sk_buff *skb, struct genl_info *info);
+int drm_ras_nl_pre_retired_pages(struct netlink_callback *cb);
+int drm_ras_nl_post_retired_pages(struct netlink_callback *cb);
 
 int drm_ras_nl_list_nodes_dumpit(struct sk_buff *skb,
 				 struct netlink_callback *cb);
@@ -34,6 +36,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..26bc9006f0d7 100644
--- a/include/drm/drm_ras.h
+++ b/include/drm/drm_ras.h
@@ -28,6 +28,41 @@ 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;
+};
+
+/**
+ * struct drm_ras_retired_pages - A snapshot of the retired pages of a node
+ *
+ * Owned by drm-ras. Drivers only add pages to it with
+ * drm_ras_retired_pages_add().
+ */
+struct drm_ras_retired_pages {
+	/** @pages: Array of the retired pages. */
+	struct drm_ras_retired_page *pages;
+	/** @count: Number of pages in @pages. */
+	u32 count;
+	/** @capacity: Number of pages @pages can hold. */
+	u32 capacity;
+};
+
+/**
+ * struct drm_ras_retired_pages_info - Retired pages info of a node
+ */
+struct drm_ras_retired_pages_info {
+	/** @max_pages: Maximum number of pages that can be retired. */
+	u64 max_pages;
+};
+
 /**
  * struct drm_ras_node - A DRM RAS Node
  */
@@ -184,6 +219,34 @@ struct drm_ras_node {
 	int (*telemetry_set)(struct drm_ras_node *ep, u64 *field, s64 *value,
 			     s64 *status);
 
+	/* Retired-Pages Related Callbacks */
+
+	/**
+	 * @query_retired_pages:
+	 *
+	 * This callback is used by drm-ras to take a snapshot of the retired
+	 * pages of a node. It must add each retired page of the node to @list
+	 * with drm_ras_retired_pages_add().
+	 *
+	 * The @query_retired_pages is a mandatory callback for
+	 * retired_pages_node.
+	 *
+	 * Returns: 0 on success, negative error code on failure.
+	 */
+	int (*query_retired_pages)(struct drm_ras_node *node,
+				   struct drm_ras_retired_pages *list);
+
+	/**
+	 * @query_retired_pages_info:
+	 *
+	 * This callback is used by drm-ras to query the retired pages info of a
+	 * node.
+	 *
+	 * Returns: 0 on success, negative error code on failure.
+	 */
+	int (*query_retired_pages_info)(struct drm_ras_node *node,
+					struct drm_ras_retired_pages_info *info);
+
 	/** @priv: Driver private data */
 	void *priv;
 
@@ -209,12 +272,17 @@ int drm_ras_node_register(struct drm_ras_node *node);
 void drm_ras_node_unregister(struct drm_ras_node *node);
 int drm_ras_nl_error_event(struct drm_ras_node *node, u32 error_id, const char *error_name,
 			   u32 value);
+int drm_ras_retired_pages_add(struct drm_ras_retired_pages *list,
+			      const struct drm_ras_retired_page *page);
 #else
 static inline int drm_ras_node_register(struct drm_ras_node *node) { return 0; }
 static inline void drm_ras_node_unregister(struct drm_ras_node *node) { }
 static inline int drm_ras_nl_error_event(struct drm_ras_node *node, u32 error_id,
 					 const char *error_name, u32 value)
 { return 0; }
+static inline int drm_ras_retired_pages_add(struct drm_ras_retired_pages *list,
+					    const struct drm_ras_retired_page *page)
+{ return 0; }
 #endif
 
 #endif
diff --git a/include/uapi/drm/drm_ras.h b/include/uapi/drm/drm_ras.h
index 56e0588af5d5..834741da2459 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,21 @@ enum drm_ras_telemetry_field_mode {
 	DRM_RAS_TELEMETRY_FIELD_MODE_WRITE = 2,
 };
 
+/**
+ * enum drm_ras_retired_page_status - Status of a retired page.
+ * @DRM_RAS_RETIRED_PAGE_STATUS_RETIRED: The page is reserved and out of
+ *   service.
+ * @DRM_RAS_RETIRED_PAGE_STATUS_PENDING: The retirement is queued, but the
+ *   reservation is not complete yet.
+ * @DRM_RAS_RETIRED_PAGE_STATUS_FAILED: 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 +90,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 +111,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] 8+ messages in thread

* [PATCH v6 3/3] drm/xe: Expose retired VRAM pages via drm-ras
  2026-11-27 18:17 [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
  2026-11-27 18:17 ` [PATCH v6 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
  2026-11-27 18:17 ` [PATCH v6 2/3] drm/ras: Add retired-pages node type Rodrigo Vivi
@ 2026-11-27 18:17 ` Rodrigo Vivi
  2026-11-27 18:27 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev6) Patchwork
  2026-11-27 18:29 ` ✓ CI.KUnit: success " Patchwork
  4 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2026-11-27 18:17 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 snapshot of the dump is taken in one pass over the page lists of
each VRAM manager, under its lock.

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).

v6 (Rodrigo+LLM):
 - Add the pages to the drm-ras snapshot in one pass over the page
   lists, instead of a walk per page, and drop the generation counter
   (Riana).
 - Do not read the pages of an unplugged device (Riana).
 - Return -EINVAL when firmware reports no max pages (Riana).
 - Do not register the node when page offlining is disabled, and do not
   fail probe if the registration fails (Riana).

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      | 78 ++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_drm_ras.h      |  1 +
 drivers/gpu/drm/xe/xe_ras.c          |  2 +
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 58 +++++++++++++++++++++
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h |  2 +
 5 files changed, 141 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_drm_ras.c b/drivers/gpu/drm/xe/xe_drm_ras.c
index 86c589437a9f..7490281095ae 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,83 @@ static int register_nodes(struct xe_device *xe)
 	return ret;
 }
 
+static int query_retired_pages(struct drm_ras_node *node, struct drm_ras_retired_pages *list)
+{
+	struct xe_device *xe = node->priv;
+	int idx, ret;
+
+	if (!drm_dev_enter(&xe->drm, &idx))
+		return -ENODEV;
+
+	ret = xe_ttm_vram_get_retired_pages(xe, list);
+
+	drm_dev_exit(idx);
+
+	return ret;
+}
+
+static int query_retired_pages_info(struct drm_ras_node *node,
+				    struct drm_ras_retired_pages_info *info)
+{
+	struct xe_device *xe = node->priv;
+	int idx, ret = 0;
+
+	if (!drm_dev_enter(&xe->drm, &idx))
+		return -ENODEV;
+
+	info->max_pages = xe_ras_get_max_pages(xe);
+	if (!info->max_pages)
+		ret = -EINVAL;
+
+	drm_dev_exit(idx);
+
+	return ret;
+}
+
+/**
+ * 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 || xe_ras_get_disable_vram_page_offline(xe))
+		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_pages = query_retired_pages;
+	node->query_retired_pages_info = query_retired_pages_info;
+	node->priv = xe;
+
+	ret = drm_ras_node_register(node);
+	if (ret) {
+		drm_err(&xe->drm, "Failed to register DRM RAS retired pages node (%pe)\n",
+			ERR_PTR(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 d14ee40d0440..39895f6a040c 100644
--- a/drivers/gpu/drm/xe/xe_ras.c
+++ b/drivers/gpu/drm/xe/xe_ras.c
@@ -1519,6 +1519,8 @@ int xe_ras_init(struct xe_device *xe)
 	get_offline_list(xe);
 	get_offline_queue(xe);
 
+	xe_drm_ras_register_retired_pages(xe);
+
 	/*
 	 * 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..7658ce9f1bd9 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>
@@ -625,6 +626,63 @@ u64 xe_ttm_vram_get_avail(struct ttm_resource_manager *man)
 	return avail;
 }
 
+/**
+ * xe_ttm_vram_get_retired_pages - Get a snapshot of the retired VRAM pages
+ * @xe: xe device instance
+ * @list: drm-ras snapshot to add the retired pages to
+ *
+ * Return: 0 on success, negative error code otherwise.
+ */
+int xe_ttm_vram_get_retired_pages(struct xe_device *xe, struct drm_ras_retired_pages *list)
+{
+	struct xe_ttm_vram_offline_resource *pos;
+	struct drm_ras_retired_page page;
+	struct xe_tile *tile;
+	u8 id;
+	int ret;
+
+	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);
+
+		list_for_each_entry(pos, &mgr->offlined_pages, offlined_link) {
+			page = (struct drm_ras_retired_page) {
+				.address = pos->addr + vr->dpa_base,
+				.size = PAGE_SIZE,
+				.status = DRM_RAS_RETIRED_PAGE_STATUS_RETIRED,
+			};
+
+			ret = drm_ras_retired_pages_add(list, &page);
+			if (ret)
+				return ret;
+		}
+
+		list_for_each_entry(pos, &mgr->queued_pages, queued_link) {
+			page = (struct drm_ras_retired_page) {
+				.address = pos->addr + vr->dpa_base,
+				.size = PAGE_SIZE,
+				.status = pos->status == XE_PAGE_RESERVE_FAIL ?
+					  DRM_RAS_RETIRED_PAGE_STATUS_FAILED :
+					  DRM_RAS_RETIRED_PAGE_STATUS_PENDING,
+			};
+
+			ret = drm_ras_retired_pages_add(list, &page);
+			if (ret)
+				return ret;
+		}
+	}
+
+	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;
diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
index d77f067d197b..7fdcd9836148 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_pages;
 struct xe_device;
 struct xe_tile;
 struct xe_vram_region;
@@ -33,6 +34,7 @@ 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_pages(struct xe_device *xe, struct drm_ras_retired_pages *list);
 
 static inline struct xe_ttm_vram_mgr_resource *
 to_xe_ttm_vram_mgr_resource(struct ttm_resource *res)
-- 
2.56.0


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

* Re: [PATCH v6 1/3] drm/ras: Check the node type in node lookups
  2026-11-27 18:17 ` [PATCH v6 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
@ 2026-11-27 18:24   ` sashiko-bot
  2026-11-27 18:41     ` Rodrigo Vivi
  0 siblings, 1 reply; 8+ messages in thread
From: sashiko-bot @ 2026-11-27 18:24 UTC (permalink / raw)
  To: Rodrigo Vivi, dri-devel; +Cc: intel-xe

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/ras: missing Fixes trailer for node type check in
  drm_ras_node_get()
--

commit 9258f81bad25ef1d7e2f5db2a77f4c65a38c081f
Author: Rodrigo Vivi <rodrigo.vivi@intel.com>

> drm/ras: Check the node type in node lookups
>
> drm_ras_node_get() returns a node of any type. The telemetry handlers
> check the type themselves, but the error-counter ones do not, so an
> error-counter operation on a telemetry node fails with -EOPNOTSUPP or
> walks its empty counter range, instead of reporting -ENOENT.
>
> Pass the expected type to drm_ras_node_get(), so a node of another
> type is not found, and drop the type checks of the telemetry handlers.
>
> Suggested-by: Riana Tauro <riana.tauro@intel.com>
> Acked-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

[Severity: Low]
Since commit c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to
include telemetry nodes") allowed telemetry nodes in drm_ras_xa without
checking node->type in the error-counter handlers, should this include a
Fixes tag?

  Fixes: c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to include telemetry nodes")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261127181750.806528-5-rodrigo.vivi@intel.com?part=1

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

* ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev6)
  2026-11-27 18:17 [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
                   ` (2 preceding siblings ...)
  2026-11-27 18:17 ` [PATCH v6 3/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
@ 2026-11-27 18:27 ` Patchwork
  2026-11-27 18:29 ` ✓ CI.KUnit: success " Patchwork
  4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2026-11-27 18:27 UTC (permalink / raw)
  To: Aravind Iddamsetty; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Expose retired VRAM pages via drm-ras (rev6)
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 8af6f44e24df8a185a68965ea0e0068b0ba57438
Author: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com>
Date:   Fri Nov 27 13:17:54 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 snapshot of the dump is taken in one pass over the page lists of
    each VRAM manager, under its lock.
    
    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).
    
    v6 (Rodrigo+LLM):
     - Add the pages to the drm-ras snapshot in one pass over the page
       lists, instead of a walk per page, and drop the generation counter
       (Riana).
     - Do not read the pages of an unplugged device (Riana).
     - Return -EINVAL when firmware reports no max pages (Riana).
     - Do not register the node when page offlining is disabled, and do not
       fail probe if the registration fails (Riana).
    
    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 49d98d4e9c54dfb3650d39a80c2cd95e0a9f1b61 drm-intel
87005c9a31e3 drm/ras: Check the node type in node lookups
9d5dba896a28 drm/ras: Add retired-pages node type
-:511: WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#511: 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] = {

-:516: WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#516: 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, 626 lines checked
8af6f44e24df drm/xe: Expose retired VRAM pages via drm-ras



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

* ✓ CI.KUnit: success for drm/xe: Expose retired VRAM pages via drm-ras (rev6)
  2026-11-27 18:17 [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
                   ` (3 preceding siblings ...)
  2026-11-27 18:27 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev6) Patchwork
@ 2026-11-27 18:29 ` Patchwork
  4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2026-11-27 18:29 UTC (permalink / raw)
  To: Aravind Iddamsetty; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Expose retired VRAM pages via drm-ras (rev6)
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
[18:27:33] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:27:38] 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
[18:27:58] Starting KUnit Kernel (1/1)...
[18:27:58] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:27:58] ================= gpu_buddy (15 subtests) ==================
[18:27:58] [PASSED] gpu_test_buddy_alloc_limit
[18:27:58] [PASSED] gpu_test_buddy_alloc_optimistic
[18:27:58] [PASSED] gpu_test_buddy_alloc_pessimistic
[18:27:58] [PASSED] gpu_test_buddy_alloc_pathological
[18:27:58] [PASSED] gpu_test_buddy_alloc_contiguous
[18:27:58] [PASSED] gpu_test_buddy_alloc_clear
[18:27:58] [PASSED] gpu_test_buddy_alloc_range
[18:27:58] [PASSED] gpu_test_buddy_alloc_range_bias
[18:27:59] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[18:28:00] [PASSED] gpu_test_buddy_fragmentation_performance
[18:28:00] [PASSED] gpu_test_buddy_dirty_tracker_performance
[18:28:00] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[18:28:00] [PASSED] gpu_test_buddy_offset_aligned_allocation
[18:28:00] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[18:28:00] [PASSED] gpu_test_buddy_addr_to_block
[18:28:00] ==================== [PASSED] gpu_buddy ====================
[18:28:00] ============================================================
[18:28:00] Testing complete. Ran 15 tests: passed: 15
[18:28:00] Elapsed time: 27.601s total, 5.199s configuring, 20.284s building, 2.041s 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
[18:28:01] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:28:03] 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
[18:28:42] Starting KUnit Kernel (1/1)...
[18:28:42] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:28:42] ================= xe_ggtt_iov (9 subtests) =================
[18:28:42] [PASSED] init_shared_pf
[18:28:42] [PASSED] init_partial_overlap
[18:28:42] [PASSED] alloc_usable_pool_low
[18:28:42] [PASSED] alloc_shareable_pool_high
[18:28:42] [PASSED] alloc_partial_overlap
[18:28:42] [PASSED] alloc_partial_overlap_usable_full
[18:28:42] [PASSED] alloc_partial_overlap_shareable_full
[18:28:42] [PASSED] alloc_shareable_pool_unavailable
[18:28:42] [PASSED] alloc_shareable_pool_oversized
[18:28:42] =================== [PASSED] xe_ggtt_iov ===================
[18:28:42] =================== xe_ggtt (3 subtests) ===================
[18:28:42] [PASSED] init_native
[18:28:42] [PASSED] alloc_usable_pool_native
[18:28:42] [PASSED] alloc_usable_pool_oversized
[18:28:42] ===================== [PASSED] xe_ggtt =====================
[18:28:42] ================== guc_buf (11 subtests) ===================
[18:28:42] [PASSED] test_smallest
[18:28:42] [PASSED] test_largest
[18:28:42] [PASSED] test_granular
[18:28:42] [PASSED] test_unique
[18:28:42] [PASSED] test_overlap
[18:28:42] [PASSED] test_reusable
[18:28:42] [PASSED] test_too_big
[18:28:42] [PASSED] test_flush
[18:28:42] [PASSED] test_lookup
[18:28:42] [PASSED] test_data
[18:28:42] [PASSED] test_class
[18:28:42] ===================== [PASSED] guc_buf =====================
[18:28:42] =================== guc_dbm (7 subtests) ===================
[18:28:42] [PASSED] test_empty
[18:28:42] [PASSED] test_default
[18:28:42] ======================== test_size  ========================
[18:28:42] [PASSED] 4
[18:28:42] [PASSED] 8
[18:28:42] [PASSED] 32
[18:28:42] [PASSED] 256
[18:28:42] ==================== [PASSED] test_size ====================
[18:28:42] ======================= test_reuse  ========================
[18:28:42] [PASSED] 4
[18:28:42] [PASSED] 8
[18:28:42] [PASSED] 32
[18:28:42] [PASSED] 256
[18:28:42] =================== [PASSED] test_reuse ====================
[18:28:42] =================== test_range_overlap  ====================
[18:28:42] [PASSED] 4
[18:28:42] [PASSED] 8
[18:28:42] [PASSED] 32
[18:28:42] [PASSED] 256
[18:28:42] =============== [PASSED] test_range_overlap ================
[18:28:42] =================== test_range_compact  ====================
[18:28:42] [PASSED] 4
[18:28:42] [PASSED] 8
[18:28:42] [PASSED] 32
[18:28:42] [PASSED] 256
[18:28:42] =============== [PASSED] test_range_compact ================
[18:28:42] ==================== test_range_spare  =====================
[18:28:42] [PASSED] 4
[18:28:42] [PASSED] 8
[18:28:42] [PASSED] 32
[18:28:42] [PASSED] 256
[18:28:42] ================ [PASSED] test_range_spare =================
[18:28:42] ===================== [PASSED] guc_dbm =====================
[18:28:42] ================== guc_idm (22 subtests) ===================
[18:28:42] [PASSED] bad_init
[18:28:42] [PASSED] no_init
[18:28:42] [PASSED] init_fini
[18:28:42] [PASSED] check_init_small
[18:28:42] [PASSED] check_init_shared
[18:28:42] [PASSED] check_used
[18:28:42] [PASSED] check_quota
[18:28:42] [PASSED] check_all
[18:28:42] [PASSED] check_limits
[18:28:42] [PASSED] check_overlap
[18:28:42] [PASSED] check_overlap_alloc
[18:28:42] [PASSED] check_overlap_release
[18:28:42] [PASSED] check_overlap_partial_init
[18:28:42] [PASSED] check_overlap_partial_shared_range_blocking
[18:28:42] [PASSED] check_used_usable
[18:28:42] [PASSED] check_used_shareable
[18:28:42] [PASSED] check_used_mixed
[18:28:42] [PASSED] check_release_usable_range
[18:28:42] [PASSED] check_release_shareable_range
[18:28:42] [PASSED] check_split_boundaries
[18:28:42] [PASSED] check_shareable_spare
[18:28:42] [PASSED] check_shareable_spare_fragmented_tail
[18:28:42] ===================== [PASSED] guc_idm =====================
[18:28:42] ============== guc_klv_helpers (13 subtests) ===============
[18:28:42] [PASSED] test_count
[18:28:42] [PASSED] test_encode_u32
[18:28:42] [PASSED] test_encode_u64
[18:28:42] [PASSED] test_encode_string
[18:28:42] [PASSED] test_encode_object_raw
[18:28:42] [PASSED] test_encode_object_klv
[18:28:42] [PASSED] test_encode_object_nested
[18:28:42] [PASSED] test_encode_object_basic
[18:28:42] ===================== test_decode_u16  =====================
[18:28:42] [PASSED] empty
[18:28:42] [PASSED] valid
[18:28:42] [PASSED] max
[18:28:42] [PASSED] big
[18:28:42] [PASSED] long
[18:28:42] ================= [PASSED] test_decode_u16 =================
[18:28:42] ===================== test_decode_u32  =====================
[18:28:42] [PASSED] empty
[18:28:42] [PASSED] valid
[18:28:42] [PASSED] max
[18:28:42] [PASSED] long
[18:28:42] ================= [PASSED] test_decode_u32 =================
[18:28:42] ===================== test_decode_u64  =====================
[18:28:42] [PASSED] empty
[18:28:42] [PASSED] short
[18:28:42] [PASSED] valid
[18:28:42] [PASSED] max
[18:28:42] [PASSED] long
[18:28:42] ================= [PASSED] test_decode_u64 =================
[18:28:42] ===================== test_decode_str  =====================
[18:28:42] [PASSED] empty
[18:28:42] [PASSED] one
[18:28:42] [PASSED] one_trash
[18:28:42] [PASSED] two
[18:28:42] [PASSED] two_trash
[18:28:42] [PASSED] three
[18:28:42] [PASSED] dword
[18:28:42] [PASSED] four
[18:28:42] [PASSED] five
[18:28:42] [PASSED] six
[18:28:42] [PASSED] seven
[18:28:42] [PASSED] qword
[18:28:42] ================= [PASSED] test_decode_str =================
[18:28:42] [PASSED] test_print
[18:28:42] ================= [PASSED] guc_klv_helpers =================
[18:28:42] =================== xe_log (4 subtests) ====================
[18:28:42] [PASSED] demo_cper
[18:28:42] [PASSED] demo_dmesg
[18:28:42] ======================= test_dmesg  ========================
[18:28:42] [PASSED] test_fatal
[18:28:42] [PASSED] test_fatal_tile
[18:28:42] [PASSED] test_fatal_gt
[18:28:42] [PASSED] test_fatal_comp
[18:28:42] [PASSED] test_fatal_comp_tile
[18:28:42] [PASSED] test_fatal_comp_gt
[18:28:42] [PASSED] test_fatal_all
[18:28:42] [PASSED] test_recoverable
[18:28:42] [PASSED] test_recoverable_tile
[18:28:42] [PASSED] test_recoverable_gt
[18:28:42] [PASSED] test_recoverable_comp
[18:28:42] [PASSED] test_recoverable_comp_tile
[18:28:42] [PASSED] test_recoverable_comp_gt
[18:28:42] [PASSED] test_recoverable_all
[18:28:42] [PASSED] test_info
[18:28:42] [PASSED] test_info_tile
[18:28:42] [PASSED] test_info_gt
[18:28:42] [PASSED] test_info_err
[18:28:42] [PASSED] test_info_comp
[18:28:42] [PASSED] test_info_comp_tile
[18:28:42] [PASSED] test_info_comp_gt
[18:28:42] [PASSED] test_info_all
[18:28:42] [PASSED] test_hw_fatal
[18:28:42] [PASSED] test_hw_recoverable
[18:28:42] [PASSED] test_hw_corrected
[18:28:42] [PASSED] test_hw_informational
[18:28:42] =================== [PASSED] test_dmesg ====================
[18:28:42] ====================== test_invalid  =======================
[18:28:42] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[18:28:42] ================== [SKIPPED] test_invalid ==================
[18:28:42] ===================== [PASSED] xe_log ======================
[18:28:42] ================== no_relay (3 subtests) ===================
[18:28:42] [PASSED] xe_drops_guc2pf_if_not_ready
[18:28:42] [PASSED] xe_drops_guc2vf_if_not_ready
[18:28:42] [PASSED] xe_rejects_send_if_not_ready
[18:28:42] ==================== [PASSED] no_relay =====================
[18:28:42] ================== pf_relay (14 subtests) ==================
[18:28:42] [PASSED] pf_rejects_guc2pf_too_short
[18:28:42] [PASSED] pf_rejects_guc2pf_too_long
[18:28:42] [PASSED] pf_rejects_guc2pf_no_payload
[18:28:42] [PASSED] pf_fails_no_payload
[18:28:42] [PASSED] pf_fails_bad_origin
[18:28:42] [PASSED] pf_fails_bad_type
[18:28:42] [PASSED] pf_txn_reports_error
[18:28:42] [PASSED] pf_txn_sends_pf2guc
[18:28:42] [PASSED] pf_sends_pf2guc
[18:28:42] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[18:28:42] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[18:28:42] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[18:28:42] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[18:28:42] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[18:28:42] ==================== [PASSED] pf_relay =====================
[18:28:42] ================== vf_relay (3 subtests) ===================
[18:28:42] [PASSED] vf_rejects_guc2vf_too_short
[18:28:42] [PASSED] vf_rejects_guc2vf_too_long
[18:28:42] [PASSED] vf_rejects_guc2vf_no_payload
[18:28:42] ==================== [PASSED] vf_relay =====================
[18:28:42] ================ pf_gt_config (9 subtests) =================
[18:28:42] [PASSED] fair_contexts_1vf
[18:28:42] [PASSED] fair_doorbells_1vf
[18:28:42] [PASSED] fair_ggtt_1vf
[18:28:42] ====================== fair_vram_1vf  ======================
[18:28:42] [PASSED] 3.50 GiB
[18:28:42] [PASSED] 11.5 GiB
[18:28:42] [PASSED] 15.5 GiB
[18:28:42] [PASSED] 31.5 GiB
[18:28:42] [PASSED] 63.5 GiB
[18:28:42] [PASSED] 1.91 GiB
[18:28:42] ================== [PASSED] fair_vram_1vf ==================
[18:28:42] ================ fair_vram_1vf_admin_only  =================
[18:28:42] [PASSED] 3.50 GiB
[18:28:42] [PASSED] 11.5 GiB
[18:28:42] [PASSED] 15.5 GiB
[18:28:42] [PASSED] 31.5 GiB
[18:28:42] [PASSED] 63.5 GiB
[18:28:42] [PASSED] 1.91 GiB
[18:28:42] ============ [PASSED] fair_vram_1vf_admin_only =============
[18:28:42] ====================== fair_contexts  ======================
[18:28:42] [PASSED] 1 VF
[18:28:42] [PASSED] 2 VFs
[18:28:42] [PASSED] 3 VFs
[18:28:42] [PASSED] 4 VFs
[18:28:42] [PASSED] 5 VFs
[18:28:42] [PASSED] 6 VFs
[18:28:42] [PASSED] 7 VFs
[18:28:42] [PASSED] 8 VFs
[18:28:42] [PASSED] 9 VFs
[18:28:42] [PASSED] 10 VFs
[18:28:42] [PASSED] 11 VFs
[18:28:42] [PASSED] 12 VFs
[18:28:42] [PASSED] 13 VFs
[18:28:42] [PASSED] 14 VFs
[18:28:42] [PASSED] 15 VFs
[18:28:42] [PASSED] 16 VFs
[18:28:42] [PASSED] 17 VFs
[18:28:42] [PASSED] 18 VFs
[18:28:42] [PASSED] 19 VFs
[18:28:42] [PASSED] 20 VFs
[18:28:42] [PASSED] 21 VFs
[18:28:42] [PASSED] 22 VFs
[18:28:42] [PASSED] 23 VFs
[18:28:42] [PASSED] 24 VFs
[18:28:42] [PASSED] 25 VFs
[18:28:42] [PASSED] 26 VFs
[18:28:42] [PASSED] 27 VFs
[18:28:42] [PASSED] 28 VFs
[18:28:42] [PASSED] 29 VFs
[18:28:42] [PASSED] 30 VFs
[18:28:42] [PASSED] 31 VFs
[18:28:42] [PASSED] 32 VFs
[18:28:42] [PASSED] 33 VFs
[18:28:42] [PASSED] 34 VFs
[18:28:42] [PASSED] 35 VFs
[18:28:42] [PASSED] 36 VFs
[18:28:42] [PASSED] 37 VFs
[18:28:42] [PASSED] 38 VFs
[18:28:42] [PASSED] 39 VFs
[18:28:42] [PASSED] 40 VFs
[18:28:42] [PASSED] 41 VFs
[18:28:42] [PASSED] 42 VFs
[18:28:42] [PASSED] 43 VFs
[18:28:42] [PASSED] 44 VFs
[18:28:42] [PASSED] 45 VFs
[18:28:42] [PASSED] 46 VFs
[18:28:42] [PASSED] 47 VFs
[18:28:42] [PASSED] 48 VFs
[18:28:42] [PASSED] 49 VFs
[18:28:42] [PASSED] 50 VFs
[18:28:42] [PASSED] 51 VFs
[18:28:42] [PASSED] 52 VFs
[18:28:42] [PASSED] 53 VFs
[18:28:42] [PASSED] 54 VFs
[18:28:42] [PASSED] 55 VFs
[18:28:42] [PASSED] 56 VFs
[18:28:42] [PASSED] 57 VFs
[18:28:42] [PASSED] 58 VFs
[18:28:42] [PASSED] 59 VFs
[18:28:42] [PASSED] 60 VFs
[18:28:42] [PASSED] 61 VFs
[18:28:42] [PASSED] 62 VFs
[18:28:42] [PASSED] 63 VFs
[18:28:42] ================== [PASSED] fair_contexts ==================
[18:28:42] ===================== fair_doorbells  ======================
[18:28:42] [PASSED] 1 VF
[18:28:42] [PASSED] 2 VFs
[18:28:42] [PASSED] 3 VFs
[18:28:42] [PASSED] 4 VFs
[18:28:42] [PASSED] 5 VFs
[18:28:42] [PASSED] 6 VFs
[18:28:42] [PASSED] 7 VFs
[18:28:42] [PASSED] 8 VFs
[18:28:42] [PASSED] 9 VFs
[18:28:42] [PASSED] 10 VFs
[18:28:42] [PASSED] 11 VFs
[18:28:42] [PASSED] 12 VFs
[18:28:42] [PASSED] 13 VFs
[18:28:42] [PASSED] 14 VFs
[18:28:42] [PASSED] 15 VFs
[18:28:42] [PASSED] 16 VFs
[18:28:42] [PASSED] 17 VFs
[18:28:42] [PASSED] 18 VFs
[18:28:42] [PASSED] 19 VFs
[18:28:42] [PASSED] 20 VFs
[18:28:42] [PASSED] 21 VFs
[18:28:42] [PASSED] 22 VFs
[18:28:42] [PASSED] 23 VFs
[18:28:42] [PASSED] 24 VFs
[18:28:42] [PASSED] 25 VFs
[18:28:42] [PASSED] 26 VFs
[18:28:42] [PASSED] 27 VFs
[18:28:42] [PASSED] 28 VFs
[18:28:42] [PASSED] 29 VFs
[18:28:42] [PASSED] 30 VFs
[18:28:42] [PASSED] 31 VFs
[18:28:42] [PASSED] 32 VFs
[18:28:42] [PASSED] 33 VFs
[18:28:42] [PASSED] 34 VFs
[18:28:42] [PASSED] 35 VFs
[18:28:42] [PASSED] 36 VFs
[18:28:42] [PASSED] 37 VFs
[18:28:42] [PASSED] 38 VFs
[18:28:42] [PASSED] 39 VFs
[18:28:42] [PASSED] 40 VFs
[18:28:42] [PASSED] 41 VFs
[18:28:42] [PASSED] 42 VFs
[18:28:42] [PASSED] 43 VFs
[18:28:42] [PASSED] 44 VFs
[18:28:42] [PASSED] 45 VFs
[18:28:42] [PASSED] 46 VFs
[18:28:42] [PASSED] 47 VFs
[18:28:42] [PASSED] 48 VFs
[18:28:42] [PASSED] 49 VFs
[18:28:42] [PASSED] 50 VFs
[18:28:42] [PASSED] 51 VFs
[18:28:42] [PASSED] 52 VFs
[18:28:42] [PASSED] 53 VFs
[18:28:42] [PASSED] 54 VFs
[18:28:42] [PASSED] 55 VFs
[18:28:42] [PASSED] 56 VFs
[18:28:42] [PASSED] 57 VFs
[18:28:42] [PASSED] 58 VFs
[18:28:42] [PASSED] 59 VFs
[18:28:42] [PASSED] 60 VFs
[18:28:42] [PASSED] 61 VFs
[18:28:42] [PASSED] 62 VFs
[18:28:42] [PASSED] 63 VFs
[18:28:42] ================= [PASSED] fair_doorbells ==================
[18:28:42] ======================== fair_ggtt  ========================
[18:28:42] [PASSED] 1 VF
[18:28:42] [PASSED] 2 VFs
[18:28:42] [PASSED] 3 VFs
[18:28:42] [PASSED] 4 VFs
[18:28:42] [PASSED] 5 VFs
[18:28:42] [PASSED] 6 VFs
[18:28:42] [PASSED] 7 VFs
[18:28:42] [PASSED] 8 VFs
[18:28:42] [PASSED] 9 VFs
[18:28:42] [PASSED] 10 VFs
[18:28:42] [PASSED] 11 VFs
[18:28:42] [PASSED] 12 VFs
[18:28:42] [PASSED] 13 VFs
[18:28:42] [PASSED] 14 VFs
[18:28:42] [PASSED] 15 VFs
[18:28:42] [PASSED] 16 VFs
[18:28:42] [PASSED] 17 VFs
[18:28:42] [PASSED] 18 VFs
[18:28:42] [PASSED] 19 VFs
[18:28:42] [PASSED] 20 VFs
[18:28:42] [PASSED] 21 VFs
[18:28:42] [PASSED] 22 VFs
[18:28:42] [PASSED] 23 VFs
[18:28:42] [PASSED] 24 VFs
[18:28:42] [PASSED] 25 VFs
[18:28:42] [PASSED] 26 VFs
[18:28:42] [PASSED] 27 VFs
[18:28:42] [PASSED] 28 VFs
[18:28:42] [PASSED] 29 VFs
[18:28:42] [PASSED] 30 VFs
[18:28:42] [PASSED] 31 VFs
[18:28:42] [PASSED] 32 VFs
[18:28:42] [PASSED] 33 VFs
[18:28:42] [PASSED] 34 VFs
[18:28:42] [PASSED] 35 VFs
[18:28:42] [PASSED] 36 VFs
[18:28:42] [PASSED] 37 VFs
[18:28:42] [PASSED] 38 VFs
[18:28:42] [PASSED] 39 VFs
[18:28:42] [PASSED] 40 VFs
[18:28:42] [PASSED] 41 VFs
[18:28:42] [PASSED] 42 VFs
[18:28:42] [PASSED] 43 VFs
[18:28:42] [PASSED] 44 VFs
[18:28:42] [PASSED] 45 VFs
[18:28:42] [PASSED] 46 VFs
[18:28:42] [PASSED] 47 VFs
[18:28:42] [PASSED] 48 VFs
[18:28:42] [PASSED] 49 VFs
[18:28:42] [PASSED] 50 VFs
[18:28:42] [PASSED] 51 VFs
[18:28:42] [PASSED] 52 VFs
[18:28:42] [PASSED] 53 VFs
[18:28:42] [PASSED] 54 VFs
[18:28:42] [PASSED] 55 VFs
[18:28:42] [PASSED] 56 VFs
[18:28:42] [PASSED] 57 VFs
[18:28:42] [PASSED] 58 VFs
[18:28:42] [PASSED] 59 VFs
[18:28:42] [PASSED] 60 VFs
[18:28:42] [PASSED] 61 VFs
[18:28:42] [PASSED] 62 VFs
[18:28:42] [PASSED] 63 VFs
[18:28:42] ==================== [PASSED] fair_ggtt ====================
[18:28:42] ======================== fair_vram  ========================
[18:28:42] [PASSED] 1 VF
[18:28:42] [PASSED] 2 VFs
[18:28:42] [PASSED] 3 VFs
[18:28:42] [PASSED] 4 VFs
[18:28:42] [PASSED] 5 VFs
[18:28:42] [PASSED] 6 VFs
[18:28:42] [PASSED] 7 VFs
[18:28:42] [PASSED] 8 VFs
[18:28:42] [PASSED] 9 VFs
[18:28:42] [PASSED] 10 VFs
[18:28:42] [PASSED] 11 VFs
[18:28:42] [PASSED] 12 VFs
[18:28:42] [PASSED] 13 VFs
[18:28:42] [PASSED] 14 VFs
[18:28:42] [PASSED] 15 VFs
[18:28:42] [PASSED] 16 VFs
[18:28:42] [PASSED] 17 VFs
[18:28:42] [PASSED] 18 VFs
[18:28:42] [PASSED] 19 VFs
[18:28:42] [PASSED] 20 VFs
[18:28:42] [PASSED] 21 VFs
[18:28:42] [PASSED] 22 VFs
[18:28:42] [PASSED] 23 VFs
[18:28:42] [PASSED] 24 VFs
[18:28:42] [PASSED] 25 VFs
[18:28:42] [PASSED] 26 VFs
[18:28:42] [PASSED] 27 VFs
[18:28:42] [PASSED] 28 VFs
[18:28:42] [PASSED] 29 VFs
[18:28:42] [PASSED] 30 VFs
[18:28:42] [PASSED] 31 VFs
[18:28:42] [PASSED] 32 VFs
[18:28:42] [PASSED] 33 VFs
[18:28:42] [PASSED] 34 VFs
[18:28:42] [PASSED] 35 VFs
[18:28:42] [PASSED] 36 VFs
[18:28:42] [PASSED] 37 VFs
[18:28:42] [PASSED] 38 VFs
[18:28:42] [PASSED] 39 VFs
[18:28:42] [PASSED] 40 VFs
[18:28:42] [PASSED] 41 VFs
[18:28:42] [PASSED] 42 VFs
[18:28:42] [PASSED] 43 VFs
[18:28:42] [PASSED] 44 VFs
[18:28:42] [PASSED] 45 VFs
[18:28:42] [PASSED] 46 VFs
[18:28:42] [PASSED] 47 VFs
[18:28:42] [PASSED] 48 VFs
[18:28:42] [PASSED] 49 VFs
[18:28:42] [PASSED] 50 VFs
[18:28:42] [PASSED] 51 VFs
[18:28:42] [PASSED] 52 VFs
[18:28:42] [PASSED] 53 VFs
[18:28:42] [PASSED] 54 VFs
[18:28:42] [PASSED] 55 VFs
[18:28:42] [PASSED] 56 VFs
[18:28:42] [PASSED] 57 VFs
[18:28:42] [PASSED] 58 VFs
[18:28:42] [PASSED] 59 VFs
[18:28:42] [PASSED] 60 VFs
[18:28:42] [PASSED] 61 VFs
[18:28:42] [PASSED] 62 VFs
[18:28:42] [PASSED] 63 VFs
[18:28:42] ==================== [PASSED] fair_vram ====================
[18:28:42] ================== [PASSED] pf_gt_config ===================
[18:28:42] ===================== lmtt (1 subtest) =====================
[18:28:42] ======================== test_ops  =========================
[18:28:42] [PASSED] 2-level
[18:28:42] [PASSED] multi-level
[18:28:42] ==================== [PASSED] test_ops =====================
[18:28:42] ====================== [PASSED] lmtt =======================
[18:28:42] ================= sriov_packet (1 subtest) =================
[18:28:42] [PASSED] test_descriptor_init
[18:28:42] ================== [PASSED] sriov_packet ===================
[18:28:42] ================= pf_service (11 subtests) =================
[18:28:42] [PASSED] pf_negotiate_any
[18:28:42] [PASSED] pf_negotiate_base_match
[18:28:42] [PASSED] pf_negotiate_base_newer
[18:28:42] [PASSED] pf_negotiate_base_next
[18:28:42] [SKIPPED] pf_negotiate_base_older (no older minor)
[18:28:42] [PASSED] pf_negotiate_base_prev
[18:28:42] [PASSED] pf_negotiate_latest_match
[18:28:42] [PASSED] pf_negotiate_latest_newer
[18:28:42] [PASSED] pf_negotiate_latest_next
[18:28:42] [SKIPPED] pf_negotiate_latest_older (no older minor)
[18:28:42] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[18:28:42] =================== [PASSED] pf_service ====================
[18:28:42] ================= xe_guc_g2g (2 subtests) ==================
[18:28:42] ============== xe_live_guc_g2g_kunit_default  ==============
[18:28:42] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[18:28:42] ============== xe_live_guc_g2g_kunit_allmem  ===============
[18:28:42] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[18:28:42] =================== [SKIPPED] xe_guc_g2g ===================
[18:28:42] =================== xe_mocs (2 subtests) ===================
[18:28:42] ================ xe_live_mocs_kernel_kunit  ================
[18:28:42] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[18:28:42] ================ xe_live_mocs_reset_kunit  =================
[18:28:42] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[18:28:42] ==================== [SKIPPED] xe_mocs =====================
[18:28:42] ================= xe_migrate (3 subtests) ==================
[18:28:42] ================= xe_migrate_sanity_kunit  =================
[18:28:42] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[18:28:42] ================== xe_validate_ccs_kunit  ==================
[18:28:42] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[18:28:42] ============= xe_migrate_access_memory_kunit  ==============
[18:28:42] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[18:28:42] =================== [SKIPPED] xe_migrate ===================
[18:28:42] ================== xe_dma_buf (1 subtest) ==================
[18:28:42] ==================== xe_dma_buf_kunit  =====================
[18:28:42] ================ [SKIPPED] xe_dma_buf_kunit ================
[18:28:42] =================== [SKIPPED] xe_dma_buf ===================
[18:28:42] ================= xe_bo_shrink (1 subtest) =================
[18:28:42] =================== xe_bo_shrink_kunit  ====================
[18:28:42] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[18:28:42] ================== [SKIPPED] xe_bo_shrink ==================
[18:28:42] ==================== xe_bo (2 subtests) ====================
[18:28:42] ================== xe_ccs_migrate_kunit  ===================
[18:28:42] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[18:28:42] ==================== xe_bo_evict_kunit  ====================
[18:28:42] =============== [SKIPPED] xe_bo_evict_kunit ================
[18:28:42] ===================== [SKIPPED] xe_bo ======================
[18:28:42] =================== xe_any (9 subtests) ====================
[18:28:42] [PASSED] test_to_xe
[18:28:42] [PASSED] test_to_dev
[18:28:42] [PASSED] test_to_pdev
[18:28:42] [PASSED] test_to_drm
[18:28:42] [PASSED] test_if_pdev
[18:28:42] [PASSED] test_if_xe
[18:28:42] [PASSED] test_if_tile
[18:28:42] [PASSED] test_if_gt
[18:28:42] [PASSED] test_to_id
[18:28:42] ===================== [PASSED] xe_any ======================
[18:28:42] ==================== args (13 subtests) ====================
[18:28:42] [PASSED] count_args_test
[18:28:42] [PASSED] call_args_example
[18:28:42] [PASSED] call_args_test
[18:28:42] [PASSED] drop_first_arg_example
[18:28:42] [PASSED] drop_first_arg_test
[18:28:42] [PASSED] first_arg_example
[18:28:42] [PASSED] first_arg_test
[18:28:42] [PASSED] last_arg_example
[18:28:42] [PASSED] last_arg_test
[18:28:42] [PASSED] pick_arg_example
[18:28:42] [PASSED] if_args_example
[18:28:42] [PASSED] if_args_test
[18:28:42] [PASSED] sep_comma_example
[18:28:42] ====================== [PASSED] args =======================
[18:28:42] =================== xe_pci (3 subtests) ====================
[18:28:42] ==================== check_graphics_ip  ====================
[18:28:42] [PASSED] 12.00 Xe_LP
[18:28:42] [PASSED] 12.10 Xe_LP+
[18:28:42] [PASSED] 12.55 Xe_HPG
[18:28:42] [PASSED] 12.60 Xe_HPC
[18:28:42] [PASSED] 12.70 Xe_LPG
[18:28:42] [PASSED] 12.71 Xe_LPG
[18:28:42] [PASSED] 12.74 Xe_LPG+
[18:28:42] [PASSED] 20.01 Xe2_HPG
[18:28:42] [PASSED] 20.02 Xe2_HPG
[18:28:42] [PASSED] 20.04 Xe2_LPG
[18:28:42] [PASSED] 30.00 Xe3_LPG
[18:28:42] [PASSED] 30.01 Xe3_LPG
[18:28:42] [PASSED] 30.03 Xe3_LPG
[18:28:42] [PASSED] 30.04 Xe3_LPG
[18:28:42] [PASSED] 30.05 Xe3_LPG
[18:28:42] [PASSED] 35.10 Xe3p_LPG
[18:28:42] [PASSED] 35.11 Xe3p_XPC
[18:28:42] ================ [PASSED] check_graphics_ip ================
[18:28:42] ===================== check_media_ip  ======================
[18:28:42] [PASSED] 12.00 Xe_M
[18:28:42] [PASSED] 12.55 Xe_HPM
[18:28:42] [PASSED] 13.00 Xe_LPM+
[18:28:42] [PASSED] 13.01 Xe2_HPM
[18:28:42] [PASSED] 20.00 Xe2_LPM
[18:28:42] [PASSED] 30.00 Xe3_LPM
[18:28:42] [PASSED] 30.02 Xe3_LPM
[18:28:42] [PASSED] 35.00 Xe3p_LPM
[18:28:42] [PASSED] 35.03 Xe3p_HPM
[18:28:42] ================= [PASSED] check_media_ip ==================
[18:28:42] =================== check_platform_desc  ===================
[18:28:42] [PASSED] 0x9A60 (TIGERLAKE)
[18:28:42] [PASSED] 0x9A68 (TIGERLAKE)
[18:28:42] [PASSED] 0x9A70 (TIGERLAKE)
[18:28:42] [PASSED] 0x9A40 (TIGERLAKE)
[18:28:42] [PASSED] 0x9A49 (TIGERLAKE)
[18:28:42] [PASSED] 0x9A59 (TIGERLAKE)
[18:28:42] [PASSED] 0x9A78 (TIGERLAKE)
[18:28:42] [PASSED] 0x9AC0 (TIGERLAKE)
[18:28:42] [PASSED] 0x9AC9 (TIGERLAKE)
[18:28:42] [PASSED] 0x9AD9 (TIGERLAKE)
[18:28:42] [PASSED] 0x9AF8 (TIGERLAKE)
[18:28:42] [PASSED] 0x4C80 (ROCKETLAKE)
[18:28:42] [PASSED] 0x4C8A (ROCKETLAKE)
[18:28:42] [PASSED] 0x4C8B (ROCKETLAKE)
[18:28:42] [PASSED] 0x4C8C (ROCKETLAKE)
[18:28:42] [PASSED] 0x4C90 (ROCKETLAKE)
[18:28:42] [PASSED] 0x4C9A (ROCKETLAKE)
[18:28:42] [PASSED] 0x4680 (ALDERLAKE_S)
[18:28:42] [PASSED] 0x4682 (ALDERLAKE_S)
[18:28:42] [PASSED] 0x4688 (ALDERLAKE_S)
[18:28:42] [PASSED] 0x468A (ALDERLAKE_S)
[18:28:42] [PASSED] 0x468B (ALDERLAKE_S)
[18:28:42] [PASSED] 0x4690 (ALDERLAKE_S)
[18:28:42] [PASSED] 0x4692 (ALDERLAKE_S)
[18:28:42] [PASSED] 0x4693 (ALDERLAKE_S)
[18:28:42] [PASSED] 0x46A0 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46A1 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46A2 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46A3 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46A6 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46A8 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46AA (ALDERLAKE_P)
[18:28:42] [PASSED] 0x462A (ALDERLAKE_P)
[18:28:42] [PASSED] 0x4626 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x4628 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46B0 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46B1 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46B2 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46B3 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46C0 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46C1 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46C2 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46C3 (ALDERLAKE_P)
[18:28:42] [PASSED] 0x46D0 (ALDERLAKE_N)
[18:28:42] [PASSED] 0x46D1 (ALDERLAKE_N)
[18:28:42] [PASSED] 0x46D2 (ALDERLAKE_N)
[18:28:42] [PASSED] 0x46D3 (ALDERLAKE_N)
[18:28:42] [PASSED] 0x46D4 (ALDERLAKE_N)
[18:28:42] [PASSED] 0xA721 (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7A1 (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7A9 (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7AC (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7AD (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA720 (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7A0 (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7A8 (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7AA (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA7AB (ALDERLAKE_P)
[18:28:42] [PASSED] 0xA780 (ALDERLAKE_S)
[18:28:42] [PASSED] 0xA781 (ALDERLAKE_S)
[18:28:42] [PASSED] 0xA782 (ALDERLAKE_S)
[18:28:42] [PASSED] 0xA783 (ALDERLAKE_S)
[18:28:42] [PASSED] 0xA788 (ALDERLAKE_S)
[18:28:42] [PASSED] 0xA789 (ALDERLAKE_S)
[18:28:42] [PASSED] 0xA78A (ALDERLAKE_S)
[18:28:42] [PASSED] 0xA78B (ALDERLAKE_S)
[18:28:42] [PASSED] 0x4905 (DG1)
[18:28:42] [PASSED] 0x4906 (DG1)
[18:28:42] [PASSED] 0x4907 (DG1)
[18:28:42] [PASSED] 0x4908 (DG1)
[18:28:42] [PASSED] 0x4909 (DG1)
[18:28:42] [PASSED] 0x56C0 (DG2)
[18:28:42] [PASSED] 0x56C2 (DG2)
[18:28:42] [PASSED] 0x56C1 (DG2)
[18:28:42] [PASSED] 0x7D51 (METEORLAKE)
[18:28:42] [PASSED] 0x7DD1 (METEORLAKE)
[18:28:42] [PASSED] 0x7D41 (METEORLAKE)
[18:28:42] [PASSED] 0x7D67 (METEORLAKE)
[18:28:42] [PASSED] 0xB640 (METEORLAKE)
[18:28:42] [PASSED] 0x56A0 (DG2)
[18:28:42] [PASSED] 0x56A1 (DG2)
[18:28:42] [PASSED] 0x56A2 (DG2)
[18:28:42] [PASSED] 0x56BE (DG2)
[18:28:42] [PASSED] 0x56BF (DG2)
[18:28:42] [PASSED] 0x5690 (DG2)
[18:28:42] [PASSED] 0x5691 (DG2)
[18:28:42] [PASSED] 0x5692 (DG2)
[18:28:42] [PASSED] 0x56A5 (DG2)
[18:28:42] [PASSED] 0x56A6 (DG2)
[18:28:42] [PASSED] 0x56B0 (DG2)
[18:28:42] [PASSED] 0x56B1 (DG2)
[18:28:42] [PASSED] 0x56BA (DG2)
[18:28:42] [PASSED] 0x56BB (DG2)
[18:28:42] [PASSED] 0x56BC (DG2)
[18:28:42] [PASSED] 0x56BD (DG2)
[18:28:42] [PASSED] 0x5693 (DG2)
[18:28:42] [PASSED] 0x5694 (DG2)
[18:28:42] [PASSED] 0x5695 (DG2)
[18:28:42] [PASSED] 0x56A3 (DG2)
[18:28:42] [PASSED] 0x56A4 (DG2)
[18:28:42] [PASSED] 0x56B2 (DG2)
[18:28:42] [PASSED] 0x56B3 (DG2)
[18:28:42] [PASSED] 0x5696 (DG2)
[18:28:42] [PASSED] 0x5697 (DG2)
[18:28:42] [PASSED] 0xB69 (PVC)
[18:28:42] [PASSED] 0xB6E (PVC)
[18:28:42] [PASSED] 0xBD4 (PVC)
[18:28:42] [PASSED] 0xBD5 (PVC)
[18:28:42] [PASSED] 0xBD6 (PVC)
[18:28:42] [PASSED] 0xBD7 (PVC)
[18:28:42] [PASSED] 0xBD8 (PVC)
[18:28:42] [PASSED] 0xBD9 (PVC)
[18:28:42] [PASSED] 0xBDA (PVC)
[18:28:42] [PASSED] 0xBDB (PVC)
[18:28:42] [PASSED] 0xBE0 (PVC)
[18:28:42] [PASSED] 0xBE1 (PVC)
[18:28:42] [PASSED] 0xBE5 (PVC)
[18:28:42] [PASSED] 0x7D40 (METEORLAKE)
[18:28:42] [PASSED] 0x7D45 (METEORLAKE)
[18:28:42] [PASSED] 0x7D55 (METEORLAKE)
[18:28:42] [PASSED] 0x7D60 (METEORLAKE)
[18:28:42] [PASSED] 0x7DD5 (METEORLAKE)
[18:28:42] [PASSED] 0x6420 (LUNARLAKE)
[18:28:42] [PASSED] 0x64A0 (LUNARLAKE)
[18:28:42] [PASSED] 0x64B0 (LUNARLAKE)
[18:28:42] [PASSED] 0xE202 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE209 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE20B (BATTLEMAGE)
[18:28:42] [PASSED] 0xE20C (BATTLEMAGE)
[18:28:42] [PASSED] 0xE20D (BATTLEMAGE)
[18:28:42] [PASSED] 0xE210 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE211 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE212 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE216 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE220 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE221 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE222 (BATTLEMAGE)
[18:28:42] [PASSED] 0xE223 (BATTLEMAGE)
[18:28:42] [PASSED] 0xB080 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB081 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB082 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB083 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB084 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB085 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB086 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB087 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB08F (PANTHERLAKE)
[18:28:42] [PASSED] 0xB090 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB0A0 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB0A1 (PANTHERLAKE)
[18:28:42] [PASSED] 0xB0B0 (PANTHERLAKE)
[18:28:42] [PASSED] 0xFD80 (PANTHERLAKE)
[18:28:42] [PASSED] 0xFD81 (PANTHERLAKE)
[18:28:42] [PASSED] 0xD740 (NOVALAKE_S)
[18:28:42] [PASSED] 0xD741 (NOVALAKE_S)
[18:28:42] [PASSED] 0xD742 (NOVALAKE_S)
[18:28:42] [PASSED] 0xD743 (NOVALAKE_S)
[18:28:42] [PASSED] 0xD745 (NOVALAKE_S)
[18:28:42] [PASSED] 0xD74A (NOVALAKE_S)
[18:28:42] [PASSED] 0xD74B (NOVALAKE_S)
[18:28:42] [PASSED] 0x674C (CRESCENTISLAND)
[18:28:42] [PASSED] 0x674D (CRESCENTISLAND)
[18:28:42] [PASSED] 0x674E (CRESCENTISLAND)
[18:28:42] [PASSED] 0x674F (CRESCENTISLAND)
[18:28:42] [PASSED] 0x6750 (CRESCENTISLAND)
[18:28:42] [PASSED] 0x6751 (CRESCENTISLAND)
[18:28:42] [PASSED] 0x6752 (CRESCENTISLAND)
[18:28:42] [PASSED] 0x6753 (CRESCENTISLAND)
[18:28:42] [PASSED] 0x6754 (CRESCENTISLAND)
[18:28:42] [PASSED] 0x6755 (CRESCENTISLAND)
[18:28:42] [PASSED] 0x6756 (CRESCENTISLAND)
[18:28:42] [PASSED] 0xD750 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD751 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD752 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD753 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD754 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD755 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD756 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD757 (NOVALAKE_P)
[18:28:42] [PASSED] 0xD75F (NOVALAKE_P)
[18:28:42] =============== [PASSED] check_platform_desc ===============
[18:28:42] ===================== [PASSED] xe_pci ======================
[18:28:42] ============= xe_rtp_tables_test (5 subtests) ==============
[18:28:42] ================== xe_rtp_table_gt_test  ===================
[18:28:42] [PASSED] gt_was/14011060649
[18:28:42] [PASSED] gt_was/14011059788
[18:28:42] [PASSED] gt_was/14015795083
[18:28:42] [PASSED] gt_was/16021867713
[18:28:42] [PASSED] gt_was/14019449301
[18:28:42] [PASSED] gt_was/16028005424
[18:28:42] [PASSED] gt_was/14026578760
[18:28:42] [PASSED] gt_was/1409420604
[18:28:42] [PASSED] gt_was/1408615072
[18:28:42] [PASSED] gt_was/22010523718
[18:28:42] [PASSED] gt_was/14011006942
[18:28:42] [PASSED] gt_was/14014830051
[18:28:42] [PASSED] gt_was/18018781329
[18:28:42] [PASSED] gt_was/1509235366
[18:28:42] [PASSED] gt_was/18018781329
[18:28:42] [PASSED] gt_was/16016694945
[18:28:42] [PASSED] gt_was/14018575942
[18:28:42] [PASSED] gt_was/22016670082
[18:28:42] [PASSED] gt_was/22016670082
[18:28:42] [PASSED] gt_was/14017421178
[18:28:42] [PASSED] gt_was/16025250150
[18:28:42] [PASSED] gt_was/14021871409
[18:28:42] [PASSED] gt_was/16021865536
[18:28:42] [PASSED] gt_was/14021486841
[18:28:42] [PASSED] gt_was/14025160223
[18:28:42] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[18:28:42] [PASSED] gt_was/14025635424
[18:28:42] [PASSED] gt_was/16028005424
[18:28:42] ============== [PASSED] xe_rtp_table_gt_test ===============
[18:28:42] ================== xe_rtp_table_gt_test  ===================
[18:28:42] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[18:28:42] [PASSED] gt_tunings/Tuning: 32B Access Enable
[18:28:42] [PASSED] gt_tunings/Tuning: L3 cache
[18:28:42] [PASSED] gt_tunings/Tuning: L3 cache - media
[18:28:42] [PASSED] gt_tunings/Tuning: Compression Overfetch
[18:28:42] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[18:28:42] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[18:28:42] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[18:28:42] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[18:28:42] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[18:28:42] [PASSED] gt_tunings/Tuning: Stateless compression control
[18:28:42] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[18:28:42] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[18:28:42] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[18:28:42] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[18:28:42] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[18:28:42] ============== [PASSED] xe_rtp_table_gt_test ===============
[18:28:42] ================== xe_rtp_table_oob_test  ==================
[18:28:42] [PASSED] oob_was/1607983814
[18:28:42] [PASSED] oob_was/16010904313
[18:28:42] [PASSED] oob_was/18022495364
[18:28:42] [PASSED] oob_was/22012773006
[18:28:42] [PASSED] oob_was/14014475959
[18:28:42] [PASSED] oob_was/22011391025
[18:28:42] [PASSED] oob_was/22012727170
[18:28:42] [PASSED] oob_was/22012727685
[18:28:42] [PASSED] oob_was/22016596838
[18:28:42] [PASSED] oob_was/18020744125
[18:28:42] [PASSED] oob_was/1409600907
[18:28:42] [PASSED] oob_was/22014953428
[18:28:42] [PASSED] oob_was/16017236439
[18:28:42] [PASSED] oob_was/14019821291
[18:28:42] [PASSED] oob_was/14015076503
[18:28:42] [PASSED] oob_was/22016122933
[18:28:42] [PASSED] oob_was/14018913170
[18:28:42] [PASSED] oob_was/14018094691
[18:28:42] [PASSED] oob_was/18024947630
[18:28:42] [PASSED] oob_was/16022287689
[18:28:42] [PASSED] oob_was/13011645652
[18:28:42] [PASSED] oob_was/14022293748
[18:28:42] [PASSED] oob_was/22019794406
[18:28:42] [PASSED] oob_was/22019338487
[18:28:42] [PASSED] oob_was/16023588340
[18:28:42] [PASSED] oob_was/14019789679
[18:28:42] [PASSED] oob_was/14022866841
[18:28:42] [PASSED] oob_was/16021333562
[18:28:42] [PASSED] oob_was/14016712196
[18:28:42] [PASSED] oob_was/14015568240
[18:28:42] [PASSED] oob_was/18013179988
[18:28:42] [PASSED] oob_was/1508761755
[18:28:42] [PASSED] oob_was/16023105232
[18:28:42] [PASSED] oob_was/16026508708
[18:28:42] [PASSED] oob_was/14020001231
[18:28:42] [PASSED] oob_was/16023683509
[18:28:42] [PASSED] oob_was/14025515070
[18:28:42] [PASSED] oob_was/15015404425_disable
[18:28:42] [PASSED] oob_was/16026007364
[18:28:42] [PASSED] oob_was/14020316580
[18:28:42] [PASSED] oob_was/14025883347
[18:28:42] [PASSED] oob_was/16029380221
[18:28:42] [PASSED] oob_was/22022079272
[18:28:42] [PASSED] oob_was/16029897822
[18:28:42] [PASSED] oob_was/14026539277
[18:28:42] [PASSED] oob_was/14027054324
[18:28:42] [PASSED] oob_was/14025941587
[18:28:42] [PASSED] oob_was/16030224309
[18:28:42] [PASSED] oob_was/14028709524
[18:28:42] [PASSED] oob_was/14028250015
[18:28:42] [PASSED] oob_was/16031259911
[18:28:42] ============== [PASSED] xe_rtp_table_oob_test ==============
[18:28:42] ================ xe_rtp_table_dev_oob_test  ================
[18:28:42] [PASSED] device_oob_was/22010954014
[18:28:42] [PASSED] device_oob_was/15015404425
[18:28:42] [PASSED] device_oob_was/22019338487_display
[18:28:42] [PASSED] device_oob_was/14022085890
[18:28:42] [PASSED] device_oob_was/14026633728
[18:28:42] [PASSED] device_oob_was/14026746987
[18:28:42] [PASSED] device_oob_was/14026779378
[18:28:42] [PASSED] device_oob_was/14028586678
[18:28:42] [PASSED] device_oob_was/14028434957
[18:28:42] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[18:28:42] ========== xe_rtp_table_missing_upper_bound_test  ==========
[18:28:42] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[18:28:42] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[18:28:42] [PASSED] register_whitelist/1806527549
[18:28:42] [PASSED] register_whitelist/allow_read_ctx_timestamp
[18:28:42] [PASSED] register_whitelist/allow_read_queue_timestamp
[18:28:42] [PASSED] register_whitelist/16014440446
[18:28:42] [PASSED] register_whitelist/16017236439
[18:28:42] [PASSED] register_whitelist/16020183090
[18:28:42] [PASSED] register_whitelist/14024997852
[18:28:42] [PASSED] register_whitelist/14024997852
[18:28:42] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[18:28:42] =============== [PASSED] xe_rtp_tables_test ================
[18:28:42] =================== xe_rtp (3 subtests) ====================
[18:28:42] =================== xe_rtp_rules_tests  ====================
[18:28:42] [PASSED] no
[18:28:42] [PASSED] yes
[18:28:42] [PASSED] no-and-no
[18:28:42] [PASSED] no-and-yes
[18:28:42] [PASSED] yes-and-no
[18:28:42] [PASSED] yes-and-yes
[18:28:42] [PASSED] no-or-no
[18:28:42] [PASSED] no-or-yes
[18:28:42] [PASSED] yes-or-no
[18:28:42] [PASSED] yes-or-yes
[18:28:42] [PASSED] no-yes-or-yes-no
[18:28:42] [PASSED] no-yes-or-yes-yes
[18:28:42] [PASSED] yes-yes-or-no-yes
[18:28:42] [PASSED] yes-yes-or-yes-yes
[18:28:42] [PASSED] no-no-or-yes-or-no
[18:28:42] [PASSED] or
[18:28:42] [PASSED] or-yes
[18:28:42] [PASSED] or-no
[18:28:42] [PASSED] yes-or
[18:28:42] [PASSED] no-or
[18:28:42] [PASSED] no-or-or-yes
[18:28:42] [PASSED] yes-or-or-no
[18:28:42] [PASSED] no-or-or-no
[18:28:42] [PASSED] missing-context-engine-class
[18:28:42] [PASSED] missing-context-engine-class-or-yes
[18:28:42] [PASSED] missing-context-engine-class-or-or-yes
[18:28:42] =============== [PASSED] xe_rtp_rules_tests ================
[18:28:42] =============== xe_rtp_process_to_sr_tests  ================
[18:28:42] [PASSED] coalesce-same-reg
[18:28:42] [PASSED] coalesce-same-reg-literal-and-func
[18:28:42] [PASSED] no-match-no-add
[18:28:42] [PASSED] two-regs-two-entries
[18:28:42] [PASSED] clr-one-set-other
[18:28:42] [PASSED] set-field
[18:28:42] [PASSED] conflict-duplicate
[18:28:42] [PASSED] conflict-not-disjoint
[18:28:42] [PASSED] conflict-not-disjoint-literal-and-func
[18:28:42] [PASSED] conflict-reg-type
[18:28:42] [PASSED] bad-mcr-reg-forced-to-regular
[18:28:42] [PASSED] bad-regular-reg-forced-to-mcr
[18:28:42] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[18:28:42] ================== xe_rtp_process_tests  ===================
[18:28:42] [PASSED] active1
[18:28:42] [PASSED] active2
[18:28:42] [PASSED] active-inactive
[18:28:42] [PASSED] inactive-active
[18:28:42] [PASSED] inactive-active-inactive
[18:28:42] [PASSED] inactive-inactive-inactive
[18:28:42] ============== [PASSED] xe_rtp_process_tests ===============
[18:28:42] ===================== [PASSED] xe_rtp ======================
[18:28:42] ==================== xe_wa (1 subtest) =====================
[18:28:42] ======================== xe_wa_gt  =========================
[18:28:42] [PASSED] TIGERLAKE B0
[18:28:42] [PASSED] DG1 A0
[18:28:42] [PASSED] DG1 B0
[18:28:42] [PASSED] ALDERLAKE_S A0
[18:28:42] [PASSED] ALDERLAKE_S B0
[18:28:42] [PASSED] ALDERLAKE_S C0
[18:28:42] [PASSED] ALDERLAKE_S D0
[18:28:42] [PASSED] ALDERLAKE_P A0
[18:28:42] [PASSED] ALDERLAKE_P B0
[18:28:42] [PASSED] ALDERLAKE_P C0
[18:28:42] [PASSED] ALDERLAKE_S RPLS D0
[18:28:42] [PASSED] ALDERLAKE_P RPLU E0
[18:28:42] [PASSED] DG2 G10 C0
[18:28:42] [PASSED] DG2 G11 B1
[18:28:42] [PASSED] DG2 G12 A1
[18:28:42] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[18:28:42] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[18:28:42] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[18:28:42] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[18:28:42] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[18:28:42] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[18:28:42] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[18:28:42] ==================== [PASSED] xe_wa_gt =====================
[18:28:42] ====================== [PASSED] xe_wa ======================
[18:28:42] ============================================================
[18:28:42] Testing complete. Ran 860 tests: passed: 831, skipped: 29
[18:28:42] Elapsed time: 41.766s total, 2.557s configuring, 38.443s building, 0.751s 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
[18:28:43] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:28:45] 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
[18:29:10] Starting KUnit Kernel (1/1)...
[18:29:10] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:29:11] ============ drm_test_pick_cmdline (2 subtests) ============
[18:29:11] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[18:29:11] =============== drm_test_pick_cmdline_named  ===============
[18:29:11] [PASSED] NTSC
[18:29:11] [PASSED] NTSC-J
[18:29:11] [PASSED] PAL
[18:29:11] [PASSED] PAL-M
[18:29:11] =========== [PASSED] drm_test_pick_cmdline_named ===========
[18:29:11] ============== [PASSED] drm_test_pick_cmdline ==============
[18:29:11] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[18:29:11] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[18:29:11] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[18:29:11] =========== drm_validate_clone_mode (2 subtests) ===========
[18:29:11] ============== drm_test_check_in_clone_mode  ===============
[18:29:11] [PASSED] in_clone_mode
[18:29:11] [PASSED] not_in_clone_mode
[18:29:11] ========== [PASSED] drm_test_check_in_clone_mode ===========
[18:29:11] =============== drm_test_check_valid_clones  ===============
[18:29:11] [PASSED] not_in_clone_mode
[18:29:11] [PASSED] valid_clone
[18:29:11] [PASSED] invalid_clone
[18:29:11] =========== [PASSED] drm_test_check_valid_clones ===========
[18:29:11] ============= [PASSED] drm_validate_clone_mode =============
[18:29:11] ============= drm_validate_modeset (1 subtest) =============
[18:29:11] [PASSED] drm_test_check_connector_changed_modeset
[18:29:11] ============== [PASSED] drm_validate_modeset ===============
[18:29:11] ====== drm_test_bridge_get_current_state (1 subtest) =======
[18:29:11] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[18:29:11] ======== [PASSED] drm_test_bridge_get_current_state ========
[18:29:11] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[18:29:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[18:29:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[18:29:11] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[18:29:11] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[18:29:11] ============== drm_bridge_alloc (2 subtests) ===============
[18:29:11] [PASSED] drm_test_drm_bridge_alloc_basic
[18:29:11] [PASSED] drm_test_drm_bridge_alloc_get_put
[18:29:11] ================ [PASSED] drm_bridge_alloc =================
[18:29:11] ============= drm_bridge_bus_fmt (5 subtests) ==============
[18:29:11] [PASSED] drm_test_bridge_rgb_yuv_rgb
[18:29:11] [PASSED] drm_test_bridge_must_convert_to_yuv444
[18:29:11] [PASSED] drm_test_bridge_hdmi_auto_rgb
[18:29:11] [PASSED] drm_test_bridge_auto_first
[18:29:11] [PASSED] drm_test_bridge_rgb_yuv_no_path
[18:29:11] =============== [PASSED] drm_bridge_bus_fmt ================
[18:29:11] ============= drm_cmdline_parser (40 subtests) =============
[18:29:11] [PASSED] drm_test_cmdline_force_d_only
[18:29:11] [PASSED] drm_test_cmdline_force_D_only_dvi
[18:29:11] [PASSED] drm_test_cmdline_force_D_only_hdmi
[18:29:11] [PASSED] drm_test_cmdline_force_D_only_not_digital
[18:29:11] [PASSED] drm_test_cmdline_force_e_only
[18:29:11] [PASSED] drm_test_cmdline_res
[18:29:11] [PASSED] drm_test_cmdline_res_vesa
[18:29:11] [PASSED] drm_test_cmdline_res_vesa_rblank
[18:29:11] [PASSED] drm_test_cmdline_res_rblank
[18:29:11] [PASSED] drm_test_cmdline_res_bpp
[18:29:11] [PASSED] drm_test_cmdline_res_refresh
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[18:29:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[18:29:11] [PASSED] drm_test_cmdline_res_margins_force_on
[18:29:11] [PASSED] drm_test_cmdline_res_vesa_margins
[18:29:11] [PASSED] drm_test_cmdline_name
[18:29:11] [PASSED] drm_test_cmdline_name_bpp
[18:29:11] [PASSED] drm_test_cmdline_name_option
[18:29:11] [PASSED] drm_test_cmdline_name_bpp_option
[18:29:11] [PASSED] drm_test_cmdline_rotate_0
[18:29:11] [PASSED] drm_test_cmdline_rotate_90
[18:29:11] [PASSED] drm_test_cmdline_rotate_180
[18:29:11] [PASSED] drm_test_cmdline_rotate_270
[18:29:11] [PASSED] drm_test_cmdline_hmirror
[18:29:11] [PASSED] drm_test_cmdline_vmirror
[18:29:11] [PASSED] drm_test_cmdline_margin_options
[18:29:11] [PASSED] drm_test_cmdline_multiple_options
[18:29:11] [PASSED] drm_test_cmdline_bpp_extra_and_option
[18:29:11] [PASSED] drm_test_cmdline_extra_and_option
[18:29:11] [PASSED] drm_test_cmdline_freestanding_options
[18:29:11] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[18:29:11] [PASSED] drm_test_cmdline_panel_orientation
[18:29:11] ================ drm_test_cmdline_invalid  =================
[18:29:11] [PASSED] margin_only
[18:29:11] [PASSED] interlace_only
[18:29:11] [PASSED] res_missing_x
[18:29:11] [PASSED] res_missing_y
[18:29:11] [PASSED] res_bad_y
[18:29:11] [PASSED] res_missing_y_bpp
[18:29:11] [PASSED] res_bad_bpp
[18:29:11] [PASSED] res_bad_refresh
[18:29:11] [PASSED] res_bpp_refresh_force_on_off
[18:29:11] [PASSED] res_invalid_mode
[18:29:11] [PASSED] res_bpp_wrong_place_mode
[18:29:11] [PASSED] name_bpp_refresh
[18:29:11] [PASSED] name_refresh
[18:29:11] [PASSED] name_refresh_wrong_mode
[18:29:11] [PASSED] name_refresh_invalid_mode
[18:29:11] [PASSED] rotate_multiple
[18:29:11] [PASSED] rotate_invalid_val
[18:29:11] [PASSED] rotate_truncated
[18:29:11] [PASSED] invalid_option
[18:29:11] [PASSED] invalid_tv_option
[18:29:11] [PASSED] truncated_tv_option
[18:29:11] ============ [PASSED] drm_test_cmdline_invalid =============
[18:29:11] =============== drm_test_cmdline_tv_options  ===============
[18:29:11] [PASSED] NTSC
[18:29:11] [PASSED] NTSC_443
[18:29:11] [PASSED] NTSC_J
[18:29:11] [PASSED] PAL
[18:29:11] [PASSED] PAL_M
[18:29:11] [PASSED] PAL_N
[18:29:11] [PASSED] SECAM
[18:29:11] [PASSED] MONO_525
[18:29:11] [PASSED] MONO_625
[18:29:11] =========== [PASSED] drm_test_cmdline_tv_options ===========
[18:29:11] =============== [PASSED] drm_cmdline_parser ================
[18:29:11] ========== drmm_connector_hdmi_init (20 subtests) ==========
[18:29:11] [PASSED] drm_test_connector_hdmi_init_valid
[18:29:11] [PASSED] drm_test_connector_hdmi_init_bpc_8
[18:29:11] [PASSED] drm_test_connector_hdmi_init_bpc_10
[18:29:11] [PASSED] drm_test_connector_hdmi_init_bpc_12
[18:29:11] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[18:29:11] [PASSED] drm_test_connector_hdmi_init_bpc_null
[18:29:11] [PASSED] drm_test_connector_hdmi_init_formats_empty
[18:29:11] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[18:29:11] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[18:29:11] [PASSED] supported_formats=0x9 yuv420_allowed=1
[18:29:11] [PASSED] supported_formats=0x9 yuv420_allowed=0
[18:29:11] [PASSED] supported_formats=0x5 yuv420_allowed=1
[18:29:11] [PASSED] supported_formats=0x5 yuv420_allowed=0
[18:29:11] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[18:29:11] [PASSED] drm_test_connector_hdmi_init_null_ddc
[18:29:11] [PASSED] drm_test_connector_hdmi_init_null_product
[18:29:11] [PASSED] drm_test_connector_hdmi_init_null_vendor
[18:29:11] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[18:29:11] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[18:29:11] [PASSED] drm_test_connector_hdmi_init_product_valid
[18:29:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[18:29:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[18:29:11] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[18:29:11] ========= drm_test_connector_hdmi_init_type_valid  =========
[18:29:11] [PASSED] HDMI-A
[18:29:11] [PASSED] HDMI-B
[18:29:11] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[18:29:11] ======== drm_test_connector_hdmi_init_type_invalid  ========
[18:29:11] [PASSED] Unknown
[18:29:11] [PASSED] VGA
[18:29:11] [PASSED] DVI-I
[18:29:11] [PASSED] DVI-D
[18:29:11] [PASSED] DVI-A
[18:29:11] [PASSED] Composite
[18:29:11] [PASSED] SVIDEO
[18:29:11] [PASSED] LVDS
[18:29:11] [PASSED] Component
[18:29:11] [PASSED] DIN
[18:29:11] [PASSED] DP
[18:29:11] [PASSED] TV
[18:29:11] [PASSED] eDP
[18:29:11] [PASSED] Virtual
[18:29:11] [PASSED] DSI
[18:29:11] [PASSED] DPI
[18:29:11] [PASSED] Writeback
[18:29:11] [PASSED] SPI
[18:29:11] [PASSED] USB
[18:29:11] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[18:29:11] ============ [PASSED] drmm_connector_hdmi_init =============
[18:29:11] ============= drmm_connector_init (3 subtests) =============
[18:29:11] [PASSED] drm_test_drmm_connector_init
[18:29:11] [PASSED] drm_test_drmm_connector_init_null_ddc
[18:29:11] ========= drm_test_drmm_connector_init_type_valid  =========
[18:29:11] [PASSED] Unknown
[18:29:11] [PASSED] VGA
[18:29:11] [PASSED] DVI-I
[18:29:11] [PASSED] DVI-D
[18:29:11] [PASSED] DVI-A
[18:29:11] [PASSED] Composite
[18:29:11] [PASSED] SVIDEO
[18:29:11] [PASSED] LVDS
[18:29:11] [PASSED] Component
[18:29:11] [PASSED] DIN
[18:29:11] [PASSED] DP
[18:29:11] [PASSED] HDMI-A
[18:29:11] [PASSED] HDMI-B
[18:29:11] [PASSED] TV
[18:29:11] [PASSED] eDP
[18:29:11] [PASSED] Virtual
[18:29:11] [PASSED] DSI
[18:29:11] [PASSED] DPI
[18:29:11] [PASSED] Writeback
[18:29:11] [PASSED] SPI
[18:29:11] [PASSED] USB
[18:29:11] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[18:29:11] =============== [PASSED] drmm_connector_init ===============
[18:29:11] ========= drm_connector_dynamic_init (6 subtests) ==========
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_init
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_init_properties
[18:29:11] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[18:29:11] [PASSED] Unknown
[18:29:11] [PASSED] VGA
[18:29:11] [PASSED] DVI-I
[18:29:11] [PASSED] DVI-D
[18:29:11] [PASSED] DVI-A
[18:29:11] [PASSED] Composite
[18:29:11] [PASSED] SVIDEO
[18:29:11] [PASSED] LVDS
[18:29:11] [PASSED] Component
[18:29:11] [PASSED] DIN
[18:29:11] [PASSED] DP
[18:29:11] [PASSED] HDMI-A
[18:29:11] [PASSED] HDMI-B
[18:29:11] [PASSED] TV
[18:29:11] [PASSED] eDP
[18:29:11] [PASSED] Virtual
[18:29:11] [PASSED] DSI
[18:29:11] [PASSED] DPI
[18:29:11] [PASSED] Writeback
[18:29:11] [PASSED] SPI
[18:29:11] [PASSED] USB
[18:29:11] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[18:29:11] ======== drm_test_drm_connector_dynamic_init_name  =========
[18:29:11] [PASSED] Unknown
[18:29:11] [PASSED] VGA
[18:29:11] [PASSED] DVI-I
[18:29:11] [PASSED] DVI-D
[18:29:11] [PASSED] DVI-A
[18:29:11] [PASSED] Composite
[18:29:11] [PASSED] SVIDEO
[18:29:11] [PASSED] LVDS
[18:29:11] [PASSED] Component
[18:29:11] [PASSED] DIN
[18:29:11] [PASSED] DP
[18:29:11] [PASSED] HDMI-A
[18:29:11] [PASSED] HDMI-B
[18:29:11] [PASSED] TV
[18:29:11] [PASSED] eDP
[18:29:11] [PASSED] Virtual
[18:29:11] [PASSED] DSI
[18:29:11] [PASSED] DPI
[18:29:11] [PASSED] Writeback
[18:29:11] [PASSED] SPI
[18:29:11] [PASSED] USB
[18:29:11] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[18:29:11] =========== [PASSED] drm_connector_dynamic_init ============
[18:29:11] ==== drm_connector_dynamic_register_early (4 subtests) =====
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[18:29:11] ====== [PASSED] drm_connector_dynamic_register_early =======
[18:29:11] ======= drm_connector_dynamic_register (7 subtests) ========
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[18:29:11] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[18:29:11] ========= [PASSED] drm_connector_dynamic_register ==========
[18:29:11] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[18:29:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[18:29:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[18:29:11] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[18:29:11] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[18:29:11] ========== drm_test_get_tv_mode_from_name_valid  ===========
[18:29:11] [PASSED] NTSC
[18:29:11] [PASSED] NTSC-443
[18:29:11] [PASSED] NTSC-J
[18:29:11] [PASSED] PAL
[18:29:11] [PASSED] PAL-M
[18:29:11] [PASSED] PAL-N
[18:29:11] [PASSED] SECAM
[18:29:11] [PASSED] Mono
[18:29:11] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[18:29:11] [PASSED] drm_test_get_tv_mode_from_name_truncated
[18:29:11] ============ [PASSED] drm_get_tv_mode_from_name ============
[18:29:11] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[18:29:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[18:29:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[18:29:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[18:29:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[18:29:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[18:29:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[18:29:11] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[18:29:11] [PASSED] VIC 96
[18:29:11] [PASSED] VIC 97
[18:29:11] [PASSED] VIC 101
[18:29:11] [PASSED] VIC 102
[18:29:11] [PASSED] VIC 106
[18:29:11] [PASSED] VIC 107
[18:29:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[18:29:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[18:29:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[18:29:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[18:29:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[18:29:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[18:29:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[18:29:11] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[18:29:11] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[18:29:11] [PASSED] Automatic
[18:29:11] [PASSED] Full
[18:29:11] [PASSED] Limited 16:235
[18:29:11] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[18:29:11] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[18:29:11] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[18:29:11] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[18:29:11] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[18:29:11] [PASSED] RGB
[18:29:11] [PASSED] YUV 4:2:0
[18:29:11] [PASSED] YUV 4:2:2
[18:29:11] [PASSED] YUV 4:4:4
[18:29:11] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[18:29:11] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[18:29:11] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[18:29:11] ============= drm_damage_helper (21 subtests) ==============
[18:29:11] [PASSED] drm_test_damage_iter_no_damage
[18:29:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[18:29:11] [PASSED] drm_test_damage_iter_no_damage_src_moved
[18:29:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[18:29:11] [PASSED] drm_test_damage_iter_no_damage_not_visible
[18:29:11] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[18:29:11] [PASSED] drm_test_damage_iter_no_damage_no_fb
[18:29:11] [PASSED] drm_test_damage_iter_simple_damage
[18:29:11] [PASSED] drm_test_damage_iter_single_damage
[18:29:11] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[18:29:11] [PASSED] drm_test_damage_iter_single_damage_outside_src
[18:29:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[18:29:11] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[18:29:11] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[18:29:11] [PASSED] drm_test_damage_iter_single_damage_src_moved
[18:29:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[18:29:11] [PASSED] drm_test_damage_iter_damage
[18:29:11] [PASSED] drm_test_damage_iter_damage_one_intersect
[18:29:11] [PASSED] drm_test_damage_iter_damage_one_outside
[18:29:11] [PASSED] drm_test_damage_iter_damage_src_moved
[18:29:11] [PASSED] drm_test_damage_iter_damage_not_visible
[18:29:11] ================ [PASSED] drm_damage_helper ================
[18:29:11] ============== drm_dp_mst_helper (3 subtests) ==============
[18:29:11] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[18:29:11] [PASSED] Clock 154000 BPP 30 DSC disabled
[18:29:11] [PASSED] Clock 234000 BPP 30 DSC disabled
[18:29:11] [PASSED] Clock 297000 BPP 24 DSC disabled
[18:29:11] [PASSED] Clock 332880 BPP 24 DSC enabled
[18:29:11] [PASSED] Clock 324540 BPP 24 DSC enabled
[18:29:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[18:29:11] ============== drm_test_dp_mst_calc_pbn_div  ===============
[18:29:11] [PASSED] Link rate 2000000 lane count 4
[18:29:11] [PASSED] Link rate 2000000 lane count 2
[18:29:11] [PASSED] Link rate 2000000 lane count 1
[18:29:11] [PASSED] Link rate 1350000 lane count 4
[18:29:11] [PASSED] Link rate 1350000 lane count 2
[18:29:11] [PASSED] Link rate 1350000 lane count 1
[18:29:11] [PASSED] Link rate 1000000 lane count 4
[18:29:11] [PASSED] Link rate 1000000 lane count 2
[18:29:11] [PASSED] Link rate 1000000 lane count 1
[18:29:11] [PASSED] Link rate 810000 lane count 4
[18:29:11] [PASSED] Link rate 810000 lane count 2
[18:29:11] [PASSED] Link rate 810000 lane count 1
[18:29:11] [PASSED] Link rate 540000 lane count 4
[18:29:11] [PASSED] Link rate 540000 lane count 2
[18:29:11] [PASSED] Link rate 540000 lane count 1
[18:29:11] [PASSED] Link rate 270000 lane count 4
[18:29:11] [PASSED] Link rate 270000 lane count 2
[18:29:11] [PASSED] Link rate 270000 lane count 1
[18:29:11] [PASSED] Link rate 162000 lane count 4
[18:29:11] [PASSED] Link rate 162000 lane count 2
[18:29:11] [PASSED] Link rate 162000 lane count 1
[18:29:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[18:29:11] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[18:29:11] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[18:29:11] [PASSED] DP_POWER_UP_PHY with port number
[18:29:11] [PASSED] DP_POWER_DOWN_PHY with port number
[18:29:11] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[18:29:11] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[18:29:11] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[18:29:11] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[18:29:11] [PASSED] DP_QUERY_PAYLOAD with port number
[18:29:11] [PASSED] DP_QUERY_PAYLOAD with VCPI
[18:29:11] [PASSED] DP_REMOTE_DPCD_READ with port number
[18:29:11] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[18:29:11] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[18:29:11] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[18:29:11] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[18:29:11] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[18:29:11] [PASSED] DP_REMOTE_I2C_READ with port number
[18:29:11] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[18:29:11] [PASSED] DP_REMOTE_I2C_READ with transactions array
[18:29:11] [PASSED] DP_REMOTE_I2C_WRITE with port number
[18:29:11] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[18:29:11] [PASSED] DP_REMOTE_I2C_WRITE with data array
[18:29:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[18:29:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[18:29:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[18:29:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[18:29:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[18:29:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[18:29:11] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[18:29:11] ================ [PASSED] drm_dp_mst_helper ================
[18:29:11] ================== drm_exec (7 subtests) ===================
[18:29:11] [PASSED] sanitycheck
[18:29:11] [PASSED] test_lock
[18:29:11] [PASSED] test_lock_unlock
[18:29:11] [PASSED] test_duplicates
[18:29:11] [PASSED] test_prepare
[18:29:11] [PASSED] test_prepare_array
[18:29:11] [PASSED] test_multiple_loops
[18:29:11] ==================== [PASSED] drm_exec =====================
[18:29:11] =========== drm_format_helper_test (17 subtests) ===========
[18:29:11] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[18:29:11] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[18:29:11] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[18:29:11] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[18:29:11] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[18:29:11] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[18:29:11] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[18:29:11] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[18:29:11] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[18:29:11] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[18:29:11] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[18:29:11] ============== drm_test_fb_xrgb8888_to_mono  ===============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[18:29:11] ==================== drm_test_fb_swab  =====================
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ================ [PASSED] drm_test_fb_swab =================
[18:29:11] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[18:29:11] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[18:29:11] [PASSED] single_pixel_source_buffer
[18:29:11] [PASSED] single_pixel_clip_rectangle
[18:29:11] [PASSED] well_known_colors
[18:29:11] [PASSED] destination_pitch
[18:29:11] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[18:29:11] ================= drm_test_fb_clip_offset  =================
[18:29:11] [PASSED] pass through
[18:29:11] [PASSED] horizontal offset
[18:29:11] [PASSED] vertical offset
[18:29:11] [PASSED] horizontal and vertical offset
[18:29:11] [PASSED] horizontal offset (custom pitch)
[18:29:11] [PASSED] vertical offset (custom pitch)
[18:29:11] [PASSED] horizontal and vertical offset (custom pitch)
[18:29:11] ============= [PASSED] drm_test_fb_clip_offset =============
[18:29:11] =================== drm_test_fb_memcpy  ====================
[18:29:11] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[18:29:11] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[18:29:11] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[18:29:11] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[18:29:11] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[18:29:11] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[18:29:11] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[18:29:11] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[18:29:11] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[18:29:11] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[18:29:11] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[18:29:11] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[18:29:11] =============== [PASSED] drm_test_fb_memcpy ================
[18:29:11] ============= [PASSED] drm_format_helper_test ==============
[18:29:11] ================= drm_format (18 subtests) =================
[18:29:11] [PASSED] drm_test_format_block_width_invalid
[18:29:11] [PASSED] drm_test_format_block_width_one_plane
[18:29:11] [PASSED] drm_test_format_block_width_two_plane
[18:29:11] [PASSED] drm_test_format_block_width_three_plane
[18:29:11] [PASSED] drm_test_format_block_width_tiled
[18:29:11] [PASSED] drm_test_format_block_height_invalid
[18:29:11] [PASSED] drm_test_format_block_height_one_plane
[18:29:11] [PASSED] drm_test_format_block_height_two_plane
[18:29:11] [PASSED] drm_test_format_block_height_three_plane
[18:29:11] [PASSED] drm_test_format_block_height_tiled
[18:29:11] [PASSED] drm_test_format_min_pitch_invalid
[18:29:11] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[18:29:11] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[18:29:11] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[18:29:11] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[18:29:11] [PASSED] drm_test_format_min_pitch_two_plane
[18:29:11] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[18:29:11] [PASSED] drm_test_format_min_pitch_tiled
[18:29:11] =================== [PASSED] drm_format ====================
[18:29:11] ============== drm_framebuffer (10 subtests) ===============
[18:29:11] ========== drm_test_framebuffer_check_src_coords  ==========
[18:29:11] [PASSED] Success: source fits into fb
[18:29:11] [PASSED] Fail: overflowing fb with x-axis coordinate
[18:29:11] [PASSED] Fail: overflowing fb with y-axis coordinate
[18:29:11] [PASSED] Fail: overflowing fb with source width
[18:29:11] [PASSED] Fail: overflowing fb with source height
[18:29:11] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[18:29:11] [PASSED] drm_test_framebuffer_cleanup
[18:29:11] =============== drm_test_framebuffer_create  ===============
[18:29:11] [PASSED] ABGR8888 normal sizes
[18:29:11] [PASSED] ABGR8888 max sizes
[18:29:11] [PASSED] ABGR8888 pitch greater than min required
[18:29:11] [PASSED] ABGR8888 pitch less than min required
[18:29:11] [PASSED] ABGR8888 Invalid width
[18:29:11] [PASSED] ABGR8888 Invalid buffer handle
[18:29:11] [PASSED] No pixel format
[18:29:11] [PASSED] ABGR8888 Width 0
[18:29:11] [PASSED] ABGR8888 Height 0
[18:29:11] [PASSED] ABGR8888 Out of bound height * pitch combination
[18:29:11] [PASSED] ABGR8888 Large buffer offset
[18:29:11] [PASSED] ABGR8888 Buffer offset for inexistent plane
[18:29:11] [PASSED] ABGR8888 Invalid flag
[18:29:11] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[18:29:11] [PASSED] ABGR8888 Valid buffer modifier
[18:29:11] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[18:29:11] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[18:29:11] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[18:29:11] [PASSED] NV12 Normal sizes
[18:29:11] [PASSED] NV12 Max sizes
[18:29:11] [PASSED] NV12 Invalid pitch
[18:29:11] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[18:29:11] [PASSED] NV12 different  modifier per-plane
[18:29:11] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[18:29:11] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[18:29:11] [PASSED] NV12 Modifier for inexistent plane
[18:29:11] [PASSED] NV12 Handle for inexistent plane
[18:29:11] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[18:29:11] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[18:29:11] [PASSED] YVU420 Normal sizes
[18:29:11] [PASSED] YVU420 Max sizes
[18:29:11] [PASSED] YVU420 Invalid pitch
[18:29:11] [PASSED] YVU420 Different pitches
[18:29:11] [PASSED] YVU420 Different buffer offsets/pitches
[18:29:11] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[18:29:11] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[18:29:11] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[18:29:11] [PASSED] YVU420 Valid modifier
[18:29:11] [PASSED] YVU420 Different modifiers per plane
[18:29:11] [PASSED] YVU420 Modifier for inexistent plane
[18:29:11] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[18:29:11] [PASSED] X0L2 Normal sizes
[18:29:11] [PASSED] X0L2 Max sizes
[18:29:11] [PASSED] X0L2 Invalid pitch
[18:29:11] [PASSED] X0L2 Pitch greater than minimum required
[18:29:11] [PASSED] X0L2 Handle for inexistent plane
[18:29:11] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[18:29:11] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[18:29:11] [PASSED] X0L2 Valid modifier
[18:29:11] [PASSED] X0L2 Modifier for inexistent plane
[18:29:11] =========== [PASSED] drm_test_framebuffer_create ===========
[18:29:11] [PASSED] drm_test_framebuffer_free
[18:29:11] [PASSED] drm_test_framebuffer_init
[18:29:11] [PASSED] drm_test_framebuffer_init_bad_format
[18:29:11] [PASSED] drm_test_framebuffer_init_dev_mismatch
[18:29:11] [PASSED] drm_test_framebuffer_lookup
[18:29:11] [PASSED] drm_test_framebuffer_lookup_inexistent
[18:29:11] [PASSED] drm_test_framebuffer_modifiers_not_supported
[18:29:11] ================= [PASSED] drm_framebuffer =================
[18:29:11] ================ drm_gem_shmem (8 subtests) ================
[18:29:11] [PASSED] drm_gem_shmem_test_obj_create
[18:29:11] [PASSED] drm_gem_shmem_test_obj_create_private
[18:29:11] [PASSED] drm_gem_shmem_test_pin_pages
[18:29:11] [PASSED] drm_gem_shmem_test_vmap
[18:29:11] [PASSED] drm_gem_shmem_test_get_sg_table
[18:29:11] [PASSED] drm_gem_shmem_test_get_pages_sgt
[18:29:11] [PASSED] drm_gem_shmem_test_madvise
[18:29:11] [PASSED] drm_gem_shmem_test_purge
[18:29:11] ================== [PASSED] drm_gem_shmem ==================
[18:29:11] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[18:29:11] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[18:29:11] [PASSED] Automatic
[18:29:11] [PASSED] Full
[18:29:11] [PASSED] Limited 16:235
[18:29:11] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[18:29:11] [PASSED] drm_test_check_disable_connector
[18:29:11] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[18:29:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[18:29:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[18:29:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[18:29:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[18:29:11] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[18:29:11] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[18:29:11] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[18:29:11] [PASSED] drm_test_check_output_bpc_dvi
[18:29:11] [PASSED] drm_test_check_output_bpc_format_vic_1
[18:29:11] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[18:29:11] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[18:29:11] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[18:29:11] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[18:29:11] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[18:29:11] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[18:29:11] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[18:29:11] ============ drm_test_check_hdmi_color_format  =============
[18:29:11] [PASSED] AUTO -> RGB
[18:29:11] [PASSED] YCBCR422 -> YUV422
[18:29:11] [PASSED] YCBCR420 -> YUV420
[18:29:11] [PASSED] YCBCR444 -> YUV444
[18:29:11] [PASSED] RGB -> RGB
[18:29:11] ======== [PASSED] drm_test_check_hdmi_color_format =========
[18:29:11] ======== drm_test_check_hdmi_color_format_420_only  ========
[18:29:11] [PASSED] RGB should fail
[18:29:11] [PASSED] YUV444 should fail
[18:29:11] [PASSED] YUV422 should fail
[18:29:11] [PASSED] YUV420 should work
[18:29:11] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[18:29:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[18:29:11] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[18:29:11] [PASSED] drm_test_check_broadcast_rgb_value
[18:29:11] [PASSED] drm_test_check_bpc_8_value
[18:29:11] [PASSED] drm_test_check_bpc_10_value
[18:29:11] [PASSED] drm_test_check_bpc_12_value
[18:29:11] [PASSED] drm_test_check_format_value
[18:29:11] [PASSED] drm_test_check_tmds_char_value
[18:29:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[18:29:11] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[18:29:11] [PASSED] drm_test_check_mode_valid
[18:29:11] [PASSED] drm_test_check_mode_valid_reject
[18:29:11] [PASSED] drm_test_check_mode_valid_reject_rate
[18:29:11] [PASSED] drm_test_check_mode_valid_reject_max_clock
[18:29:11] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[18:29:11] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[18:29:11] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[18:29:11] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[18:29:11] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[18:29:11] [PASSED] drm_test_check_infoframes
[18:29:11] [PASSED] drm_test_check_reject_avi_infoframe
[18:29:11] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[18:29:11] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[18:29:11] [PASSED] drm_test_check_reject_audio_infoframe
[18:29:11] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[18:29:11] ================= drm_managed (2 subtests) =================
[18:29:11] [PASSED] drm_test_managed_release_action
[18:29:11] [PASSED] drm_test_managed_run_action
[18:29:11] =================== [PASSED] drm_managed ===================
[18:29:11] =================== drm_mm (6 subtests) ====================
[18:29:11] [PASSED] drm_test_mm_init
[18:29:11] [PASSED] drm_test_mm_debug
[18:29:11] [PASSED] drm_test_mm_align32
[18:29:11] [PASSED] drm_test_mm_align64
[18:29:11] [PASSED] drm_test_mm_lowest
[18:29:11] [PASSED] drm_test_mm_highest
[18:29:11] ===================== [PASSED] drm_mm ======================
[18:29:11] ============= drm_modes_analog_tv (5 subtests) =============
[18:29:11] [PASSED] drm_test_modes_analog_tv_mono_576i
[18:29:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[18:29:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[18:29:11] [PASSED] drm_test_modes_analog_tv_pal_576i
[18:29:11] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[18:29:11] =============== [PASSED] drm_modes_analog_tv ===============
[18:29:11] ============== drm_panic_helper (3 subtests) ===============
[18:29:11] ============= drm_test_panic_screen_user_map  ==============
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[18:29:11] ========= [PASSED] drm_test_panic_screen_user_map ==========
[18:29:11] ============= drm_test_panic_screen_user_page  =============
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[18:29:11] ========= [PASSED] drm_test_panic_screen_user_page =========
[18:29:11] ========== drm_test_panic_screen_user_set_pixel  ===========
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 494 x 494 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[18:29:11] [PASSED] Panic screen user, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 494 x 494 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1920 x 1080 	XR24 little-endian (0x34325258)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG16 little-endian (0x36314752)
[18:29:11] [PASSED] Panic screen kmsg, mode: 1024 x 768 	RG24 little-endian (0x34324752)
[18:29:11] ====== [PASSED] drm_test_panic_screen_user_set_pixel =======
[18:29:11] ================ [PASSED] drm_panic_helper =================
[18:29:11] ============== drm_plane_helper (2 subtests) ===============
[18:29:11] =============== drm_test_check_plane_state  ================
[18:29:11] [PASSED] clipping_simple
[18:29:11] [PASSED] clipping_rotate_reflect
[18:29:11] [PASSED] positioning_simple
[18:29:11] [PASSED] upscaling
[18:29:11] [PASSED] downscaling
[18:29:11] [PASSED] rounding1
[18:29:11] [PASSED] rounding2
[18:29:11] [PASSED] rounding3
[18:29:11] [PASSED] rounding4
[18:29:11] =========== [PASSED] drm_test_check_plane_state ============
[18:29:11] =========== drm_test_check_invalid_plane_state  ============
[18:29:11] [PASSED] positioning_invalid
[18:29:11] [PASSED] upscaling_invalid
[18:29:11] [PASSED] downscaling_invalid
[18:29:11] ======= [PASSED] drm_test_check_invalid_plane_state ========
[18:29:11] ================ [PASSED] drm_plane_helper =================
[18:29:11] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[18:29:11] ====== drm_test_connector_helper_tv_get_modes_check  =======
[18:29:11] [PASSED] None
[18:29:11] [PASSED] PAL
[18:29:11] [PASSED] NTSC
[18:29:11] [PASSED] Both, NTSC Default
[18:29:11] [PASSED] Both, PAL Default
[18:29:11] [PASSED] Both, NTSC Default, with PAL on command-line
[18:29:11] [PASSED] Both, PAL Default, with NTSC on command-line
[18:29:11] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[18:29:11] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[18:29:11] ================== drm_rect (9 subtests) ===================
[18:29:11] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[18:29:11] [PASSED] drm_test_rect_clip_scaled_not_clipped
[18:29:11] [PASSED] drm_test_rect_clip_scaled_clipped
[18:29:11] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[18:29:11] ================= drm_test_rect_intersect  =================
[18:29:11] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[18:29:11] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[18:29:11] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[18:29:11] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[18:29:11] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[18:29:11] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[18:29:11] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[18:29:11] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[18:29:11] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[18:29:11] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[18:29:11] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[18:29:11] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[18:29:11] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[18:29:11] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[18:29:11] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[18:29:11] ============= [PASSED] drm_test_rect_intersect =============
[18:29:11] ================ drm_test_rect_calc_hscale  ================
[18:29:11] [PASSED] normal use
[18:29:11] [PASSED] out of max range
[18:29:11] [PASSED] out of min range
[18:29:11] [PASSED] zero dst
[18:29:11] [PASSED] negative src
[18:29:11] [PASSED] negative dst
[18:29:11] ============ [PASSED] drm_test_rect_calc_hscale ============
[18:29:11] ================ drm_test_rect_calc_vscale  ================
[18:29:11] [PASSED] normal use
[18:29:11] [PASSED] out of max range
[18:29:11] [PASSED] out of min range
[18:29:11] [PASSED] zero dst
[18:29:11] [PASSED] negative src
[18:29:11] [PASSED] negative dst
[18:29:11] ============ [PASSED] drm_test_rect_calc_vscale ============
[18:29:11] ================== drm_test_rect_rotate  ===================
[18:29:11] [PASSED] reflect-x
[18:29:11] [PASSED] reflect-y
[18:29:11] [PASSED] rotate-0
[18:29:11] [PASSED] rotate-90
[18:29:11] [PASSED] rotate-180
[18:29:11] [PASSED] rotate-270
[18:29:11] ============== [PASSED] drm_test_rect_rotate ===============
[18:29:11] ================ drm_test_rect_rotate_inv  =================
[18:29:11] [PASSED] reflect-x
[18:29:11] [PASSED] reflect-y
[18:29:11] [PASSED] rotate-0
[18:29:11] [PASSED] rotate-90
[18:29:11] [PASSED] rotate-180
[18:29:11] [PASSED] rotate-270
[18:29:11] ============ [PASSED] drm_test_rect_rotate_inv =============
[18:29:11] ==================== [PASSED] drm_rect =====================
[18:29:11] ============ drm_sysfb_modeset_test (1 subtest) ============
[18:29:11] ============ drm_test_sysfb_build_fourcc_list  =============
[18:29:11] [PASSED] no native formats
[18:29:11] [PASSED] XRGB8888 as native format
[18:29:11] [PASSED] remove duplicates
[18:29:11] [PASSED] convert alpha formats
[18:29:11] [PASSED] random formats
[18:29:11] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[18:29:11] ============= [PASSED] drm_sysfb_modeset_test ==============
[18:29:11] ================== drm_fixp (2 subtests) ===================
[18:29:11] [PASSED] drm_test_int2fixp
[18:29:11] [PASSED] drm_test_sm2fixp
[18:29:11] ==================== [PASSED] drm_fixp =====================
[18:29:11] ============================================================
[18:29:11] Testing complete. Ran 667 tests: passed: 667
[18:29:11] Elapsed time: 28.219s total, 2.490s configuring, 25.409s building, 0.303s 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
[18:29:11] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:29:13] 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
[18:29:23] Starting KUnit Kernel (1/1)...
[18:29:23] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:29:24] ================= ttm_device (5 subtests) ==================
[18:29:24] [PASSED] ttm_device_init_basic
[18:29:24] [PASSED] ttm_device_init_multiple
[18:29:24] [PASSED] ttm_device_fini_basic
[18:29:24] [PASSED] ttm_device_init_no_vma_man
[18:29:24] ================== ttm_device_init_pools  ==================
[18:29:24] [PASSED] No DMA allocations, no DMA32 required
[18:29:24] [PASSED] DMA allocations, DMA32 required
[18:29:24] [PASSED] No DMA allocations, DMA32 required
[18:29:24] [PASSED] DMA allocations, no DMA32 required
[18:29:24] ============== [PASSED] ttm_device_init_pools ==============
[18:29:24] =================== [PASSED] ttm_device ====================
[18:29:24] ================== ttm_pool (8 subtests) ===================
[18:29:24] ================== ttm_pool_alloc_basic  ===================
[18:29:24] [PASSED] One page
[18:29:24] [PASSED] More than one page
[18:29:24] [PASSED] Above the allocation limit
[18:29:24] [PASSED] One page, with coherent DMA mappings enabled
[18:29:24] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[18:29:24] ============== [PASSED] ttm_pool_alloc_basic ===============
[18:29:24] ============== ttm_pool_alloc_basic_dma_addr  ==============
[18:29:24] [PASSED] One page
[18:29:24] [PASSED] More than one page
[18:29:24] [PASSED] Above the allocation limit
[18:29:24] [PASSED] One page, with coherent DMA mappings enabled
[18:29:24] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[18:29:24] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[18:29:24] [PASSED] ttm_pool_alloc_order_caching_match
[18:29:24] [PASSED] ttm_pool_alloc_caching_mismatch
[18:29:24] [PASSED] ttm_pool_alloc_order_mismatch
[18:29:24] [PASSED] ttm_pool_free_dma_alloc
[18:29:24] [PASSED] ttm_pool_free_no_dma_alloc
[18:29:24] [PASSED] ttm_pool_fini_basic
[18:29:24] ==================== [PASSED] ttm_pool =====================
[18:29:24] ================ ttm_resource (8 subtests) =================
[18:29:24] ================= ttm_resource_init_basic  =================
[18:29:24] [PASSED] Init resource in TTM_PL_SYSTEM
[18:29:24] [PASSED] Init resource in TTM_PL_VRAM
[18:29:24] [PASSED] Init resource in a private placement
[18:29:24] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[18:29:24] ============= [PASSED] ttm_resource_init_basic =============
[18:29:24] [PASSED] ttm_resource_init_pinned
[18:29:24] [PASSED] ttm_resource_fini_basic
[18:29:24] [PASSED] ttm_resource_manager_init_basic
[18:29:24] [PASSED] ttm_resource_manager_usage_basic
[18:29:24] [PASSED] ttm_resource_manager_set_used_basic
[18:29:24] [PASSED] ttm_sys_man_alloc_basic
[18:29:24] [PASSED] ttm_sys_man_free_basic
[18:29:24] ================== [PASSED] ttm_resource ===================
[18:29:24] =================== ttm_tt (15 subtests) ===================
[18:29:24] ==================== ttm_tt_init_basic  ====================
[18:29:24] [PASSED] Page-aligned size
[18:29:24] [PASSED] Extra pages requested
[18:29:24] ================ [PASSED] ttm_tt_init_basic ================
[18:29:24] [PASSED] ttm_tt_init_misaligned
[18:29:24] [PASSED] ttm_tt_fini_basic
[18:29:24] [PASSED] ttm_tt_fini_sg
[18:29:24] [PASSED] ttm_tt_fini_shmem
[18:29:24] [PASSED] ttm_tt_create_basic
[18:29:24] [PASSED] ttm_tt_create_invalid_bo_type
[18:29:24] [PASSED] ttm_tt_create_ttm_exists
[18:29:24] [PASSED] ttm_tt_create_failed
[18:29:24] [PASSED] ttm_tt_destroy_basic
[18:29:24] [PASSED] ttm_tt_populate_null_ttm
[18:29:24] [PASSED] ttm_tt_populate_populated_ttm
[18:29:24] [PASSED] ttm_tt_unpopulate_basic
[18:29:24] [PASSED] ttm_tt_unpopulate_empty_ttm
[18:29:24] [PASSED] ttm_tt_swapin_basic
[18:29:24] ===================== [PASSED] ttm_tt ======================
[18:29:24] =================== ttm_bo (14 subtests) ===================
[18:29:24] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[18:29:24] [PASSED] Cannot be interrupted and sleeps
[18:29:24] [PASSED] Cannot be interrupted, locks straight away
[18:29:24] [PASSED] Can be interrupted, sleeps
[18:29:24] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[18:29:24] [PASSED] ttm_bo_reserve_locked_no_sleep
[18:29:24] [PASSED] ttm_bo_reserve_no_wait_ticket
[18:29:24] [PASSED] ttm_bo_reserve_double_resv
[18:29:24] [PASSED] ttm_bo_reserve_interrupted
[18:29:24] [PASSED] ttm_bo_reserve_deadlock
[18:29:24] [PASSED] ttm_bo_unreserve_basic
[18:29:24] [PASSED] ttm_bo_unreserve_pinned
[18:29:24] [PASSED] ttm_bo_unreserve_bulk
[18:29:24] [PASSED] ttm_bo_fini_basic
[18:29:24] [PASSED] ttm_bo_fini_shared_resv
[18:29:24] [PASSED] ttm_bo_pin_basic
[18:29:24] [PASSED] ttm_bo_pin_unpin_resource
[18:29:24] [PASSED] ttm_bo_multiple_pin_one_unpin
[18:29:24] ===================== [PASSED] ttm_bo ======================
[18:29:24] ============== ttm_bo_validate (22 subtests) ===============
[18:29:24] ============== ttm_bo_init_reserved_sys_man  ===============
[18:29:24] [PASSED] Buffer object for userspace
[18:29:24] [PASSED] Kernel buffer object
[18:29:24] [PASSED] Shared buffer object
[18:29:24] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[18:29:24] ============== ttm_bo_init_reserved_mock_man  ==============
[18:29:24] [PASSED] Buffer object for userspace
[18:29:24] [PASSED] Kernel buffer object
[18:29:24] [PASSED] Shared buffer object
[18:29:24] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[18:29:24] [PASSED] ttm_bo_init_reserved_resv
[18:29:24] ================== ttm_bo_validate_basic  ==================
[18:29:24] [PASSED] Buffer object for userspace
[18:29:24] [PASSED] Kernel buffer object
[18:29:24] [PASSED] Shared buffer object
[18:29:24] ============== [PASSED] ttm_bo_validate_basic ==============
[18:29:24] [PASSED] ttm_bo_validate_invalid_placement
[18:29:24] ============= ttm_bo_validate_same_placement  ==============
[18:29:24] [PASSED] System manager
[18:29:24] [PASSED] VRAM manager
[18:29:24] ========= [PASSED] ttm_bo_validate_same_placement ==========
[18:29:24] [PASSED] ttm_bo_validate_failed_alloc
[18:29:24] [PASSED] ttm_bo_validate_pinned
[18:29:24] [PASSED] ttm_bo_validate_busy_placement
[18:29:24] ================ ttm_bo_validate_multihop  =================
[18:29:24] [PASSED] Buffer object for userspace
[18:29:24] [PASSED] Kernel buffer object
[18:29:24] [PASSED] Shared buffer object
[18:29:24] ============ [PASSED] ttm_bo_validate_multihop =============
[18:29:24] ========== ttm_bo_validate_no_placement_signaled  ==========
[18:29:24] [PASSED] Buffer object in system domain, no page vector
[18:29:24] [PASSED] Buffer object in system domain with an existing page vector
[18:29:24] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[18:29:24] ======== ttm_bo_validate_no_placement_not_signaled  ========
[18:29:24] [PASSED] Buffer object for userspace
[18:29:24] [PASSED] Kernel buffer object
[18:29:24] [PASSED] Shared buffer object
[18:29:24] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[18:29:24] [PASSED] ttm_bo_validate_move_fence_signaled
[18:29:24] ========= ttm_bo_validate_move_fence_not_signaled  =========
[18:29:24] [PASSED] Waits for GPU
[18:29:24] [PASSED] Tries to lock straight away
[18:29:24] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[18:29:24] [PASSED] ttm_bo_validate_swapout
[18:29:24] [PASSED] ttm_bo_validate_happy_evict
[18:29:24] [PASSED] ttm_bo_validate_all_pinned_evict
[18:29:24] [PASSED] ttm_bo_validate_allowed_only_evict
[18:29:24] [PASSED] ttm_bo_validate_deleted_evict
[18:29:24] [PASSED] ttm_bo_validate_busy_domain_evict
[18:29:24] [PASSED] ttm_bo_validate_evict_gutting
[18:29:24] [PASSED] ttm_bo_validate_recrusive_evict
[18:29:24] ================= [PASSED] ttm_bo_validate =================
[18:29:24] ============================================================
[18:29:24] Testing complete. Ran 102 tests: passed: 102
[18:29:24] Elapsed time: 12.816s total, 2.541s configuring, 10.058s building, 0.176s running

+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[18:29:24] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[18:29:26] 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
[18:29:35] Starting KUnit Kernel (1/1)...
[18:29:35] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[18:29:35] =============== dma-buf-fence (12 subtests) ================
[18:29:35] [PASSED] test_sanitycheck
[18:29:35] [PASSED] test_signaling
[18:29:35] [PASSED] test_add_callback
[18:29:35] [PASSED] test_late_add_callback
[18:29:35] [PASSED] test_rm_callback
[18:29:35] [PASSED] test_late_rm_callback
[18:29:35] [PASSED] test_status
[18:29:35] [PASSED] test_error
[18:29:35] [PASSED] test_wait
[18:29:35] [PASSED] test_wait_timeout
[18:29:35] [PASSED] test_stub
[18:29:35] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[18:29:35] ================== [PASSED] dma-buf-fence ==================
[18:29:35] ============ dma-buf-fence-chain (11 subtests) =============
[18:29:35] [PASSED] test_sanitycheck
[18:29:35] [PASSED] test_find_seqno
[18:29:35] [PASSED] test_find_signaled
[18:29:35] [PASSED] test_find_out_of_order
[18:29:40] [PASSED] test_find_gap
[18:29:40] [PASSED] test_find_race
[18:29:40] [PASSED] test_signal_forward
[18:29:40] [PASSED] test_signal_backward
[18:29:40] [PASSED] test_wait_forward
[18:29:40] [PASSED] test_wait_backward
[18:29:40] [PASSED] test_wait_random
[18:29:40] =============== [PASSED] dma-buf-fence-chain ===============
[18:29:40] ============ dma-buf-fence-unwrap (11 subtests) ============
[18:29:40] [PASSED] test_sanitycheck
[18:29:40] [PASSED] test_unwrap_array
[18:29:40] [PASSED] test_unwrap_chain
[18:29:40] [PASSED] test_unwrap_chain_array
[18:29:40] [PASSED] test_unwrap_merge
[18:29:40] [PASSED] test_unwrap_merge_duplicate
[18:29:40] [PASSED] test_unwrap_merge_seqno
[18:29:40] [PASSED] test_unwrap_merge_order
[18:29:40] [PASSED] test_unwrap_merge_complex
[18:29:40] [PASSED] test_unwrap_merge_complex_seqno
[18:29:40] [PASSED] test_dedup_empty
[18:29:40] ============== [PASSED] dma-buf-fence-unwrap ===============
[18:29:40] ================ dma-buf-resv (5 subtests) =================
[18:29:40] [PASSED] test_sanitycheck
[18:29:40] ===================== test_signaling  ======================
[18:29:40] [PASSED] kernel
[18:29:40] [PASSED] write
[18:29:40] [PASSED] read
[18:29:40] [PASSED] bookkeep
[18:29:40] ================= [PASSED] test_signaling ==================
[18:29:40] ====================== test_for_each  ======================
[18:29:40] [PASSED] kernel
[18:29:40] [PASSED] write
[18:29:40] [PASSED] read
[18:29:40] [PASSED] bookkeep
[18:29:40] ================== [PASSED] test_for_each ==================
[18:29:40] ================= test_for_each_unlocked  ==================
[18:29:40] [PASSED] kernel
[18:29:40] [PASSED] write
[18:29:40] [PASSED] read
[18:29:40] [PASSED] bookkeep
[18:29:40] ============= [PASSED] test_for_each_unlocked ==============
[18:29:40] ===================== test_get_fences  =====================
[18:29:40] [PASSED] kernel
[18:29:40] [PASSED] write
[18:29:40] [PASSED] read
[18:29:40] [PASSED] bookkeep
[18:29:40] ================= [PASSED] test_get_fences =================
[18:29:40] ================== [PASSED] dma-buf-resv ===================
[18:29:40] ============================================================
[18:29:40] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[18:29:40] Elapsed time: 16.576s total, 2.505s configuring, 8.799s building, 5.260s running

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



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

* Re: [PATCH v6 1/3] drm/ras: Check the node type in node lookups
  2026-11-27 18:24   ` sashiko-bot
@ 2026-11-27 18:41     ` Rodrigo Vivi
  0 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2026-11-27 18:41 UTC (permalink / raw)
  To: sashiko-reviews; +Cc: dri-devel, intel-xe

On Fri, Nov 27, 2026 at 06:24:46PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Low] drm/ras: missing Fixes trailer for node type check in
>   drm_ras_node_get()

addressed.

> --
> 
> commit 9258f81bad25ef1d7e2f5db2a77f4c65a38c081f
> Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
> 
> > drm/ras: Check the node type in node lookups
> >
> > drm_ras_node_get() returns a node of any type. The telemetry handlers
> > check the type themselves, but the error-counter ones do not, so an
> > error-counter operation on a telemetry node fails with -EOPNOTSUPP or
> > walks its empty counter range, instead of reporting -ENOENT.
> >
> > Pass the expected type to drm_ras_node_get(), so a node of another
> > type is not found, and drop the type checks of the telemetry handlers.
> >
> > Suggested-by: Riana Tauro <riana.tauro@intel.com>
> > Acked-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> 
> [Severity: Low]
> Since commit c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to
> include telemetry nodes") allowed telemetry nodes in drm_ras_xa without
> checking node->type in the error-counter handlers, should this include a
> Fixes tag?
> 
>   Fixes: c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to include telemetry nodes")

b4-shazam shall pick this directly, but anyway already added to my copy of the
patches if I resend/respin is needed:

https://github.com/rodrigovivi/linux/commits/xe-ras-retired-pages-v6

> 
> -- 
> Sashiko AI review · https://sashiko.dev/#/patchset/20261127181750.806528-5-rodrigo.vivi@intel.com?part=1

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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 18:17 [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-27 18:17 ` [PATCH v6 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
2026-11-27 18:24   ` sashiko-bot
2026-11-27 18:41     ` Rodrigo Vivi
2026-11-27 18:17 ` [PATCH v6 2/3] drm/ras: Add retired-pages node type Rodrigo Vivi
2026-11-27 18:17 ` [PATCH v6 3/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-27 18:27 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev6) Patchwork
2026-11-27 18:29 ` ✓ CI.KUnit: success " Patchwork

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