All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6] drm/pagemap: Prevent double migration of device pages
@ 2026-08-10  9:28 Arvind Yadav
  2026-08-10  9:35 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev7) Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Arvind Yadav @ 2026-08-10  9:28 UTC (permalink / raw)
  To: dri-devel, intel-xe, linux-kernel
  Cc: matthew.brost, thomas.hellstrom, maarten.lankhorst, mripard,
	tzimmermann, airlied, simona, himal.prasad.ghimiray

A device-private folio migrated to system memory by a CPU fault can
remain reachable through the raw-PFN eviction path until migration
finalization drops the source reference.

If eviction selects the same device-private folio during this window,
it can attempt to migrate the folio again. The second migration can leave
an uncharged folio on an LRU list, causing folio_lruvec_lock_irqsave() to
retry indefinitely and resulting in a soft lockup and RCU stall.

Mark successfully migrated device-private folios using a low bit of
their zone_device_data before migration finalization. Make both CPU-fault
and raw-PFN migration paths skip device-private folios carrying this
flag.

Mask the flag when retrieving the drm_pagemap_zdd pointer and preserve
it when a device-private folio is split. Keeping the state on the physical
folio also avoids depending on a virtual address that may change before a
fault occurs.

v2:
- Replace the retired-PFN XArray with an embedded bitmap. (Matthew Brost)
- Mark every base page covered by a migrated folio so retirement remains
  valid if the folio is later split.

v3:
- Store the migrated state in a low bit of zone_device_data instead of
  adding virtual-range and bitmap tracking to the ZDD. (Matthew Brost)
- Mask the flag when retrieving the ZDD and preserve it when splitting
  a folio.
- Drop the pre-existing fixes already covered by Matthew Brost's series:
  https://patchwork.freedesktop.org/series/171651/

v4:
- Advance by the folio size only for migration entries marked with
  MIGRATE_PFN_COMPOUND. (Sashiko)

v5:
- Simplify ZDD flag updates and folio iteration. (Matthew Brost)
- Skip retired device-private folios in the CPU-fault path. (Matthew Brost)
- Preserve flag bits while taking a new ZDD reference for split folios.

v6:
- Restore MIGRATE_PFN_COMPOUND-aware stepping so non-compound migration
  entries are processed one at a time. (Sashiko)
- Drop the pre-existing fixes already covered by Matthew Brost's series:
  https://patchwork.freedesktop.org/series/171651/

The lockup was observed as:
[10109.860465] watchdog: BUG: soft lockup - CPU#9 stuck for 26s! [kworker/u65:5:6557]
[10109.860524] Tainted: [S]=CPU_OUT_OF_SPEC, [O]=OOT_MODULE
[10109.860524] Hardware name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812 02/24/2023
[10109.860525] Workqueue: xe_page_fault_work_queue xe_pagefault_queue_work [xe]
[10109.860644] RIP: 0010:_raw_spin_unlock_irqrestore+0x57/0x80
[10109.860655] Call Trace:
[10109.860655]  <TASK>
[10109.860657]  folio_lruvec_lock_irqsave+0x216/0x220
[10109.860661]  ? __pfx_lru_add+0x10/0x10
[10109.860665]  folio_batch_move_lru+0xc8/0x450
[10109.860670]  ? lock_acquire+0xc4/0x2d0
[10109.860674]  ? __folio_batch_add_and_move+0x60/0x2e0
[10109.860677]  ? folio_migrate_mapping+0xa6/0x110
[10109.860679]  ? folio_migrate_flags+0x13b/0x1b0
[10109.860681]  ? __pfx_lru_add+0x10/0x10
[10109.860683]  __folio_batch_add_and_move+0xe7/0x2e0
[10109.860685]  ? dma_iova_try_alloc+0xb0/0x140
[10109.860689]  folio_add_lru+0x64/0x80
[10109.860691]  __migrate_device_finalize+0x12c/0x270
[10109.860695]  migrate_device_finalize+0x10/0x20
[10109.860698]  drm_pagemap_evict_to_ram+0x185/0x370 [drm_gpusvm_helper]
[10109.860704]  ? drm_pagemap_evict_to_ram+0x96/0x370 [drm_gpusvm_helper]
[10109.860709]  xe_svm_bo_evict+0x15/0x20 [xe]
[10109.860819]  ? xe_svm_bo_evict+0x15/0x20 [xe]
[10109.860921]  xe_bo_move+0x107e/0x1570 [xe]
[10109.860992]  ? xe_ttm_tt_create+0x168/0x340 [xe]
[10109.861059]  ? __up_read+0x98/0x2b0
[10109.861061]  ? lock_is_held_type+0xa3/0x130
[10109.861067]  ttm_bo_handle_move_mem+0xe8/0x1e0 [ttm]
[10109.861075]  ttm_bo_evict+0x141/0x1c0 [ttm]
[10109.861081]  ttm_bo_evict_cb+0x9f/0x100 [ttm]
[10109.861086]  ttm_lru_walk_for_evict+0x84/0x190 [ttm]
[10109.861091]  ? xe_ttm_vram_mgr_new+0x258/0x3a0 [xe]
[10109.861198]  ttm_bo_alloc_resource+0x219/0x750 [ttm]
[10109.861203]  ? ttm_bo_alloc_resource+0xa9/0x750 [ttm]
[10109.861208]  ? lock_acquire+0xc4/0x2d0
[10109.861214]  ttm_bo_validate+0x94/0x1c0 [ttm]
[10109.861218]  ? ww_mutex_trylock+0x19d/0x3d0
[10109.861219]  ? _raw_write_unlock+0x22/0x50
[10109.861223]  ttm_bo_init_reserved+0x17d/0x1f0 [ttm]
[10109.861228]  xe_bo_init_locked+0x20a/0x620 [xe]
[10109.861294]  ? __pfx_xe_ttm_bo_destroy+0x10/0x10 [xe]
[10109.861359]  ? mark_held_locks+0x46/0x90
[10109.861361]  ? __create_object+0x68/0xc0
[10109.861366]  __xe_bo_create_locked+0x384/0xa20 [xe]
[10109.861432]  ? lock_acquire+0xc4/0x2d0
[10109.861434]  ? xe_drm_pagemap_populate_mm+0xd3/0x340 [xe]
[10109.861542]  xe_bo_create_locked+0x23/0x40 [xe]
[10109.861609]  xe_drm_pagemap_populate_mm+0x12e/0x340 [xe]
[10109.861707]  ? __lock_acquire+0x43e/0x2930
[10109.861716]  drm_pagemap_populate_mm+0x74/0xe0 [drm_gpusvm_helper]
[10109.861720]  xe_svm_alloc_vram+0xb5/0x2c0 [xe]
[10109.861817]  ? seqcount_lockdep_reader_access.constprop.0+0x9f/0xc0
[10109.861819]  ? ktime_get+0x23/0x130
[10109.861821]  ? trace_hardirqs_on+0x22/0xe0
[10109.861823]  ? seqcount_lockdep_reader_access.constprop.0+0x9f/0xc0
[10109.861826]  __xe_svm_handle_pagefault+0x77d/0xbf0 [xe]
[10109.861924]  ? rwsem_down_write_slowpath+0x43a/0x9a0
[10109.861926]  ? _raw_spin_unlock_irq+0x27/0x70
[10109.861928]  ? rwsem_down_write_slowpath+0x43a/0x9a0
[10109.861929]  ? trace_hardirqs_on+0x22/0xe0
[10109.861931]  ? _raw_spin_unlock_irq+0x27/0x70
[10109.861933]  ? rwsem_down_write_slowpath+0x459/0x9a0
[10109.861937]  xe_svm_handle_pagefault+0x3d/0xb0 [xe]
[10109.862030]  xe_pagefault_queue_work+0x1a9/0x520 [xe]
[10109.862122]  process_one_work+0x239/0x730
[10109.862127]  worker_thread+0x200/0x3f0
[10109.862130]  ? __pfx_worker_thread+0x10/0x10
[10109.862132]  kthread+0x10d/0x150
[10109.862133]  ? __pfx_kthread+0x10/0x10
[10109.862135]  ret_from_fork+0x3bd/0x470
[10109.862138]  ? __pfx_kthread+0x10/0x10
[10109.862140]  ret_from_fork_asm+0x1a/0x30
[10109.862146]  </TASK>

