Bug 88790 - [BDW ppgtt Bisected]igt/gem_pread_after_blit/default-hang causes system hang
Summary: [BDW ppgtt Bisected]igt/gem_pread_after_blit/default-hang causes system hang
Status: CLOSED DUPLICATE of bug 88652
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high critical
Assignee: Nick Hoath
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-26 02:48 UTC by lu hua
Modified: 2017-10-06 14:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (49.54 KB, text/plain)
2015-01-26 02:48 UTC, lu hua
no flags Details

Description lu hua 2015-01-26 02:48:53 UTC
Created attachment 112823 [details]
dmesg

==System Environment==
--------------------------
Regression: yes
good commit: 441406c2a74c8cf651503efa50afc2fc53e6bdd2
bad commit: 518c2e29d566427433b4ebf51f5863b69f8baf4a

no-working platforms: BDW

==kernel==
--------------------------
drm-intel-nightly/67e9eb08a3b967b1ac6b7ec4588a93a2cb030cae
commit 67e9eb08a3b967b1ac6b7ec4588a93a2cb030cae
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Jan 23 17:04:55 2015 +0100

    drm-intel-nightly: 2015y-01m-23d-16h-04m-34s UTC integration manifest

==Bug detailed description==
-----------------------------
It causes system on drm-intel-nightly and drm-intel-next-queued kernel.

output 
IGT-Version: 1.9-gfa94e01 (x86_64) (Linux: 3.19.0-rc5_drm-intel-nightly_67e9eb_20150125+ x86_64)

dmesg:
[  346.605836] Call Trace:
[  346.607737]  [<ffffffff8112e907>] ? seq_open+0x2c/0x7f
[  346.609654]  [<ffffffff8116d5e5>] ? kernfs_fop_open+0x167/0x2be
[  346.611574]  [<ffffffff8116d47e>] ? kernfs_fop_release+0x4c/0x4c
[  346.613487]  [<ffffffff81112001>] ? do_dentry_open+0x184/0x2a6
[  346.615470]  [<ffffffff8111deec>] ? do_last+0x942/0xb75
[  346.617364]  [<ffffffff8111c2dd>] ? __inode_permission+0x2f/0x6e
[  346.619261]  [<ffffffff8111e251>] ? link_path_walk+0x51/0x74a
[  346.621146]  [<ffffffff8111f6bc>] ? path_openat+0x20f/0x560
[  346.623018]  [<ffffffff81144f0a>] ? ep_read_events_proc+0x92/0x92
[  346.624889]  [<ffffffff81120597>] ? do_filp_open+0x2b/0x6f
[  346.626746]  [<ffffffff81129ba1>] ? __alloc_fd+0x58/0xe3
[  346.628589]  [<ffffffff811131d6>] ? do_sys_open+0x14b/0x1cf
[  346.630409]  [<ffffffff8179f452>] ? system_call_fastpath+0x12/0x17
[  346.632211] Code: 7e 08 45 89 e1 49 89 d8 4c 89 e9 48 89 ea 4c 89 fe 41 ff 16 49 83 c6 10 49 83 3e 00 eb 30 eb 32 49 63 47 20 4d 8b 07 48 8d 4a 01 <48> 8b 5c 05 00 48 89 e8 65 49 0f c7 08 0f 94 c0 84 c0 75 89 e9
[  346.634261] RIP  [<ffffffff8110dc7e>] kmem_cache_alloc_trace+0xce/0x104
[  346.636136]  RSP <ffff880145ea7bf8>
[  346.638016] ---[ end trace d02386d5cafd3e6a ]---


==Reproduce steps==
---------------------------- 
1.  ./gem_pread_after_blit --run-subtest default-hang
Comment 1 lu hua 2015-01-30 07:51:34 UTC
Add i915.enable_execlists=0, it works well.
Comment 2 lu hua 2015-02-09 06:29:05 UTC
add i915.enable_ppgtt=0,it works well.
Comment 3 lu hua 2015-02-10 05:25:57 UTC
Bisect shows: 6d3d8274bc45de4babb62d64562d92af984dd238 is the first bad commit.
commit 6d3d8274bc45de4babb62d64562d92af984dd238
Author:     Nick Hoath <nicholas.hoath@intel.com>
AuthorDate: Thu Jan 15 13:10:39 2015 +0000
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Tue Jan 27 09:50:53 2015 +0100

    drm/i915: Subsume intel_ctx_submit_request in to drm_i915_gem_request

    Move all remaining elements that were unique to execlists queue items
    in to the associated request.

    Issue: VIZ-4274

    v2: Rebase. Fixed issue of overzealous freeing of request.
    v3: Removed re-addition of cleanup work queue (found by Daniel Vetter)
    v4: Rebase.
    v5: Actual removal of intel_ctx_submit_request. Update both tail and postfix
    pointer in __i915_add_request (found by Thomas Daniel)
    v6: Removed unrelated changes

    Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
    Reviewed-by: Thomas Daniel <thomas.daniel@intel.com>
    [danvet: Reformat comment with strange linebreaks.]
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Comment 4 Jani Nikula 2015-02-10 08:17:54 UTC

*** This bug has been marked as a duplicate of bug 88652 ***
Comment 5 Elizabeth 2017-10-06 14:31:54 UTC
Closing old verified.


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.