https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5139/fi-elk-e7500/igt@i915_selftest@live_requests.html <3>[ 318.904510] intel_ring_reset:1237 GEM_BUG_ON(!intel_ring_offset_valid(ring, tail)) <4>[ 318.904663] ------------[ cut here ]------------ <2>[ 318.904667] kernel BUG at drivers/gpu/drm/i915/gt/intel_ringbuffer.c:1237! <4>[ 318.904725] invalid opcode: 0000 [#1] PREEMPT SMP PTI <4>[ 318.904739] CPU: 0 PID: 3505 Comm: i915_selftest Tainted: G U 5.3.0-rc5-CI-CI_DRM_6734+ #1 <4>[ 318.904759] Hardware name: Hewlett-Packard HP Compaq 8000 Elite CMT PC/3647h, BIOS 786G7 v01.02 10/22/2009 <4>[ 318.904914] RIP: 0010:intel_ring_reset+0x51/0x70 [i915] <4>[ 318.904928] Code: 0e c4 7e e0 48 8b 35 06 e0 22 00 49 c7 c0 08 fb a9 a0 b9 d5 04 00 00 48 c7 c2 b0 7b a7 a0 48 c7 c7 cc 14 94 a0 e8 2f a7 85 e0 <0f> 0b 89 77 20 89 77 1c 89 77 24 e9 4f ed ff ff 0f 1f 44 00 00 66 <4>[ 318.904962] RSP: 0018:ffffc9000029ba98 EFLAGS: 00010282 <4>[ 318.904975] RAX: 0000000000000010 RBX: ffff8880d91892c8 RCX: 0000000000000000 <4>[ 318.904990] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 00000000000006c0 <4>[ 318.905005] RBP: ffff888106a4f740 R08: 0000000000000000 R09: 00000000000006c0 <4>[ 318.905020] R10: 0000000000000000 R11: ffff888117097a38 R12: ffffffffa0a6f2c0 <4>[ 318.905036] R13: ffffffffa0b5d250 R14: ffffffffa0b5d1e0 R15: ffffc9000029be88 <4>[ 318.905052] FS: 00007fba4b061e40(0000) GS:ffff888117a00000(0000) knlGS:0000000000000000 <4>[ 318.905070] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 <4>[ 318.905084] CR2: 000055b1f09a27c0 CR3: 0000000104234000 CR4: 00000000000406f0 <4>[ 318.905099] Call Trace: <4>[ 318.905212] intel_ring_unpin+0x1a/0x220 [i915] <4>[ 318.905329] ring_destroy+0x48/0xc0 [i915] <4>[ 318.905331] intel_engines_cleanup+0x24/0x40 [i915] <4>[ 318.905331] i915_gem_driver_release+0x1b/0xf0 [i915] <4>[ 318.905331] i915_driver_release+0x1c/0x80 [i915] <4>[ 318.905331] i915_pci_probe+0xa3/0x1b0 [i915] <4>[ 318.905331] pci_device_probe+0x9e/0x120 <4>[ 318.905331] really_probe+0xea/0x3d0 <4>[ 318.905331] driver_probe_device+0x10b/0x120 <4>[ 318.905331] device_driver_attach+0x4a/0x50 <4>[ 318.905331] __driver_attach+0x97/0x130 <4>[ 318.905331] ? device_driver_attach+0x50/0x50 <4>[ 318.905331] bus_for_each_dev+0x74/0xc0 <4>[ 318.905331] bus_add_driver+0x13f/0x210 <4>[ 318.905331] ? 0xffffffffa0153000 <4>[ 318.905331] driver_register+0x56/0xe0 <4>[ 318.905331] ? 0xffffffffa0153000 <4>[ 318.905331] do_one_initcall+0x58/0x300 <4>[ 318.905331] ? do_init_module+0x1d/0x1f6 <4>[ 318.905331] ? rcu_read_lock_sched_held+0x6f/0x80 <4>[ 318.905331] ? kmem_cache_alloc_trace+0x2d1/0x300 <4>[ 318.905331] do_init_module+0x56/0x1f6 <4>[ 318.905331] load_module+0x25bd/0x2a40 <4>[ 318.905331] ? __se_sys_finit_module+0xd3/0xf0 <4>[ 318.905331] __se_sys_finit_module+0xd3/0xf0 <4>[ 318.905331] do_syscall_64+0x55/0x1c0 <4>[ 318.905331] entry_SYSCALL_64_after_hwframe+0x49/0xbe <4>[ 318.905331] RIP: 0033:0x7fba4a719839 <4>[ 318.905331] 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>[ 318.905331] RSP: 002b:00007fffb27f3f88 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 <4>[ 318.905331] RAX: ffffffffffffffda RBX: 0000560b98952f50 RCX: 00007fba4a719839 <4>[ 318.905331] RDX: 0000000000000000 RSI: 0000560b9894c010 RDI: 0000000000000006 <4>[ 318.905331] RBP: 0000560b9894c010 R08: 3d7374736574666c R09: 0000560b970fbc1b <4>[ 318.905331] R10: 00007fffb27f41d0 R11: 0000000000000246 R12: 0000000000000000 <4>[ 318.905331] R13: 0000560b98946600 R14: 0000000000000020 R15: 0000000000000047 <4>[ 318.905331] Modules linked in: i915(+) amdgpu gpu_sched ttm vgem coretemp snd_hda_codec_realtek snd_hda_codec_generic snd_intel_nhlt snd_hda_codec snd_hwdep snd_hda_core snd_pcm lpc_ich e1000e ptp pps_core mei_me mei prime_numbers [last unloaded: i915]
commit 6a736ebf314a0b0813bae248ad3daa9154463798 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Aug 19 08:58:18 2019 +0100 drm/i915: Always wrap the ring offset before resetting We were passing in an unwrapped offset into intel_ring_reset() on unpinning. Sooner or later that had to land on ring->size. <3> [314.872147] intel_ring_reset:1237 GEM_BUG_ON(!intel_ring_offset_valid(ring, tail)) <4> [314.872272] ------------[ cut here ]------------ <2> [314.872276] kernel BUG at drivers/gpu/drm/i915/gt/intel_ringbuffer.c:1237! <4> [314.872320] invalid opcode: 0000 [#1] PREEMPT SMP PTI <4> [314.872331] CPU: 1 PID: 3466 Comm: i915_selftest Tainted: G U 5.3.0-rc4-CI-Patchwork_14061+ #1 <4> [314.872346] Hardware name: Hewlett-Packard HP Compaq 8000 Elite CMT PC/3647h, BIOS 786G7 v01.02 10/22/2009 <4> [314.872477] RIP: 0010:intel_ring_reset+0x51/0x70 [i915] <4> [314.872487] Code: 9e db 51 e0 48 8b 35 b6 c7 22 00 49 c7 c0 f8 d9 d6 a0 b9 d5 04 00 00 48 c7 c2 70 5b d4 a0 48 c7 c7 6c fc c0 a0 e8 cf be 58 e0 <0f> 0b 89 77 20 89 77 1c 89 77 24 e9 4f ed ff ff 0f 1f 44 00 00 66 <4> [314.872512] RSP: 0018:ffffc9000034fa98 EFLAGS: 00010282 <4> [314.872523] RAX: 0000000000000010 RBX: ffff8881019412c8 RCX: 0000000000000000 <4> [314.872534] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000f20 <4> [314.872545] RBP: ffff888104e0f740 R08: 0000000000000000 R09: 0000000000000f20 <4> [314.872557] R10: 0000000000000000 R11: ffff888117094518 R12: ffffffffa0d3d2c0 <4> [314.872569] R13: ffffffffa0e2a250 R14: ffffffffa0e2a1e0 R15: ffffc9000034fe88 <4> [314.872581] FS: 00007fe6d49f6e40(0000) GS:ffff888117a80000(0000) knlGS:0000000000000000 <4> [314.872595] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 <4> [314.872605] CR2: 000055e3283e9cc8 CR3: 0000000108842000 CR4: 00000000000406e0 <4> [314.872616] Call Trace: <4> [314.872701] intel_ring_unpin+0x1a/0x220 [i915] <4> [314.872787] ring_destroy+0x48/0xc0 [i915] <4> [314.872870] intel_engines_cleanup+0x24/0x40 [i915] <4> [314.872964] i915_gem_driver_release+0x1b/0xf0 [i915] <4> [314.872984] i915_driver_release+0x1c/0x80 [i915] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190819075835.20065-2-chris@chris-wilson.co.uk
The CI Bug Log issue associated to this bug has been updated. ### New filters associated * ELK: igt@i915_selftest@live_requests - incomplete - GEM_BUG_ON(!intel_ring_offset_valid(ring, tail)) (No new failures associated) * ELK: igt@runner@aborted - fail - Previous test: i915_selftest (live_requests) - https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5139/fi-elk-e7500/igt@runner@aborted.html - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14061/fi-elk-e7500/igt@runner@aborted.html
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.