igt@kms_psr@cursor_plane_move - abort - This test caused an abort condition: Lockdep not active
Stdout
Opened device: /dev/dri/card0
Test requirement not met in function __igt_unique____real_main767, file ../../../usr/src/igt-gpu-tools/tests/i915/kms_psr.c:781:
Test requirement: sink_support(&data, PSR_MODE_1)
Sink does not support PSR
Last errno: 19, No such device
Subtest cursor_plane_move: SKIP (0.000s)
This test caused an abort condition: Lockdep not active
/proc/lockdep_stats contents:
lock-classes: 1761 [max: 8192]
direct dependencies: 17478 [max: 32768]
indirect dependencies: 131779
all direct dependencies: 356382
dependency chains: 25019 [max: 131072]
dependency chain hlocks used: 102897 [max: 655360]
dependency chain hlocks lost: 0
in-hardirq chains: 282
in-softirq chains: 555
in-process chains: 24182
stack-trace entries: 164328 [max: 1048576]
number of stack traces: 8326
number of stack hash chains: 6518
combined max dependencies: 3805146684
hardirq-safe locks: 103
hardirq-unsafe locks: 1046
softirq-safe locks: 201
softirq-unsafe locks: 963
irq-safe locks: 221
irq-unsafe locks: 1046
hardirq-read-safe locks: 3
hardirq-read-unsafe locks: 311
softirq-read-safe locks: 7
softirq-read-unsafe locks: 306
irq-read-safe locks: 7
irq-read-unsafe locks: 311
uncategorized locks: 288
unused locks: 1
max locking depth: 15
max bfs queue depth: 395
max lock class index: 1760
chain lookup misses: 25464
chain lookup hits: 226806979
cyclic checks: 25516
redundant checks: 0
redundant links: 0
find-mask forwards checks: 4198
find-mask backwards checks: 2628
hardirq on events: 144493276
hardirq off events: 144493261
redundant hardirq ons: 26
redundant hardirq offs: 19
softirq on events: 683746
softirq off events: 683746
redundant softirq ons: 0
redundant softirq offs: 0
debug_locks: 0
zapped classes: 1
zapped lock chains: 115
large chain blocks: 1
Stderr
Subtest cursor_plane_move: SKIP (0.000s)
Dmesg
<4> [203.949335] intel_uc_reset_prepare+0x9c/0x120 [i915]
<4> [203.949631] reset_prepare+0x21/0x60 [i915]
<4> [203.949868] intel_gt_reset+0x1dd/0x470 [i915]
<4> [203.950100] intel_gt_reset_global+0xfb/0x170 [i915]
<4> [203.950334] intel_gt_handle_error+0x36c/0x430 [i915]
<4> [203.950564] intel_gt_debugfs_reset_store+0x5c/0xc0 [i915]
<4> [203.950776] i915_wedged_set+0x1d/0x40 [i915]
<4> [203.950960] simple_attr_write_xsigned.constprop.0+0xb4/0x110
<4> [203.950986] full_proxy_write+0x58/0x80
<4> [203.951004] vfs_write+0xcb/0x520
<4> [203.951021] ksys_write+0x64/0xe0
<4> [203.951036] do_syscall_64+0x3c/0x90
<4> [203.951055] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
<4> [203.951077]
-> #2 (>->reset.mutex){+.+.}-{3:3}:
<4> [203.951112] lock_acquire+0xd8/0x2d0
<4> [203.951129] i915_gem_shrinker_taints_mutex+0x31/0x50 [i915]
<4> [203.951370] intel_gt_init_reset+0x65/0x80 [i915]
<4> [203.951574] intel_gt_common_init_early+0xd9/0x120 [i915]
<4> [203.951762] intel_root_gt_init_early+0x48/0x60 [i915]
<4> [203.951952] i915_driver_probe+0x260/0xd80 [i915]
<4> [203.952112] i915_pci_probe+0xdc/0x210 [i915]
<4> [203.952272] pci_device_probe+0x95/0x120
<4> [203.952293] really_probe+0x164/0x3c0
<4> [203.952311] __driver_probe_device+0x73/0x160
<4> [203.952330] driver_probe_device+0x19/0xa0
<4> [203.952348] __driver_attach+0xb6/0x180
<4> [203.952365] bus_for_each_dev+0x77/0xd0
<4> [203.952380] bus_add_driver+0x114/0x210
<4> [203.952396] driver_register+0x5b/0x110
<4> [203.952411] 0xffffffffa0125033
<4> [203.952435] do_one_initcall+0x57/0x270
<4> [203.952454] do_init_module+0x5f/0x210
<4> [203.952470] load_module+0x1ca4/0x1f00
<4> [203.952484] init_module_from_file+0x86/0xd0
<4> [203.952502] idempotent_init_module+0x17c/0x230
<4> [203.952519] __x64_sys_finit_module+0x56/0xb0
<4> [203.952537] do_syscall_64+0x3c/0x90
<4> [203.952551] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
<4> [203.952569]
-> #1 (fs_reclaim){+.+.}-{0:0}:
<4> [203.952599] lock_acquire+0xd8/0x2d0
<4> [203.952613] fs_reclaim_acquire+0xac/0xe0
<4> [203.953648] __alloc_pages+0xeb/0x2e0
<4> [203.954628] pte_alloc_one+0x17/0xf0
<4> [203.955575] __pte_alloc+0x26/0xf0
<4> [203.956506] __apply_to_page_range+0x5c3/0x680
<4> [203.957438] remap_io_mapping+0x70/0x130 [i915]
<4> [203.958460] vm_fault_gtt+0x476/0xf70 [i915]
<4> [203.959490] __do_fault+0x2f/0x1d0
<4> [203.960410] do_pte_missing+0x4bf/0xbd0
<4> [203.961325] __handle_mm_fault+0x329/0x700
<4> [203.962224] handle_mm_fault+0xa2/0x230
<4> [203.963112] do_user_addr_fault+0x3c9/0x920
<4> [203.964005] exc_page_fault+0x68/0x1a0
<4> [203.964881] asm_exc_page_fault+0x26/0x30
<4> [203.965743]
-> #0 (>->reset.backoff_srcu){++++}-{0:0}:
<4> [203.967466] check_prev_add+0xef/0xd30
<4> [203.968331] __lock_acquire+0x1824/0x2300
<4> [203.969196] lock_acquire+0xd8/0x2d0
<4> [203.970061] _intel_gt_reset_lock+0x57/0x330 [i915]
<4> [203.971039] guc_timestamp_ping+0x35/0x130 [i915]
<4> [203.972033] process_one_work+0x24e/0x500
<4> [203.972897] worker_thread+0x4f/0x3a0
<4> [203.973753] kthread+0xff/0x130
<4> [203.974608] ret_from_fork+0x2c/0x50
<4> [203.975458] ret_from_fork_asm+0x1b/0x30
<4> [203.976307]
other info that might help us debug this:
<4> [203.978844] Chain exists of:
>->reset.backoff_srcu --> >->reset.mutex --> (work_completion)(&(&guc->timestamp.work)->work)
<4> [203.981400] Possible unsafe locking scenario:
<4> [203.981401] CPU0 CPU1
<4> [203.981401] ---- ----
<4> [203.981402] lock((work_completion)(&(&guc->timestamp.work)->work));
<4> [203.981403] lock(>->reset.mutex);
<4> [203.981404] lock((work_completion)(&(&guc->timestamp.work)->work));
<4> [203.981404] lock(>->reset.backoff_srcu);
<4> [203.981405]
*** DEADLOCK ***
<4> [203.981406] 2 locks held by kworker/7:1H/171:
<4> [203.981407] #0: ffff888100082138 ((wq_completion)events_highpri){+.+.}-{0:0}, at: process_one_work+0x1bd/0x500
<4> [203.981412] #1: ffffc900012abe40 ((work_completion)(&(&guc->timestamp.work)->work)){+.+.}-{0:0}, at: process_one_work+0x1c1/0x500
<4> [203.981416]
stack backtrace:
<4> [203.981417] CPU: 7 PID: 171 Comm: kworker/7:1H Not tainted 6.5.0-CI_DRM_13576-ga2ab5849e2b2+ #1
<4> [203.981419] Hardware name: Intel Corporation Raptor Lake Client Platform/RaptorLake-P LP5 RVP, BIOS RPLPFWI1.R00.3257.A00.2207020323 07/02/2022
<4> [203.981421] Workqueue: events_highpri guc_timestamp_ping [i915]
<4> [203.995922] Call Trace:
<4> [203.995923] <TASK>
<4> [203.995924] dump_stack_lvl+0x64/0xb0
<4> [203.995928] check_noncircular+0x15f/0x180
<4> [203.995930] check_prev_add+0xef/0xd30
<4> [203.995932] __lock_acquire+0x1824/0x2300
<4> [203.995935] lock_acquire+0xd8/0x2d0
<4> [203.995937] ? __pfx__intel_gt_reset_lock+0x10/0x10 [i915]
<6> [203.996054] Console: switching to colour dummy device 80x25
<4> [203.996043] _intel_gt_reset_lock+0x57/0x330 [i915]
<4> [203.996145] ? __pfx__intel_gt_reset_lock+0x10/0x10 [i915]
<4> [203.996243] guc_timestamp_ping+0x35/0x130 [i915]
<6> [203.996343] [IGT] kms_psr: executing
<4> [203.996372] process_one_work+0x24e/0x500
<4> [203.996377] worker_thread+0x4f/0x3a0
<4> [203.996382] ? __pfx_worker_thread+0x10/0x10
<4> [203.996386] kthread+0xff/0x130
<4> [203.996390] ? __pfx_kthread+0x10/0x10
<4> [203.996394] ret_from_fork+0x2c/0x50
<4> [203.996398] ? __pfx_kthread+0x10/0x10
<4> [203.996402] ret_from_fork_asm+0x1b/0x30
<4> [203.996408] </TASK>
<7> [203.997390] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<7> [203.997731] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc]
<7> [203.997847] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<6> [203.998350] [IGT] kms_psr: exiting, ret=77
<7> [203.998426] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc]
<6> [203.998690] Console: switching to colour frame buffer device 240x67