Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Manage nvm aux cleanup with devres
@ 2026-01-09 22:00 Shuicheng Lin
  2026-01-09 22:14 ` ✓ CI.KUnit: success for " Patchwork
                   ` (11 more replies)
  0 siblings, 12 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-09 22:00 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin, Alexander Usyskin, Rodrigo Vivi, Riana Tauro

Move nvm teardown to a devm-managed action registered from xe_nvm_init().
This ensures the auxiliary NVM device is deleted on probe failure and
device detach without requiring explicit calls from remove paths.

As part of this, drop xe_nvm_fini() from xe_device_remove() and from the
survivability sysfs teardown, and remove the public xe_nvm_fini() API from
the header.

This is to fix below warn message when there is probe failure after
xe_nvm_init(), then xe_device_probe() is called again:
"
[  207.318152] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/xe.nvm.768'
[  207.318157] CPU: 5 UID: 0 PID: 10261 Comm: modprobe Tainted: G    B   W           6.19.0-rc2-lgci-xe-kernel+ #223 PREEMPT(voluntary)
[  207.318160] Tainted: [B]=BAD_PAGE, [W]=WARN
[  207.318161] Hardware name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812 02/24/2023
[  207.318163] Call Trace:
[  207.318163]  <TASK>
[  207.318165]  dump_stack_lvl+0xa0/0xc0
[  207.318170]  dump_stack+0x10/0x20
[  207.318171]  sysfs_warn_dup+0xd5/0x110
[  207.318175]  sysfs_create_dir_ns+0x1f6/0x280
[  207.318177]  ? __pfx_sysfs_create_dir_ns+0x10/0x10
[  207.318179]  ? lock_acquire+0x1a4/0x2e0
[  207.318182]  ? __kasan_check_read+0x11/0x20
[  207.318185]  ? do_raw_spin_unlock+0x5c/0x240
[  207.318187]  kobject_add_internal+0x28d/0x8e0
[  207.318189]  kobject_add+0x11f/0x1f0
[  207.318191]  ? __pfx_kobject_add+0x10/0x10
[  207.318193]  ? lockdep_init_map_type+0x4b/0x230
[  207.318195]  ? get_device_parent.isra.0+0x43/0x4c0
[  207.318197]  ? kobject_get+0x55/0xf0
[  207.318199]  device_add+0x2d7/0x1500
[  207.318201]  ? __pfx_device_add+0x10/0x10
[  207.318203]  ? lockdep_init_map_type+0x4b/0x230
[  207.318205]  __auxiliary_device_add+0x99/0x140
[  207.318208]  xe_nvm_init+0x7a2/0xef0 [xe]
[  207.318333]  ? xe_devcoredump_init+0x80/0x110 [xe]
[  207.318452]  ? __devm_add_action+0x82/0xc0
[  207.318454]  ? fs_reclaim_release+0xc0/0x110
[  207.318457]  xe_device_probe+0x17dd/0x2c40 [xe]
[  207.318574]  ? __pfx___drm_dev_dbg+0x10/0x10
[  207.318576]  ? add_dr+0x180/0x220
[  207.318579]  ? __pfx___drmm_mutex_release+0x10/0x10
[  207.318582]  ? __pfx_xe_device_probe+0x10/0x10 [xe]
[  207.318697]  ? xe_pm_init_early+0x33a/0x410 [xe]
[  207.318850]  xe_pci_probe+0x936/0x1250 [xe]
[  207.318999]  ? lock_acquire+0x1a4/0x2e0
[  207.319003]  ? __pfx_xe_pci_probe+0x10/0x10 [xe]
[  207.319151]  local_pci_probe+0xe6/0x1a0
[  207.319154]  pci_device_probe+0x523/0x840
[  207.319157]  ? __pfx_pci_device_probe+0x10/0x10
[  207.319159]  ? sysfs_do_create_link_sd.isra.0+0x8c/0x110
[  207.319162]  ? sysfs_create_link+0x48/0xc0
...
"

Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory device")
Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Riana Tauro <riana.tauro@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c             |  2 -
 drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
 drivers/gpu/drm/xe/xe_nvm.h                |  2 -
 drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
 4 files changed, 22 insertions(+), 29 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 329d17fd6100..e08d95554f2a 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -1068,8 +1068,6 @@ void xe_device_remove(struct xe_device *xe)
 {
 	xe_display_unregister(xe);
 
-	xe_nvm_fini(xe);
-
 	drm_dev_unplug(&xe->drm);
 
 	xe_bo_pci_dev_remove_all(xe);
diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 01510061d4d4..1202a7abc46f 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -95,6 +95,27 @@ static bool xe_nvm_writable_override(struct xe_device *xe)
 	return writable_override;
 }
 
+static void xe_nvm_fini(void *arg)
+{
+	struct xe_device *xe = arg;
+	struct intel_dg_nvm_dev *nvm = xe->nvm;
+
+	if (!xe->info.has_gsc_nvm)
+		return;
+
+	/* No access to internal NVM from VFs */
+	if (IS_SRIOV_VF(xe))
+		return;
+
+	/* Nvm pointer should not be NULL here */
+	if (WARN_ON(!nvm))
+		return;
+
+	auxiliary_device_delete(&nvm->aux_dev);
+	auxiliary_device_uninit(&nvm->aux_dev);
+	xe->nvm = NULL;
+}
+
 int xe_nvm_init(struct xe_device *xe)
 {
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
@@ -153,30 +174,10 @@ int xe_nvm_init(struct xe_device *xe)
 		auxiliary_device_uninit(aux_dev);
 		goto err;
 	}
-	return 0;
+	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 
 err:
 	kfree(nvm);
 	xe->nvm = NULL;
 	return ret;
 }
-
-void xe_nvm_fini(struct xe_device *xe)
-{
-	struct intel_dg_nvm_dev *nvm = xe->nvm;
-
-	if (!xe->info.has_gsc_nvm)
-		return;
-
-	/* No access to internal NVM from VFs */
-	if (IS_SRIOV_VF(xe))
-		return;
-
-	/* Nvm pointer should not be NULL here */
-	if (WARN_ON(!nvm))
-		return;
-
-	auxiliary_device_delete(&nvm->aux_dev);
-	auxiliary_device_uninit(&nvm->aux_dev);
-	xe->nvm = NULL;
-}
diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h
index 7f3d5f57bed0..fd3467ad35a4 100644
--- a/drivers/gpu/drm/xe/xe_nvm.h
+++ b/drivers/gpu/drm/xe/xe_nvm.h
@@ -10,6 +10,4 @@ struct xe_device;
 
 int xe_nvm_init(struct xe_device *xe);
 
-void xe_nvm_fini(struct xe_device *xe);
-
 #endif
diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
index 31456f432fc8..ff406e9a82cb 100644
--- a/drivers/gpu/drm/xe/xe_survivability_mode.c
+++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
@@ -234,13 +234,9 @@ static SURVIVABILITY_ATTR_RO(fdo_mode, FDO_INFO);
 static void xe_survivability_mode_fini(void *arg)
 {
 	struct xe_device *xe = arg;
-	struct xe_survivability *survivability = &xe->survivability;
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
 	struct device *dev = &pdev->dev;
 
-	if (survivability->fdo_mode)
-		xe_nvm_fini(xe);
-
 	device_remove_file(dev, &dev_attr_survivability_mode);
 }
 
-- 
2.50.1


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

* ✓ CI.KUnit: success for drm/xe: Manage nvm aux cleanup with devres
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
@ 2026-01-09 22:14 ` Patchwork
  2026-01-09 22:51 ` ✓ Xe.CI.BAT: " Patchwork
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2026-01-09 22:14 UTC (permalink / raw)
  To: Shuicheng Lin; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Manage nvm aux cleanup with devres
