igt@gem_exec_balancer@subtests - abort - gem_exec_balanc.* is trying to acquire lock:, at: __might_fault, but task is already holding lock:, at: perf_event_ctx_lock_nested
<6> [50.049845] [IGT] gem_exec_balancer: executing
<7> [50.057695] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<7> [50.064392] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc]
<7> [50.065775] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<7> [50.071383] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<7> [50.075911] i915 0000:00:02.0: [drm:intel_power_well_enable [i915]] enabling always-on
<6> [50.102711] [IGT] gem_exec_balancer: starting subtest individual
<7> [50.186558] i915 0000:00:02.0: [drm:intel_power_well_disable [i915]] disabling always-on
<7> [50.271722] i915 0000:00:02.0: [drm:intel_power_well_enable [i915]] enabling always-on
<4> [50.322922]
<4> [50.322959] ======================================================
<4> [50.322990] WARNING: possible circular locking dependency detected
<4> [50.323019] 6.12.0-rc7-drmtip_1708-gd0e9ca5aaac0+ #1 Not tainted
<4> [50.323050] ------------------------------------------------------
<4> [50.323076] gem_exec_balanc/1302 is trying to acquire lock:
<4> [50.323104] ffff8880105f13d8 (&mm->mmap_lock){++++}-{3:3}, at: __might_fault+0x37/0x70
<4> [50.323179]
but task is already holding lock:
<4> [50.323206] ffff888075a29e08 (&cpuctx_mutex){+.+.}-{3:3}, at: perf_event_ctx_lock_nested+0xac/0x1f0
<4> [50.323271]
which lock already depends on the new lock.
<4> [50.323304]
the existing dependency chain (in reverse order) is:
<4> [50.323335]
-> #4 (&cpuctx_mutex){+.+.}-{3:3}:
<4> [50.323379] __mutex_lock+0x96/0xbf0
<4> [50.323413] perf_event_init_cpu+0x108/0x230
<4> [50.323445] perf_event_init+0x340/0x3e0
<4> [50.323478] start_kernel+0x315/0x730
<4> [50.323508] x86_64_start_reservations+0x18/0x30
<4> [50.323544] x86_64_start_kernel+0xab/0xc0
<4> [50.323577] common_startup_64+0x13e/0x148
<4> [50.323612]
-> #3 (pmus_lock){+.+.}-{3:3}:
<4> [50.323657] __mutex_lock+0x96/0xbf0
<4> [50.323688] perf_event_init_cpu+0x55/0x230
<4> [50.323719] cpuhp_invoke_callback+0x154/0x6b0
<4> [50.323751] __cpuhp_invoke_callback_range+0x73/0xe0
<4> [50.323784] _cpu_up+0xe6/0x240
<4> [50.323810] cpu_up+0x89/0xb0
<4> [50.323836] cpuhp_bringup_mask+0x44/0xb0
<4> [50.323869] bringup_nonboot_cpus+0xbe/0xe0
<4> [50.323901] smp_init+0x25/0x90
<4> [50.323927] kernel_init_freeable+0xbd/0x340
<4> [50.323957] kernel_init+0x15/0x1b0
<4> [50.323983] ret_from_fork+0x2f/0x50
<4> [50.324012] ret_from_fork_asm+0x1a/0x30
<4> [50.324043]
-> #2 (cpu_hotplug_lock){++++}-{0:0}:
<4> [50.324089] cpus_read_lock+0x3b/0xe0
<4> [50.324117] stop_machine+0x16/0x40
<4> [50.324145] bxt_vtd_ggtt_insert_entries__BKL+0x3a/0x60 [i915]
<4> [50.325340] intel_ggtt_bind_vma+0x3e/0x50 [i915]
<4> [50.326527] fence_work+0x20/0x80 [i915]
<4> [50.327691] fence_notify+0x93/0x130 [i915]
<4> [50.328843] __i915_sw_fence_complete+0x81/0x280 [i915]
<4> [50.330001] i915_vma_pin_ww+0x46a/0x1300 [i915]
<4> [50.331287] __i915_ggtt_pin+0x62/0x270 [i915]
<4> [50.332567] i915_ggtt_pin+0x13c/0x290 [i915]
<4> [50.333842] intel_gt_init+0xbb/0x410 [i915]
<4> [50.335030] i915_gem_init+0x10f/0x310 [i915]
<4> [50.336303] i915_driver_probe+0x838/0xdb0 [i915]
<4> [50.337440] i915_pci_probe+0xca/0x1f0 [i915]
<4> [50.338578] pci_device_probe+0x97/0x120
<4> [50.338614] really_probe+0xd1/0x390