Few tests - incomplete - is trying to acquire lock at: down_trylock, but task is already holding lock at: try_to_wake_up
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9025/shard-iclb3/igt@gem_eio@suspend.html
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9025/shard-iclb3/pstore5-1600439026_Panic_1.txt
4>[ 104.214886] ======================================================
<4>[ 104.214887] WARNING: possible circular locking dependency detected
<4>[ 104.214887] 5.9.0-rc5-CI-CI_DRM_9025+ #1 Tainted: G W
<4>[ 104.214887] ------------------------------------------------------
<4>[ 104.214888] ksoftirqd/0/9 is trying to acquire lock:
<4>[ 104.214888] ffffffff8264be38 ((console_sem).lock){-.-.}-{2:2}, at: down_trylock+0xa/0x30
<4>[ 104.214889]
<4>[ 104.214889] but task is already holding lock:
<4>[ 104.214889] ffff8884a00bad18 (&rq->lock){-.-.}-{2:2}, at: try_to_wake_up+0x438/0x650
<4>[ 104.214890]
<4>[ 104.214891] which lock already depends on the new lock.
<4>[ 104.214891]
<4>[ 104.214891]
<4>[ 104.214892] the existing dependency chain (in reverse order) is:
<4>[ 104.214892]
<4>[ 104.214892] -> #2 (&rq->lock){-.-.}-{2:2}:
<4>[ 104.214893] _raw_spin_lock+0x2a/0x40
<4>[ 104.214893] task_fork_fair+0x36/0x160
dev_printk_emit+0x45/0x61
<4>[ 104.214898] dev_printk+0x51/0x6d
<4>[ 104.214899] drm_dev_dbg+0x8a/0xb0
<4>[ 104.214899] intel_modeset_setup_hw_state+0x247/0x18b0 [i915]
<4>[ 104.214899] intel_modeset_init_nogem+0x7ab/0x1ca0 [i915]
<4>[ 104.214899] i915_driver_probe+0x6bb/0xe40 [i915]
<4>[ 104.214900] i915_pci_probe+0x3b/0x1d0 [i915]
<4>[ 104.214900] pci_device_probe+0x9e/0x120
<4>[ 104.214900] really_probe+0xea/0x4a0
<4>[ 104.214900] driver_probe_device+0xd9/0x140
<4>[ 104.214901] device_driver_attach+0x4a/0x50
<4>[ 104.214901] __driver_attach+0x97/0x130
<4>[ 104.214901] bus_for_each_dev+0x74/0xc0
<4>[ 104.214901] bus_add_driver+0x142/0x220
<4>[ 104.214902] driver_register+0x56/0xf0
<4>[ 104.214902] 0xffffffffa097606c
<4>[ 104.214902] do_one_initcall+0x58/0x2ff
<4>[ 104.214902] do_init_module+0x56/0x1ee
<4>[ 104.214903] load_module+0x234b/0x2ac0
] check_preempt_curr+0x4e/0x70
<4>[ 104.214908] ttwu_do_wakeup+0x14/0x230
<4>[ 104.214908] try_to_wake_up+0x478/0x650
<4>[ 104.214908] autoremove_wake_function+0xc/0x50
<4>[ 104.214908] __wake_up_common+0x80/0x190
<4>[ 104.214909] __wake_up_common_lock+0x75/0xb0
<4>[ 104.214909] __wake_up_bit+0x4c/0x70
<4>[ 104.214909] end_buffer_write_sync+0x1b/0x40
<4>[ 104.214909] end_bio_bh_io_sync+0x21/0x40
<4>[ 104.214910] blk_update_request+0xc7/0x540
<4>[ 104.214910] blk_mq_end_request+0x15/0x110
<4>[ 104.214910] blk_flush_complete_seq+0xde/0x310
<4>[ 104.214910] mq_flush_data_end_io+0x87/0xb0
<4>[ 104.214911] scsi_end_request+0x11b/0x2d0
<4>[ 104.214911] scsi_io_completion+0x2d6/0x4b0
<4>[ 104.214911] blk_done_softirq+0xaa/0xe0
<4>[ 104.214911] __do_softirq+0xec/0x4c3
<4>[ 104.214912] run_ksoftirqd+0x2d/0x50
<4>[ 104.214912] smpboot_thread_fn+0x1d3/0x280
Edited by LAKSHMINARAYANA VUDUM