Results for igt@kms_psr@primary_mmap_gtt

Result: Abort

git-log-oneline igt_runner0 run0 runtimes0 results0.json boot0 dmesg0

DetailValue
Igt-Version
IGT-Version: 1.27.1-gd1574543b (x86_64) (Linux: 6.5.0-rc1-linus-v6.5-rc1-g06c2afb862f9+ x86_64)
Out
Opened device: /dev/dri/card0
Test requirement not met in function __igt_unique____real_main552, file ../../../usr/src/igt-gpu-tools/tests/i915/kms_psr.c:566:
Test requirement: sink_support(&data, PSR_MODE_1)
Sink does not support PSR
Last errno: 19, No such device
Subtest primary_mmap_gtt: SKIP (0.000s)

This test caused an abort condition: Lockdep not active

/proc/lockdep_stats contents:
 lock-classes:                         1762 [max: 8192]
 direct dependencies:                 17560 [max: 32768]
 indirect dependencies:              131290
 all direct dependencies:            359929
 dependency chains:                   25088 [max: 131072]
 dependency chain hlocks used:       103615 [max: 655360]
 dependency chain hlocks lost:            0
 in-hardirq chains:                     275
 in-softirq chains:                     571
 in-process chains:                   24242
 stack-trace entries:                161797 [max: 1048576]
 number of stack traces:               8370
 number of stack hash chains:          6502
 combined max dependencies:      3827290896
 hardirq-safe locks:                    104
 hardirq-unsafe locks:                 1047
 softirq-safe locks:                    204
 softirq-unsafe locks:                  963
 irq-safe locks:                        223
 irq-unsafe locks:                     1047
 hardirq-read-safe locks:                 3
 hardirq-read-unsafe locks:             313
 softirq-read-safe locks:                 7
 softirq-read-unsafe locks:             308
 irq-read-safe locks:                     7
 irq-read-unsafe locks:                 313
 uncategorized locks:                   286
 unused locks:                            1
 max locking depth:                      16
 max bfs queue depth:                   393
 max lock class index:                 1761
 chain lookup misses:                 25537
 chain lookup hits:               269478318
 cyclic checks:                       25603
 redundant checks:                        0
 redundant links:                         0
 find-mask forwards checks:            4233
 find-mask backwards checks:           2633
 hardirq on events:               172520436
 hardirq off events:              172520420
 redundant hardirq ons:                  32
 redundant hardirq offs:                 28
 softirq on events:                  721856
 softirq off events:                 721856
 redundant softirq ons:                   0
 redundant softirq offs:                  0
 debug_locks:                             0

 zapped classes:                          1
 zapped lock chains:                    119
 large chain blocks:                      1
