igt@gem_busy@close-race - dmesg-fail - GEM_BUG_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
We have seen similar issue on PNV #5994 (closed).
https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7545/shard-apl6/igt@gem_busy@close-race.html
<0> [39.175988] gem_busy-965 2..... 36530387us : __i915_active_fence_set.cold.41: __i915_active_fence_set:1035 GEM_BUG_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
<0> [39.176165] ---------------------------------
<5> [39.176289] sched: RT throttling activated
<4> [39.177837] ------------[ cut here ]------------
<2> [39.177849] kernel BUG at drivers/gpu/drm/i915/i915_active.c:1035!
<4> [39.177937] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
<4> [39.177950] CPU: 2 PID: 965 Comm: gem_busy Tainted: G W 5.19.0-rc7-CI_DRM_11928-g8aa875373055+ #1
<4> [39.177967] Hardware name: /NUC6CAYB, BIOS AYAPLCEL.86A.0049.2018.0508.1356 05/08/2018
<4> [39.177979] RIP: 0010:__i915_active_fence_set.cold.41+0x5b/0xba [i915]
<4> [39.178537] Code: 00 48 c7 c2 50 84 41 a0 48 c7 c7 00 77 3e a0 e8 2b 18 dd e0 bf 01 00 00 00 e8 11 e6 dc e0 31 f6 bf 09 00 00 00 e8 15 cf cc e0 <0f> 0b 48 c7 c1 9c 32 49 a0 ba 24 04 00 00 48 c7 c6 50 84 41 a0 48
<4> [39.178563] RSP: 0018:ffffc90000d4b900 EFLAGS: 00010246
<4> [39.178576] RAX: 0000000000000200 RBX: ffff8881037d3440 RCX: 0000000000000006
<4> [39.178587] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009
<4> [39.178597] RBP: ffff888112568558 R08: 0000000000000001 R09: 0000000000000001
<4> [39.178608] R10: 0000000000000001 R11: ffffc90000d4b768 R12: ffff888112568558
<4> [39.178618] R13: 0000000000000000 R14: 0000000000000000 R15: 00000000c4000000
<4> [39.178630] FS: 00007f13802d8c00(0000) GS:ffff888277900000(0000) knlGS:0000000000000000
<4> [39.178643] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [39.178653] CR2: 00007f13802d7040 CR3: 0000000111ff0000 CR4: 00000000003506e0
<4> [39.178666] Call Trace:
<4> [39.178676] <TASK>
<4> [39.178688] i915_active_add_request+0x8b/0x150 [i915]
<4> [39.179256] _i915_vma_move_to_active+0x1fb/0x5f0 [i915]
<4> [39.179739] eb_submit+0x31c/0x6c0 [i915]
<4> [39.180075] i915_gem_do_execbuffer+0x1a42/0x2570 [i915]
<4> [39.180378] ? hlock_class+0x61/0x70
<4> [39.180393] ? __lock_acquire+0x5d6/0x2950
<4> [39.180403] ? __unmap_hugepage_range+0x564/0x680
<4> [39.180421] i915_gem_execbuffer2_ioctl+0x116/0x2c0 [i915]
<4> [39.180698] ? i915_gem_do_execbuffer+0x2570/0x2570 [i915]
<4> [39.180958] drm_ioctl_kernel+0xb2/0x140
<4> [39.180971] drm_ioctl+0x205/0x3d0
<4> [39.180981] ? i915_gem_do_execbuffer+0x2570/0x2570 [i915]
<4> [39.181245] __x64_sys_ioctl+0x71/0xb0
<4> [39.181255] do_syscall_64+0x3a/0x90
<4> [39.181265] entry_SYSCALL_64_after_hwframe+0x63/0xcd
<4> [39.181276] RIP: 0033:0x7f138212550b
<4> [39.181286] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
<4> [39.181310] RSP: 002b:00007ffc36ffca38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [39.181324] RAX: ffffffffffffffda RBX: 000055ff3dccae20 RCX: 00007f138212550b
<4> [39.181335] RDX: 000055ff3dccaee8 RSI: 00000000c0406469 RDI: 0000000000000005
<4> [39.181345] RBP: 000055ff3dccaee8 R08: 0000000000000005 R09: 0000000100024000
<4> [39.181355] R10: 000055ff3dccae78 R11: 0000000000000246 R12: 00000000c0406469
<4> [39.181365] R13: 0000000000000005 R14: 00007ffc36ffcad0 R15: 000055ff3dccaee8
<4> [39.181379] </TASK>
<4> [39.181384] Modules linked in: vgem drm_shmem_helper fuse snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio x86_pkg_temp_thermal coretemp mei_hdcp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul i915 ghash_clmulni_intel r8169 realtek prime_numbers snd_hda_intel snd_intel_dspcfg ttm drm_buddy snd_hda_codec snd_hwdep drm_display_helper drm_kms_helper snd_hda_core syscopyarea sysfillrect mei_me sysimgblt snd_pcm pinctrl_broxton mei fb_sys_fops i2c_i801 i2c_smbus lpc_ich intel_lpss_pci
<4> [39.181506] ---[ end trace 0000000000000000 ]---