Bug 100304 - [bisected] Kernel oops on startup
Summary: [bisected] Kernel oops on startup
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-21 17:11 UTC by Mike Lothian
Modified: 2017-03-23 18:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Screen shot (1.07 MB, image/jpeg)
2017-03-21 17:11 UTC, Mike Lothian
no flags Details
possible fix (1.73 KB, patch)
2017-03-23 15:03 UTC, Alex Deucher
no flags Details | Splinter Review

Description Mike Lothian 2017-03-21 17:11:22 UTC
Created attachment 130353 [details]
Screen shot

Bisected back to:

2d38d25554b739b50eec254205f769580751fb02 is the first bad commit
commit 2d38d25554b739b50eec254205f769580751fb02
Author: David Panariti <David.Panariti@amd.com>
Date:   Mon Mar 13 13:33:18 2017 -0400

    drm/amdgpu: Switch baremetal to use KIQ for compute ring management.
    
    KIQ is the Kernel Interface Queue for managing the MEC.  Rather than setting
    up rings via direct MMIO of ring registers, the rings are configured via
    special packets sent to the KIQ.  The allows the MEC to better manage shared
    resources and certain power events.
    
    Signed-off-by: David Panariti <David.Panariti@amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Acked-by: Tom St Denis <tom.stdenis@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com
Comment 1 Alex Deucher 2017-03-21 17:14:29 UTC
What chip is this?
Comment 2 Alex Deucher 2017-03-21 17:16:59 UTC
does disabling runpm work around it?
Comment 3 Mike Lothian 2017-03-21 17:21:45 UTC
This is on Tonga in a prime setup
Comment 4 Mike Lothian 2017-03-21 17:39:14 UTC
Yes setting amdgpu.runpm=0 fixes the issue - also reverting the commit allows me to boot
Comment 5 Alex Deucher 2017-03-23 15:03:21 UTC
Created attachment 130399 [details] [review]
possible fix

This should fix the issue.
Comment 6 Mike Lothian 2017-03-23 15:30:54 UTC
Thanks, that's working great for me
Comment 7 Alex Deucher 2017-03-23 18:54:18 UTC
fix squashed into the original patch.


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.