Bug 107131 - [CI][SKL] IOMMU-enabled host fails drv_selftest@live_workarounds
Summary: [CI][SKL] IOMMU-enabled host fails drv_selftest@live_workarounds
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-05 14:56 UTC by Tomi Sarvela
Modified: 2018-07-10 11:42 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features:


Attachments

Description Tomi Sarvela 2018-07-05 14:56:15 UTC
Intel-GFX-CI hosts are starting to run i915 selftests, and this bug is part of the series "Initial findings"

Skylake with IOMMU not disabled is failing igt@drv_selftest@live_workarounds, dmesg:

Setting dangerous option live_selftests - tainting kernel
i915 0000:00:02.0: Resetting rcs0 for hang on rcs0, bcs0, vcs0, vecs0
i915 0000:00:02.0: Resetting bcs0 for hang on rcs0, bcs0, vcs0, vecs0
i915 0000:00:02.0: Resetting vcs0 for hang on rcs0, bcs0, vcs0, vecs0
i915 0000:00:02.0: Resetting vecs0 for hang on rcs0, bcs0, vcs0, vecs0
i915 0000:00:02.0: Resetting chip for hang on rcs0, bcs0, vcs0, vecs0
i915 0000:00:02.0: GPU recovery failed
Invalid whitelist *before* engine reset!
i915/intel_workarounds_live_selftests: live_reset_whitelist failed with error -5
i915: probe of 0000:00:02.0 failed with error -5

Full trace available at:

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4432/fi-skl-iommu/igt@drv_selftest@live_workarounds.html
Comment 1 Chris Wilson 2018-07-06 15:22:52 UTC
commit 47e61a79806d5d222261250dc573a68c53e99c22
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jul 6 07:53:11 2018 +0100

    drm/i915/selftests: Skip workaround tests when wedged
    
    If the GPU is irrecoverably wedged, we cannot submit any request and
    therefore cannot query the register state of the context (which is done
    using the GPU command stream). So skip over the test as it expectedly
    fails.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Matthew Auld <matthew.auld@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180706065332.15214-6-c
hris@chris-wilson.co.uk
Comment 2 Martin Peres 2018-07-10 11:42:03 UTC
Thanks, it did the trick!


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.