Many tests - abort - BUG: Invalid wait context
<6> [70.019930] [IGT] gem_exec_balancer: starting subtest noheartbeat
<5> [70.021029] i915 0000:00:02.0: [drm] rcs0 heartbeat interval adjusted to a non-default value which may cause engine resets to target innocent contexts!
<5> [70.023050] i915 0000:00:02.0: [drm] bcs0 heartbeat interval adjusted to a non-default value which may cause engine resets to target innocent contexts!
<5> [70.024233] i915 0000:00:02.0: [drm] vcs0 heartbeat interval adjusted to a non-default value which may cause engine resets to target innocent contexts!
<5> [70.025353] i915 0000:00:02.0: [drm] vcs1 heartbeat interval adjusted to a non-default value which may cause engine resets to target innocent contexts!
<5> [70.026267] i915 0000:00:02.0: [drm] vecs0 heartbeat interval adjusted to a non-default value which may cause engine resets to target innocent contexts!
<4> [70.027684]
<4> [70.027694] =============================
<4> [70.027699] [ BUG: Invalid wait context ]
<4> [70.027705] 6.13.0-rc1-CI_DRM_15774-g83cfa47b4962+ #1 Tainted: G N
<4> [70.027714] -----------------------------
<4> [70.027719] swapper/0/0 is trying to lock:
<4> [70.027724] ffff88813b923910 (&pmu->lock){....}-{3:3}, at: i915_pmu_enable+0x48/0x3a0 [i915]
<4> [70.028053] other info that might help us debug this:
<4> [70.028059] context-{5:5}
<4> [70.028064] 1 lock held by swapper/0/0:
<4> [70.028069] #0: ffff88849fe32038 (&cpuctx_lock){....}-{2:2}, at: __perf_install_in_context+0x3f/0x360
<4> [70.028089] stack backtrace:
<4> [70.028095] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G N 6.13.0-rc1-CI_DRM_15774-g83cfa47b4962+ #1
<4> [70.028107] Tainted: [N]=TEST
<4> [70.028112] Hardware name: Intel(R) Client Systems NUC11TNHi5/NUC11TNBi5, BIOS TNTGL357.0042.2020.1221.1743 12/21/2020
<4> [70.028121] Call Trace:
<4> [70.028126] <TASK>
<4> [70.028132] dump_stack_lvl+0x91/0xf0
<4> [70.028141] dump_stack+0x10/0x20
<4> [70.028152] __lock_acquire+0x990/0x2820
<4> [70.028171] lock_acquire+0xc9/0x300
<4> [70.028182] ? i915_pmu_enable+0x48/0x3a0 [i915]
<4> [70.028571] _raw_spin_lock_irqsave+0x49/0x80
<4> [70.028581] ? i915_pmu_enable+0x48/0x3a0 [i915]
<4> [70.028858] i915_pmu_enable+0x48/0x3a0 [i915]
<4> [70.029134] i915_pmu_event_add+0x71/0x90 [i915]
<4> [70.029411] event_sched_in+0xe8/0x200
<4> [70.029419] merge_sched_in+0x183/0x410
<4> [70.029428] visit_groups_merge.constprop.0.isra.0+0x30a/0x490
<4> [70.029440] ctx_sched_in+0x216/0x290
<4> [70.029449] perf_event_sched_in+0x7a/0x90
<4> [70.029457] ctx_resched+0x1a2/0x2e0
<4> [70.029465] __perf_install_in_context+0x232/0x360
<4> [70.029473] ? lock_release+0xd4/0x2b0
<4> [70.029482] ? __pfx_remote_function+0x10/0x10
<4> [70.029491] remote_function+0x4c/0x70
<4> [70.029498] __flush_smp_call_function_queue+0xc7/0x680
<4> [70.029510] flush_smp_call_function_queue+0x70/0xd0
<4> [70.029519] do_idle+0x169/0x260
<4> [70.029529] cpu_startup_entry+0x29/0x30
<4> [70.029537] rest_init+0x104/0x200
<4> [70.029545] start_kernel+0x9ff/0xc10
<4> [70.029555] x86_64_start_reservations+0x18/0x30
<4> [70.029565] x86_64_start_kernel+0xbf/0x110
<4> [70.029574] common_startup_64+0x13e/0x141
<4> [70.029588] </TASK>
<7> [70.695065] i915 0000:00:02.0: [drm:i915_gem_open [i915]]
<6> [70.697125] [IGT] gem_exec_balancer: finished subtest noheartbeat, SUCCESS
<6> [70.697182] [IGT] gem_exec_balancer: exiting, ret=0
<7> [70.697298] i915 0000:00:02.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc]