igt@core_hotunplug@unbind-rebind - abort - WARNING: possible circular locking dependency detected, core_hotunplug.* is trying to acquire lock:, at: remove_one, but task is already holding lock, at: simple_recursive_removal
http://gfx-ci.igk.intel.com/cibuglog-ng/testresult/1642326908?query_key=421d51ffd3c05d3e81a739fc62c562abf7591a3d
<7> [234.628871] i915 0000:00:02.0: [drm:intel_hpd_irq_handler [i915]] Received HPD interrupt on PIN 4 - cnt: 10
<4> [234.631829] irq event stamp: 6623
<4> [234.631838]
<4> [234.631842] ======================================================
<4> [234.631851] hardirqs last enabled at (6623): [<ffffffff81ced961>] syscall_enter_from_user_mode+0x21/0x50
<4> [234.631874] WARNING: possible circular locking dependency detected
<4> [234.631887] hardirqs last disabled at (6622): [<ffffffff81ce899c>] do_syscall_64+0x1c/0xf0
<4> [234.631904] 6.7.0-rc4-CI_DRM_13976-g767ff5181a2d+ #1 Not tainted
<4> [234.631916] softirqs last enabled at (6064): [<ffffffff81cfe9fd>] __do_softirq+0x2bd/0x3a6
<4> [234.631930] ------------------------------------------------------
<4> [234.631942] softirqs last disabled at (6055): [<ffffffff810da1fe>] irq_exit_rcu+0x8e/0xd0
<4> [234.631957] core_hotunplug/5345 is trying to acquire lock:
<4> [234.631984] ffff88811a57f468 (debugfs:i915_lpsp_capability#7){++++}-{0:0}, at: remove_one+0x56/0x160
<4> [234.632034]
but task is already holding lock:
<4> [234.632053] ffff8881115769d0 (&sb->s_type->i_mutex_key#2){++++}-{3:3}, at: simple_recursive_removal+0x1a1/0x2e0
<4> [234.632102]
which lock already depends on the new lock.
<4> [234.632124]
the existing dependency chain (in reverse order) is:
<4> [234.632145]
-> #3 (&sb->s_type->i_mutex_key#2){++++}-{3:3}:
<4> [234.632181] lock_acquire+0xd8/0x2d0
<4> [234.632201] down_write+0x3a/0xd0
<4> [234.632222] simple_recursive_removal+0xed/0x2e0
<4> [234.632241] debugfs_remove.part.0+0x2d/0x50
<4> [234.632259] release_card_device+0x4b/0x90
<4> [234.632278] device_release+0x30/0x90
<4> [234.632297] kobject_put+0x79/0x190
<4> [234.632316] snd_card_free+0x64/0x90
<4> [234.632333] pci_device_remove+0x32/0xa0
<4> [234.632354] device_release_driver_internal+0xa9/0x140
<4> [234.632380] unbind_store+0x83/0x90
<4> [234.632399] kernfs_fop_write_iter+0x129/0x1d0
<4> [234.632422] vfs_write+0x2dc/0x4f0
<4> [234.632443] ksys_write+0x64/0xe0
<4> [234.632463] do_syscall_64+0x42/0xf0
<4> [234.632483] entry_SYSCALL_64_after_hwframe+0x6e/0x76