Fixes: 99624bdff867 ("drm/gpusvm: Add support for GPU Shared Virtual Memory")
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Assisted-by: Claude:claude-opus-4-8
Suggested-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
---
 drivers/gpu/drm/drm_pagemap.c | 127 ++++++++++++++++++++++++++++++++--
 include/drm/drm_pagemap.h     |   8 ++-
 2 files changed, 129 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c
index 7a056592ac66..097a900cf55d 100644
--- a/drivers/gpu/drm/drm_pagemap.c
+++ b/drivers/gpu/drm/drm_pagemap.c
@@ -1102,12 +1102,117 @@ void drm_pagemap_put(struct drm_pagemap *dpagemap)
 }
 EXPORT_SYMBOL(drm_pagemap_put);
 
+/**
+ * drm_pagemap_page_get_flags() - Read flags from a device-private folio
+ * @page: Pointer to a page of the device-private folio
+ *
+ * Return: The DRM_PAGEMAP_ZDD_FLAG_* bits encoded in zone_device_data.
+ */
+static unsigned long drm_pagemap_page_get_flags(struct page *page)
+{
+	struct folio *folio = page_folio(page);
+
+	return (unsigned long)folio_zone_device_data(folio) &
+		DRM_PAGEMAP_ZDD_FLAG_MASK;
+}
+
+/**
+ * drm_pagemap_page_set_flags() - Set flags on a device-private folio
+ * @page: Pointer to a page of the device-private folio
+ * @flags: DRM_PAGEMAP_ZDD_FLAG_* bits to set
+ *
+ * Preserve any flags already encoded alongside the ZDD pointer.
+ */
+static void drm_pagemap_page_set_flags(struct page *page,
+				       unsigned long flags)
+{
+	struct folio *folio = page_folio(page);
+	unsigned long old;
+
+	if (WARN_ON_ONCE(flags & ~DRM_PAGEMAP_ZDD_FLAG_MASK))
+		return;
+
+	old = (unsigned long)folio_zone_device_data(folio);
+	folio_set_zone_device_data(folio, (void *)(old | flags));
+}
+
+/**
+ * drm_pagemap_retire_migrated_pages() - Record migrated device-private folios
+ * @src_pfns: source array after migrate_vma_pages() or migrate_device_pages()
+ * @npages: number of entries in @src_pfns
+ *
+ * Flag device-private folios successfully migrated to RAM before finalize
+ * unlocks the sources. The migrated state is stored in the physical folio, so
+ * it survives later folio splits and subsequent migrations can skip it.
+ */
+static void drm_pagemap_retire_migrated_pages(unsigned long *src_pfns,
+					      unsigned long npages)
+{
+	unsigned long i = 0;
+
+	while (i < npages) {
+		struct page *page = migrate_pfn_to_page(src_pfns[i]);
+		unsigned long nr = 1;
+
+		if (!page) {
+			i++;
+			continue;
+		}
+
+		if (src_pfns[i] & MIGRATE_PFN_COMPOUND)
+			nr = folio_nr_pages(page_folio(page));
+
+		if ((src_pfns[i] & MIGRATE_PFN_MIGRATE) &&
+		    is_device_private_page(page))
+			drm_pagemap_page_set_flags(page,
+						   DRM_PAGEMAP_ZDD_FLAG_MIGRATED);
+
+		i += nr;
+	}
+}
+
+/**
+ * drm_pagemap_skip_retired_pages() - Skip retired device-private folios
+ * @src_pfns: MIGRATE_PFN-encoded source array
+ * @npages: number of entries in @src_pfns
+ *
+ * Skip source folios already migrated to RAM, identified by the migrated flag
+ * stored in the physical folio's zone_device_data.
+ */
+static void drm_pagemap_skip_retired_pages(unsigned long *src_pfns,
+					   unsigned long npages)
+{
+	unsigned long i = 0;
+
+	while (i < npages) {
+		struct page *page = migrate_pfn_to_page(src_pfns[i]);
+		unsigned long nr = 1;
+
+		if (!page) {
+			i++;
+			continue;
+		}
+
+		if (src_pfns[i] & MIGRATE_PFN_COMPOUND)
+			nr = folio_nr_pages(page_folio(page));
+
+		if ((src_pfns[i] & MIGRATE_PFN_MIGRATE) &&
+		    is_device_private_page(page) &&
+		    (drm_pagemap_page_get_flags(page) &
+		     DRM_PAGEMAP_ZDD_FLAG_MIGRATED))
+			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
+
+		i += nr;
+	}
+}
+
 /**
  * drm_pagemap_evict_to_ram() - Evict GPU SVM range to RAM
  * @devmem_allocation: Pointer to the device memory allocation
  *
- * Similar to __drm_pagemap_migrate_to_ram but does not require mmap lock and
- * migration done via migrate_device_* functions.
+ * Similar to __drm_pagemap_migrate_to_ram(), but uses the
+ * migrate_device_* helpers and does not require the mmap lock.
+ * Device-private PFNs already migrated to RAM by either path are skipped.
  *
  * Return: 0 on success, negative error code on failure.
  */
@@ -1149,6 +1254,8 @@ int drm_pagemap_evict_to_ram(struct drm_pagemap_devmem *devmem_allocation)
 	if (err)
 		goto err_free;
 
+	drm_pagemap_skip_retired_pages(src, npages);
+
 	err = drm_pagemap_migrate_populate_ram_pfn(NULL, NULL, npages, &mpages,
 						   src, dst, 0);
 	if (err || !mpages)
@@ -1179,6 +1286,7 @@ int drm_pagemap_evict_to_ram(struct drm_pagemap_devmem *devmem_allocation)
 	if (err)
 		drm_pagemap_migration_unlock_put_pages(npages, dst);
 	migrate_device_pages(src, dst, npages);
+	drm_pagemap_retire_migrated_pages(src, npages);
 	migrate_device_finalize(src, dst, npages);
 	drm_pagemap_migrate_unmap_pages(devmem_allocation->dev, pagemap_addr, dst, npages,
 					DMA_FROM_DEVICE, &state);
@@ -1276,13 +1384,15 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
 	if (!migrate.cpages)
 		goto err_free;
 
+	drm_pagemap_skip_retired_pages(migrate.src, npages);
+
 	ops = zdd->devmem_allocation->ops;
 	dev = zdd->devmem_allocation->dev;
 
 	err = drm_pagemap_migrate_populate_ram_pfn(vas, page, npages, &mpages,
 						   migrate.src, migrate.dst,
 						   start);
