Bug 91634

Summary: [SKL execlists] WARN_ON(&target->list == &ring->request_list) from gem_reloc_vs_gpu/forked-interruptible-faulting-reloc-thrash-inactive-hang
Product: DRI Reporter: Olivier Berthier <olivierx.berthier>
Component: DRM/IntelAssignee: Mika Kuoppala <mika.kuoppala>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, ramix.ben.hassine
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: SKL i915 features: GEM/execlists
Attachments:
Description Flags
kern.log file
none
dmesg log file
none
piglit results.json file
none
drm/i915: Update ring space correctly on lrc context reset none

Description Olivier Berthier 2015-08-14 10:23:23 UTC
Setup:
-------

Hardware
Platform: SKY LAKE Y A0 
CPU : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D1 2+2 (ou ULX-D1)
QDF : QJK9 
CPU : SKL D1
Chipset PCH: Sunrise Point LP C1       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02,FBS03, F23, O-02 & O-06

Software 
BIOS : SKLSE2R1.R00.X093.B02.1507222151 07/22/2015
ME FW : 11.0.0.1158
Ksc (EC FW): 1.15
Linux : Ubuntu 14.04 LTS 64 bits

Kernel : 4.2.0-rc5 drm-intel-nightly
    
commit 308b72e08b237aa7cde758fc44f88851710e417d 
Author: Daniel Vetter 
Date: Fri Aug 7 19:09:47 2015 +0200 
drm-intel-nightly: 2015y-08m-07d-17h-08m-56s UTC integration manifest

Intel-GPU-tools commit : 5c07135b7bd23ce0beae67cfd8a71ac63f543859

Steps:
------
1. Launch igt with command (as root):
${IGT_DIRNAME}/scripts/run-tests.sh -t gem_reloc_vs_gpu@forked-interruptible-faulting-reloc-thrash-inactive-hang
2. The test start

Actual result:
--------------
The returned result is crash.

Expected result:
----------------
No crash.
Comment 1 Olivier Berthier 2015-08-14 10:24:31 UTC
Created attachment 117678 [details]
kern.log file
Comment 2 Olivier Berthier 2015-08-14 10:24:55 UTC
Created attachment 117679 [details]
dmesg log file
Comment 3 Olivier Berthier 2015-08-14 10:25:33 UTC
Created attachment 117680 [details]
piglit results.json file
Comment 4 Chris Wilson 2015-08-14 15:52:00 UTC
*** Bug 91640 has been marked as a duplicate of this bug. ***
Comment 5 cprigent 2015-08-16 14:20:23 UTC
On SKL, following tests results are all crash:
igt@gem_reloc_vs_gpu@faulting-reloc-interruptible-hang
igt@gem_reloc_vs_gpu@forked-faulting-reloc-hang
igt@gem_reloc_vs_gpu@forked-faulting-reloc-thrash-inactive-hang
igt@gem_reloc_vs_gpu@forked-hang
igt@gem_reloc_vs_gpu@forked-interruptible-faulting-reloc-hang
igt@gem_reloc_vs_gpu@forked-interruptible-faulting-reloc-thrash-inactive-hang
igt@gem_reloc_vs_gpu@forked-interruptible-hang
igt@gem_reloc_vs_gpu@forked-interruptible-thrash-inactive-hang
igt@gem_reloc_vs_gpu@forked-thrash-inactive-hang
Comment 6 cprigent 2015-08-19 08:30:35 UTC
Bug scrub:
Kimmo will discuss with VPG guys about this execlist related bug
Comment 7 Mika Kuoppala 2015-08-20 14:33:15 UTC
Created attachment 117813 [details] [review]
drm/i915: Update ring space correctly on lrc context reset
Comment 8 Mika Kuoppala 2015-11-17 16:25:05 UTC
Should be handled by:

commit 608c1a526c99d1858b02d035657e28c9837667a5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Sep 3 13:01:40 2015 +0100

    drm/i915: Recover all available ringbuffer space following reset

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.