Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/pagemap: Prevent double migration of device pages
@ 2026-08-06  6:11 Arvind Yadav
  2026-08-06  6:20 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev3) Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Arvind Yadav @ 2026-08-06  6:11 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 page migrated to system memory by a CPU fault can remain
referenced after migration completes. During this window, raw-PFN
eviction can collect the same device PFN and migrate it again.

The first migration has already transferred the memcg charge from the
source folio. Migrating that source again can create an uncharged system
folio. Adding such a folio to the LRU can spin indefinitely in
folio_lruvec_lock_irqsave(), causing a soft lockup and an RCU stall.

Track successful device-page migrations in an allocation-relative bitmap
stored in drm_pagemap_zdd. Record successful migrations before finalize
unlocks and drops the migration reference on the source.

Make raw-PFN eviction skip retired folios. Record raw-PFN migrations as
well so an eviction retry cannot select a folio migrated by an earlier
pass.

Mark every base-page bit covered by a migrated folio so the retirement
state remains valid if the source folio is later split.

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.

The lockup was observed as:
==============================
[10109.860465] watchdog: BUG: soft lockup - CPU#9 stuck for 26s! [kworker/u65:5:6557]
[10109.860508] irq event stamp: 308085402
[10109.860508] hardirqs last  enabled at (308085401): [<ffffffff829571e1>] _raw_spin_unlock_irqrestore+0x51/0x80
[10109.860514] hardirqs last disabled at (308085402): [<ffffffff8293dd71>] sysvec_apic_timer_interrupt+0x11/0xc0
[10109.860516] softirqs last  enabled at (307538534): [<ffffffff813d111b>] __irq_exit_rcu+0xdb/0x1c0
[10109.860519] softirqs last disabled at (307538529): [<ffffffff813d111b>] __irq_exit_rcu+0xdb/0x1c0
[10109.860521] CPU: 9 UID: 0 PID: 6557 Comm: kworker/u65:5 Kdump: loaded Tainted: G S         O        7.2.0-rc3-lgci-xepurge-
[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.860647] Code: 00 75 1c 65 ff 0d 69 ee 84 01 74 20 5b 41 5c 5d 31 c0 31 d2 31 c9 31 f6 31 ff c3 cc cc cc cc e8 8f 2e c9
[10109.860648] RSP: 0018:ffffc9000c017030 EFLAGS: 00000246
[10109.860649] RAX: 0000000000000000 RBX: ffff8881012c00d0 RCX: 0000000000000000
[10109.860650] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[10109.860650] RBP: ffffc9000c017040 R08: 0000000000000000 R09: 0000000000000000
[10109.860651] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000246
[10109.860651] R13: ffffc9000c0170a0 R14: ffff8881012c00d0 R15: ffff88810e9e6f00
[10109.860652] FS:  0000000000000000(0000) GS:ffff8888db2f2000(0000) knlGS:0000000000000000
[10109.860653] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[10109.860653] CR2: 00007a26c0e00048 CR3: 00000001f366d006 CR4: 0000000000f72ef0
[10109.860654] PKRU: 55555554
[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: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@gmail.com>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Matthew Brost <matthew.brost@intel.com>
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
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
---
 drivers/gpu/drm/drm_pagemap.c | 143 ++++++++++++++++++++++++++++++++--
 1 file changed, 136 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c
index 7a056592ac66..713095e27006 100644
--- a/drivers/gpu/drm/drm_pagemap.c
+++ b/drivers/gpu/drm/drm_pagemap.c
@@ -7,6 +7,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/migrate.h>
 #include <linux/pagemap.h>
+#include <linux/bitmap.h>
 #include <drm/drm_drv.h>
 #include <drm/drm_pagemap.h>
 #include <drm/drm_pagemap_util.h>
@@ -66,6 +67,12 @@
  * @refcount: Reference count for the zdd
  * @devmem_allocation: device memory allocation
  * @dpagemap: Refcounted pointer to the underlying struct drm_pagemap.
+ * @range_start: Virtual start address of the device memory allocation. Used to
+ * translate a clipped CPU-fault range into an allocation-relative page offset.
+ * @range_npages: Number of pages covered by the allocation, i.e. the number of
+ * valid bits in @retire_map.
+ * @retire_map: Allocation-relative bitmap. Every base page covered by a
+ * migrated folio remains marked until this mapping generation is destroyed.
  *
  * This structure serves as a generic wrapper installed in
  * page->zone_device_data. It provides infrastructure for looking up a device
@@ -78,29 +85,38 @@ struct drm_pagemap_zdd {
 	struct kref refcount;
 	struct drm_pagemap_devmem *devmem_allocation;
 	struct drm_pagemap *dpagemap;
+	unsigned long range_start;
+	unsigned long range_npages;
+	unsigned long retire_map[];
 };
 
 /**
  * drm_pagemap_zdd_alloc() - Allocate a zdd structure.
  * @dpagemap: Pointer to the underlying struct drm_pagemap.
+ * @start: Virtual start address of the device memory allocation.
+ * @npages: Number of pages in the device memory allocation.
  *
  * This function allocates and initializes a new zdd structure. It sets up the
- * reference count and initializes the destroy work.
+ * reference count and a zeroed retirement bitmap sized for @npages.
  *
- * Return: Pointer to the allocated zdd on success, ERR_PTR() on failure.
+ * Return: Pointer to the allocated zdd on success, NULL on failure.
  */
 static struct drm_pagemap_zdd *
-drm_pagemap_zdd_alloc(struct drm_pagemap *dpagemap)
+drm_pagemap_zdd_alloc(struct drm_pagemap *dpagemap, unsigned long start,
+		      unsigned long npages)
 {
 	struct drm_pagemap_zdd *zdd;
 
-	zdd = kmalloc_obj(*zdd);
+	zdd = kzalloc(struct_size(zdd, retire_map, BITS_TO_LONGS(npages)),
+		      GFP_KERNEL);
 	if (!zdd)
 		return NULL;
 
 	kref_init(&zdd->refcount);
 	zdd->devmem_allocation = NULL;
 	zdd->dpagemap = drm_pagemap_get(dpagemap);
+	zdd->range_start = start;
+	zdd->range_npages = npages;
 
 	return zdd;
 }
@@ -669,7 +685,7 @@ int drm_pagemap_migrate_to_devmem(struct drm_pagemap_devmem *devmem_allocation,
 	pagemap_addr = buf + (2 * sizeof(*migrate.src) * npages);
 	pages = buf + (2 * sizeof(*migrate.src) + sizeof(*pagemap_addr)) * npages;
 
-	zdd = drm_pagemap_zdd_alloc(dpagemap);
+	zdd = drm_pagemap_zdd_alloc(dpagemap, start, npages);
 	if (!zdd) {
 		err = -ENOMEM;
 		kvfree(buf);
@@ -1102,12 +1118,115 @@ void drm_pagemap_put(struct drm_pagemap *dpagemap)
 }
 EXPORT_SYMBOL(drm_pagemap_put);
 
+/**
+ * drm_pagemap_is_devmem_page() - Check whether a page is device memory
+ * @page: page to check
+ *
+ * Return: true if @page is device-private or device-coherent
+ */
+static bool drm_pagemap_is_devmem_page(const struct page *page)
+{
+	return is_device_private_page(page) || is_device_coherent_page(page);
+}
+
+/**
+ * drm_pagemap_retire_migrated_pages() - Record migrated device folios
+ * @src_pfns: source array after migrate_vma_pages() or migrate_device_pages()
+ * @npages: number of entries in @src_pfns
+ * @first: allocation-relative page offset of @src_pfns[0]
+ *
+ * Record successful migrations in the zdd retirement bitmap before finalize
+ * unlocks the sources. The bit is set only after a confirmed migration, and
+ * test_and_set_bit() is used because concurrent CPU faults on clipped ranges
+ * can update different bits in the same word.
+ */
+static void drm_pagemap_retire_migrated_pages(unsigned long *src_pfns,
+					      unsigned long npages,
+					      unsigned long first)
+{
+	unsigned long i = 0;
+
+	while (i < npages) {
+		struct page *page = migrate_pfn_to_page(src_pfns[i]);
+		struct drm_pagemap_zdd *zdd;
+		unsigned long bit, j, nr = 1;
+
+		if (!page) {
+			i++;
+			continue;
+		}
+
+		nr = folio_nr_pages(page_folio(page));
+
+		if (!(src_pfns[i] & MIGRATE_PFN_MIGRATE) ||
+		    !drm_pagemap_is_devmem_page(page))
+			goto next;
+
+		zdd = drm_pagemap_page_zone_device_data(page);
+		bit = first + i;
+
+		if (WARN_ON_ONCE(bit >= zdd->range_npages ||
+				 nr > zdd->range_npages - bit))
+			goto next;
+
+		/* Keep later folio splits covered. */
+		for (j = 0; j < nr; j++)
+			WARN_ON_ONCE(test_and_set_bit(bit + j, zdd->retire_map));
+next:
+		i += nr;
+	}
+}
+
+/**
+ * drm_pagemap_skip_retired_pages() - Drop retired PFNs from a raw-PFN eviction
+ * @src_pfns: source array after migrate_device_pfns() (MIGRATE_PFN encoded)
+ * @npages: number of entries in @src_pfns
+ *
+ * Skip source PFNs already migrated to RAM by either migration path. The
+ * raw-PFN eviction array starts at allocation offset zero, so the array index
+ * is also the retirement bitmap index.
+ */
+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]);
+		struct drm_pagemap_zdd *zdd;
+		unsigned long nr = 1;
+
+		if (!page) {
+			i++;
+			continue;
+		}
+
+		nr = folio_nr_pages(page_folio(page));
+
+		if (!(src_pfns[i] & MIGRATE_PFN_MIGRATE) ||
+		    !drm_pagemap_is_devmem_page(page))
+			goto next;
+
+		zdd = drm_pagemap_page_zone_device_data(page);
+		if (WARN_ON_ONCE(i >= zdd->range_npages)) {
+			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
+			goto next;
+		}
+
+		if (test_bit(i, zdd->retire_map))
+			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
+next:
+		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
+ * PFNs already migrated to RAM by either migration path are skipped.
  *
  * Return: 0 on success, negative error code on failure.
  */
