igt@gem_userptr_blits@vma-merge - incomplete - userptr_mn_invalidate_range_start.* callback failed with -\d in blockable context. WARNING: .* at mm/mmu_notifier.c:\d+ __mmu_notifier_invalidate_range_start.cold
Showing all locks held in the system:
<4> [60.927976] 3 locks held by kworker/7:0/47:
<4> [60.927979] 1 lock held by khungtaskd/52:
<4> [60.927981] #0: ffffffff827316c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x15/0x17a
<4> [60.927998] 2 locks held by kworker/7:1/125:
<4> [60.928000] #0: ffff8881000bf538 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1e6/0x5c0
<4> [60.928011] #1: ffffc9000144fe70 ((work_completion)(&(&mm->work)->work)){+.+.}-{0:0}, at: process_one_work+0x1e6/0x5c0
<4> [60.928025] 2 locks held by kworker/7:2/328:
<4> [60.928027] #0: ffff8881000bf538 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1e6/0x5c0
<4> [60.928037] #1: ffffc900003a7e70 ((work_completion)(&(&mm->work)->work)){+.+.}-{0:0}, at: process_one_work+0x1e6/0x5c0
<4> [60.928048] 1 lock held by in:imklog/386:
<4> [60.928050] #0: ffff888107b9aeb0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x45/0x50
<4> [60.928065] 1 lock held by dmesg/968:
<4> [60.928067] #0: ffff8881043b00d0 (&user->lock){+.+.}-{3:3}, at: devkmsg_read+0x45/0x300
<4> [60.928078] 3 locks held by gem_userptr_bli/990:
<4> [60.928080] #0: ffff8881003eafe8 (&mm->mmap_lock#2){++++}-{3:3}, at: vm_mmap_pgoff+0x6c/0xf0
<4> [60.928094] #1: ffffffff827539c0 (mmu_notifier_invalidate_range_start){+.+.}-{0:0}, at: __split_huge_pmd+0x0/0x1210
<4> [60.928104] #2: ffffffff82753dd8 (srcu){....}-{0:0}, at: __mmu_notifier_invalidate_range_start+0x4c/0x1f0
<4> [60.928115]
<4> [60.928117] =============================================
<6> [60.977882] userptr_mn_invalidate_range_start+0x0/0x180 [i915] callback failed with -4 in blockable context.
<4> [60.977934] ------------[ cut here ]------------
<4> [60.977941] WARNING: CPU: 5 PID: 990 at mm/mmu_notifier.c:503 __mmu_notifier_invalidate_range_start.cold.11+0x3c/0x50
<4> [60.977943] Modules linked in: snd_hda_codec_hdmi i915 mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul snd_hda_intel snd_intel_dspcfg snd_hda_codec cdc_ether snd_hwdep ghash_clmulni_intel usbnet snd_hda_core mii e1000e snd_pcm mei_me ptp pps_core mei intel_lpss_pci prime_numbers
<4> [60.977992] CPU: 5 PID: 990 Comm: gem_userptr_bli Tainted: G U W 5.10.0-rc3-CI-CI_DRM_9304+ #1
<4> [60.977994] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.3197.A00.2005110542 05/11/2020
<4> [60.977997] RIP: 0010:__mmu_notifier_invalidate_range_start.cold.11+0x3c/0x50
<4> [60.977999] Code: 89 ca 48 c7 c7 50 26 32 82 44 89 4d d4 e8 f0 ac ff ff f6 43 20 01 44 8b 4d d4 75 0e 44 89 7d d4 41 83 f9 f5 0f 84 c6 ee 80 ff <0f> 0b 44 89 4d d4 e9 bb ee 80 ff 48 c7 c1 27 a5 34 82 eb bd 0f be
<4> [60.978001] RSP: 0018:ffffc90000b2fb58 EFLAGS: 00010202
<4> [60.978005] RAX: 0000000000000060 RBX: ffffc90000b2fc08 RCX: 0000000000000001
<4> [60.978007] RDX: 0000000000000000 RSI: ffffffff8234a527 RDI: 00000000ffffffff
<4> [60.978009] RBP: ffffc90000b2fb88 R08: 0000000000000001 R09: 00000000fffffffc
<4> [60.978010] R10: 0000000062e3f745 R11: 000000009a7e39a3 R12: 0000000000000001
<4> [60.978012] R13: ffff888111574268 R14: ffffffffa03f4340 R15: 00000000fffffff5
<4> [60.978015] FS: 00007fbd94e78e40(0000) GS:ffff8884a0480000(0000) knlGS:0000000000000000
<4> [60.978016] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [60.978018] CR2: 00007fc93c53a3e0 CR3: 0000000116126005 CR4: 0000000000770ee0
<4> [60.978020] PKRU: 55555554
<4> [60.978022] Call Trace:
<4> [60.978028] __split_huge_pmd+0xaf/0x1210
<4> [60.978042] vma_adjust_trans_huge+0xa5/0xc0
<4> [60.978046] __vma_adjust+0x12d/0x990
<4> [60.978055] __split_vma+0xdf/0x160
<4> [60.978059] __do_munmap+0x482/0x4d0
<4> [60.978065] mmap_region+0x2b0/0x690
<4> [60.978073] do_mmap+0x371/0x580
<4> [60.978079] vm_mmap_pgoff+0x96/0xf0
<4> [60.978087] ksys_mmap_pgoff+0x51/0x200
<4> [60.978090] ? syscall_enter_from_user_mode+0x1c/0x50
<4> [60.978096] do_syscall_64+0x33/0x80
<4> [60.978099] entry_SYSCALL_64_after_hwframe+0x44/0xa9
<4> [60.978101] RIP: 0033:0x7fbd93bc4a13
<4> [60.978104] Code: 89 f5 41 54 41 89 d4 55 48 89 fd 53 4c 89 cb 74 56 49 89 d9 45 89 f8 45 89 f2 44 89 e2 4c 89 ee 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7d 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f
<4> [60.978106] RSP: 002b:00007ffe219a6418 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
<4> [60.978109] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd93bc4a13
<4> [60.978111] RDX: 0000000000000003 RSI: 0000000000001000 RDI: 00007fbd88000000
<4> [60.978113] RBP: 00007fbd88000000 R08: 00000000ffffffff R09: 0000000000000000
<4> [60.978115] R10: 0000000000000031 R11: 0000000000000206 R12: 0000000000000003
<4> [60.978117] R13: 0000000000001000 R14: 0000000000000031 R15: 00000000ffffffff
<4> [60.978128] CPU: 5 PID: 990 Comm: gem_userptr_bli Tainted: G U W 5.10.0-rc3-CI-CI_DRM_9304+ #1
<4> [60.978129] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.3197.A00.2005110542 05/11/2020
<4> [60.978131] Call Trace:
<4> [60.978136] dump_stack+0x77/0x97
<4> [60.978141] __warn.cold.14+0xe/0x4b
<4> [60.978144] ? __mmu_notifier_invalidate_range_start.cold.11+0x3c/0x50
<4> [60.978151] report_bug+0xbd/0xf0
<4> [60.978156] handle_bug+0x3f/0x70
<4> [60.978158] exc_invalid_op+0x13/0x60
<4> [60.978161] asm_exc_invalid_op+0x12/0x20
<4> [60.978163] RIP: 0010:__mmu_notifier_invalidate_range_start.cold.11+0x3c/0x50
<4> [60.978165] Code: 89 ca 48 c7 c7 50 26 32 82 44 89 4d d4 e8 f0 ac ff ff f6 43 20 01 44 8b 4d d4 75 0e 44 89 7d d4 41 83 f9 f5 0f 84 c6 ee 80 ff <0f> 0b 44 89 4d d4 e9 bb ee 80 ff 48 c7 c1 27 a5 34 82 eb bd 0f be
<4> [60.978167] RSP: 0018:ffffc90000b2fb58 EFLAGS: 00010202
<4> [60.978170] RAX: 0000000000000060 RBX: ffffc90000b2fc08 RCX: 0000000000000001
<4> [60.978172] RDX: 0000000000000000 RSI: ffffffff8234a527 RDI: 00000000ffffffff
<4> [60.978173] RBP: ffffc90000b2fb88 R08: 0000000000000001 R09: 00000000fffffffc
<4> [60.978175] R10: 0000000062e3f745 R11: 000000009a7e39a3 R12: 0000000000000001
<4> [60.978176] R13: ffff888111574268 R14: ffffffffa03f4340 R15: 00000000fffffff5
<4> [60.978187] ? __mmu_notifier_invalidate_range_start.cold.11+0x24/0x50
<4> [60.978192] __split_huge_pmd+0xaf/0x1210
<4> [60.978204] vma_adjust_trans_huge+0xa5/0xc0
<4> [60.978208] __vma_adjust+0x12d/0x990
<4> [60.978216] __split_vma+0xdf/0x160
<4> [60.978220] __do_munmap+0x482/0x4d0
<4> [60.978226] mmap_region+0x2b0/0x690
<4> [60.978233] do_mmap+0x371/0x580
<4> [60.978239] vm_mmap_pgoff+0x96/0xf0
<4> [60.978247] ksys_mmap_pgoff+0x51/0x200
<4> [60.978249] ? syscall_enter_from_user_mode+0x1c/0x50
<4> [60.978254] do_syscall_64+0x33/0x80
<4> [60.978256] entry_SYSCALL_64_after_hwframe+0x44/0xa9
<4> [60.978258] RIP: 0033:0x7fbd93bc4a13
<4> [60.978260] Code: 89 f5 41 54 41 89 d4 55 48 89 fd 53 4c 89 cb 74 56 49 89 d9 45 89 f8 45 89 f2 44 89 e2 4c 89 ee 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7d 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f
<4> [60.978261] RSP: 002b:00007ffe219a6418 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
<4> [60.978265] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd93bc4a13
<4> [60.978266] RDX: 0000000000000003 RSI: 0000000000001000 RDI: 00007fbd88000000
<4> [60.978268] RBP: 00007fbd88000000 R08: 00000000ffffffff R09: 0000000000000000
<4> [60.978269] R10: 0000000000000031 R11: 0000000000000206 R12: 0000000000000003
<4> [60.978271] R13: 0000000000001000 R14: 0000000000000031 R15: 00000000ffffffff
<4> [60.978281] irq event stamp: 59387
<4> [60.978284] hardirqs last enabled at (59393): [<ffffffff81127fca>] console_unlock+0x49a/0x580
<4> [60.978286] hardirqs last disabled at (59398): [<ffffffff81127f36>] console_unlock+0x406/0x580
<4> [60.978288] softirqs last enabled at (58282): [<ffffffff81e00342>] __do_softirq+0x342/0x48e
<4> [60.978291] softirqs last disabled at (58277): [<ffffffff81c00f4f>] asm_call_irq_on_stack+0xf/0x20
<4> [60.978293] ---[ end trace 002a64872e26d1d6 ]---