igt@i915_selftest@(mock|live) - fail - drm_WARN_ON(dev_priv->mm.shrink_count)
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5507/shard-glk4/igt@i915_selftest@mock.html
<4> [171.287616] i915 0000:00:02.0: drm_WARN_ON(dev_priv->mm.shrink_count)
<4> [171.287726] WARNING: CPU: 1 PID: 1260 at drivers/gpu/drm/i915/i915_gem.c:1234 i915_gem_cleanup_early+0x139/0x150 [i915]
<4> [171.287729] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic mei_hdcp i915(-) x86_pkg_temp_thermal coretemp crct10dif_pclmul btusb crc32_pclmul btrtl btbcm btintel bluetooth ghash_clmulni_intel ecdh_generic ecc snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core r8169 realtek snd_pcm mei_me mei prime_numbers i2c_hid pinctrl_geminilake pinctrl_intel [last unloaded: snd_hda_intel]
<4> [171.287757] CPU: 1 PID: 1260 Comm: i915_selftest Tainted: G U 5.6.0-rc5-CI-CI_DRM_8132+ #1
<4> [171.287760] Hardware name: Intel Corporation NUC7CJYH/NUC7JYB, BIOS JYGLKCPX.86A.0027.2018.0125.1347 01/25/2018
<4> [171.287833] RIP: 0010:i915_gem_cleanup_early+0x139/0x150 [i915]
<4> [171.287837] Code: 8b 7b 18 48 8b 5f 50 48 85 db 74 25 e8 60 50 3f e1 48 c7 c1 e8 1c 42 a0 48 89 da 48 89 c6 48 c7 c7 c0 46 45 a0 e8 a7 0f dd e0 <0f> 0b e9 11 ff ff ff 48 8b 1f eb d6 90 66 2e 0f 1f 84 00 00 00 00
<4> [171.287840] RSP: 0000:ffffc9000084fe08 EFLAGS: 00010282
<4> [171.287843] RAX: 0000000000000000 RBX: ffff888275d3eb90 RCX: 0000000000000000
<4> [171.287845] RDX: 0000000000000006 RSI: ffff888266d308d0 RDI: ffffffff823797b5
<4> [171.287848] RBP: ffff888259d1b9f8 R08: ffff888266d308d0 R09: 0000000000000000
<4> [171.287850] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffa04e21c0
<4> [171.287852] R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffa04e22b0
<4> [171.287855] FS: 00007f97fd703e40(0000) GS:ffff888278080000(0000) knlGS:0000000000000000
<4> [171.287858] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [171.287860] CR2: 00007f4ab21e9520 CR3: 000000025ba8a000 CR4: 0000000000340ee0
<4> [171.287862] Call Trace:
<4> [171.287929] i915_driver_late_release+0x19/0x60 [i915]
<4> [171.287991] i915_driver_release+0x67/0x90 [i915]
<4> [171.287997] pci_device_remove+0x36/0xb0
<4> [171.288003] device_release_driver_internal+0xe0/0x1c0
<4> [171.288008] driver_detach+0x42/0x80
<4> [171.288012] bus_remove_driver+0x56/0xd0
<4> [171.288016] pci_unregister_driver+0x25/0xa0
<4> [171.288095] i915_exit+0x1b/0x21 [i915]
<4> [171.288100] __x64_sys_delete_module+0x115/0x1e0
<4> [171.288106] ? trace_hardirqs_off_thunk+0x1a/0x1c
<4> [171.288110] ? do_syscall_64+0xd/0x220
<4> [171.288114] do_syscall_64+0x4f/0x220
<4> [171.288120] entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [171.288123] RIP: 0033:0x7f97fcdb01b7
<4> [171.288127] Code: 73 01 c3 48 8b 0d d1 8c 2c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 8c 2c 00 f7 d8 64 89 01 48
<4> [171.288130] RSP: 002b:00007ffe02dcd288 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
<4> [171.288133] RAX: ffffffffffffffda RBX: 00007ffe02dcd380 RCX: 00007f97fcdb01b7
<4> [171.288136] RDX: 0000000000000004 RSI: 0000000000000800 RDI: 0000562a838e8de8
<4> [171.288138] RBP: 0000562a838e8d80 R08: 00007ffe02dcc284 R09: 00007ffe02dcd2b0
<4> [171.288140] R10: 00007ffe02dcc284 R11: 0000000000000206 R12: 0000000000000000
<4> [171.288143] R13: 00007ffe02dcd9f0 R14: 0000000000000000 R15: 0000000000000000
<4> [171.288155] irq event stamp: 121040
<4> [171.288161] hardirqs last enabled at (121039): [<ffffffff811308bc>] vprintk_emit+0xcc/0x330
<4> [171.288164] hardirqs last disabled at (121040): [<ffffffff81001d50>] trace_hardirqs_off_thunk+0x1a/0x1c
<4> [171.288168] softirqs last enabled at (120998): [<ffffffff81e00385>] __do_softirq+0x385/0x47f
<4> [171.288172] softirqs last disabled at (120987): [<ffffffff810bab7a>] irq_exit+0xba/0xc0
<4> [171.288175] ---[ end trace 49a1bd50cef4fff4 ]---
Edited by LAKSHMINARAYANA VUDUM