URL   : https://patchwork.freedesktop.org/series/159900/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[22:13:31] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[22:13:35] 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
[22:14:07] Starting KUnit Kernel (1/1)...
[22:14:07] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[22:14:07] ================== guc_buf (11 subtests) ===================
[22:14:07] [PASSED] test_smallest
[22:14:07] [PASSED] test_largest
[22:14:07] [PASSED] test_granular
[22:14:07] [PASSED] test_unique
[22:14:07] [PASSED] test_overlap
[22:14:07] [PASSED] test_reusable
[22:14:07] [PASSED] test_too_big
[22:14:07] [PASSED] test_flush
[22:14:07] [PASSED] test_lookup
[22:14:07] [PASSED] test_data
[22:14:07] [PASSED] test_class
[22:14:07] ===================== [PASSED] guc_buf =====================
[22:14:07] =================== guc_dbm (7 subtests) ===================
[22:14:07] [PASSED] test_empty
[22:14:07] [PASSED] test_default
[22:14:07] ======================== test_size  ========================
[22:14:07] [PASSED] 4
[22:14:07] [PASSED] 8
[22:14:07] [PASSED] 32
[22:14:07] [PASSED] 256
[22:14:07] ==================== [PASSED] test_size ====================
[22:14:07] ======================= test_reuse  ========================
[22:14:07] [PASSED] 4
[22:14:07] [PASSED] 8
[22:14:07] [PASSED] 32
[22:14:07] [PASSED] 256
[22:14:07] =================== [PASSED] test_reuse ====================
[22:14:07] =================== test_range_overlap  ====================
[22:14:07] [PASSED] 4
[22:14:07] [PASSED] 8
[22:14:07] [PASSED] 32
[22:14:07] [PASSED] 256
[22:14:07] =============== [PASSED] test_range_overlap ================
[22:14:07] =================== test_range_compact  ====================
[22:14:07] [PASSED] 4
[22:14:07] [PASSED] 8
[22:14:07] [PASSED] 32
[22:14:07] [PASSED] 256
[22:14:07] =============== [PASSED] test_range_compact ================
[22:14:07] ==================== test_range_spare  =====================
[22:14:07] [PASSED] 4
[22:14:07] [PASSED] 8
[22:14:07] [PASSED] 32
[22:14:07] [PASSED] 256
[22:14:07] ================ [PASSED] test_range_spare =================
[22:14:07] ===================== [PASSED] guc_dbm =====================
[22:14:07] =================== guc_idm (6 subtests) ===================
[22:14:07] [PASSED] bad_init
[22:14:07] [PASSED] no_init
[22:14:07] [PASSED] init_fini
[22:14:07] [PASSED] check_used
[22:14:07] [PASSED] check_quota
[22:14:07] [PASSED] check_all
[22:14:07] ===================== [PASSED] guc_idm =====================
[22:14:07] ================== no_relay (3 subtests) ===================
[22:14:07] [PASSED] xe_drops_guc2pf_if_not_ready
[22:14:07] [PASSED] xe_drops_guc2vf_if_not_ready
[22:14:07] [PASSED] xe_rejects_send_if_not_ready
[22:14:07] ==================== [PASSED] no_relay =====================
[22:14:07] ================== pf_relay (14 subtests) ==================
[22:14:07] [PASSED] pf_rejects_guc2pf_too_short
[22:14:07] [PASSED] pf_rejects_guc2pf_too_long
[22:14:07] [PASSED] pf_rejects_guc2pf_no_payload
[22:14:07] [PASSED] pf_fails_no_payload
[22:14:07] [PASSED] pf_fails_bad_origin
[22:14:07] [PASSED] pf_fails_bad_type
[22:14:07] [PASSED] pf_txn_reports_error
[22:14:07] [PASSED] pf_txn_sends_pf2guc
[22:14:07] [PASSED] pf_sends_pf2guc
[22:14:07] [SKIPPED] pf_loopback_nop
[22:14:07] [SKIPPED] pf_loopback_echo
[22:14:07] [SKIPPED] pf_loopback_fail
[22:14:07] [SKIPPED] pf_loopback_busy
[22:14:07] [SKIPPED] pf_loopback_retry
[22:14:07] ==================== [PASSED] pf_relay =====================
[22:14:07] ================== vf_relay (3 subtests) ===================
[22:14:07] [PASSED] vf_rejects_guc2vf_too_short
[22:14:07] [PASSED] vf_rejects_guc2vf_too_long
[22:14:07] [PASSED] vf_rejects_guc2vf_no_payload
[22:14:07] ==================== [PASSED] vf_relay =====================
[22:14:07] ================ pf_gt_config (6 subtests) =================
[22:14:07] [PASSED] fair_contexts_1vf
[22:14:07] [PASSED] fair_doorbells_1vf
[22:14:07] [PASSED] fair_ggtt_1vf
[22:14:07] ====================== fair_contexts  ======================
[22:14:07] [PASSED] 1 VF
[22:14:07] [PASSED] 2 VFs
[22:14:07] [PASSED] 3 VFs
[22:14:07] [PASSED] 4 VFs
[22:14:07] [PASSED] 5 VFs
[22:14:07] [PASSED] 6 VFs
[22:14:07] [PASSED] 7 VFs
[22:14:07] [PASSED] 8 VFs
[22:14:07] [PASSED] 9 VFs
[22:14:07] [PASSED] 10 VFs
[22:14:07] [PASSED] 11 VFs
[22:14:07] [PASSED] 12 VFs
[22:14:07] [PASSED] 13 VFs
[22:14:07] [PASSED] 14 VFs
[22:14:07] [PASSED] 15 VFs
[22:14:07] [PASSED] 16 VFs
[22:14:07] [PASSED] 17 VFs
[22:14:07] [PASSED] 18 VFs
[22:14:07] [PASSED] 19 VFs
[22:14:07] [PASSED] 20 VFs
[22:14:07] [PASSED] 21 VFs
[22:14:07] [PASSED] 22 VFs
[22:14:07] [PASSED] 23 VFs
[22:14:07] [PASSED] 24 VFs
[22:14:07] [PASSED] 25 VFs
[22:14:07] [PASSED] 26 VFs
[22:14:07] [PASSED] 27 VFs
[22:14:07] [PASSED] 28 VFs
[22:14:07] [PASSED] 29 VFs
[22:14:07] [PASSED] 30 VFs
[22:14:07] [PASSED] 31 VFs
[22:14:07] [PASSED] 32 VFs
[22:14:07] [PASSED] 33 VFs
[22:14:07] [PASSED] 34 VFs
[22:14:07] [PASSED] 35 VFs
[22:14:07] [PASSED] 36 VFs
[22:14:07] [PASSED] 37 VFs
[22:14:07] [PASSED] 38 VFs
[22:14:07] [PASSED] 39 VFs
[22:14:07] [PASSED] 40 VFs
[22:14:07] [PASSED] 41 VFs
[22:14:07] [PASSED] 42 VFs
[22:14:07] [PASSED] 43 VFs
[22:14:07] [PASSED] 44 VFs
[22:14:07] [PASSED] 45 VFs
[22:14:07] [PASSED] 46 VFs
[22:14:07] [PASSED] 47 VFs
[22:14:07] [PASSED] 48 VFs
[22:14:07] [PASSED] 49 VFs
[22:14:07] [PASSED] 50 VFs
[22:14:07] [PASSED] 51 VFs
[22:14:07] [PASSED] 52 VFs
[22:14:07] [PASSED] 53 VFs
[22:14:07] [PASSED] 54 VFs
[22:14:07] [PASSED] 55 VFs
[22:14:07] [PASSED] 56 VFs
[22:14:07] [PASSED] 57 VFs
[22:14:07] [PASSED] 58 VFs
[22:14:07] [PASSED] 59 VFs
[22:14:07] [PASSED] 60 VFs
[22:14:07] [PASSED] 61 VFs
[22:14:07] [PASSED] 62 VFs
[22:14:07] [PASSED] 63 VFs
[22:14:07] ================== [PASSED] fair_contexts ==================
[22:14:07] ===================== fair_doorbells  ======================
[22:14:07] [PASSED] 1 VF
[22:14:07] [PASSED] 2 VFs
[22:14:07] [PASSED] 3 VFs
[22:14:07] [PASSED] 4 VFs
[22:14:07] [PASSED] 5 VFs
[22:14:07] [PASSED] 6 VFs
[22:14:07] [PASSED] 7 VFs
[22:14:07] [PASSED] 8 VFs
[22:14:07] [PASSED] 9 VFs
[22:14:07] [PASSED] 10 VFs
[22:14:07] [PASSED] 11 VFs
[22:14:07] [PASSED] 12 VFs
[22:14:07] [PASSED] 13 VFs
[22:14:07] [PASSED] 14 VFs
[22:14:07] [PASSED] 15 VFs
[22:14:07] [PASSED] 16 VFs
[22:14:07] [PASSED] 17 VFs
[22:14:07] [PASSED] 18 VFs
[22:14:07] [PASSED] 19 VFs
[22:14:07] [PASSED] 20 VFs
[22:14:07] [PASSED] 21 VFs
[22:14:07] [PASSED] 22 VFs
[22:14:07] [PASSED] 23 VFs
[22:14:07] [PASSED] 24 VFs
[22:14:07] [PASSED] 25 VFs
[22:14:07] [PASSED] 26 VFs
[22:14:07] [PASSED] 27 VFs
[22:14:07] [PASSED] 28 VFs
[22:14:07] [PASSED] 29 VFs
[22:14:07] [PASSED] 30 VFs
[22:14:07] [PASSED] 31 VFs
[22:14:07] [PASSED] 32 VFs
[22:14:07] [PASSED] 33 VFs
[22:14:07] [PASSED] 34 VFs
[22:14:07] [PASSED] 35 VFs
[22:14:07] [PASSED] 36 VFs
[22:14:07] [PASSED] 37 VFs
[22:14:07] [PASSED] 38 VFs
[22:14:07] [PASSED] 39 VFs
[22:14:07] [PASSED] 40 VFs
[22:14:07] [PASSED] 41 VFs
[22:14:07] [PASSED] 42 VFs
[22:14:07] [PASSED] 43 VFs
[22:14:07] [PASSED] 44 VFs
[22:14:07] [PASSED] 45 VFs
[22:14:07] [PASSED] 46 VFs
[22:14:07] [PASSED] 47 VFs
[22:14:07] [PASSED] 48 VFs
[22:14:07] [PASSED] 49 VFs
[22:14:07] [PASSED] 50 VFs
[22:14:07] [PASSED] 51 VFs
[22:14:07] [PASSED] 52 VFs
[22:14:07] [PASSED] 53 VFs
[22:14:07] [PASSED] 54 VFs
[22:14:07] [PASSED] 55 VFs
[22:14:07] [PASSED] 56 VFs
[22:14:07] [PASSED] 57 VFs
[22:14:07] [PASSED] 58 VFs
[22:14:07] [PASSED] 59 VFs
[22:14:07] [PASSED] 60 VFs
[22:14:07] [PASSED] 61 VFs
[22:14:07] [PASSED] 62 VFs
[22:14:07] [PASSED] 63 VFs
[22:14:07] ================= [PASSED] fair_doorbells ==================
[22:14:07] ======================== fair_ggtt  ========================
[22:14:07] [PASSED] 1 VF
[22:14:07] [PASSED] 2 VFs
[22:14:07] [PASSED] 3 VFs
[22:14:07] [PASSED] 4 VFs
[22:14:07] [PASSED] 5 VFs
[22:14:07] [PASSED] 6 VFs
[22:14:07] [PASSED] 7 VFs
[22:14:07] [PASSED] 8 VFs
[22:14:07] [PASSED] 9 VFs
[22:14:07] [PASSED] 10 VFs
[22:14:07] [PASSED] 11 VFs
[22:14:07] [PASSED] 12 VFs
[22:14:07] [PASSED] 13 VFs
[22:14:07] [PASSED] 14 VFs
[22:14:07] [PASSED] 15 VFs
[22:14:07] [PASSED] 16 VFs
[22:14:07] [PASSED] 17 VFs
[22:14:07] [PASSED] 18 VFs
[22:14:07] [PASSED] 19 VFs
[22:14:07] [PASSED] 20 VFs
[22:14:07] [PASSED] 21 VFs
[22:14:07] [PASSED] 22 VFs
[22:14:07] [PASSED] 23 VFs
[22:14:07] [PASSED] 24 VFs
[22:14:07] [PASSED] 25 VFs
[22:14:07] [PASSED] 26 VFs
[22:14:07] [PASSED] 27 VFs
[22:14:07] [PASSED] 28 VFs
[22:14:07] [PASSED] 29 VFs
[22:14:07] [PASSED] 30 VFs
[22:14:07] [PASSED] 31 VFs
[22:14:07] [PASSED] 32 VFs
[22:14:07] [PASSED] 33 VFs
[22:14:07] [PASSED] 34 VFs
[22:14:07] [PASSED] 35 VFs
[22:14:07] [PASSED] 36 VFs
[22:14:07] [PASSED] 37 VFs
[22:14:07] [PASSED] 38 VFs
[22:14:07] [PASSED] 39 VFs
[22:14:07] [PASSED] 40 VFs
[22:14:07] [PASSED] 41 VFs
[22:14:07] [PASSED] 42 VFs
[22:14:07] [PASSED] 43 VFs
[22:14:07] [PASSED] 44 VFs
[22:14:07] [PASSED] 45 VFs
[22:14:07] [PASSED] 46 VFs
[22:14:07] [PASSED] 47 VFs
[22:14:07] [PASSED] 48 VFs
[22:14:07] [PASSED] 49 VFs
[22:14:07] [PASSED] 50 VFs
[22:14:07] [PASSED] 51 VFs
[22:14:07] [PASSED] 52 VFs
[22:14:07] [PASSED] 53 VFs
[22:14:07] [PASSED] 54 VFs
[22:14:07] [PASSED] 55 VFs
[22:14:07] [PASSED] 56 VFs
[22:14:07] [PASSED] 57 VFs
[22:14:07] [PASSED] 58 VFs
[22:14:07] [PASSED] 59 VFs
[22:14:07] [PASSED] 60 VFs
[22:14:07] [PASSED] 61 VFs
[22:14:07] [PASSED] 62 VFs
[22:14:07] [PASSED] 63 VFs
[22:14:07] ==================== [PASSED] fair_ggtt ====================
[22:14:07] ================== [PASSED] pf_gt_config ===================
[22:14:07] ===================== lmtt (1 subtest) =====================
[22:14:07] ======================== test_ops  =========================
[22:14:07] [PASSED] 2-level
[22:14:07] [PASSED] multi-level
[22:14:07] ==================== [PASSED] test_ops =====================
[22:14:07] ====================== [PASSED] lmtt =======================
[22:14:07] ================= pf_service (11 subtests) =================
[22:14:07] [PASSED] pf_negotiate_any
[22:14:07] [PASSED] pf_negotiate_base_match
[22:14:07] [PASSED] pf_negotiate_base_newer
[22:14:07] [PASSED] pf_negotiate_base_next
[22:14:07] [SKIPPED] pf_negotiate_base_older
[22:14:07] [PASSED] pf_negotiate_base_prev
[22:14:07] [PASSED] pf_negotiate_latest_match
[22:14:07] [PASSED] pf_negotiate_latest_newer
[22:14:07] [PASSED] pf_negotiate_latest_next
[22:14:07] [SKIPPED] pf_negotiate_latest_older
[22:14:07] [SKIPPED] pf_negotiate_latest_prev
[22:14:07] =================== [PASSED] pf_service ====================
[22:14:07] ================= xe_guc_g2g (2 subtests) ==================
[22:14:07] ============== xe_live_guc_g2g_kunit_default  ==============
[22:14:07] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[22:14:07] ============== xe_live_guc_g2g_kunit_allmem  ===============
[22:14:07] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[22:14:07] =================== [SKIPPED] xe_guc_g2g ===================
[22:14:07] =================== xe_mocs (2 subtests) ===================
[22:14:07] ================ xe_live_mocs_kernel_kunit  ================
[22:14:07] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[22:14:07] ================ xe_live_mocs_reset_kunit  =================
[22:14:07] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[22:14:07] ==================== [SKIPPED] xe_mocs =====================
[22:14:07] ================= xe_migrate (2 subtests) ==================
[22:14:07] ================= xe_migrate_sanity_kunit  =================
[22:14:07] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[22:14:07] ================== xe_validate_ccs_kunit  ==================
[22:14:07] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[22:14:07] =================== [SKIPPED] xe_migrate ===================
[22:14:07] ================== xe_dma_buf (1 subtest) ==================
[22:14:07] ==================== xe_dma_buf_kunit  =====================
[22:14:07] ================ [SKIPPED] xe_dma_buf_kunit ================
[22:14:07] =================== [SKIPPED] xe_dma_buf ===================
[22:14:07] ================= xe_bo_shrink (1 subtest) =================
[22:14:07] =================== xe_bo_shrink_kunit  ====================
[22:14:07] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[22:14:07] ================== [SKIPPED] xe_bo_shrink ==================
[22:14:07] ==================== xe_bo (2 subtests) ====================
[22:14:07] ================== xe_ccs_migrate_kunit  ===================
[22:14:07] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[22:14:07] ==================== xe_bo_evict_kunit  ====================
[22:14:07] =============== [SKIPPED] xe_bo_evict_kunit ================
[22:14:07] ===================== [SKIPPED] xe_bo ======================
[22:14:07] ==================== args (13 subtests) ====================
[22:14:07] [PASSED] count_args_test
[22:14:07] [PASSED] call_args_example
[22:14:07] [PASSED] call_args_test
[22:14:07] [PASSED] drop_first_arg_example
[22:14:07] [PASSED] drop_first_arg_test
[22:14:07] [PASSED] first_arg_example
[22:14:07] [PASSED] first_arg_test
[22:14:07] [PASSED] last_arg_example
[22:14:07] [PASSED] last_arg_test
[22:14:07] [PASSED] pick_arg_example
[22:14:07] [PASSED] if_args_example
[22:14:07] [PASSED] if_args_test
[22:14:07] [PASSED] sep_comma_example
[22:14:07] ====================== [PASSED] args =======================
[22:14:07] =================== xe_pci (3 subtests) ====================
[22:14:07] ==================== check_graphics_ip  ====================
[22:14:07] [PASSED] 12.00 Xe_LP
[22:14:07] [PASSED] 12.10 Xe_LP+
[22:14:07] [PASSED] 12.55 Xe_HPG
[22:14:07] [PASSED] 12.60 Xe_HPC
[22:14:07] [PASSED] 12.70 Xe_LPG
[22:14:07] [PASSED] 12.71 Xe_LPG
[22:14:07] [PASSED] 12.74 Xe_LPG+
[22:14:07] [PASSED] 20.01 Xe2_HPG
[22:14:07] [PASSED] 20.02 Xe2_HPG
[22:14:07] [PASSED] 20.04 Xe2_LPG
[22:14:07] [PASSED] 30.00 Xe3_LPG
[22:14:07] [PASSED] 30.01 Xe3_LPG
[22:14:07] [PASSED] 30.03 Xe3_LPG
[22:14:07] [PASSED] 30.04 Xe3_LPG
[22:14:07] [PASSED] 30.05 Xe3_LPG
[22:14:07] [PASSED] 35.11 Xe3p_XPC
[22:14:07] ================ [PASSED] check_graphics_ip ================
[22:14:07] ===================== check_media_ip  ======================
[22:14:07] [PASSED] 12.00 Xe_M
[22:14:07] [PASSED] 12.55 Xe_HPM
[22:14:07] [PASSED] 13.00 Xe_LPM+
[22:14:07] [PASSED] 13.01 Xe2_HPM
[22:14:07] [PASSED] 20.00 Xe2_LPM
[22:14:07] [PASSED] 30.00 Xe3_LPM
[22:14:07] [PASSED] 30.02 Xe3_LPM
[22:14:07] [PASSED] 35.00 Xe3p_LPM
[22:14:07] [PASSED] 35.03 Xe3p_HPM
[22:14:07] ================= [PASSED] check_media_ip ==================
[22:14:07] =================== check_platform_desc  ===================
[22:14:07] [PASSED] 0x9A60 (TIGERLAKE)
[22:14:07] [PASSED] 0x9A68 (TIGERLAKE)
[22:14:07] [PASSED] 0x9A70 (TIGERLAKE)
[22:14:07] [PASSED] 0x9A40 (TIGERLAKE)
[22:14:07] [PASSED] 0x9A49 (TIGERLAKE)
[22:14:07] [PASSED] 0x9A59 (TIGERLAKE)
[22:14:07] [PASSED] 0x9A78 (TIGERLAKE)
[22:14:07] [PASSED] 0x9AC0 (TIGERLAKE)
[22:14:07] [PASSED] 0x9AC9 (TIGERLAKE)
[22:14:07] [PASSED] 0x9AD9 (TIGERLAKE)
[22:14:07] [PASSED] 0x9AF8 (TIGERLAKE)
[22:14:07] [PASSED] 0x4C80 (ROCKETLAKE)
[22:14:07] [PASSED] 0x4C8A (ROCKETLAKE)
[22:14:07] [PASSED] 0x4C8B (ROCKETLAKE)
[22:14:07] [PASSED] 0x4C8C (ROCKETLAKE)
[22:14:07] [PASSED] 0x4C90 (ROCKETLAKE)
[22:14:07] [PASSED] 0x4C9A (ROCKETLAKE)
[22:14:07] [PASSED] 0x4680 (ALDERLAKE_S)
[22:14:07] [PASSED] 0x4682 (ALDERLAKE_S)
[22:14:07] [PASSED] 0x4688 (ALDERLAKE_S)
[22:14:07] [PASSED] 0x468A (ALDERLAKE_S)
[22:14:07] [PASSED] 0x468B (ALDERLAKE_S)
[22:14:07] [PASSED] 0x4690 (ALDERLAKE_S)
[22:14:07] [PASSED] 0x4692 (ALDERLAKE_S)
[22:14:07] [PASSED] 0x4693 (ALDERLAKE_S)
[22:14:07] [PASSED] 0x46A0 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46A1 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46A2 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46A3 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46A6 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46A8 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46AA (ALDERLAKE_P)
[22:14:07] [PASSED] 0x462A (ALDERLAKE_P)
[22:14:07] [PASSED] 0x4626 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x4628 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[22:14:07] [PASSED] 0x46B0 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46B1 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46B2 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46B3 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46C0 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46C1 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46C2 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46C3 (ALDERLAKE_P)
[22:14:07] [PASSED] 0x46D0 (ALDERLAKE_N)
[22:14:07] [PASSED] 0x46D1 (ALDERLAKE_N)
[22:14:07] [PASSED] 0x46D2 (ALDERLAKE_N)
[22:14:07] [PASSED] 0x46D3 (ALDERLAKE_N)
[22:14:07] [PASSED] 0x46D4 (ALDERLAKE_N)
[22:14:07] [PASSED] 0xA721 (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7A1 (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7A9 (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7AC (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7AD (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA720 (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7A0 (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7A8 (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7AA (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA7AB (ALDERLAKE_P)
[22:14:07] [PASSED] 0xA780 (ALDERLAKE_S)
[22:14:07] [PASSED] 0xA781 (ALDERLAKE_S)
[22:14:07] [PASSED] 0xA782 (ALDERLAKE_S)
[22:14:07] [PASSED] 0xA783 (ALDERLAKE_S)
[22:14:07] [PASSED] 0xA788 (ALDERLAKE_S)
[22:14:07] [PASSED] 0xA789 (ALDERLAKE_S)
[22:14:07] [PASSED] 0xA78A (ALDERLAKE_S)
[22:14:07] [PASSED] 0xA78B (ALDERLAKE_S)
[22:14:07] [PASSED] 0x4905 (DG1)
[22:14:07] [PASSED] 0x4906 (DG1)
[22:14:07] [PASSED] 0x4907 (DG1)
[22:14:07] [PASSED] 0x4908 (DG1)
[22:14:07] [PASSED] 0x4909 (DG1)
[22:14:07] [PASSED] 0x56C0 (DG2)
[22:14:07] [PASSED] 0x56C2 (DG2)
[22:14:07] [PASSED] 0x56C1 (DG2)
[22:14:07] [PASSED] 0x7D51 (METEORLAKE)
[22:14:07] [PASSED] 0x7DD1 (METEORLAKE)
[22:14:07] [PASSED] 0x7D41 (METEORLAKE)
[22:14:07] [PASSED] 0x7D67 (METEORLAKE)
[22:14:07] [PASSED] 0xB640 (METEORLAKE)
[22:14:07] [PASSED] 0x56A0 (DG2)
[22:14:07] [PASSED] 0x56A1 (DG2)
[22:14:07] [PASSED] 0x56A2 (DG2)
[22:14:07] [PASSED] 0x56BE (DG2)
[22:14:07] [PASSED] 0x56BF (DG2)
[22:14:07] [PASSED] 0x5690 (DG2)
[22:14:07] [PASSED] 0x5691 (DG2)
[22:14:07] [PASSED] 0x5692 (DG2)
[22:14:07] [PASSED] 0x56A5 (DG2)
[22:14:07] [PASSED] 0x56A6 (DG2)
[22:14:07] [PASSED] 0x56B0 (DG2)
[22:14:07] [PASSED] 0x56B1 (DG2)
[22:14:07] [PASSED] 0x56BA (DG2)
[22:14:07] [PASSED] 0x56BB (DG2)
[22:14:07] [PASSED] 0x56BC (DG2)
[22:14:07] [PASSED] 0x56BD (DG2)
[22:14:07] [PASSED] 0x5693 (DG2)
[22:14:07] [PASSED] 0x5694 (DG2)
[22:14:07] [PASSED] 0x5695 (DG2)
[22:14:07] [PASSED] 0x56A3 (DG2)
[22:14:07] [PASSED] 0x56A4 (DG2)
[22:14:07] [PASSED] 0x56B2 (DG2)
[22:14:07] [PASSED] 0x56B3 (DG2)
[22:14:07] [PASSED] 0x5696 (DG2)
[22:14:07] [PASSED] 0x5697 (DG2)
[22:14:07] [PASSED] 0xB69 (PVC)
[22:14:07] [PASSED] 0xB6E (PVC)
[22:14:07] [PASSED] 0xBD4 (PVC)
[22:14:07] [PASSED] 0xBD5 (PVC)
[22:14:07] [PASSED] 0xBD6 (PVC)
[22:14:07] [PASSED] 0xBD7 (PVC)
[22:14:07] [PASSED] 0xBD8 (PVC)
[22:14:07] [PASSED] 0xBD9 (PVC)
[22:14:07] [PASSED] 0xBDA (PVC)
[22:14:07] [PASSED] 0xBDB (PVC)
[22:14:07] [PASSED] 0xBE0 (PVC)
[22:14:07] [PASSED] 0xBE1 (PVC)
[22:14:07] [PASSED] 0xBE5 (PVC)
[22:14:07] [PASSED] 0x7D40 (METEORLAKE)
[22:14:07] [PASSED] 0x7D45 (METEORLAKE)
[22:14:07] [PASSED] 0x7D55 (METEORLAKE)
[22:14:07] [PASSED] 0x7D60 (METEORLAKE)
[22:14:07] [PASSED] 0x7DD5 (METEORLAKE)
[22:14:07] [PASSED] 0x6420 (LUNARLAKE)
[22:14:07] [PASSED] 0x64A0 (LUNARLAKE)
[22:14:07] [PASSED] 0x64B0 (LUNARLAKE)
[22:14:07] [PASSED] 0xE202 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE209 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE20B (BATTLEMAGE)
[22:14:07] [PASSED] 0xE20C (BATTLEMAGE)
[22:14:07] [PASSED] 0xE20D (BATTLEMAGE)
[22:14:07] [PASSED] 0xE210 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE211 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE212 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE216 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE220 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE221 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE222 (BATTLEMAGE)
[22:14:07] [PASSED] 0xE223 (BATTLEMAGE)
[22:14:07] [PASSED] 0xB080 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB081 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB082 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB083 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB084 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB085 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB086 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB087 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB08F (PANTHERLAKE)
[22:14:07] [PASSED] 0xB090 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB0A0 (PANTHERLAKE)
[22:14:07] [PASSED] 0xB0B0 (PANTHERLAKE)
[22:14:07] [PASSED] 0xFD80 (PANTHERLAKE)
[22:14:07] [PASSED] 0xFD81 (PANTHERLAKE)
[22:14:07] [PASSED] 0xD740 (NOVALAKE_S)
[22:14:07] [PASSED] 0xD741 (NOVALAKE_S)
[22:14:07] [PASSED] 0xD742 (NOVALAKE_S)
[22:14:07] [PASSED] 0xD743 (NOVALAKE_S)
[22:14:07] [PASSED] 0xD744 (NOVALAKE_S)
[22:14:07] [PASSED] 0xD745 (NOVALAKE_S)
[22:14:07] [PASSED] 0x674C (CRESCENTISLAND)
[22:14:07] =============== [PASSED] check_platform_desc ===============
[22:14:07] ===================== [PASSED] xe_pci ======================
[22:14:07] =================== xe_rtp (2 subtests) ====================
[22:14:07] =============== xe_rtp_process_to_sr_tests  ================
[22:14:07] [PASSED] coalesce-same-reg
[22:14:07] [PASSED] no-match-no-add
[22:14:07] [PASSED] match-or
[22:14:07] [PASSED] match-or-xfail
[22:14:07] [PASSED] no-match-no-add-multiple-rules
[22:14:07] [PASSED] two-regs-two-entries
[22:14:07] [PASSED] clr-one-set-other
[22:14:07] [PASSED] set-field
[22:14:07] [PASSED] conflict-duplicate
[22:14:07] [PASSED] conflict-not-disjoint
[22:14:07] [PASSED] conflict-reg-type
[22:14:07] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[22:14:07] ================== xe_rtp_process_tests  ===================
[22:14:07] [PASSED] active1
[22:14:07] [PASSED] active2
[22:14:07] [PASSED] active-inactive
[22:14:07] [PASSED] inactive-active
[22:14:07] [PASSED] inactive-1st_or_active-inactive
[22:14:07] [PASSED] inactive-2nd_or_active-inactive
[22:14:07] [PASSED] inactive-last_or_active-inactive
[22:14:07] [PASSED] inactive-no_or_active-inactive
[22:14:07] ============== [PASSED] xe_rtp_process_tests ===============
[22:14:07] ===================== [PASSED] xe_rtp ======================
[22:14:07] ==================== xe_wa (1 subtest) =====================
[22:14:07] ======================== xe_wa_gt  =========================
[22:14:07] [PASSED] TIGERLAKE B0
[22:14:07] [PASSED] DG1 A0
[22:14:07] [PASSED] DG1 B0
[22:14:07] [PASSED] ALDERLAKE_S A0
[22:14:07] [PASSED] ALDERLAKE_S B0
[22:14:07] [PASSED] ALDERLAKE_S C0
[22:14:07] [PASSED] ALDERLAKE_S D0
[22:14:07] [PASSED] ALDERLAKE_P A0
[22:14:07] [PASSED] ALDERLAKE_P B0
[22:14:07] [PASSED] ALDERLAKE_P C0
[22:14:07] [PASSED] ALDERLAKE_S RPLS D0
[22:14:07] [PASSED] ALDERLAKE_P RPLU E0
[22:14:07] [PASSED] DG2 G10 C0
[22:14:07] [PASSED] DG2 G11 B1
[22:14:07] [PASSED] DG2 G12 A1
[22:14:07] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[22:14:07] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[22:14:07] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[22:14:07] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[22:14:07] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[22:14:07] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[22:14:07] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[22:14:07] ==================== [PASSED] xe_wa_gt =====================
[22:14:07] ====================== [PASSED] xe_wa ======================
[22:14:07] ============================================================
[22:14:07] Testing complete. Ran 512 tests: passed: 494, skipped: 18
[22:14:07] Elapsed time: 36.125s total, 4.147s configuring, 31.461s building, 0.462s running

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

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

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



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

* ✓ Xe.CI.BAT: success for drm/xe: Manage nvm aux cleanup with devres
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
  2026-01-09 22:14 ` ✓ CI.KUnit: success for " Patchwork
@ 2026-01-09 22:51 ` Patchwork
  2026-01-10  3:27 ` ✓ Xe.CI.Full: " Patchwork
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2026-01-09 22:51 UTC (permalink / raw)
  To: Shuicheng Lin; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: Manage nvm aux cleanup with devres
URL   : https://patchwork.freedesktop.org/series/159900/
State : success

== Summary ==

CI Bug Log - changes from xe-4360-e956f80845230486226415d5176b9bc5f792aad4_BAT -> xe-pw-159900v1_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (12 -> 12)
------------------------------

  No changes in participating hosts

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

  Here are the changes found in xe-pw-159900v1_BAT that come from known issues:

### IGT changes ###

#### Possible fixes ####

  * igt@xe_waitfence@reltime:
    - bat-dg2-oem2:       [FAIL][1] ([Intel XE#6520]) -> [PASS][2]
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/bat-dg2-oem2/igt@xe_waitfence@reltime.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/bat-dg2-oem2/igt@xe_waitfence@reltime.html

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


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

  * Linux: xe-4360-e956f80845230486226415d5176b9bc5f792aad4 -> xe-pw-159900v1

  IGT_8694: 8694
  xe-4360-e956f80845230486226415d5176b9bc5f792aad4: e956f80845230486226415d5176b9bc5f792aad4
  xe-pw-159900v1: 159900v1

== Logs ==

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

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

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

* ✓ Xe.CI.Full: success for drm/xe: Manage nvm aux cleanup with devres
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
  2026-01-09 22:14 ` ✓ CI.KUnit: success for " Patchwork
  2026-01-09 22:51 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-01-10  3:27 ` Patchwork
  2026-01-13 16:11 ` [PATCH] " Lin, Shuicheng
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2026-01-10  3:27 UTC (permalink / raw)
  To: Shuicheng Lin; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: Manage nvm aux cleanup with devres
URL   : https://patchwork.freedesktop.org/series/159900/
State : success

== Summary ==

CI Bug Log - changes from xe-4360-e956f80845230486226415d5176b9bc5f792aad4_FULL -> xe-pw-159900v1_FULL
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts

New tests
---------

  New tests have been introduced between xe-4360-e956f80845230486226415d5176b9bc5f792aad4_FULL and xe-pw-159900v1_FULL:

### New IGT tests (6) ###

  * igt@kms_draw_crc@draw-method-blt@xbgr16161616f-4tiled:
    - Statuses : 1 pass(s)
    - Exec time: [0.20] s

  * igt@kms_draw_crc@draw-method-blt@xbgr16161616f-untiled:
    - Statuses : 1 pass(s)
    - Exec time: [0.38] s

  * igt@kms_draw_crc@draw-method-blt@xbgr16161616f-xtiled:
    - Statuses : 1 pass(s)
    - Exec time: [0.18] s

  * igt@kms_draw_crc@draw-method-mmap-wc@xbgr16161616f-4tiled:
    - Statuses : 1 pass(s)
    - Exec time: [0.22] s

  * igt@kms_draw_crc@draw-method-mmap-wc@xbgr16161616f-untiled:
    - Statuses : 1 pass(s)
    - Exec time: [0.35] s

  * igt@kms_draw_crc@draw-method-mmap-wc@xbgr16161616f-xtiled:
    - Statuses : 1 pass(s)
    - Exec time: [0.17] s

  

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

  Here are the changes found in xe-pw-159900v1_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
    - shard-bmg:          NOTRUN -> [SKIP][1] ([Intel XE#2233])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html

  * igt@kms_big_fb@4-tiled-16bpp-rotate-90:
    - shard-lnl:          NOTRUN -> [SKIP][2] ([Intel XE#1407])
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_big_fb@4-tiled-16bpp-rotate-90.html

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

  * igt@kms_big_fb@y-tiled-addfb:
    - shard-bmg:          NOTRUN -> [SKIP][4] ([Intel XE#2328])
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_big_fb@y-tiled-addfb.html

  * igt@kms_big_fb@y-tiled-addfb-size-overflow:
    - shard-bmg:          NOTRUN -> [SKIP][5] ([Intel XE#610])
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_big_fb@y-tiled-addfb-size-overflow.html

  * igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#1124]) +6 other tests skip
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_big_fb@yf-tiled-32bpp-rotate-0.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0:
    - shard-lnl:          NOTRUN -> [SKIP][7] ([Intel XE#1124])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0.html

  * igt@kms_bw@connected-linear-tiling-3-displays-2560x1440p:
    - shard-bmg:          NOTRUN -> [SKIP][8] ([Intel XE#2314] / [Intel XE#2894]) +1 other test skip
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_bw@connected-linear-tiling-3-displays-2560x1440p.html

  * igt@kms_bw@linear-tiling-4-displays-3840x2160p:
    - shard-bmg:          NOTRUN -> [SKIP][9] ([Intel XE#367]) +1 other test skip
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_bw@linear-tiling-4-displays-3840x2160p.html

  * igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#3432]) +2 other tests skip
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs.html

  * igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][11] ([Intel XE#2887]) +9 other tests skip
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs.html

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

  * igt@kms_chamelium_color@degamma:
    - shard-bmg:          NOTRUN -> [SKIP][13] ([Intel XE#2325])
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_chamelium_color@degamma.html

  * igt@kms_chamelium_edid@dp-edid-resolution-list:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#2252]) +5 other tests skip
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_chamelium_edid@dp-edid-resolution-list.html

  * igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats:
    - shard-lnl:          NOTRUN -> [SKIP][15] ([Intel XE#373])
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats.html

  * igt@kms_chamelium_sharpness_filter@filter-basic:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#6507])
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_chamelium_sharpness_filter@filter-basic.html

  * igt@kms_content_protection@atomic-hdcp14:
    - shard-bmg:          NOTRUN -> [FAIL][17] ([Intel XE#3304]) +1 other test fail
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_content_protection@atomic-hdcp14.html

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

  * igt@kms_content_protection@dp-mst-type-1:
    - shard-bmg:          NOTRUN -> [SKIP][19] ([Intel XE#2390])
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_content_protection@dp-mst-type-1.html

  * igt@kms_content_protection@lic-type-0:
    - shard-lnl:          NOTRUN -> [SKIP][20] ([Intel XE#3278])
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_content_protection@lic-type-0.html

  * igt@kms_cursor_crc@cursor-offscreen-128x42:
    - shard-bmg:          NOTRUN -> [SKIP][21] ([Intel XE#2320]) +4 other tests skip
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_cursor_crc@cursor-offscreen-128x42.html

  * igt@kms_cursor_crc@cursor-random-512x512:
    - shard-bmg:          NOTRUN -> [SKIP][22] ([Intel XE#2321])
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_cursor_crc@cursor-random-512x512.html

  * igt@kms_cursor_crc@cursor-sliding-512x170:
    - shard-lnl:          NOTRUN -> [SKIP][23] ([Intel XE#2321])
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_cursor_crc@cursor-sliding-512x170.html

  * igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size:
    - shard-lnl:          NOTRUN -> [SKIP][24] ([Intel XE#309])
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size.html

  * igt@kms_dirtyfb@drrs-dirtyfb-ioctl:
    - shard-bmg:          NOTRUN -> [SKIP][25] ([Intel XE#1508])
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_dirtyfb@drrs-dirtyfb-ioctl.html

  * igt@kms_dsc@dsc-fractional-bpp-with-bpc:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#2244])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_dsc@dsc-fractional-bpp-with-bpc.html

  * igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-out-visible-area:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#4422])
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-out-visible-area.html

  * igt@kms_fbcon_fbt@psr:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#776])
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_fbcon_fbt@psr.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
    - shard-lnl:          [PASS][29] -> [FAIL][30] ([Intel XE#301] / [Intel XE#3149])
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling:
    - shard-lnl:          NOTRUN -> [SKIP][31] ([Intel XE#1401] / [Intel XE#1745])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode:
    - shard-lnl:          NOTRUN -> [SKIP][32] ([Intel XE#1401])
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#2293] / [Intel XE#2380]) +1 other test skip
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling.html

  * igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling@pipe-a-valid-mode:
    - shard-bmg:          NOTRUN -> [SKIP][34] ([Intel XE#2293]) +1 other test skip
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling@pipe-a-valid-mode.html

  * igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-onoff:
    - shard-lnl:          NOTRUN -> [SKIP][35] ([Intel XE#651]) +2 other tests skip
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-onoff.html

  * igt@kms_frontbuffer_tracking@drrs-2p-primscrn-indfb-pgflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][36] ([Intel XE#2311]) +22 other tests skip
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-indfb-pgflip-blt.html

  * igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-shrfb-draw-blt:
    - shard-lnl:          NOTRUN -> [SKIP][37] ([Intel XE#656]) +4 other tests skip
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt:
    - shard-bmg:          NOTRUN -> [SKIP][38] ([Intel XE#4141]) +8 other tests skip
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-tiling-y:
    - shard-bmg:          NOTRUN -> [SKIP][39] ([Intel XE#2352])
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_frontbuffer_tracking@fbcdrrs-tiling-y.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][40] ([Intel XE#2313]) +19 other tests skip
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt.html

  * igt@kms_joiner@basic-ultra-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][41] ([Intel XE#6911])
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_joiner@basic-ultra-joiner.html

  * igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][42] ([Intel XE#2925])
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner.html

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

  * igt@kms_pipe_stress@stress-xrgb8888-yftiled:
    - shard-bmg:          NOTRUN -> [SKIP][44] ([Intel XE#6912])
   [44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_pipe_stress@stress-xrgb8888-yftiled.html

  * igt@kms_plane_multiple@2x-tiling-yf:
    - shard-bmg:          NOTRUN -> [SKIP][45] ([Intel XE#5021])
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_plane_multiple@2x-tiling-yf.html

  * igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-c:
    - shard-bmg:          NOTRUN -> [SKIP][46] ([Intel XE#6886]) +4 other tests skip
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-c.html

  * igt@kms_pm_dc@dc3co-vpb-simulation:
    - shard-bmg:          NOTRUN -> [SKIP][47] ([Intel XE#2391])
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_pm_dc@dc3co-vpb-simulation.html

  * igt@kms_pm_lpsp@kms-lpsp:
    - shard-bmg:          NOTRUN -> [SKIP][48] ([Intel XE#2499])
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_pm_lpsp@kms-lpsp.html

  * igt@kms_pm_rpm@dpms-mode-unset-non-lpsp:
    - shard-lnl:          NOTRUN -> [SKIP][49] ([Intel XE#1439] / [Intel XE#836])
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_pm_rpm@dpms-mode-unset-non-lpsp.html

  * igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf:
    - shard-lnl:          NOTRUN -> [SKIP][50] ([Intel XE#1406] / [Intel XE#2893] / [Intel XE#4608])
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf.html

  * igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf@pipe-b-edp-1:
    - shard-lnl:          NOTRUN -> [SKIP][51] ([Intel XE#1406] / [Intel XE#4608]) +1 other test skip
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-exceed-sf@pipe-b-edp-1.html

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

  * igt@kms_psr@pr-no-drrs:
    - shard-bmg:          NOTRUN -> [SKIP][53] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +9 other tests skip
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_psr@pr-no-drrs.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-90:
    - shard-bmg:          NOTRUN -> [SKIP][54] ([Intel XE#3414] / [Intel XE#3904])
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_rotation_crc@primary-y-tiled-reflect-x-90.html

  * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
    - shard-bmg:          NOTRUN -> [SKIP][55] ([Intel XE#2330])
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0.html

  * igt@kms_setmode@basic:
    - shard-bmg:          [PASS][56] -> [FAIL][57] ([Intel XE#6361]) +2 other tests fail
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-1/igt@kms_setmode@basic.html
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-2/igt@kms_setmode@basic.html

  * igt@kms_sharpness_filter@filter-basic:
    - shard-bmg:          NOTRUN -> [SKIP][58] ([Intel XE#6503]) +1 other test skip
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_sharpness_filter@filter-basic.html

  * igt@kms_vrr@flip-suspend:
    - shard-bmg:          NOTRUN -> [SKIP][59] ([Intel XE#1499]) +1 other test skip
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@kms_vrr@flip-suspend.html

  * igt@xe_compute@eu-busy-10s:
    - shard-bmg:          NOTRUN -> [SKIP][60] ([Intel XE#6599])
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_compute@eu-busy-10s.html

  * igt@xe_eudebug@basic-vm-bind-metadata-discovery:
    - shard-bmg:          NOTRUN -> [SKIP][61] ([Intel XE#4837]) +4 other tests skip
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_eudebug@basic-vm-bind-metadata-discovery.html

  * igt@xe_eudebug_online@interrupt-other:
    - shard-lnl:          NOTRUN -> [SKIP][62] ([Intel XE#4837] / [Intel XE#6665])
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_eudebug_online@interrupt-other.html

  * igt@xe_eudebug_online@pagefault-write-stress:
    - shard-bmg:          NOTRUN -> [SKIP][63] ([Intel XE#6665] / [Intel XE#6681])
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_eudebug_online@pagefault-write-stress.html

  * igt@xe_eudebug_online@set-breakpoint-faultable:
    - shard-bmg:          NOTRUN -> [SKIP][64] ([Intel XE#4837] / [Intel XE#6665]) +2 other tests skip
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@xe_eudebug_online@set-breakpoint-faultable.html

  * igt@xe_eudebug_sriov@deny-sriov:
    - shard-bmg:          NOTRUN -> [SKIP][65] ([Intel XE#5793])
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@xe_eudebug_sriov@deny-sriov.html

  * igt@xe_exec_basic@multigpu-once-basic:
    - shard-lnl:          NOTRUN -> [SKIP][66] ([Intel XE#1392]) +2 other tests skip
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_exec_basic@multigpu-once-basic.html

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

  * igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem:
    - shard-bmg:          NOTRUN -> [SKIP][68] ([Intel XE#6874]) +21 other tests skip
   [68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_exec_multi_queue@few-execs-preempt-mode-close-fd-smem.html

  * igt@xe_exec_multi_queue@few-execs-userptr:
    - shard-lnl:          NOTRUN -> [SKIP][69] ([Intel XE#6874]) +3 other tests skip
   [69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_exec_multi_queue@few-execs-userptr.html

  * igt@xe_exec_system_allocator@many-64k-mmap-new-huge-nomemset:
    - shard-bmg:          NOTRUN -> [SKIP][70] ([Intel XE#5007])
   [70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_exec_system_allocator@many-64k-mmap-new-huge-nomemset.html

  * igt@xe_exec_system_allocator@many-large-execqueues-malloc-prefetch-madvise:
    - shard-lnl:          NOTRUN -> [WARN][71] ([Intel XE#5786])
   [71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_exec_system_allocator@many-large-execqueues-malloc-prefetch-madvise.html

  * igt@xe_exec_system_allocator@once-mmap-free-huge:
    - shard-lnl:          NOTRUN -> [SKIP][72] ([Intel XE#4943])
   [72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_exec_system_allocator@once-mmap-free-huge.html

  * igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-free-huge:
    - shard-bmg:          NOTRUN -> [SKIP][73] ([Intel XE#4943]) +14 other tests skip
   [73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-free-huge.html

  * igt@xe_mmap@small-bar:
    - shard-lnl:          NOTRUN -> [SKIP][74] ([Intel XE#512])
   [74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_mmap@small-bar.html

  * igt@xe_module_load@force-load:
    - shard-bmg:          NOTRUN -> [SKIP][75] ([Intel XE#2457])
   [75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_module_load@force-load.html

  * igt@xe_multigpu_svm@mgpu-atomic-op-basic:
    - shard-lnl:          NOTRUN -> [SKIP][76] ([Intel XE#6964])
   [76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_multigpu_svm@mgpu-atomic-op-basic.html

  * igt@xe_multigpu_svm@mgpu-xgpu-access-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][77] ([Intel XE#6964]) +1 other test skip
   [77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_multigpu_svm@mgpu-xgpu-access-prefetch.html

  * igt@xe_pat@pat-index-xelpg:
    - shard-lnl:          NOTRUN -> [SKIP][78] ([Intel XE#979])
   [78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_pat@pat-index-xelpg.html

  * igt@xe_peer2peer@write:
    - shard-bmg:          NOTRUN -> [SKIP][79] ([Intel XE#2427] / [Intel XE#6953])
   [79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_peer2peer@write.html

  * igt@xe_pm@d3cold-mocs:
    - shard-bmg:          NOTRUN -> [SKIP][80] ([Intel XE#2284])
   [80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_pm@d3cold-mocs.html

  * igt@xe_pxp@regular-src-to-pxp-dest-rendercopy:
    - shard-bmg:          NOTRUN -> [SKIP][81] ([Intel XE#4733])
   [81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_pxp@regular-src-to-pxp-dest-rendercopy.html

  * igt@xe_query@multigpu-query-hwconfig:
    - shard-bmg:          NOTRUN -> [SKIP][82] ([Intel XE#944]) +2 other tests skip
   [82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@xe_query@multigpu-query-hwconfig.html

  * igt@xe_sriov_flr@flr-vf1-clear:
    - shard-lnl:          NOTRUN -> [SKIP][83] ([Intel XE#3342])
   [83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-7/igt@xe_sriov_flr@flr-vf1-clear.html

  * igt@xe_sriov_flr@flr-vfs-parallel:
    - shard-bmg:          NOTRUN -> [FAIL][84] ([Intel XE#6569]) +1 other test fail
   [84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_sriov_flr@flr-vfs-parallel.html

  
#### Possible fixes ####

  * igt@kms_flip@2x-flip-vs-expired-vblank@bc-dp2-hdmi-a3:
    - shard-bmg:          [FAIL][85] -> [PASS][86] +1 other test pass
   [85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-10/igt@kms_flip@2x-flip-vs-expired-vblank@bc-dp2-hdmi-a3.html
   [86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@kms_flip@2x-flip-vs-expired-vblank@bc-dp2-hdmi-a3.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
    - shard-lnl:          [FAIL][87] ([Intel XE#301]) -> [PASS][88]
   [87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
   [88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html

  * igt@xe_module_load@load:
    - shard-bmg:          ([PASS][89], [PASS][90], [PASS][91], [PASS][92], [PASS][93], [PASS][94], [PASS][95], [PASS][96], [PASS][97], [PASS][98], [PASS][99], [PASS][100], [PASS][101], [SKIP][102]) ([Intel XE#2457]) -> ([PASS][103], [PASS][104], [PASS][105], [PASS][106], [PASS][107], [PASS][108], [PASS][109], [PASS][110], [PASS][111], [PASS][112], [PASS][113], [PASS][114], [PASS][115])
   [89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-3/igt@xe_module_load@load.html
   [90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-3/igt@xe_module_load@load.html
   [91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-3/igt@xe_module_load@load.html
   [92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-10/igt@xe_module_load@load.html
   [93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-10/igt@xe_module_load@load.html
   [94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-1/igt@xe_module_load@load.html
   [95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-1/igt@xe_module_load@load.html
   [96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-1/igt@xe_module_load@load.html
   [97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-9/igt@xe_module_load@load.html
   [98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-9/igt@xe_module_load@load.html
   [99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-9/igt@xe_module_load@load.html
   [100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-2/igt@xe_module_load@load.html
   [101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-2/igt@xe_module_load@load.html
   [102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-2/igt@xe_module_load@load.html
   [103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@xe_module_load@load.html
   [104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-3/igt@xe_module_load@load.html
   [105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-2/igt@xe_module_load@load.html
   [106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-2/igt@xe_module_load@load.html
   [107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-10/igt@xe_module_load@load.html
   [108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-2/igt@xe_module_load@load.html
   [109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_module_load@load.html
   [110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-1/igt@xe_module_load@load.html
   [111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-10/igt@xe_module_load@load.html
   [112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-10/igt@xe_module_load@load.html
   [113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_module_load@load.html
   [114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-9/igt@xe_module_load@load.html
   [115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-1/igt@xe_module_load@load.html

  
#### Warnings ####

  * igt@kms_flip@flip-vs-expired-vblank-interruptible:
    - shard-lnl:          [FAIL][116] ([Intel XE#301]) -> [FAIL][117] ([Intel XE#301] / [Intel XE#3149])
   [116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
   [117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible.html

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          [SKIP][118] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][119] ([Intel XE#3544])
   [118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4360-e956f80845230486226415d5176b9bc5f792aad4/shard-bmg-1/igt@kms_hdr@brightness-with-hdr.html
   [119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v1/shard-bmg-2/igt@kms_hdr@brightness-with-hdr.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
  [Intel XE#1401]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1401
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
  [Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
  [Intel XE#1508]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1508
  [Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
  [Intel XE#2233]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2233
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
  [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#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2328
  [Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
  [Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
  [Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
  [Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
  [Intel XE#2391]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2391
  [Intel XE#2427]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2427
  [Intel XE#2457]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2457
  [Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
  [Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
  [Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
  [Intel XE#2925]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2925
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3278]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3278
  [Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
  [Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
  [Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
  [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#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
  [Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
  [Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
  [Intel XE#5007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5007
  [Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
  [Intel XE#512]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/512
  [Intel XE#5786]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5786
  [Intel XE#5793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5793
  [Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
  [Intel XE#6361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6361
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#6507]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6507
  [Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
  [Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
  [Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
  [Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
  [Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
  [Intel XE#6681]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6681
  [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
  [Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
  [Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
  [Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
  [Intel XE#6953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6953
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
  [Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
  [Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
  [Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979


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

  * Linux: xe-4360-e956f80845230486226415d5176b9bc5f792aad4 -> xe-pw-159900v1

  IGT_8694: 8694
  xe-4360-e956f80845230486226415d5176b9bc5f792aad4: e956f80845230486226415d5176b9bc5f792aad4
  xe-pw-159900v1: 159900v1

== Logs ==

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

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

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

* RE: [PATCH] drm/xe: Manage nvm aux cleanup with devres
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (2 preceding siblings ...)
  2026-01-10  3:27 ` ✓ Xe.CI.Full: " Patchwork
@ 2026-01-13 16:11 ` Lin, Shuicheng
  2026-01-15 11:30 ` Usyskin, Alexander
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 30+ messages in thread
From: Lin, Shuicheng @ 2026-01-13 16:11 UTC (permalink / raw)
  To: intel-xe@lists.freedesktop.org
  Cc: Usyskin, Alexander, Vivi, Rodrigo, Tauro, Riana

Hi all,
Could you please help me review it and share me your thoughts?
Thanks.

Best Regards
Shuicheng

On Fri, Jan 9, 2026 2:00 PM Shuicheng Lin wrote:
> Move nvm teardown to a devm-managed action registered from
> xe_nvm_init().
> This ensures the auxiliary NVM device is deleted on probe failure and device
> detach without requiring explicit calls from remove paths.
> 
> As part of this, drop xe_nvm_fini() from xe_device_remove() and from the
> survivability sysfs teardown, and remove the public xe_nvm_fini() API from
> the header.
> 
> This is to fix below warn message when there is probe failure after
> xe_nvm_init(), then xe_device_probe() is called again:
> "
> [  207.318152] sysfs: cannot create duplicate filename
> '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:0
> 0.0/xe.nvm.768'
> [  207.318157] CPU: 5 UID: 0 PID: 10261 Comm: modprobe Tainted: G    B   W
> 6.19.0-rc2-lgci-xe-kernel+ #223 PREEMPT(voluntary)
> [  207.318160] Tainted: [B]=BAD_PAGE, [W]=WARN [  207.318161] Hardware
> name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812
> 02/24/2023 [  207.318163] Call Trace:
> [  207.318163]  <TASK>
> [  207.318165]  dump_stack_lvl+0xa0/0xc0 [  207.318170]
> dump_stack+0x10/0x20 [  207.318171]  sysfs_warn_dup+0xd5/0x110
> [  207.318175]  sysfs_create_dir_ns+0x1f6/0x280 [  207.318177]  ?
> __pfx_sysfs_create_dir_ns+0x10/0x10
> [  207.318179]  ? lock_acquire+0x1a4/0x2e0 [  207.318182]  ?
> __kasan_check_read+0x11/0x20 [  207.318185]  ?
> do_raw_spin_unlock+0x5c/0x240 [  207.318187]
> kobject_add_internal+0x28d/0x8e0 [  207.318189]
> kobject_add+0x11f/0x1f0 [  207.318191]  ? __pfx_kobject_add+0x10/0x10
> [  207.318193]  ? lockdep_init_map_type+0x4b/0x230 [  207.318195]  ?
> get_device_parent.isra.0+0x43/0x4c0
> [  207.318197]  ? kobject_get+0x55/0xf0
> [  207.318199]  device_add+0x2d7/0x1500
> [  207.318201]  ? __pfx_device_add+0x10/0x10 [  207.318203]  ?
> lockdep_init_map_type+0x4b/0x230 [  207.318205]
> __auxiliary_device_add+0x99/0x140 [  207.318208]
> xe_nvm_init+0x7a2/0xef0 [xe] [  207.318333]  ?
> xe_devcoredump_init+0x80/0x110 [xe] [  207.318452]  ?
> __devm_add_action+0x82/0xc0 [  207.318454]  ?
> fs_reclaim_release+0xc0/0x110 [  207.318457]
> xe_device_probe+0x17dd/0x2c40 [xe] [  207.318574]  ?
> __pfx___drm_dev_dbg+0x10/0x10 [  207.318576]  ? add_dr+0x180/0x220
> [  207.318579]  ? __pfx___drmm_mutex_release+0x10/0x10
> [  207.318582]  ? __pfx_xe_device_probe+0x10/0x10 [xe] [  207.318697]  ?
> xe_pm_init_early+0x33a/0x410 [xe] [  207.318850]
> xe_pci_probe+0x936/0x1250 [xe] [  207.318999]  ?
> lock_acquire+0x1a4/0x2e0 [  207.319003]  ? __pfx_xe_pci_probe+0x10/0x10
> [xe] [  207.319151]  local_pci_probe+0xe6/0x1a0 [  207.319154]
> pci_device_probe+0x523/0x840 [  207.319157]  ?
> __pfx_pci_device_probe+0x10/0x10 [  207.319159]  ?
> sysfs_do_create_link_sd.isra.0+0x8c/0x110
> [  207.319162]  ? sysfs_create_link+0x48/0xc0 ...
> "
> 
> Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory device")
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_device.c             |  2 -
>  drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
>  drivers/gpu/drm/xe/xe_nvm.h                |  2 -
>  drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
>  4 files changed, 22 insertions(+), 29 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index 329d17fd6100..e08d95554f2a 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -1068,8 +1068,6 @@ void xe_device_remove(struct xe_device *xe)  {
>  	xe_display_unregister(xe);
> 
> -	xe_nvm_fini(xe);
> -
>  	drm_dev_unplug(&xe->drm);
> 
>  	xe_bo_pci_dev_remove_all(xe);
> diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
> index 01510061d4d4..1202a7abc46f 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.c
> +++ b/drivers/gpu/drm/xe/xe_nvm.c
> @@ -95,6 +95,27 @@ static bool xe_nvm_writable_override(struct xe_device
> *xe)
>  	return writable_override;
>  }
> 
> +static void xe_nvm_fini(void *arg)
> +{
> +	struct xe_device *xe = arg;
> +	struct intel_dg_nvm_dev *nvm = xe->nvm;
> +
> +	if (!xe->info.has_gsc_nvm)
> +		return;
> +
> +	/* No access to internal NVM from VFs */
> +	if (IS_SRIOV_VF(xe))
> +		return;
> +
> +	/* Nvm pointer should not be NULL here */
> +	if (WARN_ON(!nvm))
> +		return;
> +
> +	auxiliary_device_delete(&nvm->aux_dev);
> +	auxiliary_device_uninit(&nvm->aux_dev);
> +	xe->nvm = NULL;
> +}
> +
>  int xe_nvm_init(struct xe_device *xe)
>  {
>  	struct pci_dev *pdev = to_pci_dev(xe->drm.dev); @@ -153,30
> +174,10 @@ int xe_nvm_init(struct xe_device *xe)
>  		auxiliary_device_uninit(aux_dev);
>  		goto err;
>  	}
> -	return 0;
> +	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> 
>  err:
>  	kfree(nvm);
>  	xe->nvm = NULL;
>  	return ret;
>  }
> -
> -void xe_nvm_fini(struct xe_device *xe)
> -{
> -	struct intel_dg_nvm_dev *nvm = xe->nvm;
> -
> -	if (!xe->info.has_gsc_nvm)
> -		return;
> -
> -	/* No access to internal NVM from VFs */
> -	if (IS_SRIOV_VF(xe))
> -		return;
> -
> -	/* Nvm pointer should not be NULL here */
> -	if (WARN_ON(!nvm))
> -		return;
> -
> -	auxiliary_device_delete(&nvm->aux_dev);
> -	auxiliary_device_uninit(&nvm->aux_dev);
> -	xe->nvm = NULL;
> -}
> diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h
> index 7f3d5f57bed0..fd3467ad35a4 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.h
> +++ b/drivers/gpu/drm/xe/xe_nvm.h
> @@ -10,6 +10,4 @@ struct xe_device;
> 
>  int xe_nvm_init(struct xe_device *xe);
> 
> -void xe_nvm_fini(struct xe_device *xe);
> -
>  #endif
> diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c
> b/drivers/gpu/drm/xe/xe_survivability_mode.c
> index 31456f432fc8..ff406e9a82cb 100644
> --- a/drivers/gpu/drm/xe/xe_survivability_mode.c
> +++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
> @@ -234,13 +234,9 @@ static SURVIVABILITY_ATTR_RO(fdo_mode,
> FDO_INFO);  static void xe_survivability_mode_fini(void *arg)  {
>  	struct xe_device *xe = arg;
> -	struct xe_survivability *survivability = &xe->survivability;
>  	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
>  	struct device *dev = &pdev->dev;
> 
> -	if (survivability->fdo_mode)
> -		xe_nvm_fini(xe);
> -
>  	device_remove_file(dev, &dev_attr_survivability_mode);  }
> 
> --
> 2.50.1


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

* RE: [PATCH] drm/xe: Manage nvm aux cleanup with devres
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (3 preceding siblings ...)
  2026-01-13 16:11 ` [PATCH] " Lin, Shuicheng
@ 2026-01-15 11:30 ` Usyskin, Alexander
  2026-01-16 18:05 ` Nguyen, Brian3
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 30+ messages in thread
From: Usyskin, Alexander @ 2026-01-15 11:30 UTC (permalink / raw)
  To: Lin, Shuicheng, intel-xe@lists.freedesktop.org
  Cc: Vivi, Rodrigo, Tauro, Riana

> Subject: [PATCH] drm/xe: Manage nvm aux cleanup with devres
> 
> Move nvm teardown to a devm-managed action registered from
> xe_nvm_init().
> This ensures the auxiliary NVM device is deleted on probe failure and
> device detach without requiring explicit calls from remove paths.
> 
> As part of this, drop xe_nvm_fini() from xe_device_remove() and from the
> survivability sysfs teardown, and remove the public xe_nvm_fini() API from
> the header.
> 
...

Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>

But you need also review from someone with better understanding of Xe internals.

> 
> Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory device")
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_device.c             |  2 -
>  drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
>  drivers/gpu/drm/xe/xe_nvm.h                |  2 -
>  drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
>  4 files changed, 22 insertions(+), 29 deletions(-)
>...

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

* RE: [PATCH] drm/xe: Manage nvm aux cleanup with devres
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (4 preceding siblings ...)
  2026-01-15 11:30 ` Usyskin, Alexander
@ 2026-01-16 18:05 ` Nguyen, Brian3
  2026-01-16 18:44   ` Lin, Shuicheng
  2026-01-16 21:40 ` [PATCH 0/2] Fix nvm aux resource cleanup Shuicheng Lin
                   ` (5 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Nguyen, Brian3 @ 2026-01-16 18:05 UTC (permalink / raw)
  To: Lin, Shuicheng, intel-xe@lists.freedesktop.org
  Cc: Lin, Shuicheng, Usyskin, Alexander, Vivi, Rodrigo, Tauro, Riana

On Friday, January 9, 2026 2:00 PM, Shuicheng Lin wrote:
> Move nvm teardown to a devm-managed action registered from xe_nvm_init().
> This ensures the auxiliary NVM device is deleted on probe failure and device detach without requiring explicit calls from remove paths.
> 
> As part of this, drop xe_nvm_fini() from xe_device_remove() and from the survivability sysfs teardown, and remove the public
> xe_nvm_fini() API from the header.
> 
> This is to fix below warn message when there is probe failure after xe_nvm_init(), then xe_device_probe() is called again:
> "
> [  207.318152] sysfs: cannot create duplicate filename
> '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/xe.nvm.768'
> [  207.318157] CPU: 5 UID: 0 PID: 10261 Comm: modprobe Tainted: G    B   W           6.19.0-rc2-lgci-xe-kernel+ #223 PREEMPT(voluntary)
> [  207.318160] Tainted: [B]=BAD_PAGE, [W]=WARN [  207.318161] Hardware name: ASUS System Product Name/PRIME Z790-P WIFI,
> BIOS 0812 02/24/2023 [  207.318163] Call Trace:
> [  207.318163]  <TASK>
> [  207.318165]  dump_stack_lvl+0xa0/0xc0 [  207.318170]  dump_stack+0x10/0x20 [  207.318171]  sysfs_warn_dup+0xd5/0x110 [
> 207.318175]  sysfs_create_dir_ns+0x1f6/0x280 [  207.318177]  ? __pfx_sysfs_create_dir_ns+0x10/0x10
> [  207.318179]  ? lock_acquire+0x1a4/0x2e0 [  207.318182]  ? __kasan_check_read+0x11/0x20 [  207.318185]  ?
> do_raw_spin_unlock+0x5c/0x240 [  207.318187]  kobject_add_internal+0x28d/0x8e0 [  207.318189]  kobject_add+0x11f/0x1f0 [
> 207.318191]  ? __pfx_kobject_add+0x10/0x10 [  207.318193]  ? lockdep_init_map_type+0x4b/0x230 [  207.318195]  ?
> get_device_parent.isra.0+0x43/0x4c0
> [  207.318197]  ? kobject_get+0x55/0xf0
> [  207.318199]  device_add+0x2d7/0x1500
> [  207.318201]  ? __pfx_device_add+0x10/0x10 [  207.318203]  ? lockdep_init_map_type+0x4b/0x230 [  207.318205]
> __auxiliary_device_add+0x99/0x140 [  207.318208]  xe_nvm_init+0x7a2/0xef0 [xe] [  207.318333]  ? xe_devcoredump_init+0x80/0x110
> [xe] [  207.318452]  ? __devm_add_action+0x82/0xc0 [  207.318454]  ? fs_reclaim_release+0xc0/0x110 [  207.318457]
> xe_device_probe+0x17dd/0x2c40 [xe] [  207.318574]  ? __pfx___drm_dev_dbg+0x10/0x10 [  207.318576]  ? add_dr+0x180/0x220 [
> 207.318579]  ? __pfx___drmm_mutex_release+0x10/0x10
> [  207.318582]  ? __pfx_xe_device_probe+0x10/0x10 [xe] [  207.318697]  ? xe_pm_init_early+0x33a/0x410 [xe] [  207.318850]
> xe_pci_probe+0x936/0x1250 [xe] [  207.318999]  ? lock_acquire+0x1a4/0x2e0 [  207.319003]  ? __pfx_xe_pci_probe+0x10/0x10 [xe] [
> 207.319151]  local_pci_probe+0xe6/0x1a0 [  207.319154]  pci_device_probe+0x523/0x840 [  207.319157]  ?
> __pfx_pci_device_probe+0x10/0x10 [  207.319159]  ? sysfs_do_create_link_sd.isra.0+0x8c/0x110
> [  207.319162]  ? sysfs_create_link+0x48/0xc0 ...
> "
> 
> Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory device")
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Riana Tauro <riana.tauro@intel.com>
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>

QQ unrelated to this particular patch below, so RB

Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>

> ---
>  drivers/gpu/drm/xe/xe_device.c             |  2 -
>  drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
>  drivers/gpu/drm/xe/xe_nvm.h                |  2 -
>  drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
>  4 files changed, 22 insertions(+), 29 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c index 329d17fd6100..e08d95554f2a 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -1068,8 +1068,6 @@ void xe_device_remove(struct xe_device *xe)  {
>  	xe_display_unregister(xe);
> 
> -	xe_nvm_fini(xe);
> -
>  	drm_dev_unplug(&xe->drm);
> 
>  	xe_bo_pci_dev_remove_all(xe);
> diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c index 01510061d4d4..1202a7abc46f 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.c
> +++ b/drivers/gpu/drm/xe/xe_nvm.c
> @@ -95,6 +95,27 @@ static bool xe_nvm_writable_override(struct xe_device *xe)
>  	return writable_override;
>  }
> 
> +static void xe_nvm_fini(void *arg)
> +{
> +	struct xe_device *xe = arg;
> +	struct intel_dg_nvm_dev *nvm = xe->nvm;
> +
> +	if (!xe->info.has_gsc_nvm)
> +		return;
> +
> +	/* No access to internal NVM from VFs */
> +	if (IS_SRIOV_VF(xe))
> +		return;
> +
> +	/* Nvm pointer should not be NULL here */
> +	if (WARN_ON(!nvm))
> +		return;
> +
> +	auxiliary_device_delete(&nvm->aux_dev);
> +	auxiliary_device_uninit(&nvm->aux_dev);
> +	xe->nvm = NULL;
> +}
> +
>  int xe_nvm_init(struct xe_device *xe)
>  {
>  	struct pci_dev *pdev = to_pci_dev(xe->drm.dev); @@ -153,30 +174,10 @@ int xe_nvm_init(struct xe_device *xe)
>  		auxiliary_device_uninit(aux_dev);

Performing uninit here would kfree xe->nvm already, so having the additional kfree seems wrong? Unless this
uninit doesn't properly call the release dev function until auxiliary_device_add has finished executing but quick look
doesn't show that to be the case. Am I missing something here?

Thanks,
Brian

>  		goto err;
>  	}
> -	return 0;
> +	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> 
>  err:
>  	kfree(nvm);
>  	xe->nvm = NULL;
>  	return ret;
>  }
> -
> -void xe_nvm_fini(struct xe_device *xe)
> -{
> -	struct intel_dg_nvm_dev *nvm = xe->nvm;
> -
> -	if (!xe->info.has_gsc_nvm)
> -		return;
> -
> -	/* No access to internal NVM from VFs */
> -	if (IS_SRIOV_VF(xe))
> -		return;
> -
> -	/* Nvm pointer should not be NULL here */
> -	if (WARN_ON(!nvm))
> -		return;
> -
> -	auxiliary_device_delete(&nvm->aux_dev);
> -	auxiliary_device_uninit(&nvm->aux_dev);
> -	xe->nvm = NULL;
> -}
> diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h index 7f3d5f57bed0..fd3467ad35a4 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.h
> +++ b/drivers/gpu/drm/xe/xe_nvm.h
> @@ -10,6 +10,4 @@ struct xe_device;
> 
>  int xe_nvm_init(struct xe_device *xe);
> 
> -void xe_nvm_fini(struct xe_device *xe);
> -
>  #endif
> diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
> index 31456f432fc8..ff406e9a82cb 100644
> --- a/drivers/gpu/drm/xe/xe_survivability_mode.c
> +++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
> @@ -234,13 +234,9 @@ static SURVIVABILITY_ATTR_RO(fdo_mode, FDO_INFO);  static void xe_survivability_mode_fini(void *arg)  {
>  	struct xe_device *xe = arg;
> -	struct xe_survivability *survivability = &xe->survivability;
>  	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
>  	struct device *dev = &pdev->dev;
> 
> -	if (survivability->fdo_mode)
> -		xe_nvm_fini(xe);
> -
>  	device_remove_file(dev, &dev_attr_survivability_mode);  }
> 
> --
> 2.50.1


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

* RE: [PATCH] drm/xe: Manage nvm aux cleanup with devres
  2026-01-16 18:05 ` Nguyen, Brian3
@ 2026-01-16 18:44   ` Lin, Shuicheng
  0 siblings, 0 replies; 30+ messages in thread
From: Lin, Shuicheng @ 2026-01-16 18:44 UTC (permalink / raw)
  To: Nguyen, Brian3, intel-xe@lists.freedesktop.org
  Cc: Usyskin, Alexander, Vivi, Rodrigo, Tauro, Riana

On Fri, Jan 16, 2026 10:05 AM Brian3 Nguyen wrote:
> On Friday, January 9, 2026 2:00 PM, Shuicheng Lin wrote:
> > Move nvm teardown to a devm-managed action registered from xe_nvm_init().
> > This ensures the auxiliary NVM device is deleted on probe failure and device
> detach without requiring explicit calls from remove paths.
> >
> > As part of this, drop xe_nvm_fini() from xe_device_remove() and from
> > the survivability sysfs teardown, and remove the public
> > xe_nvm_fini() API from the header.
> >
> > This is to fix below warn message when there is probe failure after
> xe_nvm_init(), then xe_device_probe() is called again:
> > "
> > [  207.318152] sysfs: cannot create duplicate filename
> >
> '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/xe
> .nvm.768'
> > [  207.318157] CPU: 5 UID: 0 PID: 10261 Comm: modprobe Tainted: G    B   W
> 6.19.0-rc2-lgci-xe-kernel+ #223 PREEMPT(voluntary)
> > [  207.318160] Tainted: [B]=BAD_PAGE, [W]=WARN [  207.318161] Hardware
> > name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812 02/24/2023
> [  207.318163] Call Trace:
> > [  207.318163]  <TASK>
> > [  207.318165]  dump_stack_lvl+0xa0/0xc0 [  207.318170]
> > dump_stack+0x10/0x20 [  207.318171]  sysfs_warn_dup+0xd5/0x110 [
> > 207.318175]  sysfs_create_dir_ns+0x1f6/0x280 [  207.318177]  ?
> > __pfx_sysfs_create_dir_ns+0x10/0x10
> > [  207.318179]  ? lock_acquire+0x1a4/0x2e0 [  207.318182]  ?
> __kasan_check_read+0x11/0x20 [  207.318185]  ?
> > do_raw_spin_unlock+0x5c/0x240 [  207.318187]
> > kobject_add_internal+0x28d/0x8e0 [  207.318189]  kobject_add+0x11f/0x1f0
> [ 207.318191]  ? __pfx_kobject_add+0x10/0x10 [  207.318193]  ?
> lockdep_init_map_type+0x4b/0x230 [  207.318195]  ?
> > get_device_parent.isra.0+0x43/0x4c0
> > [  207.318197]  ? kobject_get+0x55/0xf0 [  207.318199]
> > device_add+0x2d7/0x1500 [  207.318201]  ? __pfx_device_add+0x10/0x10 [
> > 207.318203]  ? lockdep_init_map_type+0x4b/0x230 [  207.318205]
> > __auxiliary_device_add+0x99/0x140 [  207.318208]
> > xe_nvm_init+0x7a2/0xef0 [xe] [  207.318333]  ?
> > xe_devcoredump_init+0x80/0x110 [xe] [  207.318452]  ?
> > __devm_add_action+0x82/0xc0 [  207.318454]  ?
> > fs_reclaim_release+0xc0/0x110 [  207.318457]
> > xe_device_probe+0x17dd/0x2c40 [xe] [  207.318574]  ?
> > __pfx___drm_dev_dbg+0x10/0x10 [  207.318576]  ? add_dr+0x180/0x220 [
> > 207.318579]  ? __pfx___drmm_mutex_release+0x10/0x10
> > [  207.318582]  ? __pfx_xe_device_probe+0x10/0x10 [xe] [  207.318697]
> > ? xe_pm_init_early+0x33a/0x410 [xe] [  207.318850]
> > xe_pci_probe+0x936/0x1250 [xe] [  207.318999]  ?
> > lock_acquire+0x1a4/0x2e0 [  207.319003]  ? __pfx_xe_pci_probe+0x10/0x10
> [xe] [ 207.319151]  local_pci_probe+0xe6/0x1a0 [  207.319154]
> pci_device_probe+0x523/0x840 [  207.319157]  ?
> > __pfx_pci_device_probe+0x10/0x10 [  207.319159]  ?
> > sysfs_do_create_link_sd.isra.0+0x8c/0x110
> > [  207.319162]  ? sysfs_create_link+0x48/0xc0 ...
> > "
> >
> > Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory
> > device")
> > Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > Cc: Riana Tauro <riana.tauro@intel.com>
> > Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> 
> QQ unrelated to this particular patch below, so RB
> 
> Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
> 
> > ---
> >  drivers/gpu/drm/xe/xe_device.c             |  2 -
> >  drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
> >  drivers/gpu/drm/xe/xe_nvm.h                |  2 -
> >  drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
> >  4 files changed, 22 insertions(+), 29 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/xe/xe_device.c
> > b/drivers/gpu/drm/xe/xe_device.c index 329d17fd6100..e08d95554f2a
> > 100644
> > --- a/drivers/gpu/drm/xe/xe_device.c
> > +++ b/drivers/gpu/drm/xe/xe_device.c
> > @@ -1068,8 +1068,6 @@ void xe_device_remove(struct xe_device *xe)  {
> >  	xe_display_unregister(xe);
> >
> > -	xe_nvm_fini(xe);
> > -
> >  	drm_dev_unplug(&xe->drm);
> >
> >  	xe_bo_pci_dev_remove_all(xe);
> > diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
> > index 01510061d4d4..1202a7abc46f 100644
> > --- a/drivers/gpu/drm/xe/xe_nvm.c
> > +++ b/drivers/gpu/drm/xe/xe_nvm.c
> > @@ -95,6 +95,27 @@ static bool xe_nvm_writable_override(struct xe_device
> *xe)
> >  	return writable_override;
> >  }
> >
> > +static void xe_nvm_fini(void *arg)
> > +{
> > +	struct xe_device *xe = arg;
> > +	struct intel_dg_nvm_dev *nvm = xe->nvm;
> > +
> > +	if (!xe->info.has_gsc_nvm)
> > +		return;
> > +
> > +	/* No access to internal NVM from VFs */
> > +	if (IS_SRIOV_VF(xe))
> > +		return;
> > +
> > +	/* Nvm pointer should not be NULL here */
> > +	if (WARN_ON(!nvm))
> > +		return;
> > +
> > +	auxiliary_device_delete(&nvm->aux_dev);
> > +	auxiliary_device_uninit(&nvm->aux_dev);
> > +	xe->nvm = NULL;
> > +}
> > +
> >  int xe_nvm_init(struct xe_device *xe)  {
> >  	struct pci_dev *pdev = to_pci_dev(xe->drm.dev); @@ -153,30 +174,10
> @@ int xe_nvm_init(struct xe_device *xe)
> >  		auxiliary_device_uninit(aux_dev);
> 
> Performing uninit here would kfree xe->nvm already, so having the additional
> kfree seems wrong? Unless this uninit doesn't properly call the release dev
> function until auxiliary_device_add has finished executing but quick look doesn't
> show that to be the case. Am I missing something here?

Good catch. I think you are right. After auxiliary_device_init(), aux_dev->dev.release will handle the kfree(), so driver should not call kfree() again to avoid double free.
Let me fix it with a new patch.
Thanks.

Shuicheng

> 
> Thanks,
> Brian
> 
> >  		goto err;
> >  	}
> > -	return 0;
> > +	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> >
> >  err:
> >  	kfree(nvm);
> >  	xe->nvm = NULL;
> >  	return ret;
> >  }
> > -
> > -void xe_nvm_fini(struct xe_device *xe) -{
> > -	struct intel_dg_nvm_dev *nvm = xe->nvm;
> > -
> > -	if (!xe->info.has_gsc_nvm)
> > -		return;
> > -
> > -	/* No access to internal NVM from VFs */
> > -	if (IS_SRIOV_VF(xe))
> > -		return;
> > -
> > -	/* Nvm pointer should not be NULL here */
> > -	if (WARN_ON(!nvm))
> > -		return;
> > -
> > -	auxiliary_device_delete(&nvm->aux_dev);
> > -	auxiliary_device_uninit(&nvm->aux_dev);
> > -	xe->nvm = NULL;
> > -}
> > diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h
> > index 7f3d5f57bed0..fd3467ad35a4 100644
> > --- a/drivers/gpu/drm/xe/xe_nvm.h
> > +++ b/drivers/gpu/drm/xe/xe_nvm.h
> > @@ -10,6 +10,4 @@ struct xe_device;
> >
> >  int xe_nvm_init(struct xe_device *xe);
> >
> > -void xe_nvm_fini(struct xe_device *xe);
> > -
> >  #endif
> > diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c
> > b/drivers/gpu/drm/xe/xe_survivability_mode.c
> > index 31456f432fc8..ff406e9a82cb 100644
> > --- a/drivers/gpu/drm/xe/xe_survivability_mode.c
> > +++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
> > @@ -234,13 +234,9 @@ static SURVIVABILITY_ATTR_RO(fdo_mode,
> FDO_INFO);  static void xe_survivability_mode_fini(void *arg)  {
> >  	struct xe_device *xe = arg;
> > -	struct xe_survivability *survivability = &xe->survivability;
> >  	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
> >  	struct device *dev = &pdev->dev;
> >
> > -	if (survivability->fdo_mode)
> > -		xe_nvm_fini(xe);
> > -
> >  	device_remove_file(dev, &dev_attr_survivability_mode);  }
> >
> > --
> > 2.50.1


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

* [PATCH 0/2]  Fix nvm aux resource cleanup
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (5 preceding siblings ...)
  2026-01-16 18:05 ` Nguyen, Brian3
@ 2026-01-16 21:40 ` Shuicheng Lin
  2026-01-16 21:40   ` [PATCH v2 1/2] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
  2026-01-16 21:40   ` [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
  2026-01-16 21:51 ` ✓ CI.KUnit: success for drm/xe: Manage nvm aux cleanup with devres (rev2) Patchwork
                   ` (4 subsequent siblings)
  11 siblings, 2 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-16 21:40 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin

Shuicheng Lin (2):
  drm/xe/nvm: Manage nvm aux cleanup with devres
  drm/xe/nvm: Fix double-free on aux add failure

 drivers/gpu/drm/xe/xe_device.c             |  2 -
 drivers/gpu/drm/xe/xe_nvm.c                | 45 +++++++++++-----------
 drivers/gpu/drm/xe/xe_nvm.h                |  2 -
 drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
 4 files changed, 23 insertions(+), 30 deletions(-)

-- 
2.50.1


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

* [PATCH v2 1/2] drm/xe/nvm: Manage nvm aux cleanup with devres
  2026-01-16 21:40 ` [PATCH 0/2] Fix nvm aux resource cleanup Shuicheng Lin
@ 2026-01-16 21:40   ` Shuicheng Lin
  2026-01-16 21:40   ` [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
  1 sibling, 0 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-16 21:40 UTC (permalink / raw)
  To: intel-xe
  Cc: Shuicheng Lin, Alexander Usyskin, Brian Nguyen, Rodrigo Vivi,
	Riana Tauro

Move nvm teardown to a devm-managed action registered from xe_nvm_init().
This ensures the auxiliary NVM device is deleted on probe failure and
device detach without requiring explicit calls from remove paths.

As part of this, drop xe_nvm_fini() from xe_device_remove() and from the
survivability sysfs teardown, and remove the public xe_nvm_fini() API from
the header.

This is to fix below warn message when there is probe failure after
xe_nvm_init(), then xe_device_probe() is called again:
"
[  207.318152] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/xe.nvm.768'
[  207.318157] CPU: 5 UID: 0 PID: 10261 Comm: modprobe Tainted: G    B   W           6.19.0-rc2-lgci-xe-kernel+ #223 PREEMPT(voluntary)
[  207.318160] Tainted: [B]=BAD_PAGE, [W]=WARN
[  207.318161] Hardware name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812 02/24/2023
[  207.318163] Call Trace:
[  207.318163]  <TASK>
[  207.318165]  dump_stack_lvl+0xa0/0xc0
[  207.318170]  dump_stack+0x10/0x20
[  207.318171]  sysfs_warn_dup+0xd5/0x110
[  207.318175]  sysfs_create_dir_ns+0x1f6/0x280
[  207.318177]  ? __pfx_sysfs_create_dir_ns+0x10/0x10
[  207.318179]  ? lock_acquire+0x1a4/0x2e0
[  207.318182]  ? __kasan_check_read+0x11/0x20
[  207.318185]  ? do_raw_spin_unlock+0x5c/0x240
[  207.318187]  kobject_add_internal+0x28d/0x8e0
[  207.318189]  kobject_add+0x11f/0x1f0
[  207.318191]  ? __pfx_kobject_add+0x10/0x10
[  207.318193]  ? lockdep_init_map_type+0x4b/0x230
[  207.318195]  ? get_device_parent.isra.0+0x43/0x4c0
[  207.318197]  ? kobject_get+0x55/0xf0
[  207.318199]  device_add+0x2d7/0x1500
[  207.318201]  ? __pfx_device_add+0x10/0x10
[  207.318203]  ? lockdep_init_map_type+0x4b/0x230
[  207.318205]  __auxiliary_device_add+0x99/0x140
[  207.318208]  xe_nvm_init+0x7a2/0xef0 [xe]
[  207.318333]  ? xe_devcoredump_init+0x80/0x110 [xe]
[  207.318452]  ? __devm_add_action+0x82/0xc0
[  207.318454]  ? fs_reclaim_release+0xc0/0x110
[  207.318457]  xe_device_probe+0x17dd/0x2c40 [xe]
[  207.318574]  ? __pfx___drm_dev_dbg+0x10/0x10
[  207.318576]  ? add_dr+0x180/0x220
[  207.318579]  ? __pfx___drmm_mutex_release+0x10/0x10
[  207.318582]  ? __pfx_xe_device_probe+0x10/0x10 [xe]
[  207.318697]  ? xe_pm_init_early+0x33a/0x410 [xe]
[  207.318850]  xe_pci_probe+0x936/0x1250 [xe]
[  207.318999]  ? lock_acquire+0x1a4/0x2e0
[  207.319003]  ? __pfx_xe_pci_probe+0x10/0x10 [xe]
[  207.319151]  local_pci_probe+0xe6/0x1a0
[  207.319154]  pci_device_probe+0x523/0x840
[  207.319157]  ? __pfx_pci_device_probe+0x10/0x10
[  207.319159]  ? sysfs_do_create_link_sd.isra.0+0x8c/0x110
[  207.319162]  ? sysfs_create_link+0x48/0xc0
...
"

Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory device")
Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Riana Tauro <riana.tauro@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c             |  2 -
 drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
 drivers/gpu/drm/xe/xe_nvm.h                |  2 -
 drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
 4 files changed, 22 insertions(+), 29 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index e575b02008dd..1581f4dab69d 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -1026,8 +1026,6 @@ void xe_device_remove(struct xe_device *xe)
 {
 	xe_display_unregister(xe);
 
-	xe_nvm_fini(xe);
-
 	drm_dev_unplug(&xe->drm);
 
 	xe_bo_pci_dev_remove_all(xe);
diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 437375046517..77856f460770 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -94,6 +94,27 @@ static bool xe_nvm_writable_override(struct xe_device *xe)
 	return writable_override;
 }
 
+static void xe_nvm_fini(void *arg)
+{
+	struct xe_device *xe = arg;
+	struct intel_dg_nvm_dev *nvm = xe->nvm;
+
+	if (!xe->info.has_gsc_nvm)
+		return;
+
+	/* No access to internal NVM from VFs */
+	if (IS_SRIOV_VF(xe))
+		return;
+
+	/* Nvm pointer should not be NULL here */
+	if (WARN_ON(!nvm))
+		return;
+
+	auxiliary_device_delete(&nvm->aux_dev);
+	auxiliary_device_uninit(&nvm->aux_dev);
+	xe->nvm = NULL;
+}
+
 int xe_nvm_init(struct xe_device *xe)
 {
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
@@ -152,30 +173,10 @@ int xe_nvm_init(struct xe_device *xe)
 		auxiliary_device_uninit(aux_dev);
 		goto err;
 	}
-	return 0;
+	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 
 err:
 	kfree(nvm);
 	xe->nvm = NULL;
 	return ret;
 }
-
-void xe_nvm_fini(struct xe_device *xe)
-{
-	struct intel_dg_nvm_dev *nvm = xe->nvm;
-
-	if (!xe->info.has_gsc_nvm)
-		return;
-
-	/* No access to internal NVM from VFs */
-	if (IS_SRIOV_VF(xe))
-		return;
-
-	/* Nvm pointer should not be NULL here */
-	if (WARN_ON(!nvm))
-		return;
-
-	auxiliary_device_delete(&nvm->aux_dev);
-	auxiliary_device_uninit(&nvm->aux_dev);
-	xe->nvm = NULL;
-}
diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h
index 7f3d5f57bed0..fd3467ad35a4 100644
--- a/drivers/gpu/drm/xe/xe_nvm.h
+++ b/drivers/gpu/drm/xe/xe_nvm.h
@@ -10,6 +10,4 @@ struct xe_device;
 
 int xe_nvm_init(struct xe_device *xe);
 
-void xe_nvm_fini(struct xe_device *xe);
-
 #endif
diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
index 6578ffc77bd5..db64cac39c94 100644
--- a/drivers/gpu/drm/xe/xe_survivability_mode.c
+++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
@@ -233,13 +233,9 @@ static SURVIVABILITY_ATTR_RO(fdo_mode, FDO_INFO);
 static void xe_survivability_mode_fini(void *arg)
 {
 	struct xe_device *xe = arg;
-	struct xe_survivability *survivability = &xe->survivability;
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
 	struct device *dev = &pdev->dev;
 
-	if (survivability->fdo_mode)
-		xe_nvm_fini(xe);
-
 	device_remove_file(dev, &dev_attr_survivability_mode);
 }
 
-- 
2.50.1


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

* [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure
  2026-01-16 21:40 ` [PATCH 0/2] Fix nvm aux resource cleanup Shuicheng Lin
  2026-01-16 21:40   ` [PATCH v2 1/2] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
@ 2026-01-16 21:40   ` Shuicheng Lin
  2026-01-17  0:00     ` Nguyen, Brian3
                       ` (2 more replies)
  1 sibling, 3 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-16 21:40 UTC (permalink / raw)
  To: intel-xe
  Cc: Shuicheng Lin, Nitin Gote, Alexander Usyskin, Rodrigo Vivi,
	Brian Nguyen

After a successful auxiliary_device_init(), aux_dev->dev.release
(xe_nvm_release_dev()) is responsible for the kfree(nvm). When
there is failure with auxiliary_device_add(), driver will call
auxiliary_device_uninit(), which call put_device(). So that the
.release callback will be triggered to free the memory associated
with the auxiliary_device.

Move the kfree(nvm) into the auxiliary_device_init() failure path
and remove it from the shared err: label to fix below error.

"
[   13.232905] ==================================================================
[   13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe]
[   13.233112] Free of addr ffff888120635000 by task systemd-udevd/273

[   13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted 6.19.0-rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary)
...
[   13.233125] Call Trace:
[   13.233126]  <TASK>
[   13.233127]  dump_stack_lvl+0x7f/0xc0
[   13.233132]  print_report+0xce/0x610
[   13.233136]  ? kasan_complete_mode_report_info+0x5d/0x1e0
[   13.233139]  ? xe_nvm_init+0x751/0xf10 [xe]
...
"

Fixes: d4c3ed963e41 ("drm/xe: defer free of NVM auxiliary container to device release callback")
Cc: Nitin Gote <nitin.r.gote@intel.com>
Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Suggested-by: Brian Nguyen <brian3.nguyen@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_nvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 77856f460770..6d18c775d550 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -164,6 +164,7 @@ int xe_nvm_init(struct xe_device *xe)
 	ret = auxiliary_device_init(aux_dev);
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
+		kfree(nvm);
 		goto err;
 	}
 
@@ -176,7 +177,6 @@ int xe_nvm_init(struct xe_device *xe)
 	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 
 err:
-	kfree(nvm);
 	xe->nvm = NULL;
 	return ret;
 }
-- 
2.50.1


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

* ✓ CI.KUnit: success for drm/xe: Manage nvm aux cleanup with devres (rev2)
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (6 preceding siblings ...)
  2026-01-16 21:40 ` [PATCH 0/2] Fix nvm aux resource cleanup Shuicheng Lin
@ 2026-01-16 21:51 ` Patchwork
  2026-01-16 22:26 ` ✓ Xe.CI.BAT: " Patchwork
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2026-01-16 21:51 UTC (permalink / raw)
  To: Shuicheng Lin; +Cc: intel-xe

== Series Details ==

Series: drm/xe: Manage nvm aux cleanup with devres (rev2)
URL   : https://patchwork.freedesktop.org/series/159900/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[21:49:58] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:50:02] 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
[21:50:33] Starting KUnit Kernel (1/1)...
[21:50:33] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[21:50:33] ================== guc_buf (11 subtests) ===================
[21:50:33] [PASSED] test_smallest
[21:50:33] [PASSED] test_largest
[21:50:33] [PASSED] test_granular
[21:50:33] [PASSED] test_unique
[21:50:33] [PASSED] test_overlap
[21:50:33] [PASSED] test_reusable
[21:50:33] [PASSED] test_too_big
[21:50:33] [PASSED] test_flush
[21:50:33] [PASSED] test_lookup
[21:50:33] [PASSED] test_data
[21:50:33] [PASSED] test_class
[21:50:33] ===================== [PASSED] guc_buf =====================
[21:50:33] =================== guc_dbm (7 subtests) ===================
[21:50:33] [PASSED] test_empty
[21:50:33] [PASSED] test_default
[21:50:33] ======================== test_size  ========================
[21:50:33] [PASSED] 4
[21:50:33] [PASSED] 8
[21:50:33] [PASSED] 32
[21:50:33] [PASSED] 256
[21:50:33] ==================== [PASSED] test_size ====================
[21:50:33] ======================= test_reuse  ========================
[21:50:33] [PASSED] 4
[21:50:33] [PASSED] 8
[21:50:33] [PASSED] 32
[21:50:33] [PASSED] 256
[21:50:33] =================== [PASSED] test_reuse ====================
[21:50:33] =================== test_range_overlap  ====================
[21:50:33] [PASSED] 4
[21:50:33] [PASSED] 8
[21:50:33] [PASSED] 32
[21:50:33] [PASSED] 256
[21:50:33] =============== [PASSED] test_range_overlap ================
[21:50:33] =================== test_range_compact  ====================
[21:50:33] [PASSED] 4
[21:50:33] [PASSED] 8
[21:50:33] [PASSED] 32
[21:50:33] [PASSED] 256
[21:50:33] =============== [PASSED] test_range_compact ================
[21:50:33] ==================== test_range_spare  =====================
[21:50:33] [PASSED] 4
[21:50:33] [PASSED] 8
[21:50:33] [PASSED] 32
[21:50:33] [PASSED] 256
[21:50:33] ================ [PASSED] test_range_spare =================
[21:50:33] ===================== [PASSED] guc_dbm =====================
[21:50:33] =================== guc_idm (6 subtests) ===================
[21:50:33] [PASSED] bad_init
[21:50:33] [PASSED] no_init
[21:50:33] [PASSED] init_fini
[21:50:33] [PASSED] check_used
[21:50:33] [PASSED] check_quota
[21:50:33] [PASSED] check_all
[21:50:33] ===================== [PASSED] guc_idm =====================
[21:50:33] ================== no_relay (3 subtests) ===================
[21:50:33] [PASSED] xe_drops_guc2pf_if_not_ready
[21:50:33] [PASSED] xe_drops_guc2vf_if_not_ready
[21:50:33] [PASSED] xe_rejects_send_if_not_ready
[21:50:33] ==================== [PASSED] no_relay =====================
[21:50:33] ================== pf_relay (14 subtests) ==================
[21:50:33] [PASSED] pf_rejects_guc2pf_too_short
[21:50:33] [PASSED] pf_rejects_guc2pf_too_long
[21:50:33] [PASSED] pf_rejects_guc2pf_no_payload
[21:50:33] [PASSED] pf_fails_no_payload
[21:50:33] [PASSED] pf_fails_bad_origin
[21:50:33] [PASSED] pf_fails_bad_type
[21:50:33] [PASSED] pf_txn_reports_error
[21:50:33] [PASSED] pf_txn_sends_pf2guc
[21:50:33] [PASSED] pf_sends_pf2guc
[21:50:33] [SKIPPED] pf_loopback_nop
[21:50:33] [SKIPPED] pf_loopback_echo
[21:50:33] [SKIPPED] pf_loopback_fail
[21:50:33] [SKIPPED] pf_loopback_busy
[21:50:33] [SKIPPED] pf_loopback_retry
[21:50:33] ==================== [PASSED] pf_relay =====================
[21:50:33] ================== vf_relay (3 subtests) ===================
[21:50:33] [PASSED] vf_rejects_guc2vf_too_short
[21:50:33] [PASSED] vf_rejects_guc2vf_too_long
[21:50:33] [PASSED] vf_rejects_guc2vf_no_payload
[21:50:33] ==================== [PASSED] vf_relay =====================
[21:50:33] ================ pf_gt_config (6 subtests) =================
[21:50:33] [PASSED] fair_contexts_1vf
[21:50:33] [PASSED] fair_doorbells_1vf
[21:50:33] [PASSED] fair_ggtt_1vf
[21:50:33] ====================== fair_contexts  ======================
[21:50:33] [PASSED] 1 VF
[21:50:33] [PASSED] 2 VFs
[21:50:33] [PASSED] 3 VFs
[21:50:33] [PASSED] 4 VFs
[21:50:33] [PASSED] 5 VFs
[21:50:33] [PASSED] 6 VFs
[21:50:33] [PASSED] 7 VFs
[21:50:33] [PASSED] 8 VFs
[21:50:33] [PASSED] 9 VFs
[21:50:33] [PASSED] 10 VFs
[21:50:33] [PASSED] 11 VFs
[21:50:33] [PASSED] 12 VFs
[21:50:33] [PASSED] 13 VFs
[21:50:33] [PASSED] 14 VFs
[21:50:33] [PASSED] 15 VFs
[21:50:33] [PASSED] 16 VFs
[21:50:33] [PASSED] 17 VFs
[21:50:33] [PASSED] 18 VFs
[21:50:33] [PASSED] 19 VFs
[21:50:33] [PASSED] 20 VFs
[21:50:33] [PASSED] 21 VFs
[21:50:33] [PASSED] 22 VFs
[21:50:33] [PASSED] 23 VFs
[21:50:33] [PASSED] 24 VFs
[21:50:33] [PASSED] 25 VFs
[21:50:33] [PASSED] 26 VFs
[21:50:33] [PASSED] 27 VFs
[21:50:33] [PASSED] 28 VFs
[21:50:33] [PASSED] 29 VFs
[21:50:33] [PASSED] 30 VFs
[21:50:33] [PASSED] 31 VFs
[21:50:33] [PASSED] 32 VFs
[21:50:33] [PASSED] 33 VFs
[21:50:33] [PASSED] 34 VFs
[21:50:33] [PASSED] 35 VFs
[21:50:33] [PASSED] 36 VFs
[21:50:33] [PASSED] 37 VFs
[21:50:33] [PASSED] 38 VFs
[21:50:33] [PASSED] 39 VFs
[21:50:33] [PASSED] 40 VFs
[21:50:33] [PASSED] 41 VFs
[21:50:33] [PASSED] 42 VFs
[21:50:33] [PASSED] 43 VFs
[21:50:33] [PASSED] 44 VFs
[21:50:33] [PASSED] 45 VFs
[21:50:33] [PASSED] 46 VFs
[21:50:33] [PASSED] 47 VFs
[21:50:33] [PASSED] 48 VFs
[21:50:33] [PASSED] 49 VFs
[21:50:33] [PASSED] 50 VFs
[21:50:33] [PASSED] 51 VFs
[21:50:33] [PASSED] 52 VFs
[21:50:33] [PASSED] 53 VFs
[21:50:33] [PASSED] 54 VFs
[21:50:33] [PASSED] 55 VFs
[21:50:33] [PASSED] 56 VFs
[21:50:33] [PASSED] 57 VFs
[21:50:33] [PASSED] 58 VFs
[21:50:33] [PASSED] 59 VFs
[21:50:33] [PASSED] 60 VFs
[21:50:33] [PASSED] 61 VFs
[21:50:33] [PASSED] 62 VFs
[21:50:33] [PASSED] 63 VFs
[21:50:33] ================== [PASSED] fair_contexts ==================
[21:50:33] ===================== fair_doorbells  ======================
[21:50:33] [PASSED] 1 VF
[21:50:33] [PASSED] 2 VFs
[21:50:33] [PASSED] 3 VFs
[21:50:33] [PASSED] 4 VFs
[21:50:33] [PASSED] 5 VFs
[21:50:33] [PASSED] 6 VFs
[21:50:33] [PASSED] 7 VFs
[21:50:33] [PASSED] 8 VFs
[21:50:33] [PASSED] 9 VFs
[21:50:33] [PASSED] 10 VFs
[21:50:33] [PASSED] 11 VFs
[21:50:33] [PASSED] 12 VFs
[21:50:33] [PASSED] 13 VFs
[21:50:33] [PASSED] 14 VFs
[21:50:33] [PASSED] 15 VFs
[21:50:33] [PASSED] 16 VFs
[21:50:33] [PASSED] 17 VFs
[21:50:33] [PASSED] 18 VFs
[21:50:33] [PASSED] 19 VFs
[21:50:33] [PASSED] 20 VFs
[21:50:33] [PASSED] 21 VFs
[21:50:33] [PASSED] 22 VFs
[21:50:33] [PASSED] 23 VFs
[21:50:33] [PASSED] 24 VFs
[21:50:33] [PASSED] 25 VFs
[21:50:33] [PASSED] 26 VFs
[21:50:33] [PASSED] 27 VFs
[21:50:33] [PASSED] 28 VFs
[21:50:33] [PASSED] 29 VFs
[21:50:33] [PASSED] 30 VFs
[21:50:33] [PASSED] 31 VFs
[21:50:33] [PASSED] 32 VFs
[21:50:33] [PASSED] 33 VFs
[21:50:33] [PASSED] 34 VFs
[21:50:33] [PASSED] 35 VFs
[21:50:33] [PASSED] 36 VFs
[21:50:33] [PASSED] 37 VFs
[21:50:33] [PASSED] 38 VFs
[21:50:33] [PASSED] 39 VFs
[21:50:33] [PASSED] 40 VFs
[21:50:33] [PASSED] 41 VFs
[21:50:33] [PASSED] 42 VFs
[21:50:33] [PASSED] 43 VFs
[21:50:33] [PASSED] 44 VFs
[21:50:33] [PASSED] 45 VFs
[21:50:33] [PASSED] 46 VFs
[21:50:33] [PASSED] 47 VFs
[21:50:33] [PASSED] 48 VFs
[21:50:33] [PASSED] 49 VFs
[21:50:33] [PASSED] 50 VFs
[21:50:33] [PASSED] 51 VFs
[21:50:33] [PASSED] 52 VFs
[21:50:33] [PASSED] 53 VFs
[21:50:33] [PASSED] 54 VFs
[21:50:33] [PASSED] 55 VFs
[21:50:33] [PASSED] 56 VFs
[21:50:33] [PASSED] 57 VFs
[21:50:33] [PASSED] 58 VFs
[21:50:33] [PASSED] 59 VFs
[21:50:33] [PASSED] 60 VFs
[21:50:33] [PASSED] 61 VFs
[21:50:33] [PASSED] 62 VFs
[21:50:33] [PASSED] 63 VFs
[21:50:33] ================= [PASSED] fair_doorbells ==================
[21:50:33] ======================== fair_ggtt  ========================
[21:50:33] [PASSED] 1 VF
[21:50:33] [PASSED] 2 VFs
[21:50:33] [PASSED] 3 VFs
[21:50:33] [PASSED] 4 VFs
[21:50:33] [PASSED] 5 VFs
[21:50:33] [PASSED] 6 VFs
[21:50:33] [PASSED] 7 VFs
[21:50:33] [PASSED] 8 VFs
[21:50:33] [PASSED] 9 VFs
[21:50:33] [PASSED] 10 VFs
[21:50:33] [PASSED] 11 VFs
[21:50:33] [PASSED] 12 VFs
[21:50:33] [PASSED] 13 VFs
[21:50:33] [PASSED] 14 VFs
[21:50:33] [PASSED] 15 VFs
[21:50:33] [PASSED] 16 VFs
[21:50:33] [PASSED] 17 VFs
[21:50:33] [PASSED] 18 VFs
[21:50:33] [PASSED] 19 VFs
[21:50:33] [PASSED] 20 VFs
[21:50:33] [PASSED] 21 VFs
[21:50:33] [PASSED] 22 VFs
[21:50:33] [PASSED] 23 VFs
[21:50:33] [PASSED] 24 VFs
[21:50:33] [PASSED] 25 VFs
[21:50:33] [PASSED] 26 VFs
[21:50:33] [PASSED] 27 VFs
[21:50:33] [PASSED] 28 VFs
[21:50:33] [PASSED] 29 VFs
[21:50:33] [PASSED] 30 VFs
[21:50:33] [PASSED] 31 VFs
[21:50:33] [PASSED] 32 VFs
[21:50:33] [PASSED] 33 VFs
[21:50:33] [PASSED] 34 VFs
[21:50:33] [PASSED] 35 VFs
[21:50:33] [PASSED] 36 VFs
[21:50:33] [PASSED] 37 VFs
[21:50:33] [PASSED] 38 VFs
[21:50:33] [PASSED] 39 VFs
[21:50:33] [PASSED] 40 VFs
[21:50:33] [PASSED] 41 VFs
[21:50:33] [PASSED] 42 VFs
[21:50:33] [PASSED] 43 VFs
[21:50:33] [PASSED] 44 VFs
[21:50:33] [PASSED] 45 VFs
[21:50:33] [PASSED] 46 VFs
[21:50:33] [PASSED] 47 VFs
[21:50:33] [PASSED] 48 VFs
[21:50:33] [PASSED] 49 VFs
[21:50:33] [PASSED] 50 VFs
[21:50:33] [PASSED] 51 VFs
[21:50:33] [PASSED] 52 VFs
[21:50:33] [PASSED] 53 VFs
[21:50:33] [PASSED] 54 VFs
[21:50:33] [PASSED] 55 VFs
[21:50:33] [PASSED] 56 VFs
[21:50:33] [PASSED] 57 VFs
[21:50:33] [PASSED] 58 VFs
[21:50:33] [PASSED] 59 VFs
[21:50:33] [PASSED] 60 VFs
[21:50:33] [PASSED] 61 VFs
[21:50:33] [PASSED] 62 VFs
[21:50:33] [PASSED] 63 VFs
[21:50:33] ==================== [PASSED] fair_ggtt ====================
[21:50:33] ================== [PASSED] pf_gt_config ===================
[21:50:33] ===================== lmtt (1 subtest) =====================
[21:50:33] ======================== test_ops  =========================
[21:50:33] [PASSED] 2-level
[21:50:33] [PASSED] multi-level
[21:50:33] ==================== [PASSED] test_ops =====================
[21:50:33] ====================== [PASSED] lmtt =======================
[21:50:33] ================= pf_service (11 subtests) =================
[21:50:33] [PASSED] pf_negotiate_any
[21:50:33] [PASSED] pf_negotiate_base_match
[21:50:33] [PASSED] pf_negotiate_base_newer
[21:50:33] [PASSED] pf_negotiate_base_next
[21:50:33] [SKIPPED] pf_negotiate_base_older
[21:50:33] [PASSED] pf_negotiate_base_prev
[21:50:33] [PASSED] pf_negotiate_latest_match
[21:50:33] [PASSED] pf_negotiate_latest_newer
[21:50:33] [PASSED] pf_negotiate_latest_next
[21:50:33] [SKIPPED] pf_negotiate_latest_older
[21:50:33] [SKIPPED] pf_negotiate_latest_prev
[21:50:33] =================== [PASSED] pf_service ====================
[21:50:33] ================= xe_guc_g2g (2 subtests) ==================
[21:50:33] ============== xe_live_guc_g2g_kunit_default  ==============
[21:50:33] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[21:50:33] ============== xe_live_guc_g2g_kunit_allmem  ===============
[21:50:33] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[21:50:33] =================== [SKIPPED] xe_guc_g2g ===================
[21:50:33] =================== xe_mocs (2 subtests) ===================
[21:50:33] ================ xe_live_mocs_kernel_kunit  ================
[21:50:33] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[21:50:33] ================ xe_live_mocs_reset_kunit  =================
[21:50:33] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[21:50:33] ==================== [SKIPPED] xe_mocs =====================
[21:50:33] ================= xe_migrate (2 subtests) ==================
[21:50:33] ================= xe_migrate_sanity_kunit  =================
[21:50:33] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[21:50:33] ================== xe_validate_ccs_kunit  ==================
[21:50:33] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[21:50:33] =================== [SKIPPED] xe_migrate ===================
[21:50:33] ================== xe_dma_buf (1 subtest) ==================
[21:50:33] ==================== xe_dma_buf_kunit  =====================
[21:50:33] ================ [SKIPPED] xe_dma_buf_kunit ================
[21:50:33] =================== [SKIPPED] xe_dma_buf ===================
[21:50:34] ================= xe_bo_shrink (1 subtest) =================
[21:50:34] =================== xe_bo_shrink_kunit  ====================
[21:50:34] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[21:50:34] ================== [SKIPPED] xe_bo_shrink ==================
[21:50:34] ==================== xe_bo (2 subtests) ====================
[21:50:34] ================== xe_ccs_migrate_kunit  ===================
[21:50:34] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[21:50:34] ==================== xe_bo_evict_kunit  ====================
[21:50:34] =============== [SKIPPED] xe_bo_evict_kunit ================
[21:50:34] ===================== [SKIPPED] xe_bo ======================
[21:50:34] ==================== args (13 subtests) ====================
[21:50:34] [PASSED] count_args_test
[21:50:34] [PASSED] call_args_example
[21:50:34] [PASSED] call_args_test
[21:50:34] [PASSED] drop_first_arg_example
[21:50:34] [PASSED] drop_first_arg_test
[21:50:34] [PASSED] first_arg_example
[21:50:34] [PASSED] first_arg_test
[21:50:34] [PASSED] last_arg_example
[21:50:34] [PASSED] last_arg_test
[21:50:34] [PASSED] pick_arg_example
[21:50:34] [PASSED] if_args_example
[21:50:34] [PASSED] if_args_test
[21:50:34] [PASSED] sep_comma_example
[21:50:34] ====================== [PASSED] args =======================
[21:50:34] =================== xe_pci (3 subtests) ====================
[21:50:34] ==================== check_graphics_ip  ====================
[21:50:34] [PASSED] 12.00 Xe_LP
[21:50:34] [PASSED] 12.10 Xe_LP+
[21:50:34] [PASSED] 12.55 Xe_HPG
[21:50:34] [PASSED] 12.60 Xe_HPC
[21:50:34] [PASSED] 12.70 Xe_LPG
[21:50:34] [PASSED] 12.71 Xe_LPG
[21:50:34] [PASSED] 12.74 Xe_LPG+
[21:50:34] [PASSED] 20.01 Xe2_HPG
[21:50:34] [PASSED] 20.02 Xe2_HPG
[21:50:34] [PASSED] 20.04 Xe2_LPG
[21:50:34] [PASSED] 30.00 Xe3_LPG
[21:50:34] [PASSED] 30.01 Xe3_LPG
[21:50:34] [PASSED] 30.03 Xe3_LPG
[21:50:34] [PASSED] 30.04 Xe3_LPG
[21:50:34] [PASSED] 30.05 Xe3_LPG
[21:50:34] [PASSED] 35.11 Xe3p_XPC
[21:50:34] ================ [PASSED] check_graphics_ip ================
[21:50:34] ===================== check_media_ip  ======================
[21:50:34] [PASSED] 12.00 Xe_M
[21:50:34] [PASSED] 12.55 Xe_HPM
[21:50:34] [PASSED] 13.00 Xe_LPM+
[21:50:34] [PASSED] 13.01 Xe2_HPM
[21:50:34] [PASSED] 20.00 Xe2_LPM
[21:50:34] [PASSED] 30.00 Xe3_LPM
[21:50:34] [PASSED] 30.02 Xe3_LPM
[21:50:34] [PASSED] 35.00 Xe3p_LPM
[21:50:34] [PASSED] 35.03 Xe3p_HPM
[21:50:34] ================= [PASSED] check_media_ip ==================
[21:50:34] =================== check_platform_desc  ===================
[21:50:34] [PASSED] 0x9A60 (TIGERLAKE)
[21:50:34] [PASSED] 0x9A68 (TIGERLAKE)
[21:50:34] [PASSED] 0x9A70 (TIGERLAKE)
[21:50:34] [PASSED] 0x9A40 (TIGERLAKE)
[21:50:34] [PASSED] 0x9A49 (TIGERLAKE)
[21:50:34] [PASSED] 0x9A59 (TIGERLAKE)
[21:50:34] [PASSED] 0x9A78 (TIGERLAKE)
[21:50:34] [PASSED] 0x9AC0 (TIGERLAKE)
[21:50:34] [PASSED] 0x9AC9 (TIGERLAKE)
[21:50:34] [PASSED] 0x9AD9 (TIGERLAKE)
[21:50:34] [PASSED] 0x9AF8 (TIGERLAKE)
[21:50:34] [PASSED] 0x4C80 (ROCKETLAKE)
[21:50:34] [PASSED] 0x4C8A (ROCKETLAKE)
[21:50:34] [PASSED] 0x4C8B (ROCKETLAKE)
[21:50:34] [PASSED] 0x4C8C (ROCKETLAKE)
[21:50:34] [PASSED] 0x4C90 (ROCKETLAKE)
[21:50:34] [PASSED] 0x4C9A (ROCKETLAKE)
[21:50:34] [PASSED] 0x4680 (ALDERLAKE_S)
[21:50:34] [PASSED] 0x4682 (ALDERLAKE_S)
[21:50:34] [PASSED] 0x4688 (ALDERLAKE_S)
[21:50:34] [PASSED] 0x468A (ALDERLAKE_S)
[21:50:34] [PASSED] 0x468B (ALDERLAKE_S)
[21:50:34] [PASSED] 0x4690 (ALDERLAKE_S)
[21:50:34] [PASSED] 0x4692 (ALDERLAKE_S)
[21:50:34] [PASSED] 0x4693 (ALDERLAKE_S)
[21:50:34] [PASSED] 0x46A0 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46A1 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46A2 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46A3 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46A6 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46A8 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46AA (ALDERLAKE_P)
[21:50:34] [PASSED] 0x462A (ALDERLAKE_P)
[21:50:34] [PASSED] 0x4626 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x4628 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[21:50:34] [PASSED] 0x46B0 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46B1 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46B2 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46B3 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46C0 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46C1 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46C2 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46C3 (ALDERLAKE_P)
[21:50:34] [PASSED] 0x46D0 (ALDERLAKE_N)
[21:50:34] [PASSED] 0x46D1 (ALDERLAKE_N)
[21:50:34] [PASSED] 0x46D2 (ALDERLAKE_N)
[21:50:34] [PASSED] 0x46D3 (ALDERLAKE_N)
[21:50:34] [PASSED] 0x46D4 (ALDERLAKE_N)
[21:50:34] [PASSED] 0xA721 (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7A1 (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7A9 (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7AC (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7AD (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA720 (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7A0 (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7A8 (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7AA (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA7AB (ALDERLAKE_P)
[21:50:34] [PASSED] 0xA780 (ALDERLAKE_S)
[21:50:34] [PASSED] 0xA781 (ALDERLAKE_S)
[21:50:34] [PASSED] 0xA782 (ALDERLAKE_S)
[21:50:34] [PASSED] 0xA783 (ALDERLAKE_S)
[21:50:34] [PASSED] 0xA788 (ALDERLAKE_S)
[21:50:34] [PASSED] 0xA789 (ALDERLAKE_S)
[21:50:34] [PASSED] 0xA78A (ALDERLAKE_S)
[21:50:34] [PASSED] 0xA78B (ALDERLAKE_S)
[21:50:34] [PASSED] 0x4905 (DG1)
[21:50:34] [PASSED] 0x4906 (DG1)
[21:50:34] [PASSED] 0x4907 (DG1)
[21:50:34] [PASSED] 0x4908 (DG1)
[21:50:34] [PASSED] 0x4909 (DG1)
[21:50:34] [PASSED] 0x56C0 (DG2)
[21:50:34] [PASSED] 0x56C2 (DG2)
[21:50:34] [PASSED] 0x56C1 (DG2)
[21:50:34] [PASSED] 0x7D51 (METEORLAKE)
[21:50:34] [PASSED] 0x7DD1 (METEORLAKE)
[21:50:34] [PASSED] 0x7D41 (METEORLAKE)
[21:50:34] [PASSED] 0x7D67 (METEORLAKE)
[21:50:34] [PASSED] 0xB640 (METEORLAKE)
[21:50:34] [PASSED] 0x56A0 (DG2)
[21:50:34] [PASSED] 0x56A1 (DG2)
[21:50:34] [PASSED] 0x56A2 (DG2)
[21:50:34] [PASSED] 0x56BE (DG2)
[21:50:34] [PASSED] 0x56BF (DG2)
[21:50:34] [PASSED] 0x5690 (DG2)
[21:50:34] [PASSED] 0x5691 (DG2)
[21:50:34] [PASSED] 0x5692 (DG2)
[21:50:34] [PASSED] 0x56A5 (DG2)
[21:50:34] [PASSED] 0x56A6 (DG2)
[21:50:34] [PASSED] 0x56B0 (DG2)
[21:50:34] [PASSED] 0x56B1 (DG2)
[21:50:34] [PASSED] 0x56BA (DG2)
[21:50:34] [PASSED] 0x56BB (DG2)
[21:50:34] [PASSED] 0x56BC (DG2)
[21:50:34] [PASSED] 0x56BD (DG2)
[21:50:34] [PASSED] 0x5693 (DG2)
[21:50:34] [PASSED] 0x5694 (DG2)
[21:50:34] [PASSED] 0x5695 (DG2)
[21:50:34] [PASSED] 0x56A3 (DG2)
[21:50:34] [PASSED] 0x56A4 (DG2)
[21:50:34] [PASSED] 0x56B2 (DG2)
[21:50:34] [PASSED] 0x56B3 (DG2)
[21:50:34] [PASSED] 0x5696 (DG2)
[21:50:34] [PASSED] 0x5697 (DG2)
[21:50:34] [PASSED] 0xB69 (PVC)
[21:50:34] [PASSED] 0xB6E (PVC)
[21:50:34] [PASSED] 0xBD4 (PVC)
[21:50:34] [PASSED] 0xBD5 (PVC)
[21:50:34] [PASSED] 0xBD6 (PVC)
[21:50:34] [PASSED] 0xBD7 (PVC)
[21:50:34] [PASSED] 0xBD8 (PVC)
[21:50:34] [PASSED] 0xBD9 (PVC)
[21:50:34] [PASSED] 0xBDA (PVC)
[21:50:34] [PASSED] 0xBDB (PVC)
[21:50:34] [PASSED] 0xBE0 (PVC)
[21:50:34] [PASSED] 0xBE1 (PVC)
[21:50:34] [PASSED] 0xBE5 (PVC)
[21:50:34] [PASSED] 0x7D40 (METEORLAKE)
[21:50:34] [PASSED] 0x7D45 (METEORLAKE)
[21:50:34] [PASSED] 0x7D55 (METEORLAKE)
[21:50:34] [PASSED] 0x7D60 (METEORLAKE)
[21:50:34] [PASSED] 0x7DD5 (METEORLAKE)
[21:50:34] [PASSED] 0x6420 (LUNARLAKE)
[21:50:34] [PASSED] 0x64A0 (LUNARLAKE)
[21:50:34] [PASSED] 0x64B0 (LUNARLAKE)
[21:50:34] [PASSED] 0xE202 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE209 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE20B (BATTLEMAGE)
[21:50:34] [PASSED] 0xE20C (BATTLEMAGE)
[21:50:34] [PASSED] 0xE20D (BATTLEMAGE)
[21:50:34] [PASSED] 0xE210 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE211 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE212 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE216 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE220 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE221 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE222 (BATTLEMAGE)
[21:50:34] [PASSED] 0xE223 (BATTLEMAGE)
[21:50:34] [PASSED] 0xB080 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB081 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB082 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB083 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB084 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB085 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB086 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB087 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB08F (PANTHERLAKE)
[21:50:34] [PASSED] 0xB090 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB0A0 (PANTHERLAKE)
[21:50:34] [PASSED] 0xB0B0 (PANTHERLAKE)
[21:50:34] [PASSED] 0xFD80 (PANTHERLAKE)
[21:50:34] [PASSED] 0xFD81 (PANTHERLAKE)
[21:50:34] [PASSED] 0xD740 (NOVALAKE_S)
[21:50:34] [PASSED] 0xD741 (NOVALAKE_S)
[21:50:34] [PASSED] 0xD742 (NOVALAKE_S)
[21:50:34] [PASSED] 0xD743 (NOVALAKE_S)
[21:50:34] [PASSED] 0xD744 (NOVALAKE_S)
[21:50:34] [PASSED] 0xD745 (NOVALAKE_S)
[21:50:34] [PASSED] 0x674C (CRESCENTISLAND)
[21:50:34] =============== [PASSED] check_platform_desc ===============
[21:50:34] ===================== [PASSED] xe_pci ======================
[21:50:34] =================== xe_rtp (2 subtests) ====================
[21:50:34] =============== xe_rtp_process_to_sr_tests  ================
[21:50:34] [PASSED] coalesce-same-reg
[21:50:34] [PASSED] no-match-no-add
[21:50:34] [PASSED] match-or
[21:50:34] [PASSED] match-or-xfail
[21:50:34] [PASSED] no-match-no-add-multiple-rules
[21:50:34] [PASSED] two-regs-two-entries
[21:50:34] [PASSED] clr-one-set-other
[21:50:34] [PASSED] set-field
[21:50:34] [PASSED] conflict-duplicate
[21:50:34] [PASSED] conflict-not-disjoint
[21:50:34] [PASSED] conflict-reg-type
[21:50:34] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[21:50:34] ================== xe_rtp_process_tests  ===================
[21:50:34] [PASSED] active1
[21:50:34] [PASSED] active2
[21:50:34] [PASSED] active-inactive
[21:50:34] [PASSED] inactive-active
[21:50:34] [PASSED] inactive-1st_or_active-inactive
[21:50:34] [PASSED] inactive-2nd_or_active-inactive
[21:50:34] [PASSED] inactive-last_or_active-inactive
[21:50:34] [PASSED] inactive-no_or_active-inactive
[21:50:34] ============== [PASSED] xe_rtp_process_tests ===============
[21:50:34] ===================== [PASSED] xe_rtp ======================
[21:50:34] ==================== xe_wa (1 subtest) =====================
[21:50:34] ======================== xe_wa_gt  =========================
[21:50:34] [PASSED] TIGERLAKE B0
[21:50:34] [PASSED] DG1 A0
[21:50:34] [PASSED] DG1 B0
[21:50:34] [PASSED] ALDERLAKE_S A0
[21:50:34] [PASSED] ALDERLAKE_S B0
[21:50:34] [PASSED] ALDERLAKE_S C0
[21:50:34] [PASSED] ALDERLAKE_S D0
[21:50:34] [PASSED] ALDERLAKE_P A0
[21:50:34] [PASSED] ALDERLAKE_P B0
[21:50:34] [PASSED] ALDERLAKE_P C0
[21:50:34] [PASSED] ALDERLAKE_S RPLS D0
[21:50:34] [PASSED] ALDERLAKE_P RPLU E0
[21:50:34] [PASSED] DG2 G10 C0
[21:50:34] [PASSED] DG2 G11 B1
[21:50:34] [PASSED] DG2 G12 A1
[21:50:34] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[21:50:34] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[21:50:34] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[21:50:34] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[21:50:34] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[21:50:34] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[21:50:34] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[21:50:34] ==================== [PASSED] xe_wa_gt =====================
[21:50:34] ====================== [PASSED] xe_wa ======================
[21:50:34] ============================================================
[21:50:34] Testing complete. Ran 512 tests: passed: 494, skipped: 18
[21:50:34] Elapsed time: 36.076s total, 4.200s configuring, 31.358s building, 0.469s running

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

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

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



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

* ✓ Xe.CI.BAT: success for drm/xe: Manage nvm aux cleanup with devres (rev2)
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (7 preceding siblings ...)
  2026-01-16 21:51 ` ✓ CI.KUnit: success for drm/xe: Manage nvm aux cleanup with devres (rev2) Patchwork
@ 2026-01-16 22:26 ` Patchwork
  2026-01-16 23:45 ` ✓ Xe.CI.Full: " Patchwork
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2026-01-16 22:26 UTC (permalink / raw)
  To: Shuicheng Lin; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: Manage nvm aux cleanup with devres (rev2)
URL   : https://patchwork.freedesktop.org/series/159900/
State : success

== Summary ==

CI Bug Log - changes from xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053_BAT -> xe-pw-159900v2_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (12 -> 12)
------------------------------

  No changes in participating hosts

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

  Here are the changes found in xe-pw-159900v2_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@xe_waitfence@abstime:
    - bat-dg2-oem2:       [PASS][1] -> [TIMEOUT][2] ([Intel XE#6506])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/bat-dg2-oem2/igt@xe_waitfence@abstime.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/bat-dg2-oem2/igt@xe_waitfence@abstime.html

  * igt@xe_waitfence@engine:
    - bat-dg2-oem2:       [PASS][3] -> [FAIL][4] ([Intel XE#6519])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/bat-dg2-oem2/igt@xe_waitfence@engine.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/bat-dg2-oem2/igt@xe_waitfence@engine.html

  
#### Possible fixes ####

  * igt@xe_waitfence@reltime:
    - bat-dg2-oem2:       [FAIL][5] ([Intel XE#6520]) -> [PASS][6]
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/bat-dg2-oem2/igt@xe_waitfence@reltime.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/bat-dg2-oem2/igt@xe_waitfence@reltime.html

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


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

  * Linux: xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053 -> xe-pw-159900v2

  IGT_8704: 8704
  xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053: 15fda547a09aee00de0b6e9e77b84489e96e8053
  xe-pw-159900v2: 159900v2

== Logs ==

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

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

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

* ✓ Xe.CI.Full: success for drm/xe: Manage nvm aux cleanup with devres (rev2)
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (8 preceding siblings ...)
  2026-01-16 22:26 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-01-16 23:45 ` Patchwork
  2026-01-20 17:59 ` [PATCH v3 0/3] Fix nvm aux resource cleanup Shuicheng Lin
  2026-01-20 18:28 ` [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
  11 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2026-01-16 23:45 UTC (permalink / raw)
  To: Shuicheng Lin; +Cc: intel-xe

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

== Series Details ==

Series: drm/xe: Manage nvm aux cleanup with devres (rev2)
URL   : https://patchwork.freedesktop.org/series/159900/
State : success

== Summary ==

CI Bug Log - changes from xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053_FULL -> xe-pw-159900v2_FULL
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

  No changes in participating hosts

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

  Here are the changes found in xe-pw-159900v2_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic@pipe-c-edp-1:
    - shard-lnl:          [PASS][1] -> [FAIL][2] ([Intel XE#6054]) +3 other tests fail
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-lnl-3/igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic@pipe-c-edp-1.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-lnl-7/igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic@pipe-c-edp-1.html

  * igt@kms_big_fb@4-tiled-64bpp-rotate-270:
    - shard-bmg:          NOTRUN -> [SKIP][3] ([Intel XE#2327])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_big_fb@4-tiled-64bpp-rotate-270.html

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

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

  * igt@kms_ccs@bad-rotation-90-4-tiled-dg2-mc-ccs:
    - shard-bmg:          NOTRUN -> [SKIP][6] ([Intel XE#2887]) +6 other tests skip
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_ccs@bad-rotation-90-4-tiled-dg2-mc-ccs.html

  * igt@kms_chamelium_hpd@dp-hpd-storm-disable:
    - shard-bmg:          NOTRUN -> [SKIP][7] ([Intel XE#2252]) +3 other tests skip
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_chamelium_hpd@dp-hpd-storm-disable.html

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

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

  * igt@kms_content_protection@mei-interface:
    - shard-bmg:          NOTRUN -> [SKIP][10] ([Intel XE#2341])
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-2/igt@kms_content_protection@mei-interface.html

  * igt@kms_cursor_crc@cursor-random-512x170:
    - shard-bmg:          NOTRUN -> [SKIP][11] ([Intel XE#2321]) +1 other test skip
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_cursor_crc@cursor-random-512x170.html

  * igt@kms_cursor_crc@cursor-rapid-movement-32x10:
    - shard-bmg:          NOTRUN -> [SKIP][12] ([Intel XE#2320])
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_cursor_crc@cursor-rapid-movement-32x10.html

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

  * igt@kms_dirtyfb@fbc-dirtyfb-ioctl:
    - shard-bmg:          NOTRUN -> [SKIP][14] ([Intel XE#4210])
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_dirtyfb@fbc-dirtyfb-ioctl.html

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

  * igt@kms_dsc@dsc-with-output-formats-with-bpc:
    - shard-bmg:          NOTRUN -> [SKIP][16] ([Intel XE#2244]) +1 other test skip
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_dsc@dsc-with-output-formats-with-bpc.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
    - shard-bmg:          NOTRUN -> [SKIP][17] ([Intel XE#2293] / [Intel XE#2380]) +1 other test skip
   [17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling@pipe-a-valid-mode:
    - shard-bmg:          NOTRUN -> [SKIP][18] ([Intel XE#2293]) +1 other test skip
   [18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling@pipe-a-valid-mode.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][19] ([Intel XE#4141]) +6 other tests skip
   [19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt.html

  * igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-render:
    - shard-bmg:          NOTRUN -> [SKIP][20] ([Intel XE#7061]) +3 other tests skip
   [20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-2/igt@kms_frontbuffer_tracking@fbc-argb161616f-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-mmap-wc:
    - shard-bmg:          NOTRUN -> [SKIP][21] ([Intel XE#2311]) +11 other tests skip
   [21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
    - shard-bmg:          NOTRUN -> [SKIP][22] ([Intel XE#2313]) +12 other tests skip
   [22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt.html

  * igt@kms_hdr@brightness-with-hdr:
    - shard-bmg:          NOTRUN -> [SKIP][23] ([Intel XE#3374] / [Intel XE#3544])
   [23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_hdr@brightness-with-hdr.html

  * igt@kms_hdr@static-toggle-suspend:
    - shard-bmg:          [PASS][24] -> [ABORT][25] ([Intel XE#6740]) +3 other tests abort
   [24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-bmg-1/igt@kms_hdr@static-toggle-suspend.html
   [25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-9/igt@kms_hdr@static-toggle-suspend.html

  * igt@kms_joiner@invalid-modeset-big-joiner:
    - shard-bmg:          NOTRUN -> [SKIP][26] ([Intel XE#6901])
   [26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-2/igt@kms_joiner@invalid-modeset-big-joiner.html

  * igt@kms_plane_multiple@2x-tiling-yf:
    - shard-bmg:          NOTRUN -> [SKIP][27] ([Intel XE#5021])
   [27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_plane_multiple@2x-tiling-yf.html

  * igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b:
    - shard-bmg:          NOTRUN -> [SKIP][28] ([Intel XE#6886]) +4 other tests skip
   [28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-2/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b.html

  * igt@kms_pm_backlight@fade:
    - shard-bmg:          NOTRUN -> [SKIP][29] ([Intel XE#870])
   [29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_pm_backlight@fade.html

  * igt@kms_pm_rpm@dpms-mode-unset-lpsp:
    - shard-bmg:          NOTRUN -> [SKIP][30] ([Intel XE#1439] / [Intel XE#836])
   [30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_pm_rpm@dpms-mode-unset-lpsp.html

  * igt@kms_pm_rpm@package-g7:
    - shard-bmg:          NOTRUN -> [SKIP][31] ([Intel XE#6814])
   [31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_pm_rpm@package-g7.html

  * igt@kms_psr2_sf@pr-plane-move-sf-dmg-area:
    - shard-bmg:          NOTRUN -> [SKIP][32] ([Intel XE#1406] / [Intel XE#1489]) +4 other tests skip
   [32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-2/igt@kms_psr2_sf@pr-plane-move-sf-dmg-area.html

  * igt@kms_psr2_su@frontbuffer-xrgb8888:
    - shard-bmg:          NOTRUN -> [SKIP][33] ([Intel XE#1406] / [Intel XE#2387])
   [33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_psr2_su@frontbuffer-xrgb8888.html

  * igt@kms_psr@psr-primary-page-flip:
    - shard-bmg:          NOTRUN -> [SKIP][34] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +5 other tests skip
   [34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_psr@psr-primary-page-flip.html

  * igt@kms_rotation_crc@bad-tiling:
    - shard-bmg:          NOTRUN -> [SKIP][35] ([Intel XE#3414] / [Intel XE#3904])
   [35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_rotation_crc@bad-tiling.html

  * igt@kms_rotation_crc@primary-y-tiled-reflect-x-0:
    - shard-bmg:          NOTRUN -> [SKIP][36] ([Intel XE#2330])
   [36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_rotation_crc@primary-y-tiled-reflect-x-0.html

  * igt@kms_sharpness_filter@filter-formats:
    - shard-bmg:          NOTRUN -> [SKIP][37] ([Intel XE#6503])
   [37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@kms_sharpness_filter@filter-formats.html

  * igt@kms_vrr@cmrr@pipe-a-edp-1:
    - shard-lnl:          [PASS][38] -> [FAIL][39] ([Intel XE#4459]) +1 other test fail
   [38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-lnl-7/igt@kms_vrr@cmrr@pipe-a-edp-1.html
   [39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-lnl-4/igt@kms_vrr@cmrr@pipe-a-edp-1.html

  * igt@testdisplay:
    - shard-bmg:          [PASS][40] -> [ABORT][41] ([Intel XE#6740] / [Intel XE#6976])
   [40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-bmg-10/igt@testdisplay.html
   [41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-3/igt@testdisplay.html

  * igt@xe_eudebug@basic-read-event:
    - shard-bmg:          NOTRUN -> [SKIP][42] ([Intel XE#4837]) +2 other tests skip
   [42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@xe_eudebug@basic-read-event.html

  * igt@xe_eudebug_online@set-breakpoint-faultable:
    - shard-bmg:          NOTRUN -> [SKIP][43] ([Intel XE#4837] / [Intel XE#6665]) +4 other tests skip
   [43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@xe_eudebug_online@set-breakpoint-faultable.html

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

  * igt@xe_exec_multi_queue@max-queues-preempt-mode-close-fd-smem:
    - shard-bmg:          NOTRUN -> [SKIP][45] ([Intel XE#6874]) +14 other tests skip
   [45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@xe_exec_multi_queue@max-queues-preempt-mode-close-fd-smem.html

  * igt@xe_exec_reset@gt-reset-stress:
    - shard-lnl:          [PASS][46] -> [DMESG-WARN][47] ([Intel XE#7023])
   [46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-lnl-2/igt@xe_exec_reset@gt-reset-stress.html
   [47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-lnl-8/igt@xe_exec_reset@gt-reset-stress.html

  * igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-mmap-new-huge:
    - shard-bmg:          NOTRUN -> [SKIP][48] ([Intel XE#4943]) +7 other tests skip
   [48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-mmap-new-huge.html

  * igt@xe_multigpu_svm@mgpu-concurrent-access-prefetch:
    - shard-bmg:          NOTRUN -> [SKIP][49] ([Intel XE#6964]) +1 other test skip
   [49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-8/igt@xe_multigpu_svm@mgpu-concurrent-access-prefetch.html

  * igt@xe_pm@s2idle-d3cold-basic-exec:
    - shard-bmg:          NOTRUN -> [SKIP][50] ([Intel XE#2284]) +1 other test skip
   [50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@xe_pm@s2idle-d3cold-basic-exec.html

  * igt@xe_pxp@pxp-stale-bo-bind-post-termination-irq:
    - shard-bmg:          NOTRUN -> [SKIP][51] ([Intel XE#4733]) +2 other tests skip
   [51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-2/igt@xe_pxp@pxp-stale-bo-bind-post-termination-irq.html

  * igt@xe_query@multigpu-query-config:
    - shard-bmg:          NOTRUN -> [SKIP][52] ([Intel XE#944]) +1 other test skip
   [52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@xe_query@multigpu-query-config.html

  
#### Possible fixes ####

  * igt@kms_flip@flip-vs-expired-vblank-interruptible:
    - shard-lnl:          [FAIL][53] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][54] +1 other test pass
   [53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-lnl-2/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
   [54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
    - shard-bmg:          [FAIL][55] ([Intel XE#7030]) -> [PASS][56]
   [55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-bmg-3/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
   [56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_flip@flip-vs-expired-vblank-interruptible.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@a-dp2:
    - shard-bmg:          [FAIL][57] -> [PASS][58]
   [57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-bmg-3/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-dp2.html
   [58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-10/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-dp2.html

  * igt@xe_pm@d3hot-basic-exec:
    - shard-lnl:          [TIMEOUT][59] -> [PASS][60]
   [59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-lnl-4/igt@xe_pm@d3hot-basic-exec.html
   [60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-lnl-3/igt@xe_pm@d3hot-basic-exec.html

  * igt@xe_pm@s4-multiple-execs:
    - shard-lnl:          [DMESG-WARN][61] -> [PASS][62]
   [61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-lnl-2/igt@xe_pm@s4-multiple-execs.html
   [62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-lnl-8/igt@xe_pm@s4-multiple-execs.html

  
#### Warnings ####

  * igt@kms_hdr@invalid-hdr:
    - shard-bmg:          [ABORT][63] ([Intel XE#6740]) -> [SKIP][64] ([Intel XE#1503])
   [63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-bmg-7/igt@kms_hdr@invalid-hdr.html
   [64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-bmg-2/igt@kms_hdr@invalid-hdr.html

  * igt@kms_psr2_sf@psr2-cursor-plane-move-continuous-sf:
    - shard-lnl:          [DMESG-WARN][65] ([Intel XE#7063]) -> [DMESG-WARN][66] ([Intel XE#4537] / [Intel XE#7063])
   [65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053/shard-lnl-4/igt@kms_psr2_sf@psr2-cursor-plane-move-continuous-sf.html
   [66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-159900v2/shard-lnl-3/igt@kms_psr2_sf@psr2-cursor-plane-move-continuous-sf.html

  
  [Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
  [Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
  [Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
  [Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
  [Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
  [Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
  [Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
  [Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
  [Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
  [Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
  [Intel XE#2286]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2286
  [Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
  [Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
  [Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
  [Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
  [Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
  [Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
  [Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
  [Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
  [Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
  [Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
  [Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
  [Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
  [Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
  [Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
  [Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
  [Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
  [Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
  [Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
  [Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
  [Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
  [Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
  [Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
  [Intel XE#4210]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4210
  [Intel XE#4459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4459
  [Intel XE#4537]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4537
  [Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
  [Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
  [Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
  [Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
  [Intel XE#6054]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6054
  [Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
  [Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
  [Intel XE#6740]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6740
  [Intel XE#6814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6814
  [Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
  [Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
  [Intel XE#6901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6901
  [Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
  [Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
  [Intel XE#6976]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6976
  [Intel XE#7023]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7023
  [Intel XE#7030]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7030
  [Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
  [Intel XE#7063]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7063
  [Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
  [Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
  [Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944


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

  * Linux: xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053 -> xe-pw-159900v2

  IGT_8704: 8704
  xe-4398-15fda547a09aee00de0b6e9e77b84489e96e8053: 15fda547a09aee00de0b6e9e77b84489e96e8053
  xe-pw-159900v2: 159900v2

== Logs ==

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

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

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

* RE: [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure
  2026-01-16 21:40   ` [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
@ 2026-01-17  0:00     ` Nguyen, Brian3
  2026-01-18  7:03     ` Usyskin, Alexander
  2026-01-19  5:15     ` Gote, Nitin R
  2 siblings, 0 replies; 30+ messages in thread
From: Nguyen, Brian3 @ 2026-01-17  0:00 UTC (permalink / raw)
  To: Lin, Shuicheng, intel-xe@lists.freedesktop.org
  Cc: Gote, Nitin R, Usyskin, Alexander, Vivi, Rodrigo

On Friday, January 16, 2026 1:41 PM, Shuicheng Lin wrote:
> After a successful auxiliary_device_init(), aux_dev->dev.release
> (xe_nvm_release_dev()) is responsible for the kfree(nvm). When there is failure with auxiliary_device_add(), driver will call
> auxiliary_device_uninit(), which call put_device(). So that the .release callback will be triggered to free the memory associated with the
> auxiliary_device.
> 
> Move the kfree(nvm) into the auxiliary_device_init() failure path and remove it from the shared err: label to fix below error.
> 
> "
> [   13.232905] ==================================================================
> [   13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe]
> [   13.233112] Free of addr ffff888120635000 by task systemd-udevd/273
> 
> [   13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted 6.19.0-rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary)
> ...
> [   13.233125] Call Trace:
> [   13.233126]  <TASK>
> [   13.233127]  dump_stack_lvl+0x7f/0xc0
> [   13.233132]  print_report+0xce/0x610
> [   13.233136]  ? kasan_complete_mode_report_info+0x5d/0x1e0
> [   13.233139]  ? xe_nvm_init+0x751/0xf10 [xe]
> ...
> "
> 
> Fixes: d4c3ed963e41 ("drm/xe: defer free of NVM auxiliary container to device release callback")
> Cc: Nitin Gote <nitin.r.gote@intel.com>
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Suggested-by: Brian Nguyen <brian3.nguyen@intel.com>

Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>

> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_nvm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c index 77856f460770..6d18c775d550 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.c
> +++ b/drivers/gpu/drm/xe/xe_nvm.c
> @@ -164,6 +164,7 @@ int xe_nvm_init(struct xe_device *xe)
>  	ret = auxiliary_device_init(aux_dev);
>  	if (ret) {
>  		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
> +		kfree(nvm);
>  		goto err;
>  	}
> 
> @@ -176,7 +177,6 @@ int xe_nvm_init(struct xe_device *xe)
>  	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> 
>  err:
> -	kfree(nvm);
>  	xe->nvm = NULL;
>  	return ret;
>  }
> --
> 2.50.1


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

* RE: [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure
  2026-01-16 21:40   ` [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
  2026-01-17  0:00     ` Nguyen, Brian3
@ 2026-01-18  7:03     ` Usyskin, Alexander
  2026-01-20 17:42       ` Lin, Shuicheng
  2026-01-19  5:15     ` Gote, Nitin R
  2 siblings, 1 reply; 30+ messages in thread
From: Usyskin, Alexander @ 2026-01-18  7:03 UTC (permalink / raw)
  To: Lin, Shuicheng, intel-xe@lists.freedesktop.org
  Cc: Gote, Nitin R, Vivi, Rodrigo, Nguyen, Brian3

> Subject: [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure
> 
> After a successful auxiliary_device_init(), aux_dev->dev.release
> (xe_nvm_release_dev()) is responsible for the kfree(nvm). When
> there is failure with auxiliary_device_add(), driver will call
> auxiliary_device_uninit(), which call put_device(). So that the
> .release callback will be triggered to free the memory associated
> with the auxiliary_device.
> 
> Move the kfree(nvm) into the auxiliary_device_init() failure path
> and remove it from the shared err: label to fix below error.
> 
> "
> [   13.232905]
> ==================================================================
> [   13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe]
> [   13.233112] Free of addr ffff888120635000 by task systemd-udevd/273
> 
> [   13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted
> 6.19.0-rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary)
> ...
> [   13.233125] Call Trace:
> [   13.233126]  <TASK>
> [   13.233127]  dump_stack_lvl+0x7f/0xc0
> [   13.233132]  print_report+0xce/0x610
> [   13.233136]  ? kasan_complete_mode_report_info+0x5d/0x1e0
> [   13.233139]  ? xe_nvm_init+0x751/0xf10 [xe]
> ...
> "
> 
> Fixes: d4c3ed963e41 ("drm/xe: defer free of NVM auxiliary container to
> device release callback")
> Cc: Nitin Gote <nitin.r.gote@intel.com>
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Suggested-by: Brian Nguyen <brian3.nguyen@intel.com>
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_nvm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
> index 77856f460770..6d18c775d550 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.c
> +++ b/drivers/gpu/drm/xe/xe_nvm.c
> @@ -164,6 +164,7 @@ int xe_nvm_init(struct xe_device *xe)
>  	ret = auxiliary_device_init(aux_dev);
>  	if (ret) {
>  		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
> +		kfree(nvm);
>  		goto err;
>  	}
> 
> @@ -176,7 +177,6 @@ int xe_nvm_init(struct xe_device *xe)
>  	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> 
>  err:
> -	kfree(nvm);
>  	xe->nvm = NULL;
>  	return ret;

Maybe replace goto err with these two lines and eliminate err label at all?

- - 
Thanks,
Sasha



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

* RE: [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure
  2026-01-16 21:40   ` [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
  2026-01-17  0:00     ` Nguyen, Brian3
  2026-01-18  7:03     ` Usyskin, Alexander
@ 2026-01-19  5:15     ` Gote, Nitin R
  2 siblings, 0 replies; 30+ messages in thread
From: Gote, Nitin R @ 2026-01-19  5:15 UTC (permalink / raw)
  To: Lin, Shuicheng, intel-xe@lists.freedesktop.org
  Cc: Usyskin, Alexander, Vivi, Rodrigo, Nguyen, Brian3


> After a successful auxiliary_device_init(), aux_dev->dev.release
> (xe_nvm_release_dev()) is responsible for the kfree(nvm). When there is failure
> with auxiliary_device_add(), driver will call auxiliary_device_uninit(), which call
> put_device(). So that the .release callback will be triggered to free the memory
> associated with the auxiliary_device.
> 
> Move the kfree(nvm) into the auxiliary_device_init() failure path and remove it
> from the shared err: label to fix below error.
> 
> "
> [   13.232905]
> =================================================================
> =
> [   13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe]
> [   13.233112] Free of addr ffff888120635000 by task systemd-udevd/273
> 
> [   13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted 6.19.0-
> rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary)
> ...
> [   13.233125] Call Trace:
> [   13.233126]  <TASK>
> [   13.233127]  dump_stack_lvl+0x7f/0xc0
> [   13.233132]  print_report+0xce/0x610
> [   13.233136]  ? kasan_complete_mode_report_info+0x5d/0x1e0
> [   13.233139]  ? xe_nvm_init+0x751/0xf10 [xe]
> ...
> "
> 
> Fixes: d4c3ed963e41 ("drm/xe: defer free of NVM auxiliary container to device
> release callback")
> Cc: Nitin Gote <nitin.r.gote@intel.com>
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Suggested-by: Brian Nguyen <brian3.nguyen@intel.com>
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_nvm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c index
> 77856f460770..6d18c775d550 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.c
> +++ b/drivers/gpu/drm/xe/xe_nvm.c
> @@ -164,6 +164,7 @@ int xe_nvm_init(struct xe_device *xe)
>  	ret = auxiliary_device_init(aux_dev);
>  	if (ret) {
>  		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
> +		kfree(nvm);
>  		goto err;
>  	}
> 
> @@ -176,7 +177,6 @@ int xe_nvm_init(struct xe_device *xe)
>  	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> 
>  err:
> -	kfree(nvm);
>  	xe->nvm = NULL;
>  	return ret;
>  }
LGTM,
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>

> --
> 2.50.1


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

* RE: [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure
  2026-01-18  7:03     ` Usyskin, Alexander
@ 2026-01-20 17:42       ` Lin, Shuicheng
  0 siblings, 0 replies; 30+ messages in thread
From: Lin, Shuicheng @ 2026-01-20 17:42 UTC (permalink / raw)
  To: Usyskin, Alexander, intel-xe@lists.freedesktop.org
  Cc: Gote, Nitin R, Vivi, Rodrigo, Nguyen, Brian3

On Sat, Jan 17, 2026 11:03 PM Alexander Usyskin wrote:
> > Subject: [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure
> >
> > After a successful auxiliary_device_init(), aux_dev->dev.release
> > (xe_nvm_release_dev()) is responsible for the kfree(nvm). When there
> > is failure with auxiliary_device_add(), driver will call
> > auxiliary_device_uninit(), which call put_device(). So that the
> > .release callback will be triggered to free the memory associated with
> > the auxiliary_device.
> >
> > Move the kfree(nvm) into the auxiliary_device_init() failure path and
> > remove it from the shared err: label to fix below error.
> >
> > "
> > [   13.232905]
> >
> ==================================================================
> > [   13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe]
> > [   13.233112] Free of addr ffff888120635000 by task systemd-udevd/273
> >
> > [   13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted
> > 6.19.0-rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary) ...
> > [   13.233125] Call Trace:
> > [   13.233126]  <TASK>
> > [   13.233127]  dump_stack_lvl+0x7f/0xc0
> > [   13.233132]  print_report+0xce/0x610
> > [   13.233136]  ? kasan_complete_mode_report_info+0x5d/0x1e0
> > [   13.233139]  ? xe_nvm_init+0x751/0xf10 [xe]
> > ...
> > "
> >
> > Fixes: d4c3ed963e41 ("drm/xe: defer free of NVM auxiliary container to
> > device release callback")
> > Cc: Nitin Gote <nitin.r.gote@intel.com>
> > Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > Suggested-by: Brian Nguyen <brian3.nguyen@intel.com>
> > Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> > ---
> >  drivers/gpu/drm/xe/xe_nvm.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
> > index 77856f460770..6d18c775d550 100644
> > --- a/drivers/gpu/drm/xe/xe_nvm.c
> > +++ b/drivers/gpu/drm/xe/xe_nvm.c
> > @@ -164,6 +164,7 @@ int xe_nvm_init(struct xe_device *xe)
> >  	ret = auxiliary_device_init(aux_dev);
> >  	if (ret) {
> >  		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
> > +		kfree(nvm);
> >  		goto err;
> >  	}
> >
> > @@ -176,7 +177,6 @@ int xe_nvm_init(struct xe_device *xe)
> >  	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> >
> >  err:
> > -	kfree(nvm);
> >  	xe->nvm = NULL;
> >  	return ret;
> 
> Maybe replace goto err with these two lines and eliminate err label at all?

It will duplicate the "xe->nvm = NULL;" twice in both failure path. That is why I prefer to keep the goto err path.
I will remove the goto in the coming patch, and create another patch to remove the " xe->nvm = NULL;".
Thanks.

Shuicheng 

> 
> - -
> Thanks,
> Sasha
> 


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

* [PATCH v3 0/3] Fix nvm aux resource cleanup
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (9 preceding siblings ...)
  2026-01-16 23:45 ` ✓ Xe.CI.Full: " Patchwork
@ 2026-01-20 17:59 ` Shuicheng Lin
  2026-01-20 17:59   ` [PATCH v3 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
                     ` (2 more replies)
  2026-01-20 18:28 ` [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
  11 siblings, 3 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 17:59 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin

v2: create patch2 to "Fix double-free on aux add failure".

v3: drop goto in patch2 and create patch3 to drop the clear of xe->nvm.

Shuicheng Lin (3):
  drm/xe/nvm: Manage nvm aux cleanup with devres
  drm/xe/nvm: Fix double-free on aux add failure
  drm/xe/nvm: Defer xe->nvm assignment until init succeeds

 drivers/gpu/drm/xe/xe_device.c             |  2 -
 drivers/gpu/drm/xe/xe_nvm.c                | 59 ++++++++++------------
 drivers/gpu/drm/xe/xe_nvm.h                |  2 -
 drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
 4 files changed, 28 insertions(+), 39 deletions(-)

-- 
2.50.1


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

* [PATCH v3 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres
  2026-01-20 17:59 ` [PATCH v3 0/3] Fix nvm aux resource cleanup Shuicheng Lin
@ 2026-01-20 17:59   ` Shuicheng Lin
  2026-01-20 17:59   ` [PATCH v3 2/3] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
  2026-01-20 17:59   ` [PATCH v3 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
  2 siblings, 0 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 17:59 UTC (permalink / raw)
  To: intel-xe
  Cc: Shuicheng Lin, Alexander Usyskin, Brian Nguyen, Rodrigo Vivi,
	Riana Tauro

Move nvm teardown to a devm-managed action registered from xe_nvm_init().
This ensures the auxiliary NVM device is deleted on probe failure and
device detach without requiring explicit calls from remove paths.

As part of this, drop xe_nvm_fini() from xe_device_remove() and from the
survivability sysfs teardown, and remove the public xe_nvm_fini() API from
the header.

This is to fix below warn message when there is probe failure after
xe_nvm_init(), then xe_device_probe() is called again:
"
[  207.318152] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/xe.nvm.768'
[  207.318157] CPU: 5 UID: 0 PID: 10261 Comm: modprobe Tainted: G    B   W           6.19.0-rc2-lgci-xe-kernel+ #223 PREEMPT(voluntary)
[  207.318160] Tainted: [B]=BAD_PAGE, [W]=WARN
[  207.318161] Hardware name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812 02/24/2023
[  207.318163] Call Trace:
[  207.318163]  <TASK>
[  207.318165]  dump_stack_lvl+0xa0/0xc0
[  207.318170]  dump_stack+0x10/0x20
[  207.318171]  sysfs_warn_dup+0xd5/0x110
[  207.318175]  sysfs_create_dir_ns+0x1f6/0x280
[  207.318177]  ? __pfx_sysfs_create_dir_ns+0x10/0x10
[  207.318179]  ? lock_acquire+0x1a4/0x2e0
[  207.318182]  ? __kasan_check_read+0x11/0x20
[  207.318185]  ? do_raw_spin_unlock+0x5c/0x240
[  207.318187]  kobject_add_internal+0x28d/0x8e0
[  207.318189]  kobject_add+0x11f/0x1f0
[  207.318191]  ? __pfx_kobject_add+0x10/0x10
[  207.318193]  ? lockdep_init_map_type+0x4b/0x230
[  207.318195]  ? get_device_parent.isra.0+0x43/0x4c0
[  207.318197]  ? kobject_get+0x55/0xf0
[  207.318199]  device_add+0x2d7/0x1500
[  207.318201]  ? __pfx_device_add+0x10/0x10
[  207.318203]  ? lockdep_init_map_type+0x4b/0x230
[  207.318205]  __auxiliary_device_add+0x99/0x140
[  207.318208]  xe_nvm_init+0x7a2/0xef0 [xe]
[  207.318333]  ? xe_devcoredump_init+0x80/0x110 [xe]
[  207.318452]  ? __devm_add_action+0x82/0xc0
[  207.318454]  ? fs_reclaim_release+0xc0/0x110
[  207.318457]  xe_device_probe+0x17dd/0x2c40 [xe]
[  207.318574]  ? __pfx___drm_dev_dbg+0x10/0x10
[  207.318576]  ? add_dr+0x180/0x220
[  207.318579]  ? __pfx___drmm_mutex_release+0x10/0x10
[  207.318582]  ? __pfx_xe_device_probe+0x10/0x10 [xe]
[  207.318697]  ? xe_pm_init_early+0x33a/0x410 [xe]
[  207.318850]  xe_pci_probe+0x936/0x1250 [xe]
[  207.318999]  ? lock_acquire+0x1a4/0x2e0
[  207.319003]  ? __pfx_xe_pci_probe+0x10/0x10 [xe]
[  207.319151]  local_pci_probe+0xe6/0x1a0
[  207.319154]  pci_device_probe+0x523/0x840
[  207.319157]  ? __pfx_pci_device_probe+0x10/0x10
[  207.319159]  ? sysfs_do_create_link_sd.isra.0+0x8c/0x110
[  207.319162]  ? sysfs_create_link+0x48/0xc0
...
"

Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory device")
Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Riana Tauro <riana.tauro@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c             |  2 -
 drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
 drivers/gpu/drm/xe/xe_nvm.h                |  2 -
 drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
 4 files changed, 22 insertions(+), 29 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 7c2f8b783c56..9cf82bde36c4 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -1026,8 +1026,6 @@ void xe_device_remove(struct xe_device *xe)
 {
 	xe_display_unregister(xe);
 
-	xe_nvm_fini(xe);
-
 	drm_dev_unplug(&xe->drm);
 
 	xe_bo_pci_dev_remove_all(xe);
diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 437375046517..77856f460770 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -94,6 +94,27 @@ static bool xe_nvm_writable_override(struct xe_device *xe)
 	return writable_override;
 }
 
+static void xe_nvm_fini(void *arg)
+{
+	struct xe_device *xe = arg;
+	struct intel_dg_nvm_dev *nvm = xe->nvm;
+
+	if (!xe->info.has_gsc_nvm)
+		return;
+
+	/* No access to internal NVM from VFs */
+	if (IS_SRIOV_VF(xe))
+		return;
+
+	/* Nvm pointer should not be NULL here */
+	if (WARN_ON(!nvm))
+		return;
+
+	auxiliary_device_delete(&nvm->aux_dev);
+	auxiliary_device_uninit(&nvm->aux_dev);
+	xe->nvm = NULL;
+}
+
 int xe_nvm_init(struct xe_device *xe)
 {
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
@@ -152,30 +173,10 @@ int xe_nvm_init(struct xe_device *xe)
 		auxiliary_device_uninit(aux_dev);
 		goto err;
 	}
-	return 0;
+	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 
 err:
 	kfree(nvm);
 	xe->nvm = NULL;
 	return ret;
 }
-
-void xe_nvm_fini(struct xe_device *xe)
-{
-	struct intel_dg_nvm_dev *nvm = xe->nvm;
-
-	if (!xe->info.has_gsc_nvm)
-		return;
-
-	/* No access to internal NVM from VFs */
-	if (IS_SRIOV_VF(xe))
-		return;
-
-	/* Nvm pointer should not be NULL here */
-	if (WARN_ON(!nvm))
-		return;
-
-	auxiliary_device_delete(&nvm->aux_dev);
-	auxiliary_device_uninit(&nvm->aux_dev);
-	xe->nvm = NULL;
-}
diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h
index 7f3d5f57bed0..fd3467ad35a4 100644
--- a/drivers/gpu/drm/xe/xe_nvm.h
+++ b/drivers/gpu/drm/xe/xe_nvm.h
@@ -10,6 +10,4 @@ struct xe_device;
 
 int xe_nvm_init(struct xe_device *xe);
 
-void xe_nvm_fini(struct xe_device *xe);
-
 #endif
diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
index 6578ffc77bd5..db64cac39c94 100644
--- a/drivers/gpu/drm/xe/xe_survivability_mode.c
+++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
@@ -233,13 +233,9 @@ static SURVIVABILITY_ATTR_RO(fdo_mode, FDO_INFO);
 static void xe_survivability_mode_fini(void *arg)
 {
 	struct xe_device *xe = arg;
-	struct xe_survivability *survivability = &xe->survivability;
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
 	struct device *dev = &pdev->dev;
 
-	if (survivability->fdo_mode)
-		xe_nvm_fini(xe);
-
 	device_remove_file(dev, &dev_attr_survivability_mode);
 }
 
-- 
2.50.1


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

* [PATCH v3 2/3] drm/xe/nvm: Fix double-free on aux add failure
  2026-01-20 17:59 ` [PATCH v3 0/3] Fix nvm aux resource cleanup Shuicheng Lin
  2026-01-20 17:59   ` [PATCH v3 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
@ 2026-01-20 17:59   ` Shuicheng Lin
  2026-01-20 17:59   ` [PATCH v3 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
  2 siblings, 0 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 17:59 UTC (permalink / raw)
  To: intel-xe
  Cc: Shuicheng Lin, Nitin Gote, Brian Nguyen, Alexander Usyskin,
	Rodrigo Vivi

After a successful auxiliary_device_init(), aux_dev->dev.release
(xe_nvm_release_dev()) is responsible for the kfree(nvm). When
there is failure with auxiliary_device_add(), driver will call
auxiliary_device_uninit(), which call put_device(). So that the
.release callback will be triggered to free the memory associated
with the auxiliary_device.

Move the kfree(nvm) into the auxiliary_device_init() failure path
and remove the err goto path to fix below error.

"
[   13.232905] ==================================================================
[   13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe]
[   13.233112] Free of addr ffff888120635000 by task systemd-udevd/273

[   13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted 6.19.0-rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary)
...
[   13.233125] Call Trace:
[   13.233126]  <TASK>
[   13.233127]  dump_stack_lvl+0x7f/0xc0
[   13.233132]  print_report+0xce/0x610
[   13.233136]  ? kasan_complete_mode_report_info+0x5d/0x1e0
[   13.233139]  ? xe_nvm_init+0x751/0xf10 [xe]
...
"

v2: drop err goto path. (Alexander)

Fixes: d4c3ed963e41 ("drm/xe: defer free of NVM auxiliary container to device release callback")
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Suggested-by: Brian Nguyen <brian3.nguyen@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_nvm.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 77856f460770..6f9dd519371c 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -164,19 +164,17 @@ int xe_nvm_init(struct xe_device *xe)
 	ret = auxiliary_device_init(aux_dev);
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
-		goto err;
+		kfree(nvm);
+		xe->nvm = NULL;
+		return ret;
 	}
 
 	ret = auxiliary_device_add(aux_dev);
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
 		auxiliary_device_uninit(aux_dev);
-		goto err;
+		xe->nvm = NULL;
+		return ret;
 	}
 	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
-
-err:
-	kfree(nvm);
-	xe->nvm = NULL;
-	return ret;
 }
-- 
2.50.1


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

* [PATCH v3 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds
  2026-01-20 17:59 ` [PATCH v3 0/3] Fix nvm aux resource cleanup Shuicheng Lin
  2026-01-20 17:59   ` [PATCH v3 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
  2026-01-20 17:59   ` [PATCH v3 2/3] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
@ 2026-01-20 17:59   ` Shuicheng Lin
  2 siblings, 0 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 17:59 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin, Alexander Usyskin, Rodrigo Vivi, Brian Nguyen

Allocate and initialize the NVM structure using a local pointer and
assign it to xe->nvm only after all initialization steps succeed.

This avoids exposing a partially initialized xe->nvm and removes the
need to explicitly clear xe->nvm on error paths, simplifying error
handling and making the lifetime rules clearer.

Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Brian Nguyen <brian3.nguyen@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_nvm.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 6f9dd519371c..bc88804de514 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -133,12 +133,10 @@ int xe_nvm_init(struct xe_device *xe)
 	if (WARN_ON(xe->nvm))
 		return -EFAULT;
 
-	xe->nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
-	if (!xe->nvm)
+	nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
+	if (!nvm)
 		return -ENOMEM;
 
-	nvm = xe->nvm;
-
 	nvm->writable_override = xe_nvm_writable_override(xe);
 	nvm->non_posted_erase = xe_nvm_non_posted_erase(xe);
 	nvm->bar.parent = &pdev->resource[0];
@@ -165,7 +163,6 @@ int xe_nvm_init(struct xe_device *xe)
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
 		kfree(nvm);
-		xe->nvm = NULL;
 		return ret;
 	}
 
@@ -173,8 +170,9 @@ int xe_nvm_init(struct xe_device *xe)
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
 		auxiliary_device_uninit(aux_dev);
-		xe->nvm = NULL;
 		return ret;
 	}
+
+	xe->nvm = nvm;
 	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 }
-- 
2.50.1


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

* [PATCH v4 0/3] Fix nvm aux resource cleanup
  2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
                   ` (10 preceding siblings ...)
  2026-01-20 17:59 ` [PATCH v3 0/3] Fix nvm aux resource cleanup Shuicheng Lin
@ 2026-01-20 18:28 ` Shuicheng Lin
  2026-01-20 18:28   ` [PATCH v4 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
                     ` (2 more replies)
  11 siblings, 3 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 18:28 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin

v2: create patch2 to "Fix double-free on aux add failure".
         
v3: drop goto in patch2 and create patch3 to drop the clear of xe->nvm.

v4: re-send series to fix patch apply failure.

Shuicheng Lin (3):
  drm/xe/nvm: Manage nvm aux cleanup with devres
  drm/xe/nvm: Fix double-free on aux add failure
  drm/xe/nvm: Defer xe->nvm assignment until init succeeds

 drivers/gpu/drm/xe/xe_device.c             |  2 -
 drivers/gpu/drm/xe/xe_nvm.c                | 59 ++++++++++------------
 drivers/gpu/drm/xe/xe_nvm.h                |  2 -
 drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
 4 files changed, 28 insertions(+), 39 deletions(-)

-- 
2.50.1


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

* [PATCH v4 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres
  2026-01-20 18:28 ` [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
@ 2026-01-20 18:28   ` Shuicheng Lin
  2026-01-20 18:28   ` [PATCH v4 2/3] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
  2026-01-20 18:28   ` [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
  2 siblings, 0 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 18:28 UTC (permalink / raw)
  To: intel-xe
  Cc: Shuicheng Lin, Alexander Usyskin, Brian Nguyen, Rodrigo Vivi,
	Riana Tauro

Move nvm teardown to a devm-managed action registered from xe_nvm_init().
This ensures the auxiliary NVM device is deleted on probe failure and
device detach without requiring explicit calls from remove paths.

As part of this, drop xe_nvm_fini() from xe_device_remove() and from the
survivability sysfs teardown, and remove the public xe_nvm_fini() API from
the header.

This is to fix below warn message when there is probe failure after
xe_nvm_init(), then xe_device_probe() is called again:
"
[  207.318152] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/xe.nvm.768'
[  207.318157] CPU: 5 UID: 0 PID: 10261 Comm: modprobe Tainted: G    B   W           6.19.0-rc2-lgci-xe-kernel+ #223 PREEMPT(voluntary)
[  207.318160] Tainted: [B]=BAD_PAGE, [W]=WARN
[  207.318161] Hardware name: ASUS System Product Name/PRIME Z790-P WIFI, BIOS 0812 02/24/2023
[  207.318163] Call Trace:
[  207.318163]  <TASK>
[  207.318165]  dump_stack_lvl+0xa0/0xc0
[  207.318170]  dump_stack+0x10/0x20
[  207.318171]  sysfs_warn_dup+0xd5/0x110
[  207.318175]  sysfs_create_dir_ns+0x1f6/0x280
[  207.318177]  ? __pfx_sysfs_create_dir_ns+0x10/0x10
[  207.318179]  ? lock_acquire+0x1a4/0x2e0
[  207.318182]  ? __kasan_check_read+0x11/0x20
[  207.318185]  ? do_raw_spin_unlock+0x5c/0x240
[  207.318187]  kobject_add_internal+0x28d/0x8e0
[  207.318189]  kobject_add+0x11f/0x1f0
[  207.318191]  ? __pfx_kobject_add+0x10/0x10
[  207.318193]  ? lockdep_init_map_type+0x4b/0x230
[  207.318195]  ? get_device_parent.isra.0+0x43/0x4c0
[  207.318197]  ? kobject_get+0x55/0xf0
[  207.318199]  device_add+0x2d7/0x1500
[  207.318201]  ? __pfx_device_add+0x10/0x10
[  207.318203]  ? lockdep_init_map_type+0x4b/0x230
[  207.318205]  __auxiliary_device_add+0x99/0x140
[  207.318208]  xe_nvm_init+0x7a2/0xef0 [xe]
[  207.318333]  ? xe_devcoredump_init+0x80/0x110 [xe]
[  207.318452]  ? __devm_add_action+0x82/0xc0
[  207.318454]  ? fs_reclaim_release+0xc0/0x110
[  207.318457]  xe_device_probe+0x17dd/0x2c40 [xe]
[  207.318574]  ? __pfx___drm_dev_dbg+0x10/0x10
[  207.318576]  ? add_dr+0x180/0x220
[  207.318579]  ? __pfx___drmm_mutex_release+0x10/0x10
[  207.318582]  ? __pfx_xe_device_probe+0x10/0x10 [xe]
[  207.318697]  ? xe_pm_init_early+0x33a/0x410 [xe]
[  207.318850]  xe_pci_probe+0x936/0x1250 [xe]
[  207.318999]  ? lock_acquire+0x1a4/0x2e0
[  207.319003]  ? __pfx_xe_pci_probe+0x10/0x10 [xe]
[  207.319151]  local_pci_probe+0xe6/0x1a0
[  207.319154]  pci_device_probe+0x523/0x840
[  207.319157]  ? __pfx_pci_device_probe+0x10/0x10
[  207.319159]  ? sysfs_do_create_link_sd.isra.0+0x8c/0x110
[  207.319162]  ? sysfs_create_link+0x48/0xc0
...
"

Fixes: c28bfb107dac ("drm/xe/nvm: add on-die non-volatile memory device")
Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Riana Tauro <riana.tauro@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_device.c             |  2 -
 drivers/gpu/drm/xe/xe_nvm.c                | 43 +++++++++++-----------
 drivers/gpu/drm/xe/xe_nvm.h                |  2 -
 drivers/gpu/drm/xe/xe_survivability_mode.c |  4 --
 4 files changed, 22 insertions(+), 29 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index aad4aa53a51f..a954cc8400b3 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -1025,8 +1025,6 @@ void xe_device_remove(struct xe_device *xe)
 {
 	xe_display_unregister(xe);
 
-	xe_nvm_fini(xe);
-
 	drm_dev_unplug(&xe->drm);
 
 	xe_bo_pci_dev_remove_all(xe);
diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 437375046517..77856f460770 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -94,6 +94,27 @@ static bool xe_nvm_writable_override(struct xe_device *xe)
 	return writable_override;
 }
 
+static void xe_nvm_fini(void *arg)
+{
+	struct xe_device *xe = arg;
+	struct intel_dg_nvm_dev *nvm = xe->nvm;
+
+	if (!xe->info.has_gsc_nvm)
+		return;
+
+	/* No access to internal NVM from VFs */
+	if (IS_SRIOV_VF(xe))
+		return;
+
+	/* Nvm pointer should not be NULL here */
+	if (WARN_ON(!nvm))
+		return;
+
+	auxiliary_device_delete(&nvm->aux_dev);
+	auxiliary_device_uninit(&nvm->aux_dev);
+	xe->nvm = NULL;
+}
+
 int xe_nvm_init(struct xe_device *xe)
 {
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
@@ -152,30 +173,10 @@ int xe_nvm_init(struct xe_device *xe)
 		auxiliary_device_uninit(aux_dev);
 		goto err;
 	}
-	return 0;
+	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 
 err:
 	kfree(nvm);
 	xe->nvm = NULL;
 	return ret;
 }
-
-void xe_nvm_fini(struct xe_device *xe)
-{
-	struct intel_dg_nvm_dev *nvm = xe->nvm;
-
-	if (!xe->info.has_gsc_nvm)
-		return;
-
-	/* No access to internal NVM from VFs */
-	if (IS_SRIOV_VF(xe))
-		return;
-
-	/* Nvm pointer should not be NULL here */
-	if (WARN_ON(!nvm))
-		return;
-
-	auxiliary_device_delete(&nvm->aux_dev);
-	auxiliary_device_uninit(&nvm->aux_dev);
-	xe->nvm = NULL;
-}
diff --git a/drivers/gpu/drm/xe/xe_nvm.h b/drivers/gpu/drm/xe/xe_nvm.h
index 7f3d5f57bed0..fd3467ad35a4 100644
--- a/drivers/gpu/drm/xe/xe_nvm.h
+++ b/drivers/gpu/drm/xe/xe_nvm.h
@@ -10,6 +10,4 @@ struct xe_device;
 
 int xe_nvm_init(struct xe_device *xe);
 
-void xe_nvm_fini(struct xe_device *xe);
-
 #endif
diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
index 6578ffc77bd5..db64cac39c94 100644
--- a/drivers/gpu/drm/xe/xe_survivability_mode.c
+++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
@@ -233,13 +233,9 @@ static SURVIVABILITY_ATTR_RO(fdo_mode, FDO_INFO);
 static void xe_survivability_mode_fini(void *arg)
 {
 	struct xe_device *xe = arg;
-	struct xe_survivability *survivability = &xe->survivability;
 	struct pci_dev *pdev = to_pci_dev(xe->drm.dev);
 	struct device *dev = &pdev->dev;
 
-	if (survivability->fdo_mode)
-		xe_nvm_fini(xe);
-
 	device_remove_file(dev, &dev_attr_survivability_mode);
 }
 
-- 
2.50.1


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

* [PATCH v4 2/3] drm/xe/nvm: Fix double-free on aux add failure
  2026-01-20 18:28 ` [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
  2026-01-20 18:28   ` [PATCH v4 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
@ 2026-01-20 18:28   ` Shuicheng Lin
  2026-01-20 18:28   ` [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
  2 siblings, 0 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 18:28 UTC (permalink / raw)
  To: intel-xe
  Cc: Shuicheng Lin, Nitin Gote, Brian Nguyen, Alexander Usyskin,
	Rodrigo Vivi

After a successful auxiliary_device_init(), aux_dev->dev.release
(xe_nvm_release_dev()) is responsible for the kfree(nvm). When
there is failure with auxiliary_device_add(), driver will call
auxiliary_device_uninit(), which call put_device(). So that the
.release callback will be triggered to free the memory associated
with the auxiliary_device.

Move the kfree(nvm) into the auxiliary_device_init() failure path
and remove the err goto path to fix below error.

"
[   13.232905] ==================================================================
[   13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe]
[   13.233112] Free of addr ffff888120635000 by task systemd-udevd/273

[   13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted 6.19.0-rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary)
...
[   13.233125] Call Trace:
[   13.233126]  <TASK>
[   13.233127]  dump_stack_lvl+0x7f/0xc0
[   13.233132]  print_report+0xce/0x610
[   13.233136]  ? kasan_complete_mode_report_info+0x5d/0x1e0
[   13.233139]  ? xe_nvm_init+0x751/0xf10 [xe]
...
"

v2: drop err goto path. (Alexander)

Fixes: d4c3ed963e41 ("drm/xe: defer free of NVM auxiliary container to device release callback")
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Suggested-by: Brian Nguyen <brian3.nguyen@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_nvm.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 77856f460770..6f9dd519371c 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -164,19 +164,17 @@ int xe_nvm_init(struct xe_device *xe)
 	ret = auxiliary_device_init(aux_dev);
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
-		goto err;
+		kfree(nvm);
+		xe->nvm = NULL;
+		return ret;
 	}
 
 	ret = auxiliary_device_add(aux_dev);
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
 		auxiliary_device_uninit(aux_dev);
-		goto err;
+		xe->nvm = NULL;
+		return ret;
 	}
 	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
-
-err:
-	kfree(nvm);
-	xe->nvm = NULL;
-	return ret;
 }
-- 
2.50.1


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

* [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds
  2026-01-20 18:28 ` [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
  2026-01-20 18:28   ` [PATCH v4 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
  2026-01-20 18:28   ` [PATCH v4 2/3] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
@ 2026-01-20 18:28   ` Shuicheng Lin
  2 siblings, 0 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 18:28 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin, Alexander Usyskin, Rodrigo Vivi, Brian Nguyen

Allocate and initialize the NVM structure using a local pointer and
assign it to xe->nvm only after all initialization steps succeed.

This avoids exposing a partially initialized xe->nvm and removes the
need to explicitly clear xe->nvm on error paths, simplifying error
handling and making the lifetime rules clearer.

Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Brian Nguyen <brian3.nguyen@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_nvm.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 6f9dd519371c..bc88804de514 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -133,12 +133,10 @@ int xe_nvm_init(struct xe_device *xe)
 	if (WARN_ON(xe->nvm))
 		return -EFAULT;
 
-	xe->nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
-	if (!xe->nvm)
+	nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
+	if (!nvm)
 		return -ENOMEM;
 
-	nvm = xe->nvm;
-
 	nvm->writable_override = xe_nvm_writable_override(xe);
 	nvm->non_posted_erase = xe_nvm_non_posted_erase(xe);
 	nvm->bar.parent = &pdev->resource[0];
@@ -165,7 +163,6 @@ int xe_nvm_init(struct xe_device *xe)
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
 		kfree(nvm);
-		xe->nvm = NULL;
 		return ret;
 	}
 
@@ -173,8 +170,9 @@ int xe_nvm_init(struct xe_device *xe)
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
 		auxiliary_device_uninit(aux_dev);
-		xe->nvm = NULL;
 		return ret;
 	}
+
+	xe->nvm = nvm;
 	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 }
-- 
2.50.1


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

* [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds
  2026-01-20 18:32 [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
@ 2026-01-20 18:32 ` Shuicheng Lin
  2026-01-20 23:41   ` Nguyen, Brian3
  2026-01-21  7:02   ` Usyskin, Alexander
  0 siblings, 2 replies; 30+ messages in thread
From: Shuicheng Lin @ 2026-01-20 18:32 UTC (permalink / raw)
  To: intel-xe; +Cc: Shuicheng Lin, Alexander Usyskin, Rodrigo Vivi, Brian Nguyen

Allocate and initialize the NVM structure using a local pointer and
assign it to xe->nvm only after all initialization steps succeed.

This avoids exposing a partially initialized xe->nvm and removes the
need to explicitly clear xe->nvm on error paths, simplifying error
handling and making the lifetime rules clearer.

Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Brian Nguyen <brian3.nguyen@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
 drivers/gpu/drm/xe/xe_nvm.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 6f9dd519371c..bc88804de514 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -133,12 +133,10 @@ int xe_nvm_init(struct xe_device *xe)
 	if (WARN_ON(xe->nvm))
 		return -EFAULT;
 
-	xe->nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
-	if (!xe->nvm)
+	nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
+	if (!nvm)
 		return -ENOMEM;
 
-	nvm = xe->nvm;
-
 	nvm->writable_override = xe_nvm_writable_override(xe);
 	nvm->non_posted_erase = xe_nvm_non_posted_erase(xe);
 	nvm->bar.parent = &pdev->resource[0];
@@ -165,7 +163,6 @@ int xe_nvm_init(struct xe_device *xe)
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
 		kfree(nvm);
-		xe->nvm = NULL;
 		return ret;
 	}
 
@@ -173,8 +170,9 @@ int xe_nvm_init(struct xe_device *xe)
 	if (ret) {
 		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
 		auxiliary_device_uninit(aux_dev);
-		xe->nvm = NULL;
 		return ret;
 	}
+
+	xe->nvm = nvm;
 	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
 }
-- 
2.50.1


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

* RE: [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds
  2026-01-20 18:32 ` [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
@ 2026-01-20 23:41   ` Nguyen, Brian3
  2026-01-21  7:02   ` Usyskin, Alexander
  1 sibling, 0 replies; 30+ messages in thread
From: Nguyen, Brian3 @ 2026-01-20 23:41 UTC (permalink / raw)
  To: Lin, Shuicheng, intel-xe@lists.freedesktop.org
  Cc: Usyskin, Alexander, Vivi, Rodrigo

On Tuesday, January 20, 2026 10:33 AM, Shuicheng Lin wrote:
> Allocate and initialize the NVM structure using a local pointer and assign it to xe->nvm only after all initialization steps succeed.
> 
> This avoids exposing a partially initialized xe->nvm and removes the need to explicitly clear xe->nvm on error paths, simplifying error
> handling and making the lifetime rules clearer.
> 
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Brian Nguyen <brian3.nguyen@intel.com>

Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>

> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_nvm.c | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c index 6f9dd519371c..bc88804de514 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.c
> +++ b/drivers/gpu/drm/xe/xe_nvm.c
> @@ -133,12 +133,10 @@ int xe_nvm_init(struct xe_device *xe)
>  	if (WARN_ON(xe->nvm))
>  		return -EFAULT;
> 
> -	xe->nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
> -	if (!xe->nvm)
> +	nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
> +	if (!nvm)
>  		return -ENOMEM;
> 
> -	nvm = xe->nvm;
> -
>  	nvm->writable_override = xe_nvm_writable_override(xe);
>  	nvm->non_posted_erase = xe_nvm_non_posted_erase(xe);
>  	nvm->bar.parent = &pdev->resource[0];
> @@ -165,7 +163,6 @@ int xe_nvm_init(struct xe_device *xe)
>  	if (ret) {
>  		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
>  		kfree(nvm);
> -		xe->nvm = NULL;
>  		return ret;
>  	}
> 
> @@ -173,8 +170,9 @@ int xe_nvm_init(struct xe_device *xe)
>  	if (ret) {
>  		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
>  		auxiliary_device_uninit(aux_dev);
> -		xe->nvm = NULL;
>  		return ret;
>  	}
> +
> +	xe->nvm = nvm;
>  	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);  }
> --
> 2.50.1


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

* RE: [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds
  2026-01-20 18:32 ` [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
  2026-01-20 23:41   ` Nguyen, Brian3
@ 2026-01-21  7:02   ` Usyskin, Alexander
  2026-01-21 16:05     ` Lin, Shuicheng
  1 sibling, 1 reply; 30+ messages in thread
From: Usyskin, Alexander @ 2026-01-21  7:02 UTC (permalink / raw)
  To: Lin, Shuicheng, intel-xe@lists.freedesktop.org
  Cc: Vivi, Rodrigo, Nguyen, Brian3

> Subject: [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init
> succeeds
> 
> Allocate and initialize the NVM structure using a local pointer and
> assign it to xe->nvm only after all initialization steps succeed.
> 
> This avoids exposing a partially initialized xe->nvm and removes the
> need to explicitly clear xe->nvm on error paths, simplifying error
> handling and making the lifetime rules clearer.
> 
> Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Brian Nguyen <brian3.nguyen@intel.com>
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>  drivers/gpu/drm/xe/xe_nvm.c | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
> index 6f9dd519371c..bc88804de514 100644
> --- a/drivers/gpu/drm/xe/xe_nvm.c
> +++ b/drivers/gpu/drm/xe/xe_nvm.c
> @@ -133,12 +133,10 @@ int xe_nvm_init(struct xe_device *xe)
>  	if (WARN_ON(xe->nvm))
>  		return -EFAULT;
> 
> -	xe->nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
> -	if (!xe->nvm)
> +	nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
> +	if (!nvm)
>  		return -ENOMEM;
> 
> -	nvm = xe->nvm;
> -
>  	nvm->writable_override = xe_nvm_writable_override(xe);
>  	nvm->non_posted_erase = xe_nvm_non_posted_erase(xe);
>  	nvm->bar.parent = &pdev->resource[0];
> @@ -165,7 +163,6 @@ int xe_nvm_init(struct xe_device *xe)
>  	if (ret) {
>  		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
>  		kfree(nvm);
> -		xe->nvm = NULL;
>  		return ret;
>  	}
> 
> @@ -173,8 +170,9 @@ int xe_nvm_init(struct xe_device *xe)
>  	if (ret) {
>  		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
>  		auxiliary_device_uninit(aux_dev);

kfree(nvm);
as it is unmanaged here

And better to use __free construct for auto-free on failure

- - 
Thanks,
Sasha



> -		xe->nvm = NULL;
>  		return ret;
>  	}
> +
> +	xe->nvm = nvm;
>  	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
>  }
> --
> 2.50.1


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

* RE: [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds
  2026-01-21  7:02   ` Usyskin, Alexander
@ 2026-01-21 16:05     ` Lin, Shuicheng
  0 siblings, 0 replies; 30+ messages in thread
From: Lin, Shuicheng @ 2026-01-21 16:05 UTC (permalink / raw)
  To: Usyskin, Alexander, intel-xe@lists.freedesktop.org
  Cc: Vivi, Rodrigo, Nguyen, Brian3

On Tue, Jan 20, 2026 11:02 PM Alexander Usyskin wrote:
> > Subject: [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until
> > init succeeds
> >
> > Allocate and initialize the NVM structure using a local pointer and
> > assign it to xe->nvm only after all initialization steps succeed.
> >
> > This avoids exposing a partially initialized xe->nvm and removes the
> > need to explicitly clear xe->nvm on error paths, simplifying error
> > handling and making the lifetime rules clearer.
> >
> > Cc: Alexander Usyskin <alexander.usyskin@intel.com>
> > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > Cc: Brian Nguyen <brian3.nguyen@intel.com>
> > Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> > ---
> >  drivers/gpu/drm/xe/xe_nvm.c | 10 ++++------
> >  1 file changed, 4 insertions(+), 6 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
> > index 6f9dd519371c..bc88804de514 100644
> > --- a/drivers/gpu/drm/xe/xe_nvm.c
> > +++ b/drivers/gpu/drm/xe/xe_nvm.c
> > @@ -133,12 +133,10 @@ int xe_nvm_init(struct xe_device *xe)
> >  	if (WARN_ON(xe->nvm))
> >  		return -EFAULT;
> >
> > -	xe->nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
> > -	if (!xe->nvm)
> > +	nvm = kzalloc(sizeof(*nvm), GFP_KERNEL);
> > +	if (!nvm)
> >  		return -ENOMEM;
> >
> > -	nvm = xe->nvm;
> > -
> >  	nvm->writable_override = xe_nvm_writable_override(xe);
> >  	nvm->non_posted_erase = xe_nvm_non_posted_erase(xe);
> >  	nvm->bar.parent = &pdev->resource[0]; @@ -165,7 +163,6 @@ int
> > xe_nvm_init(struct xe_device *xe)
> >  	if (ret) {
> >  		drm_err(&xe->drm, "xe-nvm aux init failed %d\n", ret);
> >  		kfree(nvm);
> > -		xe->nvm = NULL;
> >  		return ret;
> >  	}
> >
> > @@ -173,8 +170,9 @@ int xe_nvm_init(struct xe_device *xe)
> >  	if (ret) {
> >  		drm_err(&xe->drm, "xe-nvm aux add failed %d\n", ret);
> >  		auxiliary_device_uninit(aux_dev);
> 
> kfree(nvm);
> as it is unmanaged here

No. nvm will be freed by xe_nvm_release_dev(), which does not rely on the xe->nvm structure.
Is my understanding correct?
Thanks.

Shuicheng

> 
> And better to use __free construct for auto-free on failure
> 
> - -
> Thanks,
> Sasha
> 
> 
> 
> > -		xe->nvm = NULL;
> >  		return ret;
> >  	}
> > +
> > +	xe->nvm = nvm;
> >  	return devm_add_action_or_reset(xe->drm.dev, xe_nvm_fini, xe);
> >  }
> > --
> > 2.50.1


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

end of thread, other threads:[~2026-01-21 16:06 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09 22:00 [PATCH] drm/xe: Manage nvm aux cleanup with devres Shuicheng Lin
2026-01-09 22:14 ` ✓ CI.KUnit: success for " Patchwork
2026-01-09 22:51 ` ✓ Xe.CI.BAT: " Patchwork
2026-01-10  3:27 ` ✓ Xe.CI.Full: " Patchwork
2026-01-13 16:11 ` [PATCH] " Lin, Shuicheng
2026-01-15 11:30 ` Usyskin, Alexander
2026-01-16 18:05 ` Nguyen, Brian3
2026-01-16 18:44   ` Lin, Shuicheng
2026-01-16 21:40 ` [PATCH 0/2] Fix nvm aux resource cleanup Shuicheng Lin
2026-01-16 21:40   ` [PATCH v2 1/2] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
2026-01-16 21:40   ` [PATCH 2/2] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
2026-01-17  0:00     ` Nguyen, Brian3
2026-01-18  7:03     ` Usyskin, Alexander
2026-01-20 17:42       ` Lin, Shuicheng
2026-01-19  5:15     ` Gote, Nitin R
2026-01-16 21:51 ` ✓ CI.KUnit: success for drm/xe: Manage nvm aux cleanup with devres (rev2) Patchwork
2026-01-16 22:26 ` ✓ Xe.CI.BAT: " Patchwork
2026-01-16 23:45 ` ✓ Xe.CI.Full: " Patchwork
2026-01-20 17:59 ` [PATCH v3 0/3] Fix nvm aux resource cleanup Shuicheng Lin
2026-01-20 17:59   ` [PATCH v3 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
2026-01-20 17:59   ` [PATCH v3 2/3] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
2026-01-20 17:59   ` [PATCH v3 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
2026-01-20 18:28 ` [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
2026-01-20 18:28   ` [PATCH v4 1/3] drm/xe/nvm: Manage nvm aux cleanup with devres Shuicheng Lin
2026-01-20 18:28   ` [PATCH v4 2/3] drm/xe/nvm: Fix double-free on aux add failure Shuicheng Lin
2026-01-20 18:28   ` [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
  -- strict thread matches above, loose matches on Subject: below --
2026-01-20 18:32 [PATCH v4 0/3] Fix nvm aux resource cleanup Shuicheng Lin
2026-01-20 18:32 ` [PATCH v4 3/3] drm/xe/nvm: Defer xe->nvm assignment until init succeeds Shuicheng Lin
2026-01-20 23:41   ` Nguyen, Brian3
2026-01-21  7:02   ` Usyskin, Alexander
2026-01-21 16:05     ` Lin, Shuicheng

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