-	if (err)
+	if (err || !mpages)
 		goto err_finalize;
 
 	err = drm_pagemap_migrate_map_system_pages(dev, pagemap_addr,
@@ -1309,6 +1419,7 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
 	if (err)
 		drm_pagemap_migration_unlock_put_pages(npages, migrate.dst);
 	migrate_vma_pages(&migrate);
+	drm_pagemap_retire_migrated_pages(migrate.src, npages);
 	migrate_vma_finalize(&migrate);
 	if (dev)
 		drm_pagemap_migrate_unmap_pages(dev, pagemap_addr, migrate.dst,
@@ -1361,13 +1472,19 @@ static vm_fault_t drm_pagemap_migrate_to_ram(struct vm_fault *vmf)
 static void drm_pagemap_folio_split(struct folio *orig_folio, struct folio *new_folio)
 {
 	struct drm_pagemap_zdd *zdd;
+	unsigned long orig_data, new_data;
 
 	if (!new_folio)
 		return;
 
 	new_folio->pgmap = orig_folio->pgmap;
-	zdd = folio_zone_device_data(orig_folio);
-	folio_set_zone_device_data(new_folio, drm_pagemap_zdd_get(zdd));
+
+	orig_data = (unsigned long)folio_zone_device_data(orig_folio);
+	zdd = (struct drm_pagemap_zdd *)(orig_data & ~DRM_PAGEMAP_ZDD_FLAG_MASK);
+
+	new_data = (unsigned long)drm_pagemap_zdd_get(zdd);
+	new_data |= orig_data & DRM_PAGEMAP_ZDD_FLAG_MASK;
+	folio_set_zone_device_data(new_folio, (void *)new_data);
 }
 
 static const struct dev_pagemap_ops drm_pagemap_pagemap_ops = {
diff --git a/include/drm/drm_pagemap.h b/include/drm/drm_pagemap.h
index 95eb4b66b057..ebbd3b0ddf36 100644
--- a/include/drm/drm_pagemap.h
+++ b/include/drm/drm_pagemap.h
@@ -2,6 +2,7 @@
 #ifndef _DRM_PAGEMAP_H_
 #define _DRM_PAGEMAP_H_
 
+#include <linux/bits.h>
 #include <linux/dma-direction.h>
 #include <linux/hmm.h>
 #include <linux/memremap.h>
@@ -339,6 +340,9 @@ struct drm_pagemap_migrate_details {
 
 #if IS_ENABLED(CONFIG_ZONE_DEVICE)
 
+#define DRM_PAGEMAP_ZDD_FLAG_MIGRATED	BIT(0)
+#define DRM_PAGEMAP_ZDD_FLAG_MASK	DRM_PAGEMAP_ZDD_FLAG_MIGRATED
+
 int drm_pagemap_migrate_to_devmem(struct drm_pagemap_devmem *devmem_allocation,
 				  struct mm_struct *mm,
 				  unsigned long start, unsigned long end,
@@ -373,7 +377,9 @@ static inline struct drm_pagemap_zdd *drm_pagemap_page_zone_device_data(struct p
 {
 	struct folio *folio = page_folio(page);
 
-	return folio_zone_device_data(folio);
+	return (struct drm_pagemap_zdd *)
+		((unsigned long)folio_zone_device_data(folio) &
+		 ~DRM_PAGEMAP_ZDD_FLAG_MASK);
 }
 
 #else
-- 
2.43.0


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

* ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev7)
  2026-08-10  9:28 [PATCH v6] drm/pagemap: Prevent double migration of device pages Arvind Yadav
@ 2026-08-10  9:35 ` Patchwork
  2026-08-10  9:51 ` [PATCH v6] drm/pagemap: Prevent double migration of device pages sashiko-bot
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2026-08-10  9:35 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

== Series Details ==

Series: drm/pagemap: Prevent double migration of device pages (rev7)
URL   : https://patchwork.freedesktop.org/series/171495/
State : success

== Summary ==

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

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

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

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



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

* Re: [PATCH v6] drm/pagemap: Prevent double migration of device pages
  2026-08-10  9:28 [PATCH v6] drm/pagemap: Prevent double migration of device pages Arvind Yadav
  2026-08-10  9:35 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev7) Patchwork
@ 2026-08-10  9:51 ` sashiko-bot
  2026-08-10 10:16 ` ✓ Xe.CI.BAT: success for drm/pagemap: Prevent double migration of device pages (rev7) Patchwork
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-08-10  9:51 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: dri-devel

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:

New issues:
- [High] Data race on folio->page.zone_device_data due to non-atomic read-modify-write.

Pre-existing issues:
- [Critical] Out-of-bounds write in migrate_device_pfns and migrate_device_range.
- [High] Use-after-free when accessing page metadata after dropping the reference.
- [High] DMA mappings are leaked in error paths because unmapping is skipped when the PFN array is zeroed.
--

--- Patch [1]: [PATCH v6] drm/pagemap: Prevent double migration of device pages ---
commit 8398dc4cfadc132c4a2fb375e9dd9f211e6bb842
Author: Arvind Yadav <arvind.yadav@intel.com>
drm/pagemap: Prevent double migration of device pages

A device-private folio migrated to system memory by a CPU fault can
remain reachable through the raw-PFN eviction path until migration
finalization drops the source reference.

> diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c
> --- a/drivers/gpu/drm/drm_pagemap.c
> +++ b/drivers/gpu/drm/drm_pagemap.c

[ ... ]

> +static void drm_pagemap_page_set_flags(struct page *page,
> +				       unsigned long flags)
> +{
> +	struct folio *folio = page_folio(page);
> +	unsigned long old;
> +
> +	if (WARN_ON_ONCE(flags & ~DRM_PAGEMAP_ZDD_FLAG_MASK))
> +		return;
> +
> +	old = (unsigned long)folio_zone_device_data(folio);
> +	folio_set_zone_device_data(folio, (void *)(old | flags));
> +}

[Severity: High]
Can this non-atomic read-modify-write race with concurrent lockless readers?

If a CPU fault handler calls __drm_pagemap_migrate_to_ram() and reads this
pointer locklessly via drm_pagemap_page_zone_device_data(), and this function
updates it concurrently, could the lack of READ_ONCE()/WRITE_ONCE() protection
result in a torn pointer read and subsequent pointer corruption?

[ ... ]

> @@ -1148,6 +1253,8 @@ int drm_pagemap_evict_to_ram(struct drm_pagemap_devmem *devmem_allocation)
>  	if (err)
>  		goto err_free;
>  
> +	drm_pagemap_skip_retired_pages(src, npages);
> +
>  	err = drm_pagemap_migrate_populate_ram_pfn(NULL, NULL, npages, &mpages,
>  						   src, dst, 0);

[Severity: Critical]
This is a pre-existing issue, but does migrate_device_pfns() (called just
before this snippet) have an out-of-bounds write if the migrated memory range
ends midway through a large folio?

Looking at migrate_device_pfns() in mm/migrate_device.c:

	for (j = 1; j < nr; j++)
		src_pfns[i+j] = 0;

Since the inner loop doesn't check if i + j < npages, if a caller passes an
array of pfns where the last elements belong to a large folio, this clears
subsequent elements past the end of the src_pfns array, potentially corrupting
adjacent memory like the dst array.

[Severity: High]
This is also a pre-existing issue, but is there a use-after-free in the error
cleanup path of drm_pagemap_migrate_populate_ram_pfn() called here?

When cleaning up after a failure, the code drops the page reference and then
immediately accesses its metadata to determine the loop advancement step:

drm_pagemap_migrate_populate_ram_pfn() {
...
free_pages:
	...
	put_page(page);
	mpfn[i] = 0;

	order = folio_order(page_folio(page));
...
}

If put_page() drops the last reference and frees the page, isn't the
subsequent call to folio_order(page_folio(page)) accessing freed memory?

[ ... ]

> @@ -1308,6 +1418,7 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
>  	if (err)
>  		drm_pagemap_migration_unlock_put_pages(npages, migrate.dst);
>  	migrate_vma_pages(&migrate);
> +	drm_pagemap_retire_migrated_pages(migrate.src, npages);
>  	migrate_vma_finalize(&migrate);
>  	if (dev)
>  		drm_pagemap_migrate_unmap_pages(dev, pagemap_addr, migrate.dst,

[Severity: High]
This is a pre-existing issue, but are DMA mappings leaked in this error path?

If an error occurs, drm_pagemap_migration_unlock_put_pages() is called
which zeroes out the migrate.dst array:

drm_pagemap_migration_unlock_put_pages() {
	...
	drm_pagemap_migration_unlock_put_folio(folio);
	migrate_pfn[i] = 0;
	...
}

Subsequently, drm_pagemap_migrate_unmap_pages() is called to unmap the DMA
addresses, but it explicitly skips entries where the page is NULL:

drm_pagemap_migrate_unmap_pages() {
	...
	if (!page || !pagemap_addr[i].addr || dma_mapping_error(dev, pagemap_addr[i].addr))
		goto next;
	...
}

Since all pages in the array were just zeroed, migrate_pfn_to_page() will
return NULL for all of them, bypassing the unmap and leaving the DMA mappings
orphaned.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260810092845.2776097-1-arvind.yadav@intel.com?part=1

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

* ✓ Xe.CI.BAT: success for drm/pagemap: Prevent double migration of device pages (rev7)
  2026-08-10  9:28 [PATCH v6] drm/pagemap: Prevent double migration of device pages Arvind Yadav
  2026-08-10  9:35 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev7) Patchwork
  2026-08-10  9:51 ` [PATCH v6] drm/pagemap: Prevent double migration of device pages sashiko-bot
@ 2026-08-10 10:16 ` Patchwork
  2026-08-10 11:28 ` ✗ Xe.CI.FULL: failure " Patchwork
  2026-08-10 19:16 ` [PATCH v6] drm/pagemap: Prevent double migration of device pages Matthew Brost
  4 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2026-08-10 10:16 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/pagemap: Prevent double migration of device pages (rev7)
URL   : https://patchwork.freedesktop.org/series/171495/
State : success

== Summary ==

CI Bug Log - changes from xe-5568-9c14709d79cf144f0990551a124af7615bdd97be_BAT -> xe-pw-171495v7_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  Missing    (1): bat-bmg-2 


Changes
-------

  No changes found


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

  * Linux: xe-5568-9c14709d79cf144f0990551a124af7615bdd97be -> xe-pw-171495v7

  IGT_9047: 9047
  xe-5568-9c14709d79cf144f0990551a124af7615bdd97be: 9c14709d79cf144f0990551a124af7615bdd97be
  xe-pw-171495v7: 171495v7

== Logs ==

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

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

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

* ✗ Xe.CI.FULL: failure for drm/pagemap: Prevent double migration of device pages (rev7)
  2026-08-10  9:28 [PATCH v6] drm/pagemap: Prevent double migration of device pages Arvind Yadav
                   ` (2 preceding siblings ...)
  2026-08-10 10:16 ` ✓ Xe.CI.BAT: success for drm/pagemap: Prevent double migration of device pages (rev7) Patchwork
@ 2026-08-10 11:28 ` Patchwork
  2026-08-10 19:16 ` [PATCH v6] drm/pagemap: Prevent double migration of device pages Matthew Brost
  4 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2026-08-10 11:28 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

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

== Series Details ==

Series: drm/pagemap: Prevent double migration of device pages (rev7)
URL   : https://patchwork.freedesktop.org/series/171495/
State : failure

== Summary ==

CI Bug Log - changes from xe-5568-9c14709d79cf144f0990551a124af7615bdd97be_FULL -> xe-pw-171495v7_FULL
====================================================

Summary
-------

  **FAILURE**

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

  

Participating hosts (2 -> 2)
------------------------------

  No changes in participating hosts

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

  Here are the unknown changes that may have been introduced in xe-pw-171495v7_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
    - shard-lnl:          [PASS][1] -> [FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-lnl-8/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html

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

  Here are the changes found in xe-pw-171495v7_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_big_fb@4-tiled-64bpp-rotate-90:
    - shard-bmg:          NOTRUN -> [SKIP][3] ([Intel XE#2327]) +1 other test skip
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-10/igt@kms_big_fb@4-tiled-64bpp-rotate-90.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
    - shard-bmg:          NOTRUN -> [SKIP][4] ([Intel XE#1124]) +6 other tests skip
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-10/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html

  * igt@kms_bw@connected-linear-tiling-4-displays-target-1920x1080p:
    - shard-bmg:          NOTRUN -> [SKIP][5] ([Intel XE#7679])
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_bw@connected-linear-tiling-4-displays-target-1920x1080p.html

  * igt@kms_bw@linear-tiling-4-displays-target-2560x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#367]) +2 other tests skip
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_bw@linear-tiling-4-displays-target-2560x1440p.html

  * igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-rc-ccs-cc:
    - shard-lnl:          NOTRUN -> [SKIP][7] ([Intel XE#2887]) +2 other tests skip
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-rc-ccs-cc.html

  * igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
    - shard-bmg:          NOTRUN -> [SKIP][8] ([Intel XE#2887]) +12 other tests skip
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html

  * igt@kms_chamelium_color_pipeline@plane-ctm3x4:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#7358])
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@kms_chamelium_color_pipeline@plane-ctm3x4.html

  * igt@kms_chamelium_hpd@hdmi-hpd-storm-disable:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#2252]) +3 other tests skip
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@kms_chamelium_hpd@hdmi-hpd-storm-disable.html

  * igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-2:
    - shard-bmg:          NOTRUN -> [FAIL][11] ([Intel XE#3304] / [Intel XE#7374]) +1 other test fail
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-2.html

  * igt@kms_content_protection@lic-type-0:
    - shard-lnl:          NOTRUN -> [SKIP][12] ([Intel XE#7642])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_content_protection@lic-type-0.html

  * igt@kms_content_protection@uevent:
    - shard-bmg:          NOTRUN -> [FAIL][13] ([Intel XE#6707] / [Intel XE#7439]) +1 other test fail
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@kms_content_protection@uevent.html

  * igt@kms_cursor_crc@cursor-offscreen-32x32:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#2320]) +1 other test skip
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@kms_cursor_crc@cursor-offscreen-32x32.html

  * igt@kms_cursor_crc@cursor-sliding-512x512:
    - shard-bmg:          NOTRUN -> [SKIP][15] ([Intel XE#2321] / [Intel XE#7355])
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@kms_cursor_crc@cursor-sliding-512x512.html

  * igt@kms_dirtyfb@drrs-dirtyfb-ioctl:
    - shard-lnl:          NOTRUN -> [SKIP][16] ([Intel XE#1508])
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-2/igt@kms_dirtyfb@drrs-dirtyfb-ioctl.html
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#1508])
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-10/igt@kms_dirtyfb@drrs-dirtyfb-ioctl.html

  * igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#1340] / [Intel XE#7435])
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-3.html

  * igt@kms_dp_link_training@uhbr-mst:
    - shard-bmg:          NOTRUN -> [SKIP][19] ([Intel XE#4354] / [Intel XE#7386])
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@kms_dp_link_training@uhbr-mst.html

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

  * igt@kms_flip@2x-plain-flip-ts-check:
    - shard-lnl:          NOTRUN -> [SKIP][21] ([Intel XE#1421])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_flip@2x-plain-flip-ts-check.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
    - shard-lnl:          [PASS][22] -> [FAIL][23] ([Intel XE#301]) +1 other test fail
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-lnl-1/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html

  * igt@kms_flip@flip-vs-expired-vblank@c-edp1:
    - shard-lnl:          [PASS][24] -> [FAIL][25] ([Intel XE#301] / [Intel XE#3149])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#7178] / [Intel XE#7351]) +2 other tests skip
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html

  * igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-indfb-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#2311]) +42 other tests skip
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-mmap-wc:
    - shard-lnl:          NOTRUN -> [SKIP][28] ([Intel XE#6312] / [Intel XE#651])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@drrshdr-2p-scndscrn-shrfb-plflip-blt:
    - shard-lnl:          NOTRUN -> [SKIP][29] ([Intel XE#7905]) +2 other tests skip
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_frontbuffer_tracking@drrshdr-2p-scndscrn-shrfb-plflip-blt.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#4141]) +12 other tests skip
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][31] ([Intel XE#7061] / [Intel XE#7356]) +4 other tests skip
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][32] ([Intel XE#7061]) +5 other tests skip
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#2313]) +35 other tests skip
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-move:
    - shard-lnl:          NOTRUN -> [SKIP][34] ([Intel XE#656] / [Intel XE#7905]) +2 other tests skip
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-move.html

  * igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-spr-indfb-onoff:
    - shard-lnl:          NOTRUN -> [SKIP][35] ([Intel XE#7865]) +1 other test skip
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-spr-indfb-onoff.html

  * igt@kms_hdr@invalid-hdr:
    - shard-bmg:          [PASS][36] -> [SKIP][37] ([Intel XE#1503])
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-2/igt@kms_hdr@invalid-hdr.html
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-9/igt@kms_hdr@invalid-hdr.html

  * igt@kms_joiner@basic-force-ultra-joiner:
    - shard-lnl:          NOTRUN -> [SKIP][38] ([Intel XE#6900] / [Intel XE#7362])
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_joiner@basic-force-ultra-joiner.html

  * igt@kms_pipe_stress@stress-xrgb8888-ytiled:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#4329] / [Intel XE#6912] / [Intel XE#7375])
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@kms_pipe_stress@stress-xrgb8888-ytiled.html

  * igt@kms_plane@pixel-format-4-tiled-bmg-ccs-modifier-source-clamping:
    - shard-lnl:          NOTRUN -> [SKIP][40] ([Intel XE#7283])
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-2/igt@kms_plane@pixel-format-4-tiled-bmg-ccs-modifier-source-clamping.html

  * igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-cc-modifier-source-clamping:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#7283]) +2 other tests skip
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-cc-modifier-source-clamping.html

  * igt@kms_plane_lowres@tiling-yf:
    - shard-bmg:          NOTRUN -> [SKIP][42] ([Intel XE#2393])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@kms_plane_lowres@tiling-yf.html

  * igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-b:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#2763] / [Intel XE#6886]) +9 other tests skip
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-b.html

  * igt@kms_pm_dc@dc3co-after-dc6:
    - shard-bmg:          NOTRUN -> [SKIP][44] ([Intel XE#8395] / [Intel XE#8396]) +1 other test skip
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@kms_pm_dc@dc3co-after-dc6.html

  * igt@kms_pm_dc@dc3co-after-dc6@psr2-xrgb8888:
    - shard-bmg:          NOTRUN -> [SKIP][45] ([Intel XE#8396]) +1 other test skip
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@kms_pm_dc@dc3co-after-dc6@psr2-xrgb8888.html

  * igt@kms_psr2_sf@psr2-cursor-plane-move-continuous-exceed-fully-sf:
    - shard-bmg:          NOTRUN -> [SKIP][46] ([Intel XE#1489]) +4 other tests skip
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@kms_psr2_sf@psr2-cursor-plane-move-continuous-exceed-fully-sf.html

  * igt@kms_psr@pr-sprite-plane-onoff:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#2234] / [Intel XE#2850]) +7 other tests skip
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-10/igt@kms_psr@pr-sprite-plane-onoff.html

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

  * igt@kms_rotation_crc@sprite-rotation-270:
    - shard-lnl:          NOTRUN -> [SKIP][49] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342])
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@kms_rotation_crc@sprite-rotation-270.html

  * igt@kms_sharpness_filter@invalid-filter-with-scaler:
    - shard-bmg:          NOTRUN -> [SKIP][50] ([Intel XE#6503]) +1 other test skip
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@kms_sharpness_filter@invalid-filter-with-scaler.html

  * igt@kms_vrr@seamless-rr-switch-drrs:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#1499])
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@kms_vrr@seamless-rr-switch-drrs.html

  * igt@sriov_basic@pf-unbind-with-vf-probed:
    - shard-bmg:          NOTRUN -> [ABORT][52] ([Intel XE#8868])
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@sriov_basic@pf-unbind-with-vf-probed.html

  * igt@xe_create@multigpu-create-massive-size:
    - shard-bmg:          NOTRUN -> [SKIP][53] ([Intel XE#2504] / [Intel XE#7319] / [Intel XE#7350])
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@xe_create@multigpu-create-massive-size.html

  * igt@xe_evict@evict-beng-mixed-many-threads-small:
    - shard-bmg:          [PASS][54] -> [INCOMPLETE][55] ([Intel XE#6321] / [Intel XE#8355])
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-2/igt@xe_evict@evict-beng-mixed-many-threads-small.html
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-5/igt@xe_evict@evict-beng-mixed-many-threads-small.html

  * igt@xe_evict@evict-threads-large:
    - shard-lnl:          NOTRUN -> [SKIP][56] ([Intel XE#6540] / [Intel XE#688])
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-2/igt@xe_evict@evict-threads-large.html

  * igt@xe_exec_balancer@many-cm-parallel-userptr:
    - shard-lnl:          NOTRUN -> [SKIP][57] ([Intel XE#7482])
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@xe_exec_balancer@many-cm-parallel-userptr.html

  * igt@xe_exec_basic@multigpu-once-null-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][58] ([Intel XE#2322] / [Intel XE#7372]) +3 other tests skip
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@xe_exec_basic@multigpu-once-null-rebind.html

  * igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-imm:
    - shard-bmg:          NOTRUN -> [SKIP][59] ([Intel XE#8374]) +9 other tests skip
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-imm.html

  * igt@xe_exec_fault_mode@twice-multi-queue:
    - shard-lnl:          NOTRUN -> [SKIP][60] ([Intel XE#8374])
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@xe_exec_fault_mode@twice-multi-queue.html

  * igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem:
    - shard-lnl:          NOTRUN -> [SKIP][61] ([Intel XE#8364])
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem.html

  * igt@xe_exec_multi_queue@one-queue-preempt-mode-fault-userptr:
    - shard-bmg:          NOTRUN -> [SKIP][62] ([Intel XE#8364]) +20 other tests skip
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-10/igt@xe_exec_multi_queue@one-queue-preempt-mode-fault-userptr.html

  * igt@xe_exec_reset@multi-queue-gt-reset:
    - shard-bmg:          NOTRUN -> [SKIP][63] ([Intel XE#8369])
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@xe_exec_reset@multi-queue-gt-reset.html

  * igt@xe_exec_threads@threads-multi-queue-mixed-userptr-invalidate-race:
    - shard-bmg:          NOTRUN -> [SKIP][64] ([Intel XE#8378]) +8 other tests skip
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@xe_exec_threads@threads-multi-queue-mixed-userptr-invalidate-race.html

  * igt@xe_fault_injection@vm-bind-fail-xe_pt_update_ops_run:
    - shard-bmg:          [PASS][65] -> [ABORT][66] ([Intel XE#8007]) +2 other tests abort
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-1/igt@xe_fault_injection@vm-bind-fail-xe_pt_update_ops_run.html
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-4/igt@xe_fault_injection@vm-bind-fail-xe_pt_update_ops_run.html

  * igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][67] ([Intel XE#6964]) +1 other test skip
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-6/igt@xe_multigpu_svm@mgpu-coherency-fail-prefetch.html

  * igt@xe_page_reclaim@many-vma-same-bo:
    - shard-bmg:          NOTRUN -> [SKIP][68] ([Intel XE#7793]) +1 other test skip
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-1/igt@xe_page_reclaim@many-vma-same-bo.html

  * igt@xe_pm@s3-basic-exec:
    - shard-lnl:          NOTRUN -> [SKIP][69] ([Intel XE#584] / [Intel XE#7369])
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@xe_pm@s3-basic-exec.html

  * igt@xe_pxp@pxp-stale-bo-exec-post-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][70] ([Intel XE#4733] / [Intel XE#7417])
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@xe_pxp@pxp-stale-bo-exec-post-suspend.html

  * igt@xe_query@multigpu-query-invalid-extension:
    - shard-bmg:          NOTRUN -> [SKIP][71] ([Intel XE#944]) +2 other tests skip
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-10/igt@xe_query@multigpu-query-invalid-extension.html

  * igt@xe_sriov_admin@preempt-timeout-write-readback-vfs-disabled:
    - shard-lnl:          NOTRUN -> [SKIP][72] ([Intel XE#7174])
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-2/igt@xe_sriov_admin@preempt-timeout-write-readback-vfs-disabled.html

  * igt@xe_sriov_flr@flr-each-isolation:
    - shard-lnl:          NOTRUN -> [SKIP][73] ([Intel XE#3342])
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-1/igt@xe_sriov_flr@flr-each-isolation.html

  
#### Possible fixes ####

  * igt@kms_flip@flip-vs-expired-vblank@a-edp1:
    - shard-lnl:          [FAIL][74] ([Intel XE#301]) -> [PASS][75]
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html

  * igt@xe_exec_reset@long-spin-reuse-many-preempt:
    - shard-bmg:          [FAIL][76] ([Intel XE#7850]) -> [PASS][77]
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-5/igt@xe_exec_reset@long-spin-reuse-many-preempt.html
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-5/igt@xe_exec_reset@long-spin-reuse-many-preempt.html

  * igt@xe_fault_injection@inject-fault-probe-function-xe_guc_ct_init:
    - shard-bmg:          [ABORT][78] ([Intel XE#8007]) -> [PASS][79] +3 other tests pass
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-10/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_ct_init.html
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-2/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_ct_init.html

  * igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_video_enhance0:
    - shard-bmg:          [FAIL][80] ([Intel XE#8555]) -> [PASS][81] +5 other tests pass
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-9/igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_video_enhance0.html
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-8/igt@xe_pmu@engine-activity-accuracy-90@engine-drm_xe_engine_class_video_enhance0.html

  
#### Warnings ####

  * igt@kms_flip@flip-vs-expired-vblank:
    - shard-lnl:          [FAIL][82] ([Intel XE#301]) -> [FAIL][83] ([Intel XE#301] / [Intel XE#3149])
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank.html
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-lnl-6/igt@kms_flip@flip-vs-expired-vblank.html

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][84] ([Intel XE#3544]) -> [SKIP][85] ([Intel XE#3374] / [Intel XE#3544])
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-10/igt@kms_hdr@brightness-with-hdr.html
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-7/igt@kms_hdr@brightness-with-hdr.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-bmg:          [SKIP][86] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][87] ([Intel XE#2509] / [Intel XE#7437])
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5568-9c14709d79cf144f0990551a124af7615bdd97be/shard-bmg-2/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v7/shard-bmg-5/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
  [Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
  [Intel XE#1508]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1508
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2393
  [Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
  [Intel XE#2504]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2504
  [Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
  [Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4329]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4329
  [Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
  [Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
  [Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
  [Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6707]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6707
  [Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
  [Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
  [Intel XE#6900]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6900
  [Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
  [Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
  [Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
  [Intel XE#7319]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7319
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [Intel XE#7350]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7350
  [Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
  [Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
  [Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
  [Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
  [Intel XE#7362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7362
  [Intel XE#7369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7369
  [Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
  [Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
  [Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
  [Intel XE#7386]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7386
  [Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
  [Intel XE#7435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7435
  [Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
  [Intel XE#7439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7439
  [Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
  [Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
  [Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
  [Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
  [Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
  [Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
  [Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
  [Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
  [Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
  [Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
  [Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
  [Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
  [Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
  [Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
  [Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
  [Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
  [Intel XE#8555]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8555
  [Intel XE#8868]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8868
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * Linux: xe-5568-9c14709d79cf144f0990551a124af7615bdd97be -> xe-pw-171495v7

  IGT_9047: 9047
  xe-5568-9c14709d79cf144f0990551a124af7615bdd97be: 9c14709d79cf144f0990551a124af7615bdd97be
  xe-pw-171495v7: 171495v7

== Logs ==

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

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

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

* Re: [PATCH v6] drm/pagemap: Prevent double migration of device pages
  2026-08-10  9:28 [PATCH v6] drm/pagemap: Prevent double migration of device pages Arvind Yadav
                   ` (3 preceding siblings ...)
  2026-08-10 11:28 ` ✗ Xe.CI.FULL: failure " Patchwork
@ 2026-08-10 19:16 ` Matthew Brost
  4 siblings, 0 replies; 6+ messages in thread
From: Matthew Brost @ 2026-08-10 19:16 UTC (permalink / raw)
  To: Arvind Yadav
  Cc: dri-devel, intel-xe, linux-kernel, thomas.hellstrom,
	maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	himal.prasad.ghimiray

On Mon, Aug 10, 2026 at 02:58:45PM +0530, Arvind Yadav wrote:
> A device-private folio migrated to system memory by a CPU fault can
> remain reachable through the raw-PFN eviction path until migration
> finalization drops the source reference.
> 
> If eviction selects the same device-private folio during this window,
> it can attempt to migrate the folio again. The second migration can leave
> an uncharged folio on an LRU list, causing folio_lruvec_lock_irqsave() to
> retry indefinitely and resulting in a soft lockup and RCU stall.
> 
> Mark successfully migrated device-private folios using a low bit of
> their zone_device_data before migration finalization. Make both CPU-fault
> and raw-PFN migration paths skip device-private folios carrying this
> flag.
> 
> Mask the flag when retrieving the drm_pagemap_zdd pointer and preserve
> it when a device-private folio is split. Keeping the state on the physical
> folio also avoids depending on a virtual address that may change before a
> fault occurs.
> 
> v2:
> - Replace the retired-PFN XArray with an embedded bitmap. (Matthew Brost)
> - Mark every base page covered by a migrated folio so retirement remains
>   valid if the folio is later split.
> 
> v3:
> - Store the migrated state in a low bit of zone_device_data instead of
>   adding virtual-range and bitmap tracking to the ZDD. (Matthew Brost)
> - Mask the flag when retrieving the ZDD and preserve it when splitting
>   a folio.
> - Drop the pre-existing fixes already covered by Matthew Brost's series:
>   https://patchwork.freedesktop.org/series/171651/
> 
> v4:
> - Advance by the folio size only for migration entries marked with
>   MIGRATE_PFN_COMPOUND. (Sashiko)
> 
> v5:
> - Simplify ZDD flag updates and folio iteration. (Matthew Brost)
> - Skip retired device-private folios in the CPU-fault path. (Matthew Brost)
> - Preserve flag bits while taking a new ZDD reference for split folios.
> 
> v6:
> - Restore MIGRATE_PFN_COMPOUND-aware stepping so non-compound migration
>   entries are processed one at a time. (Sashiko)
> - Drop the pre-existing fixes already covered by Matthew Brost's series:
>   https://patchwork.freedesktop.org/series/171651/
> 
> The lockup was observed as:
> [10109.860465] watchdog: BUG: soft lockup - CPU#9 stuck for 26s! [kworker/u65:5:6557]
> [10109.860524] Tainted: [S]=CPU_OUT_OF_SPEC, [O]=OOT_MODULE
> [10109.860524] Hardware name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812 02/24/2023
> [10109.860525] Workqueue: xe_page_fault_work_queue xe_pagefault_queue_work [xe]
> [10109.860644] RIP: 0010:_raw_spin_unlock_irqrestore+0x57/0x80
> [10109.860655] Call Trace:
> [10109.860655]  <TASK>
> [10109.860657]  folio_lruvec_lock_irqsave+0x216/0x220
> [10109.860661]  ? __pfx_lru_add+0x10/0x10
> [10109.860665]  folio_batch_move_lru+0xc8/0x450
> [10109.860670]  ? lock_acquire+0xc4/0x2d0
> [10109.860674]  ? __folio_batch_add_and_move+0x60/0x2e0
> [10109.860677]  ? folio_migrate_mapping+0xa6/0x110
> [10109.860679]  ? folio_migrate_flags+0x13b/0x1b0
> [10109.860681]  ? __pfx_lru_add+0x10/0x10
> [10109.860683]  __folio_batch_add_and_move+0xe7/0x2e0
> [10109.860685]  ? dma_iova_try_alloc+0xb0/0x140
> [10109.860689]  folio_add_lru+0x64/0x80
> [10109.860691]  __migrate_device_finalize+0x12c/0x270
> [10109.860695]  migrate_device_finalize+0x10/0x20
> [10109.860698]  drm_pagemap_evict_to_ram+0x185/0x370 [drm_gpusvm_helper]
> [10109.860704]  ? drm_pagemap_evict_to_ram+0x96/0x370 [drm_gpusvm_helper]
> [10109.860709]  xe_svm_bo_evict+0x15/0x20 [xe]
> [10109.860819]  ? xe_svm_bo_evict+0x15/0x20 [xe]
> [10109.860921]  xe_bo_move+0x107e/0x1570 [xe]
> [10109.860992]  ? xe_ttm_tt_create+0x168/0x340 [xe]
> [10109.861059]  ? __up_read+0x98/0x2b0
> [10109.861061]  ? lock_is_held_type+0xa3/0x130
> [10109.861067]  ttm_bo_handle_move_mem+0xe8/0x1e0 [ttm]
> [10109.861075]  ttm_bo_evict+0x141/0x1c0 [ttm]
> [10109.861081]  ttm_bo_evict_cb+0x9f/0x100 [ttm]
> [10109.861086]  ttm_lru_walk_for_evict+0x84/0x190 [ttm]
> [10109.861091]  ? xe_ttm_vram_mgr_new+0x258/0x3a0 [xe]
> [10109.861198]  ttm_bo_alloc_resource+0x219/0x750 [ttm]
> [10109.861203]  ? ttm_bo_alloc_resource+0xa9/0x750 [ttm]
> [10109.861208]  ? lock_acquire+0xc4/0x2d0
> [10109.861214]  ttm_bo_validate+0x94/0x1c0 [ttm]
> [10109.861218]  ? ww_mutex_trylock+0x19d/0x3d0
> [10109.861219]  ? _raw_write_unlock+0x22/0x50
> [10109.861223]  ttm_bo_init_reserved+0x17d/0x1f0 [ttm]
> [10109.861228]  xe_bo_init_locked+0x20a/0x620 [xe]
> [10109.861294]  ? __pfx_xe_ttm_bo_destroy+0x10/0x10 [xe]
> [10109.861359]  ? mark_held_locks+0x46/0x90
> [10109.861361]  ? __create_object+0x68/0xc0
> [10109.861366]  __xe_bo_create_locked+0x384/0xa20 [xe]
> [10109.861432]  ? lock_acquire+0xc4/0x2d0
> [10109.861434]  ? xe_drm_pagemap_populate_mm+0xd3/0x340 [xe]
> [10109.861542]  xe_bo_create_locked+0x23/0x40 [xe]
> [10109.861609]  xe_drm_pagemap_populate_mm+0x12e/0x340 [xe]
> [10109.861707]  ? __lock_acquire+0x43e/0x2930
> [10109.861716]  drm_pagemap_populate_mm+0x74/0xe0 [drm_gpusvm_helper]
> [10109.861720]  xe_svm_alloc_vram+0xb5/0x2c0 [xe]
> [10109.861817]  ? seqcount_lockdep_reader_access.constprop.0+0x9f/0xc0
> [10109.861819]  ? ktime_get+0x23/0x130
> [10109.861821]  ? trace_hardirqs_on+0x22/0xe0
> [10109.861823]  ? seqcount_lockdep_reader_access.constprop.0+0x9f/0xc0
> [10109.861826]  __xe_svm_handle_pagefault+0x77d/0xbf0 [xe]
> [10109.861924]  ? rwsem_down_write_slowpath+0x43a/0x9a0
> [10109.861926]  ? _raw_spin_unlock_irq+0x27/0x70
> [10109.861928]  ? rwsem_down_write_slowpath+0x43a/0x9a0
> [10109.861929]  ? trace_hardirqs_on+0x22/0xe0
> [10109.861931]  ? _raw_spin_unlock_irq+0x27/0x70
> [10109.861933]  ? rwsem_down_write_slowpath+0x459/0x9a0
> [10109.861937]  xe_svm_handle_pagefault+0x3d/0xb0 [xe]
> [10109.862030]  xe_pagefault_queue_work+0x1a9/0x520 [xe]
> [10109.862122]  process_one_work+0x239/0x730
> [10109.862127]  worker_thread+0x200/0x3f0
> [10109.862130]  ? __pfx_worker_thread+0x10/0x10
> [10109.862132]  kthread+0x10d/0x150
> [10109.862133]  ? __pfx_kthread+0x10/0x10
> [10109.862135]  ret_from_fork+0x3bd/0x470
> [10109.862138]  ? __pfx_kthread+0x10/0x10
> [10109.862140]  ret_from_fork_asm+0x1a/0x30
> [10109.862146]  </TASK>
> 
> Fixes: 99624bdff867 ("drm/gpusvm: Add support for GPU Shared Virtual Memory")
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Maxime Ripard <mripard@kernel.org>
> Cc: Matthew Brost <matthew.brost@intel.com>

Reviewed-by: Matthew Brost <matthew.brost@intel.com>

> Cc: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Simona Vetter <simona@ffwll.ch>
> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
> Assisted-by: Claude:claude-opus-4-8
> Suggested-by: Matthew Brost <matthew.brost@intel.com>
> Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
> ---
>  drivers/gpu/drm/drm_pagemap.c | 127 ++++++++++++++++++++++++++++++++--
>  include/drm/drm_pagemap.h     |   8 ++-
>  2 files changed, 129 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c
> index 7a056592ac66..097a900cf55d 100644
> --- a/drivers/gpu/drm/drm_pagemap.c
> +++ b/drivers/gpu/drm/drm_pagemap.c
> @@ -1102,12 +1102,117 @@ void drm_pagemap_put(struct drm_pagemap *dpagemap)
>  }
>  EXPORT_SYMBOL(drm_pagemap_put);
>  
> +/**
> + * drm_pagemap_page_get_flags() - Read flags from a device-private folio
> + * @page: Pointer to a page of the device-private folio
> + *
> + * Return: The DRM_PAGEMAP_ZDD_FLAG_* bits encoded in zone_device_data.
> + */
> +static unsigned long drm_pagemap_page_get_flags(struct page *page)
> +{
> +	struct folio *folio = page_folio(page);
> +
> +	return (unsigned long)folio_zone_device_data(folio) &
> +		DRM_PAGEMAP_ZDD_FLAG_MASK;
> +}
> +
> +/**
> + * drm_pagemap_page_set_flags() - Set flags on a device-private folio
> + * @page: Pointer to a page of the device-private folio
> + * @flags: DRM_PAGEMAP_ZDD_FLAG_* bits to set
> + *
> + * Preserve any flags already encoded alongside the ZDD pointer.
> + */
> +static void drm_pagemap_page_set_flags(struct page *page,
> +				       unsigned long flags)
> +{
> +	struct folio *folio = page_folio(page);
> +	unsigned long old;
> +
> +	if (WARN_ON_ONCE(flags & ~DRM_PAGEMAP_ZDD_FLAG_MASK))
> +		return;
> +
> +	old = (unsigned long)folio_zone_device_data(folio);
> +	folio_set_zone_device_data(folio, (void *)(old | flags));
> +}
> +
> +/**
> + * drm_pagemap_retire_migrated_pages() - Record migrated device-private folios
> + * @src_pfns: source array after migrate_vma_pages() or migrate_device_pages()
> + * @npages: number of entries in @src_pfns
> + *
> + * Flag device-private folios successfully migrated to RAM before finalize
> + * unlocks the sources. The migrated state is stored in the physical folio, so
> + * it survives later folio splits and subsequent migrations can skip it.
> + */
> +static void drm_pagemap_retire_migrated_pages(unsigned long *src_pfns,
> +					      unsigned long npages)
> +{
> +	unsigned long i = 0;
> +
> +	while (i < npages) {
> +		struct page *page = migrate_pfn_to_page(src_pfns[i]);
> +		unsigned long nr = 1;
> +
> +		if (!page) {
> +			i++;
> +			continue;
> +		}
> +
> +		if (src_pfns[i] & MIGRATE_PFN_COMPOUND)
> +			nr = folio_nr_pages(page_folio(page));
> +
> +		if ((src_pfns[i] & MIGRATE_PFN_MIGRATE) &&
> +		    is_device_private_page(page))
> +			drm_pagemap_page_set_flags(page,
> +						   DRM_PAGEMAP_ZDD_FLAG_MIGRATED);
> +
> +		i += nr;
> +	}
> +}
> +
> +/**
> + * drm_pagemap_skip_retired_pages() - Skip retired device-private folios
> + * @src_pfns: MIGRATE_PFN-encoded source array
> + * @npages: number of entries in @src_pfns
> + *
> + * Skip source folios already migrated to RAM, identified by the migrated flag
> + * stored in the physical folio's zone_device_data.
> + */
> +static void drm_pagemap_skip_retired_pages(unsigned long *src_pfns,
> +					   unsigned long npages)
> +{
> +	unsigned long i = 0;
> +
> +	while (i < npages) {
> +		struct page *page = migrate_pfn_to_page(src_pfns[i]);
> +		unsigned long nr = 1;
> +
> +		if (!page) {
> +			i++;
> +			continue;
> +		}
> +
> +		if (src_pfns[i] & MIGRATE_PFN_COMPOUND)
> +			nr = folio_nr_pages(page_folio(page));
> +
> +		if ((src_pfns[i] & MIGRATE_PFN_MIGRATE) &&
> +		    is_device_private_page(page) &&
> +		    (drm_pagemap_page_get_flags(page) &
> +		     DRM_PAGEMAP_ZDD_FLAG_MIGRATED))
> +			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
> +
> +		i += nr;
> +	}
> +}
> +
>  /**
>   * drm_pagemap_evict_to_ram() - Evict GPU SVM range to RAM
>   * @devmem_allocation: Pointer to the device memory allocation
>   *
> - * Similar to __drm_pagemap_migrate_to_ram but does not require mmap lock and
> - * migration done via migrate_device_* functions.
> + * Similar to __drm_pagemap_migrate_to_ram(), but uses the
> + * migrate_device_* helpers and does not require the mmap lock.
> + * Device-private PFNs already migrated to RAM by either path are skipped.
>   *
>   * Return: 0 on success, negative error code on failure.
>   */
> @@ -1149,6 +1254,8 @@ int drm_pagemap_evict_to_ram(struct drm_pagemap_devmem *devmem_allocation)
>  	if (err)
>  		goto err_free;
>  
> +	drm_pagemap_skip_retired_pages(src, npages);
> +
>  	err = drm_pagemap_migrate_populate_ram_pfn(NULL, NULL, npages, &mpages,
>  						   src, dst, 0);
>  	if (err || !mpages)
> @@ -1179,6 +1286,7 @@ int drm_pagemap_evict_to_ram(struct drm_pagemap_devmem *devmem_allocation)
>  	if (err)
>  		drm_pagemap_migration_unlock_put_pages(npages, dst);
>  	migrate_device_pages(src, dst, npages);
> +	drm_pagemap_retire_migrated_pages(src, npages);
>  	migrate_device_finalize(src, dst, npages);
>  	drm_pagemap_migrate_unmap_pages(devmem_allocation->dev, pagemap_addr, dst, npages,
>  					DMA_FROM_DEVICE, &state);
> @@ -1276,13 +1384,15 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
>  	if (!migrate.cpages)
>  		goto err_free;
>  
> +	drm_pagemap_skip_retired_pages(migrate.src, npages);
> +
>  	ops = zdd->devmem_allocation->ops;
>  	dev = zdd->devmem_allocation->dev;
>  
>  	err = drm_pagemap_migrate_populate_ram_pfn(vas, page, npages, &mpages,
>  						   migrate.src, migrate.dst,
>  						   start);
> -	if (err)
> +	if (err || !mpages)
>  		goto err_finalize;
>  
>  	err = drm_pagemap_migrate_map_system_pages(dev, pagemap_addr,
> @@ -1309,6 +1419,7 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
>  	if (err)
>  		drm_pagemap_migration_unlock_put_pages(npages, migrate.dst);
>  	migrate_vma_pages(&migrate);
> +	drm_pagemap_retire_migrated_pages(migrate.src, npages);
>  	migrate_vma_finalize(&migrate);
>  	if (dev)
>  		drm_pagemap_migrate_unmap_pages(dev, pagemap_addr, migrate.dst,
> @@ -1361,13 +1472,19 @@ static vm_fault_t drm_pagemap_migrate_to_ram(struct vm_fault *vmf)
>  static void drm_pagemap_folio_split(struct folio *orig_folio, struct folio *new_folio)
>  {
>  	struct drm_pagemap_zdd *zdd;
> +	unsigned long orig_data, new_data;
>  
>  	if (!new_folio)
>  		return;
>  
>  	new_folio->pgmap = orig_folio->pgmap;
> -	zdd = folio_zone_device_data(orig_folio);
> -	folio_set_zone_device_data(new_folio, drm_pagemap_zdd_get(zdd));
> +
> +	orig_data = (unsigned long)folio_zone_device_data(orig_folio);
> +	zdd = (struct drm_pagemap_zdd *)(orig_data & ~DRM_PAGEMAP_ZDD_FLAG_MASK);
> +
> +	new_data = (unsigned long)drm_pagemap_zdd_get(zdd);
> +	new_data |= orig_data & DRM_PAGEMAP_ZDD_FLAG_MASK;
> +	folio_set_zone_device_data(new_folio, (void *)new_data);
>  }
>  
>  static const struct dev_pagemap_ops drm_pagemap_pagemap_ops = {
> diff --git a/include/drm/drm_pagemap.h b/include/drm/drm_pagemap.h
> index 95eb4b66b057..ebbd3b0ddf36 100644
> --- a/include/drm/drm_pagemap.h
> +++ b/include/drm/drm_pagemap.h
> @@ -2,6 +2,7 @@
>  #ifndef _DRM_PAGEMAP_H_
>  #define _DRM_PAGEMAP_H_
>  
> +#include <linux/bits.h>
>  #include <linux/dma-direction.h>
>  #include <linux/hmm.h>
>  #include <linux/memremap.h>
> @@ -339,6 +340,9 @@ struct drm_pagemap_migrate_details {
>  
>  #if IS_ENABLED(CONFIG_ZONE_DEVICE)
>  
> +#define DRM_PAGEMAP_ZDD_FLAG_MIGRATED	BIT(0)
> +#define DRM_PAGEMAP_ZDD_FLAG_MASK	DRM_PAGEMAP_ZDD_FLAG_MIGRATED
> +
>  int drm_pagemap_migrate_to_devmem(struct drm_pagemap_devmem *devmem_allocation,
>  				  struct mm_struct *mm,
>  				  unsigned long start, unsigned long end,
> @@ -373,7 +377,9 @@ static inline struct drm_pagemap_zdd *drm_pagemap_page_zone_device_data(struct p
>  {
>  	struct folio *folio = page_folio(page);
>  
> -	return folio_zone_device_data(folio);
> +	return (struct drm_pagemap_zdd *)
> +		((unsigned long)folio_zone_device_data(folio) &
> +		 ~DRM_PAGEMAP_ZDD_FLAG_MASK);
>  }
>  
>  #else
> -- 
> 2.43.0
> 

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

end of thread, other threads:[~2026-08-10 19:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10  9:28 [PATCH v6] drm/pagemap: Prevent double migration of device pages Arvind Yadav
2026-08-10  9:35 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev7) Patchwork
2026-08-10  9:51 ` [PATCH v6] drm/pagemap: Prevent double migration of device pages sashiko-bot
2026-08-10 10:16 ` ✓ Xe.CI.BAT: success for drm/pagemap: Prevent double migration of device pages (rev7) Patchwork
2026-08-10 11:28 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-08-10 19:16 ` [PATCH v6] drm/pagemap: Prevent double migration of device pages Matthew Brost

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.