@@ -1149,6 +1268,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 +1300,8 @@ 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);
+	/* Raw-PFN eviction: array starts at allocation offset zero. */
+	drm_pagemap_retire_migrated_pages(src, npages, 0);
 	migrate_device_finalize(src, dst, npages);
 	drm_pagemap_migrate_unmap_pages(devmem_allocation->dev, pagemap_addr, dst, npages,
 					DMA_FROM_DEVICE, &state);
@@ -1251,6 +1374,10 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
 	if (end > vas->vm_end)
 		end = vas->vm_end;
 
+	/* Keep the range within the ZDD allocation so retirement offsets stay valid. */
+	start = max(start, zdd->range_start);
+	end = min(end, zdd->range_start + (zdd->range_npages << PAGE_SHIFT));
+
 	migrate.start = start;
 	migrate.end = end;
 	npages = npages_in_range(start, end);
@@ -1309,6 +1436,8 @@ 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,
+					  (start - zdd->range_start) >> PAGE_SHIFT);
 	migrate_vma_finalize(&migrate);
 	if (dev)
 		drm_pagemap_migrate_unmap_pages(dev, pagemap_addr, migrate.dst,
-- 
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 (rev3)
  2026-08-06  6:11 [PATCH v2] drm/pagemap: Prevent double migration of device pages Arvind Yadav
@ 2026-08-06  6:20 ` Patchwork
  2026-08-06  7:02 ` ✓ Xe.CI.BAT: " Patchwork
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2026-08-06  6:20 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

== Series Details ==

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

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

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

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



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

* ✓ Xe.CI.BAT: success for drm/pagemap: Prevent double migration of device pages (rev3)
  2026-08-06  6:11 [PATCH v2] drm/pagemap: Prevent double migration of device pages Arvind Yadav
  2026-08-06  6:20 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev3) Patchwork
@ 2026-08-06  7:02 ` Patchwork
  2026-08-06  7:21 ` [PATCH v2] drm/pagemap: Prevent double migration of device pages Matthew Brost
  2026-08-06 15:53 ` ✗ Xe.CI.FULL: failure for drm/pagemap: Prevent double migration of device pages (rev3) Patchwork
  3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2026-08-06  7:02 UTC (permalink / raw)
  To: Arvind Yadav; +Cc: intel-xe

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

== Series Details ==

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

== Summary ==

CI Bug Log - changes from xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5_BAT -> xe-pw-171495v3_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts


Changes
-------

  No changes found


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

  * IGT: IGT_9040 -> IGT_9041
  * Linux: xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5 -> xe-pw-171495v3

  IGT_9040: 9040
  IGT_9041: 9041
  xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5: 4cbb5eb24c6169972847aa946c5206f97c4880a5
  xe-pw-171495v3: 171495v3

== Logs ==

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

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

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

* Re: [PATCH v2] drm/pagemap: Prevent double migration of device pages
  2026-08-06  6:11 [PATCH v2] drm/pagemap: Prevent double migration of device pages Arvind Yadav
  2026-08-06  6:20 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev3) Patchwork
  2026-08-06  7:02 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-08-06  7:21 ` Matthew Brost
  2026-08-06  8:44   ` Yadav, Arvind
  2026-08-06 15:53 ` ✗ Xe.CI.FULL: failure for drm/pagemap: Prevent double migration of device pages (rev3) Patchwork
  3 siblings, 1 reply; 6+ messages in thread
