igt@i915_selftest@live@[requests|gem] - dmesg-fail - DEBUG_LOCKS_WARN_ON(lock->magic != lock), WARNING: CPU: .* at kernel/locking/mutex.c:\d+ __mutex_lock+0x81f/0x920
<4> [170.040815] DEBUG_LOCKS_WARN_ON(lock->magic != lock)
<4> [170.040823] WARNING: CPU: 1 PID: 3162 at kernel/locking/mutex.c:579 __mutex_lock+0x81f/0x920
<4> [170.040841] Modules linked in: i915 drm_dp_helper drm_kms_helper vgem drm_shmem_helper fuse snd_hda_codec_analog snd_hda_codec_generic ledtrig_audio coretemp snd_intel_dspcfg i2c_i801 i2c_smbus lpc_ich snd_hda_codec snd_hwdep drm_buddy snd_hda_core ttm e1000e mei_me snd_pcm ptp syscopyarea sysfillrect mei sysimgblt fb_sys_fops prime_numbers pps_core [last unloaded: i915]
<4> [170.040896] CPU: 1 PID: 3162 Comm: kworker/u16:21 Tainted: G U 5.17.0-rc2-CI-CI_DRM_11162+ #1
<4> [170.040907] Hardware name: Dell Inc. OptiPlex 755 /0PU052, BIOS A08 02/19/2008
<4> [170.040916] Workqueue: i915 __i915_gem_free_work [i915]
<4> [170.041165] RIP: 0010:__mutex_lock+0x81f/0x920
<4> [170.041172] Code: ff 85 c0 0f 84 6a f8 ff ff 8b 35 f4 ff d8 00 85 f6 0f 85 5c f8 ff ff 48 c7 c6 cf 50 2f 82 48 c7 c7 7d 1c 2e 82 e8 b8 60 fa ff <0f> 0b e9 42 f8 ff ff 8b 05 bc 1c 42 02 4c 89 e1 85 c0 0f 85 db f9
<4> [170.041188] RSP: 0018:ffffc90000577d40 EFLAGS: 00010286
<4> [170.041195] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
<4> [170.041203] RDX: 0000000080000001 RSI: ffffffff823121dd RDI: 00000000ffffffff
<4> [170.041211] RBP: ffffc90000577de0 R08: 0000000000000000 R09: c0000000ffff7fff
<4> [170.041218] R10: 0000000000000001 R11: ffffc90000577b58 R12: 0000000000000002
<4> [170.041226] R13: 0000000000000000 R14: ffff8880265a21a0 R15: 00000000ffffffff
<4> [170.041234] FS: 0000000000000000(0000) GS:ffff88807ac80000(0000) knlGS:0000000000000000
<4> [170.041243] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [170.041250] CR2: 00007f4979ba50d0 CR3: 000000002ddf0000 CR4: 00000000000006e0
<4> [170.041258] Call Trace:
<4> [170.041262] <TASK>
<4> [170.041267] ? find_held_lock+0x2d/0x90
<4> [170.041275] ? __i915_gem_object_pages_fini+0xd0/0x2c0 [i915]
<4> [170.041433] ? __i915_gem_object_pages_fini+0xbb/0x2c0 [i915]
<4> [170.041618] ? __i915_gem_object_pages_fini+0xd0/0x2c0 [i915]
<4> [170.041778] __i915_gem_object_pages_fini+0xd0/0x2c0 [i915]
<4> [170.041939] __i915_gem_free_objects+0x9a/0x150 [i915]
<4> [170.042101] process_one_work+0x275/0x5c0
<4> [170.042111] worker_thread+0x1c3/0x370
<4> [170.042118] ? process_one_work+0x5c0/0x5c0
<4> [170.042124] kthread+0xef/0x120
<4> [170.042130] ? kthread_complete_and_exit+0x20/0x20
<4> [170.042137] ret_from_fork+0x22/0x30
<4> [170.042147] </TASK>
<4> [170.042151] irq event stamp: 385807
<4> [170.042155] hardirqs last enabled at (385807): [<ffffffff81aeeb8f>] _raw_spin_unlock_irq+0x1f/0x40
<4> [170.042167] hardirqs last disabled at (385806): [<ffffffff81aee971>] _raw_spin_lock_irq+0x41/0x50
<4> [170.042177] softirqs last enabled at (385116): [<ffffffff81e0032d>] __do_softirq+0x32d/0x493
<4> [170.042188] softirqs last disabled at (385077): [<ffffffff810b90a6>] irq_exit_rcu+0xa6/0xe0
<4> [170.042198] ---[ end trace 0000000000000000 ]---
<6> [170.292762] [IGT] i915_selftest: exiting, ret=98
<6> [170.298782] i915_selftest (3495) used greatest stack depth: 12000 bytes left
Edited by SAI NANDAN