Err
Subtest primary_mmap_gtt: SKIP (0.000s)
Dmesg
<6> [219.810800] Console: switching to colour dummy device 80x25
<6> [219.811090] [IGT] kms_psr: executing
<7> [219.814119] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<7> [219.814568] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc]
<7> [219.814714] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<6> [219.815308] [IGT] kms_psr: exiting, ret=77
<7> [219.815441] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc]
<6> [219.815870] Console: switching to colour frame buffer device 240x67
<4> [219.819490]
<4> [219.819500] ======================================================
<4> [219.819513] WARNING: possible circular locking dependency detected
<4> [219.819528] 6.5.0-rc1-linus-v6.5-rc1-g06c2afb862f9+ #1 Not tainted
<4> [219.819545] ------------------------------------------------------
<4> [219.819558] kworker/7:1H/189 is trying to acquire lock:
<4> [219.819571] ffff88811116d110 (&gt->reset.backoff_srcu){++++}-{0:0}, at: _intel_gt_reset_lock+0x0/0x330 [i915]
<4> [219.819694]
but task is already holding lock:
<4> [219.819713] ffffc900012c3e60 ((work_completion)(&(&guc->timestamp.work)->work)){+.+.}-{0:0}, at: process_one_work+0x1c1/0x500
<4> [219.819740]
which lock already depends on the new lock.
<4> [219.819767]
the existing dependency chain (in reverse order) is:
<4> [219.819790]
-> #3 ((work_completion)(&(&guc->timestamp.work)->work)){+.+.}-{0:0}:
<4> [219.819815] lock_acquire+0xd8/0x2d0
<4> [219.819826] __flush_work+0x74/0x530
<4> [219.819836] __cancel_work_timer+0x14f/0x1f0
<4> [219.819848] intel_guc_submission_reset_prepare+0x81/0x4b0 [i915]
<4> [219.819989] intel_uc_reset_prepare+0x9c/0x120 [i915]
<4> [219.820125] reset_prepare+0x21/0x60 [i915]
<4> [219.820237] intel_gt_reset+0x1dd/0x470 [i915]
<4> [219.820346] intel_gt_reset_global+0xfb/0x170 [i915]
<4> [219.820455] intel_gt_handle_error+0x368/0x420 [i915]
<4> [219.820564] intel_gt_debugfs_reset_store+0x5c/0xc0 [i915]
<4> [219.820668] i915_wedged_set+0x1d/0x40 [i915]
<4> [219.820758] simple_attr_write_xsigned.constprop.0+0xb4/0x110
<4> [219.820774] full_proxy_write+0x58/0x80
<4> [219.820785] vfs_write+0xcb/0x520
<4> [219.820795] ksys_write+0x64/0xe0
<4> [219.820804] do_syscall_64+0x3c/0x90
<4> [219.820814] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
<4> [219.820829]
-> #2 (&gt->reset.mutex){+.+.}-{3:3}:
<4> [219.820850] lock_acquire+0xd8/0x2d0
<4> [219.820861] i915_gem_shrinker_taints_mutex+0x31/0x50 [i915]
<4> [219.820989] intel_gt_init_reset+0x65/0x80 [i915]
<4> [219.821100] intel_gt_common_init_early+0xe1/0x170 [i915]
<4> [219.821204] intel_root_gt_init_early+0x48/0x60 [i915]
<4> [219.821333] i915_driver_probe+0x260/0xcf0 [i915]
<4> [219.821476] i915_pci_probe+0xdc/0x210 [i915]
<4> [219.821618] pci_device_probe+0x95/0x120
<4> [219.821633] really_probe+0x164/0x3c0
<4> [219.821646] __driver_probe_device+0x73/0x160
<4> [219.821660] driver_probe_device+0x19/0xa0
<4> [219.821673] __driver_attach+0xb6/0x180
<4> [219.821686] bus_for_each_dev+0x77/0xd0
<4> [219.821699] bus_add_driver+0x114/0x210
<4> [219.821712] driver_register+0x5b/0x110
<4> [219.821726] 0xffffffffa0020033
<4> [219.821747] do_one_initcall+0x57/0x270
<4> [219.821761] do_init_module+0x5f/0x210
<4> [219.821775] load_module+0x1ca4/0x1f00
<4> [219.821788] init_module_from_file+0x86/0xd0
<4> [219.821804] idempotent_init_module+0x17c/0x230
<4> [219.821819] __x64_sys_finit_module+0x56/0xb0
<4> [219.821835] do_syscall_64+0x3c/0x90
<4> [219.821848] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
<4> [219.821867]
-> #1 (fs_reclaim){+.+.}-{0:0}:
<4> [219.821892] lock_acquire+0xd8/0x2d0
<4> [219.821906] fs_reclaim_acquire+0xac/0xe0
<4> [219.822646] __alloc_pages+0xeb/0x2e0
<4> [219.823373] pte_alloc_one+0x17/0xf0
<4> [219.824091] __pte_alloc+0x26/0xf0
<4> [219.824595] __apply_to_page_range+0x5c3/0x680
<4> [219.825095] remap_io_mapping+0x70/0x130 [i915]
<4> [219.825720] vm_fault_gtt+0x473/0xf70 [i915]
<4> [219.826394] __do_fault+0x2f/0x1d0
<4> [219.826955] do_pte_missing+0x4bf/0xbd0
<4> [219.827514] __handle_mm_fault+0x329/0x700
<4> [219.828066] handle_mm_fault+0xa2/0x230
<4> [219.828608] do_user_addr_fault+0x3c9/0x920
<4> [219.829154] exc_page_fault+0x68/0x1a0
<4> [219.829692] asm_exc_page_fault+0x26/0x30
<4> [219.830217]
-> #0 (&gt->reset.backoff_srcu){++++}-{0:0}:
<4> [219.831272] check_prev_add+0xef/0xd30
<4> [219.831811] __lock_acquire+0x184b/0x2330
<4> [219.832366] lock_acquire+0xd8/0x2d0
<4> [219.832946] _intel_gt_reset_lock+0x57/0x330 [i915]
<4> [219.833621] guc_timestamp_ping+0x35/0x130 [i915]
<4> [219.834316] process_one_work+0x24e/0x500
<4> [219.834892] worker_thread+0x4f/0x3a0
<4> [219.835467] kthread+0xff/0x130
<4> [219.836033] ret_from_fork+0x29/0x50
<4> [219.836600]
other info that might help us debug this:
<4> [219.838280] Chain exists of:
&gt->reset.backoff_srcu --> &gt->reset.mutex --> (work_completion)(&(&guc->timestamp.work)->work)
<4> [219.839980] Possible unsafe locking scenario:
<4> [219.841117] CPU0 CPU1
<4> [219.841682] ---- ----
<4> [219.842237] lock((work_completion)(&(&guc->timestamp.work)->work));
<4> [219.842746] lock(&gt->reset.mutex);
<4> [219.843258] lock((work_completion)(&(&guc->timestamp.work)->work));
<4> [219.843773] lock(&gt->reset.backoff_srcu);
<4> [219.844290]
*** DEADLOCK ***
<4> [219.845991] 2 locks held by kworker/7:1H/189:
<4> [219.846558] #0: ffff888100082138 ((wq_completion)events_highpri){+.+.}-{0:0}, at: process_one_work+0x1bd/0x500
<4> [219.847141] #1: ffffc900012c3e60 ((work_completion)(&(&guc->timestamp.work)->work)){+.+.}-{0:0}, at: process_one_work+0x1c1/0x500
<4> [219.847732]
stack backtrace:
<4> [219.848911] CPU: 7 PID: 189 Comm: kworker/7:1H Not tainted 6.5.0-rc1-linus-v6.5-rc1-g06c2afb862f9+ #1
<4> [219.849519] Hardware name: Intel Corporation Raptor Lake Client Platform/RaptorLake-P LP5 RVP, BIOS RPLPFWI1.R00.3257.A00.2207020323 07/02/2022
<4> [219.850135] Workqueue: events_highpri guc_timestamp_ping [i915]
<4> [219.850871] Call Trace:
<4> [219.851487] <TASK>
<4> [219.852098] dump_stack_lvl+0x64/0xb0
<4> [219.852721] check_noncircular+0x15f/0x180
<4> [219.853339] check_prev_add+0xef/0xd30
<4> [219.853956] __lock_acquire+0x184b/0x2330
<4> [219.854574] lock_acquire+0xd8/0x2d0
<4> [219.855191] ? __pfx__intel_gt_reset_lock+0x10/0x10 [i915]
<4> [219.855911] _intel_gt_reset_lock+0x57/0x330 [i915]
<4> [219.856631] ? __pfx__intel_gt_reset_lock+0x10/0x10 [i915]
<4> [219.857366] guc_timestamp_ping+0x35/0x130 [i915]
<4> [219.858118] process_one_work+0x24e/0x500
<4> [219.858748] worker_thread+0x4f/0x3a0
<4> [219.859371] ? __pfx_worker_thread+0x10/0x10
<4> [219.859993] kthread+0xff/0x130
<4> [219.860616] ? __pfx_kthread+0x10/0x10
<4> [219.861239] ret_from_fork+0x29/0x50
<4> [219.861857] </TASK>
Created at 2023-07-09 23:17:58