Bug 108564 - [CI][BAT] igt@drv_selftest@live_requests - incomplete - GEM_BUG_ON(count > !n)
Summary: [CI][BAT] igt@drv_selftest@live_requests - incomplete - GEM_BUG_ON(count > !n)
Status: CLOSED DUPLICATE of bug 108315
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: highest normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-26 12:45 UTC by Martin Peres
Modified: 2018-11-01 06:50 UTC (History)
1 user (show)

See Also:
i915 platform: ICL
i915 features: GEM/Other


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Peres 2018-10-26 12:45:33 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_4696/fi-icl-u/igt@drv_selftest@live_requests.html

<3> [433.555990] execlists_submit_ports:434 GEM_BUG_ON(count > !n)
<4> [433.556145] ------------[ cut here ]------------
<2> [433.556148] kernel BUG at drivers/gpu/drm/i915/intel_lrc.c:434!
<4> [433.556157] invalid opcode: 0000 [#1] PREEMPT SMP PTI
<4> [433.556161] CPU: 2 PID: 4611 Comm: drv_selftest Tainted: G     U  W         4.19.0-CI-CI_DRM_5041+ #1
<4> [433.556163] Hardware name: Intel Corporation Ice Lake Client Platform/IceLake U DDR4 SODIMM PD RVP, BIOS ICLSFWR1.R00.2392.A04.1809260455 09/26/2018
<4> [433.556236] RIP: 0010:__execlists_submission_tasklet+0xa72/0xc20 [i915]
<4> [433.556239] Code: 1d c5 8f e0 48 8b 35 4d f9 19 00 49 c7 c0 13 5e 8e a0 b9 b2 01 00 00 48 c7 c2 50 bc 8c a0 48 c7 c7 3d db 7f a0 e8 1e 55 96 e0 <0f> 0b 48 c7 c1 a8 3f 90 a0 ba f3 01 00 00 48 c7 c6 90 bc 8c a0 48
<4> [433.556242] RSP: 0018:ffffc900004078f0 EFLAGS: 00010086
<4> [433.556245] RAX: 000000000000000a RBX: ffff88049e7da5d0 RCX: 0000000000000000
<4> [433.556247] RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8804ae250aa8
<4> [433.556249] RBP: ffffc90000407950 R08: 00000000005c4a45 R09: ffff8804ae3f3000
<4> [433.556251] R10: 0000000000000000 R11: ffff8804ae250aa8 R12: ffff880494298940
<4> [433.556253] R13: 0000000000000000 R14: ffff88049e7da5d0 R15: ffff88049e7da158
<4> [433.556256] FS:  00007fea8f521980(0000) GS:ffff8804afe80000(0000) knlGS:0000000000000000
<4> [433.556258] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [433.556260] CR2: 00005621baaa78a7 CR3: 00000004aa0ca006 CR4: 0000000000760ee0
<4> [433.556262] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4> [433.556264] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4> [433.556266] PKRU: 55555554
<4> [433.556267] Call Trace:
<4> [433.556319]  execlists_submit_request+0x181/0x190 [i915]
<4> [433.556366]  submit_notify+0x8d/0x124 [i915]
<4> [433.556406]  __i915_sw_fence_complete+0x81/0x250 [i915]
<4> [433.556451]  i915_request_add+0x36b/0x7e0 [i915]
<4> [433.556493]  live_nop_request+0x10b/0x200 [i915]
<4> [433.556546]  __i915_subtests+0x5e/0xf0 [i915]
<4> [433.556605]  __run_selftests+0x10b/0x190 [i915]
<4> [433.556648]  i915_live_selftests+0x2c/0x60 [i915]
<4> [433.556687]  i915_pci_probe+0x50/0xa0 [i915]
<4> [433.556693]  pci_device_probe+0xa1/0x130
<4> [433.556697]  really_probe+0x25d/0x3c0
<4> [433.556701]  driver_probe_device+0x10a/0x120
<4> [433.556704]  __driver_attach+0xdb/0x100
<4> [433.556707]  ? driver_probe_device+0x120/0x120
<4> [433.556714]  bus_for_each_dev+0x74/0xc0
<4> [433.556718]  bus_add_driver+0x15f/0x250
<4> [433.556720]  ? 0xffffffffa0a06000
<4> [433.556723]  driver_register+0x56/0xe0
<4> [433.556726]  ? 0xffffffffa0a06000
<4> [433.556729]  do_one_initcall+0x58/0x2e0
<4> [433.556732]  ? rcu_lockdep_current_cpu_online+0x8f/0xd0
<4> [433.556735]  ? do_init_module+0x1d/0x1ea
<4> [433.556739]  ? rcu_read_lock_sched_held+0x6f/0x80
<4> [433.556742]  ? kmem_cache_alloc_trace+0x264/0x290
<4> [433.556745]  do_init_module+0x56/0x1ea
<4> [433.556749]  load_module+0x26f5/0x29d0
<4> [433.556755]  ? vfs_read+0x122/0x140
<4> [433.556761]  ? __se_sys_finit_module+0xd3/0xf0
<4> [433.556764]  __se_sys_finit_module+0xd3/0xf0
<4> [433.556769]  do_syscall_64+0x55/0x190
<4> [433.556773]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [433.556776] RIP: 0033:0x7fea8edea839
<4> [433.556779] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1f f6 2c 00 f7 d8 64 89 01 48
<4> [433.556781] RSP: 002b:00007ffd94ff67d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4> [433.556784] RAX: ffffffffffffffda RBX: 0000555d553e4d40 RCX: 00007fea8edea839
<4> [433.556786] RDX: 0000000000000000 RSI: 0000555d553e5b80 RDI: 0000000000000006
<4> [433.556788] RBP: 0000555d553e5b80 R08: 0000000000000004 R09: 0000000000000000
<4> [433.556790] R10: 00007ffd94ff6950 R11: 0000000000000246 R12: 0000000000000000
<4> [433.556792] R13: 0000555d553df3d0 R14: 0000000000000020 R15: 000000000000003c
<4> [433.556796] Modules linked in: i915(+) amdgpu chash gpu_sched ttm vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ax88179_178a usbnet mii ghash_clmulni_intel snd_hda_codec snd_hwdep e1000e snd_hda_core snd_pcm prime_numbers [last unloaded: i915]
Comment 1 Chris Wilson 2018-10-26 12:49:46 UTC
See also https://bugs.freedesktop.org/show_bug.cgi?id=108315

Probably best to dupe for the moment as the cause is going to be tied into the missing CS events. Once that's resolved, we can pick up the pieces.

*** This bug has been marked as a duplicate of bug 108315 ***
Comment 2 Francesco Balestrieri 2018-11-01 06:50:59 UTC
Seeing no objections, I'm closing this.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.