From: Matthew Brost @ 2026-08-06  7:21 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 Thu, Aug 06, 2026 at 11:41:26AM +0530, Arvind Yadav wrote:
> A device page migrated to system memory by a CPU fault can remain
> referenced after migration completes. During this window, raw-PFN
> eviction can collect the same device PFN and migrate it again.
> 
> The first migration has already transferred the memcg charge from the
> source folio. Migrating that source again can create an uncharged system
> folio. Adding such a folio to the LRU can spin indefinitely in
> folio_lruvec_lock_irqsave(), causing a soft lockup and an RCU stall.
> 
> Track successful device-page migrations in an allocation-relative bitmap
> stored in drm_pagemap_zdd. Record successful migrations before finalize
> unlocks and drops the migration reference on the source.
> 
> Make raw-PFN eviction skip retired folios. Record raw-PFN migrations as
> well so an eviction retry cannot select a folio migrated by an earlier
> pass.
> 
> Mark every base-page bit covered by a migrated folio so the retirement
> state remains valid if the source folio is later split.
> 
> 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.
> 
> The lockup was observed as:
> ==============================
> [10109.860465] watchdog: BUG: soft lockup - CPU#9 stuck for 26s! [kworker/u65:5:6557]
> [10109.860508] irq event stamp: 308085402
> [10109.860508] hardirqs last  enabled at (308085401): [<ffffffff829571e1>] _raw_spin_unlock_irqrestore+0x51/0x80
> [10109.860514] hardirqs last disabled at (308085402): [<ffffffff8293dd71>] sysvec_apic_timer_interrupt+0x11/0xc0
> [10109.860516] softirqs last  enabled at (307538534): [<ffffffff813d111b>] __irq_exit_rcu+0xdb/0x1c0
> [10109.860519] softirqs last disabled at (307538529): [<ffffffff813d111b>] __irq_exit_rcu+0xdb/0x1c0
> [10109.860521] CPU: 9 UID: 0 PID: 6557 Comm: kworker/u65:5 Kdump: loaded Tainted: G S         O        7.2.0-rc3-lgci-xepurge-
> [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.860647] Code: 00 75 1c 65 ff 0d 69 ee 84 01 74 20 5b 41 5c 5d 31 c0 31 d2 31 c9 31 f6 31 ff c3 cc cc cc cc e8 8f 2e c9
> [10109.860648] RSP: 0018:ffffc9000c017030 EFLAGS: 00000246
> [10109.860649] RAX: 0000000000000000 RBX: ffff8881012c00d0 RCX: 0000000000000000
> [10109.860650] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
> [10109.860650] RBP: ffffc9000c017040 R08: 0000000000000000 R09: 0000000000000000
> [10109.860651] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000246
> [10109.860651] R13: ffffc9000c0170a0 R14: ffff8881012c00d0 R15: ffff88810e9e6f00
> [10109.860652] FS:  0000000000000000(0000) GS:ffff8888db2f2000(0000) knlGS:0000000000000000
> [10109.860653] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [10109.860653] CR2: 00007a26c0e00048 CR3: 00000001f366d006 CR4: 0000000000f72ef0
> [10109.860654] PKRU: 55555554
> [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: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Simona Vetter <simona@ffwll.ch>
> Cc: Matthew Brost <matthew.brost@intel.com>
> 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
> Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
> ---
>  drivers/gpu/drm/drm_pagemap.c | 143 ++++++++++++++++++++++++++++++++--
>  1 file changed, 136 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c
> index 7a056592ac66..713095e27006 100644
> --- a/drivers/gpu/drm/drm_pagemap.c
> +++ b/drivers/gpu/drm/drm_pagemap.c
> @@ -7,6 +7,7 @@
>  #include <linux/dma-mapping.h>
>  #include <linux/migrate.h>
>  #include <linux/pagemap.h>
> +#include <linux/bitmap.h>
>  #include <drm/drm_drv.h>
>  #include <drm/drm_pagemap.h>
>  #include <drm/drm_pagemap_util.h>
> @@ -66,6 +67,12 @@
>   * @refcount: Reference count for the zdd
>   * @devmem_allocation: device memory allocation
>   * @dpagemap: Refcounted pointer to the underlying struct drm_pagemap.
> + * @range_start: Virtual start address of the device memory allocation. Used to
> + * translate a clipped CPU-fault range into an allocation-relative page offset.
> + * @range_npages: Number of pages covered by the allocation, i.e. the number of
> + * valid bits in @retire_map.
> + * @retire_map: Allocation-relative bitmap. Every base page covered by a
> + * migrated folio remains marked until this mapping generation is destroyed.
>   *
>   * This structure serves as a generic wrapper installed in
>   * page->zone_device_data. It provides infrastructure for looking up a device
> @@ -78,29 +85,38 @@ struct drm_pagemap_zdd {
>  	struct kref refcount;
>  	struct drm_pagemap_devmem *devmem_allocation;
>  	struct drm_pagemap *dpagemap;
> +	unsigned long range_start;

Sashiko pointed this out as well: you can't store anything virtual in a
ZDD because it represents a physical object. The range_start may or may
not be the same by the time a fault occurs.

> +	unsigned long range_npages;

devmem_allocation->size can derive the number of pages.

> +	unsigned long retire_map[];

This won't be needed or any changes to the zdd actually, more below.

>  };
>  
>  /**
>   * drm_pagemap_zdd_alloc() - Allocate a zdd structure.
>   * @dpagemap: Pointer to the underlying struct drm_pagemap.
> + * @start: Virtual start address of the device memory allocation.
> + * @npages: Number of pages in the device memory allocation.
>   *
>   * This function allocates and initializes a new zdd structure. It sets up the
> - * reference count and initializes the destroy work.
> + * reference count and a zeroed retirement bitmap sized for @npages.
>   *
> - * Return: Pointer to the allocated zdd on success, ERR_PTR() on failure.
> + * Return: Pointer to the allocated zdd on success, NULL on failure.
>   */
>  static struct drm_pagemap_zdd *
> -drm_pagemap_zdd_alloc(struct drm_pagemap *dpagemap)
> +drm_pagemap_zdd_alloc(struct drm_pagemap *dpagemap, unsigned long start,
> +		      unsigned long npages)
>  {
>  	struct drm_pagemap_zdd *zdd;
>  
> -	zdd = kmalloc_obj(*zdd);
> +	zdd = kzalloc(struct_size(zdd, retire_map, BITS_TO_LONGS(npages)),
> +		      GFP_KERNEL);
>  	if (!zdd)
>  		return NULL;
>  
>  	kref_init(&zdd->refcount);
>  	zdd->devmem_allocation = NULL;
>  	zdd->dpagemap = drm_pagemap_get(dpagemap);
> +	zdd->range_start = start;
> +	zdd->range_npages = npages;
>  
>  	return zdd;
>  }
> @@ -669,7 +685,7 @@ int drm_pagemap_migrate_to_devmem(struct drm_pagemap_devmem *devmem_allocation,
>  	pagemap_addr = buf + (2 * sizeof(*migrate.src) * npages);
>  	pages = buf + (2 * sizeof(*migrate.src) + sizeof(*pagemap_addr)) * npages;
>  
> -	zdd = drm_pagemap_zdd_alloc(dpagemap);
> +	zdd = drm_pagemap_zdd_alloc(dpagemap, start, npages);
>  	if (!zdd) {
>  		err = -ENOMEM;
>  		kvfree(buf);
> @@ -1102,12 +1118,115 @@ void drm_pagemap_put(struct drm_pagemap *dpagemap)
>  }
>  EXPORT_SYMBOL(drm_pagemap_put);
>  
> +/**
> + * drm_pagemap_is_devmem_page() - Check whether a page is device memory
> + * @page: page to check
> + *
> + * Return: true if @page is device-private or device-coherent
> + */
> +static bool drm_pagemap_is_devmem_page(const struct page *page)
> +{
> +	return is_device_private_page(page) || is_device_coherent_page(page);
> +}
> +
> +/**
> + * drm_pagemap_retire_migrated_pages() - Record migrated device folios
> + * @src_pfns: source array after migrate_vma_pages() or migrate_device_pages()
> + * @npages: number of entries in @src_pfns
> + * @first: allocation-relative page offset of @src_pfns[0]
> + *
> + * Record successful migrations in the zdd retirement bitmap before finalize
> + * unlocks the sources. The bit is set only after a confirmed migration, and
> + * test_and_set_bit() is used because concurrent CPU faults on clipped ranges
> + * can update different bits in the same word.
> + */
> +static void drm_pagemap_retire_migrated_pages(unsigned long *src_pfns,
> +					      unsigned long npages,
> +					      unsigned long first)
> +{
> +	unsigned long i = 0;
> +
> +	while (i < npages) {
> +		struct page *page = migrate_pfn_to_page(src_pfns[i]);
> +		struct drm_pagemap_zdd *zdd;
> +		unsigned long bit, j, nr = 1;
> +
> +		if (!page) {
> +			i++;
> +			continue;
> +		}
> +
> +		nr = folio_nr_pages(page_folio(page));
> +
> +		if (!(src_pfns[i] & MIGRATE_PFN_MIGRATE) ||
> +		    !drm_pagemap_is_devmem_page(page))
> +			goto next;
> +
> +		zdd = drm_pagemap_page_zone_device_data(page);
> +		bit = first + i;
> +
> +		if (WARN_ON_ONCE(bit >= zdd->range_npages ||
> +				 nr > zdd->range_npages - bit))
> +			goto next;
> +
> +		/* Keep later folio splits covered. */
> +		for (j = 0; j < nr; j++)
> +			WARN_ON_ONCE(test_and_set_bit(bit + j, zdd->retire_map));
> +next:
> +		i += nr;
> +	}
> +}
> +
> +/**
> + * drm_pagemap_skip_retired_pages() - Drop retired PFNs from a raw-PFN eviction
> + * @src_pfns: source array after migrate_device_pfns() (MIGRATE_PFN encoded)
> + * @npages: number of entries in @src_pfns
> + *
> + * Skip source PFNs already migrated to RAM by either migration path. The
> + * raw-PFN eviction array starts at allocation offset zero, so the array index
> + * is also the retirement bitmap index.
> + */
> +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]);
> +		struct drm_pagemap_zdd *zdd;
> +		unsigned long nr = 1;
> +
> +		if (!page) {
> +			i++;
> +			continue;
> +		}
> +
> +		nr = folio_nr_pages(page_folio(page));
> +
> +		if (!(src_pfns[i] & MIGRATE_PFN_MIGRATE) ||
> +		    !drm_pagemap_is_devmem_page(page))
> +			goto next;
> +
> +		zdd = drm_pagemap_page_zone_device_data(page);
> +		if (WARN_ON_ONCE(i >= zdd->range_npages)) {
> +			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
> +			goto next;
> +		}
> +
> +		if (test_bit(i, zdd->retire_map))
> +			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
> +next:
> +		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
> + * PFNs already migrated to RAM by either migration path are skipped.
>   *
>   * Return: 0 on success, negative error code on failure.
>   */
> @@ -1149,6 +1268,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 +1300,8 @@ 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);
> +	/* Raw-PFN eviction: array starts at allocation offset zero. */
> +	drm_pagemap_retire_migrated_pages(src, npages, 0);
>  	migrate_device_finalize(src, dst, npages);
>  	drm_pagemap_migrate_unmap_pages(devmem_allocation->dev, pagemap_addr, dst, npages,
>  					DMA_FROM_DEVICE, &state);
> @@ -1251,6 +1374,10 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
>  	if (end > vas->vm_end)
>  		end = vas->vm_end;
>  
> +	/* Keep the range within the ZDD allocation so retirement offsets stay valid. */
> +	start = max(start, zdd->range_start);
> +	end = min(end, zdd->range_start + (zdd->range_npages << PAGE_SHIFT));

