igt@i915_pm_rc6_residency@rc6-idle@gt0-rcs0 - abort - WARNING: possible circular locking dependency detected*, is trying to acquire lock*, at: __might_fault*, but task is already holding lock*, at: perf_event_ctx_lock_nested*
Dmesg
Scroll to first warning
<6> [217.070906] Console: switching to colour dummy device 80x25
<6> [217.073148] [IGT] i915_pm_rc6_residency: executing
<7> [217.085924] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<7> [217.090395] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc]
<7> [217.092212] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<6> [217.097118] [IGT] i915_pm_rc6_residency: starting subtest rc6-idle
<7> [217.098018] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<7> [217.122500] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x0000005c [0x0000005c]
<6> [217.125996] [IGT] i915_pm_rc6_residency: starting dynamic subtest gt0-rcs0
<7> [217.136516] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x00000040 [0x00000040]
<4> [217.298839]
<4> [217.298895] ======================================================
<4> [217.298934] WARNING: possible circular locking dependency detected
<4> [217.298976] 6.14.0-rc5-CI_DRM_16246-gf811577f4244+ #1 Tainted: G U
<4> [217.299025] ------------------------------------------------------
<4> [217.299060] i915_pm_rc6_res/5729 is trying to acquire lock:
<4> [217.299098] ffff888118c15220 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0x53/0xb0
<4> [217.299198]
but task is already holding lock:
<4> [217.299232] ffff888277831d88 (&cpuctx_mutex){+.+.}-{3:3}, at: perf_event_ctx_lock_nested+0xb7/0x240
<4> [217.299314]
which lock already depends on the new lock.
<4> [217.299356]
the existing dependency chain (in reverse order) is:
<4> [217.299395]
-> #4 (&cpuctx_mutex){+.+.}-{3:3}:
<4> [217.299455] __mutex_lock+0xb4/0xe40
<4> [217.299493] mutex_lock_nested+0x1b/0x30
<4> [217.299537] perf_event_init_cpu+0x17f/0x440
<4> [217.299578] perf_event_init+0x3c5/0x4e0
<4> [217.299625] start_kernel+0x634/0xbd0
<4> [217.299666] x86_64_start_reservations+0x18/0x30
<4> [217.299708] x86_64_start_kernel+0xbf/0x110
<4> [217.299749] common_startup_64+0x13e/0x141