<6>[ 63.810743] Console: switching to colour dummy device 80x25 <7>[ 63.810801] [IGT] gem_close_race: executing <7>[ 63.816292] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 63.818134] i915 0000:03:00.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc] <7>[ 63.831149] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 63.832621] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 63.840950] [drm:eb_validate_vma [i915]] EINVAL at eb_validate_vma:509 <7>[ 63.871196] [IGT] gem_close_race: starting subtest multigpu-basic-process <7>[ 63.871303] [IGT] gem_close_race: finished subtest multigpu-basic-process, SKIP <7>[ 63.976966] [IGT] gem_close_race: exiting, ret=77 <7>[ 63.977513] i915 0000:03:00.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc] <7>[ 64.036920] i915 0000:03:00.0: [drm:drm_client_dev_restore] intel-fbdev: ret=0 <6>[ 64.056657] Console: switching to colour frame buffer device 240x67 <6>[ 64.197431] Console: switching to colour dummy device 80x25 <7>[ 64.197484] [IGT] prime_mmap: executing <7>[ 64.199798] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 64.201397] i915 0000:03:00.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc] <7>[ 64.210802] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 64.212668] [IGT] prime_mmap: starting subtest test_forked_cpu_write <7>[ 64.212721] [IGT] prime_mmap: starting dynamic subtest test_forked_cpu_write-smem <7>[ 64.224061] [IGT] prime_mmap: finished subtest test_forked_cpu_write-smem, SUCCESS <7>[ 64.224132] [IGT] prime_mmap: starting dynamic subtest test_forked_cpu_write-lmem0 <7>[ 64.235238] [IGT] prime_mmap: finished subtest test_forked_cpu_write-lmem0, SUCCESS <7>[ 64.235313] [IGT] prime_mmap: finished subtest test_forked_cpu_write, SUCCESS <7>[ 64.235436] [IGT] prime_mmap: exiting, ret=0 <7>[ 64.235860] i915 0000:03:00.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc] <7>[ 64.270721] i915 0000:03:00.0: [drm:drm_client_dev_restore] intel-fbdev: ret=0 <6>[ 64.287027] Console: switching to colour frame buffer device 240x67 <6>[ 64.415206] Console: switching to colour dummy device 80x25 <7>[ 64.415259] [IGT] gem_exec_balancer: executing <7>[ 64.418067] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 64.419647] i915 0000:03:00.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc] <7>[ 64.435576] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 64.436804] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 64.448760] [IGT] gem_exec_balancer: starting subtest waits <4>[ 64.449108] ============================= <4>[ 64.449111] [ BUG: Invalid wait context ] <4>[ 64.449113] 6.13.0-rc1-CI_DRM_15802-g295d653482f4+ #1 Not tainted <4>[ 64.449116] ----------------------------- <4>[ 64.449118] swapper/0/0 is trying to lock: <4>[ 64.449121] ffff88813dbf3910 (&pmu->lock){....}-{3:3}, at: i915_pmu_enable+0x48/0x3a0 [i915] <4>[ 64.449345] other info that might help us debug this: <4>[ 64.449347] context-{5:5} <4>[ 64.449349] 1 lock held by swapper/0/0: <4>[ 64.449352] #0: ffff88845d632038 (&cpuctx_lock){....}-{2:2}, at: __perf_install_in_context+0x3f/0x360 <4>[ 64.449361] stack backtrace: <4>[ 64.449363] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.13.0-rc1-CI_DRM_15802-g295d653482f4+ #1 <4>[ 64.449368] Hardware name: Intel Corporation CoffeeLake Client Platform/CoffeeLake S UDIMM RVP, BIOS CNLSFWR1.R00.X220.B00.2103302221 03/30/2021 <4>[ 64.449373] Call Trace: <4>[ 64.449375] <TASK> <4>[ 64.449377] dump_stack_lvl+0x91/0xf0 <4>[ 64.449382] dump_stack+0x10/0x20 <4>[ 64.449385] __lock_acquire+0x990/0x2820 <4>[ 64.449391] lock_acquire+0xc9/0x300 <4>[ 64.449394] ? i915_pmu_enable+0x48/0x3a0 [i915] <4>[ 64.449552] _raw_spin_lock_irqsave+0x49/0x80 <4>[ 64.449557] ? i915_pmu_enable+0x48/0x3a0 [i915] <4>[ 64.449710] i915_pmu_enable+0x48/0x3a0 [i915] <4>[ 64.449863] i915_pmu_event_add+0x71/0x90 [i915] <4>[ 64.450015] event_sched_in+0xe8/0x200 <4>[ 64.450019] merge_sched_in+0x183/0x410 <4>[ 64.450022] visit_groups_merge.constprop.0.isra.0+0x30a/0x490 <4>[ 64.450027] ctx_sched_in+0x216/0x290 <4>[ 64.450031] perf_event_sched_in+0x7a/0x90 <4>[ 64.450034] ctx_resched+0x1a2/0x2e0 <4>[ 64.450038] __perf_install_in_context+0x232/0x360 <4>[ 64.450041] ? lock_release+0xd4/0x2b0 <4>[ 64.450045] ? __pfx_remote_function+0x10/0x10 <4>[ 64.450048] remote_function+0x4c/0x70 <4>[ 64.450051] __flush_smp_call_function_queue+0xc7/0x680 <4>[ 64.450056] flush_smp_call_function_queue+0x70/0xd0 <4>[ 64.450060] do_idle+0x169/0x260 <4>[ 64.450064] cpu_startup_entry+0x29/0x30 <4>[ 64.450068] rest_init+0x104/0x200 <4>[ 64.450072] start_kernel+0x9ff/0xc10 <4>[ 64.450076] x86_64_start_reservations+0x18/0x30 <4>[ 64.450080] x86_64_start_kernel+0xbf/0x110 <4>[ 64.450084] common_startup_64+0x13e/0x141 <4>[ 64.450089] </TASK> <7>[ 76.493451] i915 0000:03:00.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x0000005c [0x0000005c] <7>[ 76.493758] [IGT] gem_exec_balancer: finished subtest waits, SUCCESS <7>[ 76.685563] i915 0000:03:00.0: [drm:error_state_write [i915]] Resetting error state <7>[ 76.685816] i915 0000:03:00.0: [drm:i915_gem_open [i915]] <7>[ 76.690081] [IGT] gem_exec_balancer: exiting, ret=0 <7>[ 76.690202] i915 0000:03:00.0: [drm:i915_drop_caches_set [i915]] Dropping caches: 0x000001dc [0x000001dc] <7>[ 76.737173] i915 0000:03:00.0: [drm:drm_client_dev_restore] intel-fbdev: ret=0 <6>[ 76.754349] Console: switching to colour frame buffer device 240x67