Hmm, I guess this tricky if this partially unmapped or meremapped to a
different address, so we need to keep this purely physical.

New idea - store the migration state in folio itself in the private
data in lowest bits of folio->page.zone_device_data (set in
folio_set_zone_device_data) and mask if off in
drm_pagemap_page_zone_device_data.

e.g.,

#define DRM_PAGEMAP_ZDD_FLAG_MIGRATED	BIT(0)
#define DRM_PAGEMAP_ZDD_FLAG_MASK	0x1ull	/* we can expand this to 0x7 on 64 builds if we need more flags */

static inline struct drm_pagemap_zdd *drm_pagemap_page_zone_device_data(struct page *page)
{
        struct folio *folio = page_folio(page);

	/* XXX: Plus whatever casting needed */
        return folio_zone_device_data(folio) & ~DRM_PAGEMAP_ZDD_FLAG_MASK;
}

static void drm_pagemap_page_set_flags(struct page *page, unsigned long flags)
{
        struct folio *folio = page_folio(page);
	struct drm_pagemap_zdd *zdd = drm_pagemap_page_zone_device_data(page);

	WARN_ON_ONCE(flags & ~DRM_PAGEMAP_ZDD_FLAG_MASK);
	folio_set_zone_device_data(folio, zdd | flags);
}

static unsigned long drm_pagemap_page_get_flags(struct page *page)
{
        struct folio *folio = page_folio(page);

	/* XXX: Plus whatever casting needed */
        return folio_zone_device_data(folio) & DRM_PAGEMAP_ZDD_FLAG_MASK;
}

drm_pagemap_retire_migrated_pages()
	for_each_page_migrated
		drm_pagemap_page_set_flags(page, DRM_PAGEMAP_ZDD_FLAG_MIGRATED);

drm_pagemap_skip_retired_pages gets the flags, skips any folio with
DRM_PAGEMAP_ZDD_FLAG_MIGRATED set.

I think this will work and keep everything in the physical world.

Also btw, some of Sashiko pre-existing which have been flagged are fixed
in this series: https://patchwork.freedesktop.org/series/171651/

Matt

> +
>  	migrate.start = start;
>  	migrate.end = end;
>  	npages = npages_in_range(start, end);
> @@ -1309,6 +1436,8 @@ 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,
> +					  (start - zdd->range_start) >> PAGE_SHIFT);
>  	migrate_vma_finalize(&migrate);
>  	if (dev)
>  		drm_pagemap_migrate_unmap_pages(dev, pagemap_addr, migrate.dst,
> -- 
> 2.43.0
> 

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

* Re: [PATCH v2] drm/pagemap: Prevent double migration of device pages
  2026-08-06  7:21 ` [PATCH v2] drm/pagemap: Prevent double migration of device pages Matthew Brost
@ 2026-08-06  8:44   ` Yadav, Arvind
  0 siblings, 0 replies; 6+ messages in thread
From: Yadav, Arvind @ 2026-08-06  8:44 UTC (permalink / raw)
  To: Matthew Brost
  Cc: dri-devel, intel-xe, linux-kernel, thomas.hellstrom,
	maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	himal.prasad.ghimiray

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


On 06-08-2026 12:51, Matthew Brost wrote:
> On Thu, Aug 06, 2026 at 11:41:26AM +0530, Arvind Yadav wrote:
>> A device page migrated to system memory by a CPU fault can remain
>> referenced after migration completes. During this window, raw-PFN
>> eviction can collect the same device PFN and migrate it again.
>>
>> The first migration has already transferred the memcg charge from the
>> source folio. Migrating that source again can create an uncharged system
>> folio. Adding such a folio to the LRU can spin indefinitely in
>> folio_lruvec_lock_irqsave(), causing a soft lockup and an RCU stall.
>>
>> Track successful device-page migrations in an allocation-relative bitmap
>> stored in drm_pagemap_zdd. Record successful migrations before finalize
>> unlocks and drops the migration reference on the source.
>>
>> Make raw-PFN eviction skip retired folios. Record raw-PFN migrations as
>> well so an eviction retry cannot select a folio migrated by an earlier
>> pass.
>>
>> Mark every base-page bit covered by a migrated folio so the retirement
>> state remains valid if the source folio is later split.
>>
>> 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.
>>
>> The lockup was observed as:
>> ==============================
>> [10109.860465] watchdog: BUG: soft lockup - CPU#9 stuck for 26s! [kworker/u65:5:6557]
>> [10109.860508] irq event stamp: 308085402
>> [10109.860508] hardirqs last  enabled at (308085401): [<ffffffff829571e1>] _raw_spin_unlock_irqrestore+0x51/0x80
>> [10109.860514] hardirqs last disabled at (308085402): [<ffffffff8293dd71>] sysvec_apic_timer_interrupt+0x11/0xc0
>> [10109.860516] softirqs last  enabled at (307538534): [<ffffffff813d111b>] __irq_exit_rcu+0xdb/0x1c0
>> [10109.860519] softirqs last disabled at (307538529): [<ffffffff813d111b>] __irq_exit_rcu+0xdb/0x1c0
>> [10109.860521] CPU: 9 UID: 0 PID: 6557 Comm: kworker/u65:5 Kdump: loaded Tainted: G S         O        7.2.0-rc3-lgci-xepurge-
>> [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.860647] Code: 00 75 1c 65 ff 0d 69 ee 84 01 74 20 5b 41 5c 5d 31 c0 31 d2 31 c9 31 f6 31 ff c3 cc cc cc cc e8 8f 2e c9
>> [10109.860648] RSP: 0018:ffffc9000c017030 EFLAGS: 00000246
>> [10109.860649] RAX: 0000000000000000 RBX: ffff8881012c00d0 RCX: 0000000000000000
>> [10109.860650] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
>> [10109.860650] RBP: ffffc9000c017040 R08: 0000000000000000 R09: 0000000000000000
>> [10109.860651] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000246
>> [10109.860651] R13: ffffc9000c0170a0 R14: ffff8881012c00d0 R15: ffff88810e9e6f00
>> [10109.860652] FS:  0000000000000000(0000) GS:ffff8888db2f2000(0000) knlGS:0000000000000000
>> [10109.860653] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> [10109.860653] CR2: 00007a26c0e00048 CR3: 00000001f366d006 CR4: 0000000000f72ef0
>> [10109.860654] PKRU: 55555554
>> [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: Thomas Zimmermann<tzimmermann@suse.de>
>> Cc: David Airlie<airlied@gmail.com>
>> Cc: Simona Vetter<simona@ffwll.ch>
>> Cc: Matthew Brost<matthew.brost@intel.com>
>> 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
>> Signed-off-by: Arvind Yadav<arvind.yadav@intel.com>
>> ---
>>   drivers/gpu/drm/drm_pagemap.c | 143 ++++++++++++++++++++++++++++++++--
>>   1 file changed, 136 insertions(+), 7 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c
>> index 7a056592ac66..713095e27006 100644
>> --- a/drivers/gpu/drm/drm_pagemap.c
>> +++ b/drivers/gpu/drm/drm_pagemap.c
>> @@ -7,6 +7,7 @@
>>   #include <linux/dma-mapping.h>
>>   #include <linux/migrate.h>
>>   #include <linux/pagemap.h>
>> +#include <linux/bitmap.h>
>>   #include <drm/drm_drv.h>
>>   #include <drm/drm_pagemap.h>
>>   #include <drm/drm_pagemap_util.h>
>> @@ -66,6 +67,12 @@
>>    * @refcount: Reference count for the zdd
>>    * @devmem_allocation: device memory allocation
>>    * @dpagemap: Refcounted pointer to the underlying struct drm_pagemap.
>> + * @range_start: Virtual start address of the device memory allocation. Used to
>> + * translate a clipped CPU-fault range into an allocation-relative page offset.
>> + * @range_npages: Number of pages covered by the allocation, i.e. the number of
>> + * valid bits in @retire_map.
>> + * @retire_map: Allocation-relative bitmap. Every base page covered by a
>> + * migrated folio remains marked until this mapping generation is destroyed.
>>    *
>>    * This structure serves as a generic wrapper installed in
>>    * page->zone_device_data. It provides infrastructure for looking up a device
>> @@ -78,29 +85,38 @@ struct drm_pagemap_zdd {
>>   	struct kref refcount;
>>   	struct drm_pagemap_devmem *devmem_allocation;
>>   	struct drm_pagemap *dpagemap;
>> +	unsigned long range_start;
> Sashiko pointed this out as well: you can't store anything virtual in a
> ZDD because it represents a physical object. The range_start may or may
> not be the same by the time a fault occurs.


Noted. The ZDD represents the physical object, so storing range_start 
there is not correct. I will remove it and use the per-folio state 
suggested below.

>> +	unsigned long range_npages;
> devmem_allocation->size can derive the number of pages.


Noted. I will derive the page count from |devmem_allocation->size|and 
remove |range_npages|.

>
>> +	unsigned long retire_map[];
> This won't be needed or any changes to the zdd actually, more below.


Noted. I will remove |retire_map|and keep |struct drm_pagemap_zdd|unchanged.

>
>>   };
>>   
>>   /**
>>    * drm_pagemap_zdd_alloc() - Allocate a zdd structure.
>>    * @dpagemap: Pointer to the underlying struct drm_pagemap.
>> + * @start: Virtual start address of the device memory allocation.
>> + * @npages: Number of pages in the device memory allocation.
>>    *
>>    * This function allocates and initializes a new zdd structure. It sets up the
>> - * reference count and initializes the destroy work.
>> + * reference count and a zeroed retirement bitmap sized for @npages.
>>    *
>> - * Return: Pointer to the allocated zdd on success, ERR_PTR() on failure.
>> + * Return: Pointer to the allocated zdd on success, NULL on failure.
>>    */
>>   static struct drm_pagemap_zdd *
>> -drm_pagemap_zdd_alloc(struct drm_pagemap *dpagemap)
>> +drm_pagemap_zdd_alloc(struct drm_pagemap *dpagemap, unsigned long start,
>> +		      unsigned long npages)
>>   {
>>   	struct drm_pagemap_zdd *zdd;
>>   
>> -	zdd = kmalloc_obj(*zdd);
>> +	zdd = kzalloc(struct_size(zdd, retire_map, BITS_TO_LONGS(npages)),
>> +		      GFP_KERNEL);
>>   	if (!zdd)
>>   		return NULL;
>>   
>>   	kref_init(&zdd->refcount);
>>   	zdd->devmem_allocation = NULL;
>>   	zdd->dpagemap = drm_pagemap_get(dpagemap);
>> +	zdd->range_start = start;
>> +	zdd->range_npages = npages;
>>   
>>   	return zdd;
>>   }
>> @@ -669,7 +685,7 @@ int drm_pagemap_migrate_to_devmem(struct drm_pagemap_devmem *devmem_allocation,
>>   	pagemap_addr = buf + (2 * sizeof(*migrate.src) * npages);
>>   	pages = buf + (2 * sizeof(*migrate.src) + sizeof(*pagemap_addr)) * npages;
>>   
>> -	zdd = drm_pagemap_zdd_alloc(dpagemap);
>> +	zdd = drm_pagemap_zdd_alloc(dpagemap, start, npages);
>>   	if (!zdd) {
>>   		err = -ENOMEM;
>>   		kvfree(buf);
>> @@ -1102,12 +1118,115 @@ void drm_pagemap_put(struct drm_pagemap *dpagemap)
>>   }
>>   EXPORT_SYMBOL(drm_pagemap_put);
>>   
>> +/**
>> + * drm_pagemap_is_devmem_page() - Check whether a page is device memory
>> + * @page: page to check
>> + *
>> + * Return: true if @page is device-private or device-coherent
>> + */
>> +static bool drm_pagemap_is_devmem_page(const struct page *page)
>> +{
>> +	return is_device_private_page(page) || is_device_coherent_page(page);
>> +}
>> +
>> +/**
>> + * drm_pagemap_retire_migrated_pages() - Record migrated device folios
>> + * @src_pfns: source array after migrate_vma_pages() or migrate_device_pages()
>> + * @npages: number of entries in @src_pfns
>> + * @first: allocation-relative page offset of @src_pfns[0]
>> + *
>> + * Record successful migrations in the zdd retirement bitmap before finalize
>> + * unlocks the sources. The bit is set only after a confirmed migration, and
>> + * test_and_set_bit() is used because concurrent CPU faults on clipped ranges
>> + * can update different bits in the same word.
>> + */
>> +static void drm_pagemap_retire_migrated_pages(unsigned long *src_pfns,
>> +					      unsigned long npages,
>> +					      unsigned long first)
>> +{
>> +	unsigned long i = 0;
>> +
>> +	while (i < npages) {
>> +		struct page *page = migrate_pfn_to_page(src_pfns[i]);
>> +		struct drm_pagemap_zdd *zdd;
>> +		unsigned long bit, j, nr = 1;
>> +
>> +		if (!page) {
>> +			i++;
>> +			continue;
>> +		}
>> +
>> +		nr = folio_nr_pages(page_folio(page));
>> +
>> +		if (!(src_pfns[i] & MIGRATE_PFN_MIGRATE) ||
>> +		    !drm_pagemap_is_devmem_page(page))
>> +			goto next;
>> +
>> +		zdd = drm_pagemap_page_zone_device_data(page);
>> +		bit = first + i;
>> +
>> +		if (WARN_ON_ONCE(bit >= zdd->range_npages ||
>> +				 nr > zdd->range_npages - bit))
>> +			goto next;
>> +
>> +		/* Keep later folio splits covered. */
>> +		for (j = 0; j < nr; j++)
>> +			WARN_ON_ONCE(test_and_set_bit(bit + j, zdd->retire_map));
>> +next:
>> +		i += nr;
>> +	}
>> +}
>> +
>> +/**
>> + * drm_pagemap_skip_retired_pages() - Drop retired PFNs from a raw-PFN eviction
>> + * @src_pfns: source array after migrate_device_pfns() (MIGRATE_PFN encoded)
>> + * @npages: number of entries in @src_pfns
>> + *
>> + * Skip source PFNs already migrated to RAM by either migration path. The
>> + * raw-PFN eviction array starts at allocation offset zero, so the array index
>> + * is also the retirement bitmap index.
>> + */
>> +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]);
>> +		struct drm_pagemap_zdd *zdd;
>> +		unsigned long nr = 1;
>> +
>> +		if (!page) {
>> +			i++;
>> +			continue;
>> +		}
>> +
>> +		nr = folio_nr_pages(page_folio(page));
>> +
>> +		if (!(src_pfns[i] & MIGRATE_PFN_MIGRATE) ||
>> +		    !drm_pagemap_is_devmem_page(page))
>> +			goto next;
>> +
>> +		zdd = drm_pagemap_page_zone_device_data(page);
>> +		if (WARN_ON_ONCE(i >= zdd->range_npages)) {
>> +			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
>> +			goto next;
>> +		}
>> +
>> +		if (test_bit(i, zdd->retire_map))
>> +			src_pfns[i] &= ~MIGRATE_PFN_MIGRATE;
>> +next:
>> +		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
>> + * PFNs already migrated to RAM by either migration path are skipped.
>>    *
>>    * Return: 0 on success, negative error code on failure.
>>    */
>> @@ -1149,6 +1268,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 +1300,8 @@ 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);
>> +	/* Raw-PFN eviction: array starts at allocation offset zero. */
>> +	drm_pagemap_retire_migrated_pages(src, npages, 0);
>>   	migrate_device_finalize(src, dst, npages);
>>   	drm_pagemap_migrate_unmap_pages(devmem_allocation->dev, pagemap_addr, dst, npages,
>>   					DMA_FROM_DEVICE, &state);
>> @@ -1251,6 +1374,10 @@ static int __drm_pagemap_migrate_to_ram(struct vm_area_struct *vas,
>>   	if (end > vas->vm_end)
>>   		end = vas->vm_end;
>>   
>> +	/* Keep the range within the ZDD allocation so retirement offsets stay valid. */
>> +	start = max(start, zdd->range_start);
>> +	end = min(end, zdd->range_start + (zdd->range_npages << PAGE_SHIFT));
> Hmm, I guess this tricky if this partially unmapped or meremapped to a
> different address, so we need to keep this purely physical.
>
> New idea - store the migration state in folio itself in the private
> data in lowest bits of folio->page.zone_device_data (set in
> folio_set_zone_device_data) and mask if off in
> drm_pagemap_page_zone_device_data.
>
> e.g.,
>
> #define DRM_PAGEMAP_ZDD_FLAG_MIGRATED	BIT(0)
> #define DRM_PAGEMAP_ZDD_FLAG_MASK	0x1ull	/* we can expand this to 0x7 on 64 builds if we need more flags */
>
> static inline struct drm_pagemap_zdd *drm_pagemap_page_zone_device_data(struct page *page)
> {
>          struct folio *folio = page_folio(page);
>
> 	/* XXX: Plus whatever casting needed */
>          return folio_zone_device_data(folio) & ~DRM_PAGEMAP_ZDD_FLAG_MASK;
> }
>
> static void drm_pagemap_page_set_flags(struct page *page, unsigned long flags)
> {
>          struct folio *folio = page_folio(page);
> 	struct drm_pagemap_zdd *zdd = drm_pagemap_page_zone_device_data(page);
>
> 	WARN_ON_ONCE(flags & ~DRM_PAGEMAP_ZDD_FLAG_MASK);
> 	folio_set_zone_device_data(folio, zdd | flags);
> }
>
> static unsigned long drm_pagemap_page_get_flags(struct page *page)
> {
>          struct folio *folio = page_folio(page);
>
> 	/* XXX: Plus whatever casting needed */
>          return folio_zone_device_data(folio) & DRM_PAGEMAP_ZDD_FLAG_MASK;
> }
>
> drm_pagemap_retire_migrated_pages()
> 	for_each_page_migrated
> 		drm_pagemap_page_set_flags(page, DRM_PAGEMAP_ZDD_FLAG_MIGRATED);
>
> drm_pagemap_skip_retired_pages gets the flags, skips any folio with
> DRM_PAGEMAP_ZDD_FLAG_MIGRATED set.
>
> I think this will work and keep everything in the physical world.


Thanks, this looks cleaner. I will use a low bit of zone_device_data to 
mark the folio as migrated, mask the bit when retrieving the ZDD, and 
preserve it when the folio is split. This also removes the bitmap and 
virtual-range tracking.

>
> Also btw, some of Sashiko pre-existing which have been flagged are fixed
> in this series:https://patchwork.freedesktop.org/series/171651/


Thanks for pointing this out. I will mentioned this.


Thanks,
Arvind

>
> Matt
>
>> +
>>   	migrate.start = start;
>>   	migrate.end = end;
>>   	npages = npages_in_range(start, end);
>> @@ -1309,6 +1436,8 @@ 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,
>> +					  (start - zdd->range_start) >> PAGE_SHIFT);
>>   	migrate_vma_finalize(&migrate);
>>   	if (dev)
>>   		drm_pagemap_migrate_unmap_pages(dev, pagemap_addr, migrate.dst,
>> -- 
>> 2.43.0
>>

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

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

* ✗ Xe.CI.FULL: failure for drm/pagemap: Prevent double migration of device pages (rev3)
  2026-08-06  6:11 [PATCH v2] drm/pagemap: Prevent double migration of device pages Arvind Yadav
                   ` (2 preceding siblings ...)
  2026-08-06  7:21 ` [PATCH v2] drm/pagemap: Prevent double migration of device pages Matthew Brost
@ 2026-08-06 15:53 ` Patchwork
  3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2026-08-06 15:53 UTC (permalink / raw)
  To: Yadav, Arvind; +Cc: intel-xe

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

== Series Details ==

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

== Summary ==

CI Bug Log - changes from xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5_FULL -> xe-pw-171495v3_FULL
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with xe-pw-171495v3_FULL absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in xe-pw-171495v3_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-171495v3_FULL:

### IGT changes ###

#### Possible regressions ####

  * igt@xe_exec_system_allocator@many-mmap-remap-ro-dontunmap-eocheck:
    - shard-bmg:          [PASS][1] -> [CRASH][2]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-3/igt@xe_exec_system_allocator@many-mmap-remap-ro-dontunmap-eocheck.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@xe_exec_system_allocator@many-mmap-remap-ro-dontunmap-eocheck.html

  * igt@xe_exec_system_allocator@many-stride-mmap-remap-madvise:
    - shard-bmg:          [PASS][3] -> [ABORT][4] +22 other tests abort
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-5/igt@xe_exec_system_allocator@many-stride-mmap-remap-madvise.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@xe_exec_system_allocator@many-stride-mmap-remap-madvise.html

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

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

### IGT changes ###

#### Issues hit ####

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

  * igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#2887])
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-5/igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs-cc.html

  * igt@kms_chamelium_frames@hdmi-frame-dump:
    - shard-bmg:          NOTRUN -> [SKIP][7] ([Intel XE#2252])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@kms_chamelium_frames@hdmi-frame-dump.html

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

  * igt@kms_feature_discovery@display-3x:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#2373] / [Intel XE#7448])
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@kms_feature_discovery@display-3x.html

  * igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
    - shard-bmg:          [PASS][10] -> [FAIL][11] ([Intel XE#3321]) +1 other test fail
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-7/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-3/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible:
    - shard-lnl:          [PASS][12] -> [FAIL][13] ([Intel XE#301] / [Intel XE#3149]) +1 other test fail
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
    - shard-lnl:          [PASS][14] -> [FAIL][15] ([Intel XE#301]) +3 other tests fail
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html

  * igt@kms_frontbuffer_tracking@drrshdr-2p-scndscrn-pri-shrfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#2311]) +1 other test skip
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-2/igt@kms_frontbuffer_tracking@drrshdr-2p-scndscrn-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#4141])
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-7/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-msflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#2313]) +3 other tests skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-msflip-blt.html

  * igt@kms_pm_dc@dc5-psr:
    - shard-lnl:          [PASS][19] -> [FAIL][20] ([Intel XE#8399])
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-lnl-3/igt@kms_pm_dc@dc5-psr.html
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-lnl-1/igt@kms_pm_dc@dc5-psr.html

  * igt@kms_rotation_crc@bad-tiling:
    - shard-bmg:          NOTRUN -> [SKIP][21] ([Intel XE#3904] / [Intel XE#7342])
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-5/igt@kms_rotation_crc@bad-tiling.html

  * igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][22] ([Intel XE#8374])
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-1/igt@xe_exec_fault_mode@many-execqueues-multi-queue-userptr-prefetch.html

  * igt@xe_exec_multi_queue@two-queues-userptr:
    - shard-bmg:          NOTRUN -> [SKIP][23] ([Intel XE#8364]) +1 other test skip
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-2/igt@xe_exec_multi_queue@two-queues-userptr.html

  * igt@xe_exec_system_allocator@process-many-execqueues-mmap-remap-ro-dontunmap-eocheck:
    - shard-bmg:          [PASS][24] -> [FAIL][25] ([Intel XE#8528]) +2 other tests fail
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-5/igt@xe_exec_system_allocator@process-many-execqueues-mmap-remap-ro-dontunmap-eocheck.html
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-9/igt@xe_exec_system_allocator@process-many-execqueues-mmap-remap-ro-dontunmap-eocheck.html

  * igt@xe_exec_system_allocator@threads-many-large-mmap-remap-ro-dontunmap-eocheck:
    - shard-bmg:          [PASS][26] -> [ABORT][27] ([Intel XE#8616])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-2/igt@xe_exec_system_allocator@threads-many-large-mmap-remap-ro-dontunmap-eocheck.html
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-4/igt@xe_exec_system_allocator@threads-many-large-mmap-remap-ro-dontunmap-eocheck.html

  * igt@xe_exec_threads@threads-multi-queue-cm-fd-rebind:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#8378])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@xe_exec_threads@threads-multi-queue-cm-fd-rebind.html

  * igt@xe_query@multigpu-query-mem-usage:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#944])
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-8/igt@xe_query@multigpu-query-mem-usage.html

  
#### Possible fixes ####

  * igt@xe_module_load@load:
    - shard-bmg:          ([PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [SKIP][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [PASS][51], [PASS][52], [PASS][53], [PASS][54], [PASS][55]) ([Intel XE#2457] / [Intel XE#7405]) -> ([PASS][56], [PASS][57], [PASS][58], [PASS][59], [PASS][60], [PASS][61], [PASS][62], [PASS][63], [PASS][64], [PASS][65], [PASS][66], [PASS][67], [PASS][68], [PASS][69], [PASS][70], [PASS][71], [PASS][72], [PASS][73], [PASS][74], [PASS][75], [PASS][76], [PASS][77], [PASS][78], [PASS][79], [PASS][80])
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-7/igt@xe_module_load@load.html
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-7/igt@xe_module_load@load.html
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-7/igt@xe_module_load@load.html
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-9/igt@xe_module_load@load.html
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-8/igt@xe_module_load@load.html
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-3/igt@xe_module_load@load.html
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-5/igt@xe_module_load@load.html
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-5/igt@xe_module_load@load.html
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-10/igt@xe_module_load@load.html
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-10/igt@xe_module_load@load.html
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-10/igt@xe_module_load@load.html
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-1/igt@xe_module_load@load.html
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-10/igt@xe_module_load@load.html
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-4/igt@xe_module_load@load.html
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-6/igt@xe_module_load@load.html
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-4/igt@xe_module_load@load.html
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-2/igt@xe_module_load@load.html
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-3/igt@xe_module_load@load.html
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-2/igt@xe_module_load@load.html
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-1/igt@xe_module_load@load.html
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-2/igt@xe_module_load@load.html
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-9/igt@xe_module_load@load.html
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-8/igt@xe_module_load@load.html
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-8/igt@xe_module_load@load.html
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-5/igt@xe_module_load@load.html
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-6/igt@xe_module_load@load.html
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@xe_module_load@load.html
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@xe_module_load@load.html
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-9/igt@xe_module_load@load.html
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-9/igt@xe_module_load@load.html
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-3/igt@xe_module_load@load.html
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-5/igt@xe_module_load@load.html
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-7/igt@xe_module_load@load.html
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-5/igt@xe_module_load@load.html
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-1/igt@xe_module_load@load.html
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-1/igt@xe_module_load@load.html
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-7/igt@xe_module_load@load.html
   [67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-10/igt@xe_module_load@load.html
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-1/igt@xe_module_load@load.html
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-1/igt@xe_module_load@load.html
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-4/igt@xe_module_load@load.html
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-6/igt@xe_module_load@load.html
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-8/igt@xe_module_load@load.html
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-8/igt@xe_module_load@load.html
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-2/igt@xe_module_load@load.html
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-2/igt@xe_module_load@load.html
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-2/igt@xe_module_load@load.html
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-3/igt@xe_module_load@load.html
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-3/igt@xe_module_load@load.html
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-4/igt@xe_module_load@load.html
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-9/igt@xe_module_load@load.html

  * igt@xe_oa@non-zero-reason-all:
    - shard-lnl:          [FAIL][81] ([Intel XE#7334]) -> [PASS][82] +1 other test pass
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-lnl-4/igt@xe_oa@non-zero-reason-all.html
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-lnl-8/igt@xe_oa@non-zero-reason-all.html

  
#### Warnings ####

  * igt@xe_wedged@wedged-at-any-timeout:
    - shard-bmg:          [DMESG-WARN][83] ([Intel XE#5545]) -> [ABORT][84] ([Intel XE#8007])
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5/shard-bmg-9/igt@xe_wedged@wedged-at-any-timeout.html
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171495v3/shard-bmg-7/igt@xe_wedged@wedged-at-any-timeout.html

  
  [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#2373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2373
  [Intel XE#2457]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2457
  [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#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
  [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#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
  [Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
  [Intel XE#7334]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7334
  [Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
  [Intel XE#7405]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7405
  [Intel XE#7448]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7448
  [Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
  [Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
  [Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
  [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#8399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8399
  [Intel XE#8528]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8528
  [Intel XE#8616]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8616
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * IGT: IGT_9040 -> IGT_9041
  * Linux: xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5 -> xe-pw-171495v3

  IGT_9040: 9040
  IGT_9041: 9041
  xe-5550-4cbb5eb24c6169972847aa946c5206f97c4880a5: 4cbb5eb24c6169972847aa946c5206f97c4880a5
  xe-pw-171495v3: 171495v3

== Logs ==

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

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

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

end of thread, other threads:[~2026-08-06 15:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06  6:11 [PATCH v2] drm/pagemap: Prevent double migration of device pages Arvind Yadav
2026-08-06  6:20 ` ✓ CI.KUnit: success for drm/pagemap: Prevent double migration of device pages (rev3) Patchwork
2026-08-06  7:02 ` ✓ Xe.CI.BAT: " Patchwork
2026-08-06  7:21 ` [PATCH v2] drm/pagemap: Prevent double migration of device pages Matthew Brost
2026-08-06  8:44   ` Yadav, Arvind
2026-08-06 15:53 ` ✗ Xe.CI.FULL: failure for drm/pagemap: Prevent double migration of device pages (rev3) Patchwork

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