Bug 104313 - [CI] igt@drv_selftest@live_hangcheck - dmesg-fail: igt_reset_engine failed with error -22
Summary: [CI] igt@drv_selftest@live_hangcheck - dmesg-fail: igt_reset_engine failed wi...
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: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-18 08:09 UTC by Marta Löfstedt
Modified: 2018-01-02 09:00 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, GLK, KBL, SNB
i915 features: GEM/Other


Attachments

Description Marta Löfstedt 2017-12-18 08:09:25 UTC
Started on  CI_DRM_3526 and so far on all following runs

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3526/shard-apl4/igt@drv_selftest@live_hangcheck.html
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3526/shard-glkb4/igt@drv_selftest@live_hangcheck.html
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3527/shard-kbl4/igt@drv_selftest@live_hangcheck.html

[  368.213351] Setting dangerous option live_selftests - tainting kernel
[  368.317095] No rcs0 engine reset recorded!
[  368.317128] i915/intel_hangcheck_live_selftests: igt_reset_engine failed with error -22
[  368.399755] i915: probe of 0000:00:02.0 failed with error -22


Also, incomplete on every run from CI_DRM_3527 on SNB:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3527/shard-snb1/igt@drv_selftest@live_hangcheck.html
Comment 1 Chris Wilson 2017-12-18 09:02:48 UTC
https://patchwork.freedesktop.org/series/35471/
Comment 2 Chris Wilson 2017-12-18 22:49:40 UTC
commit 3fb04cb0bea5c68c23eaf0cfbd4de840a7948ee9
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Dec 17 13:28:52 2017 +0000

    drm/i915/selftests: Fix up igt_reset_engine
    
    Now that we skip a per-engine reset on an idle engine, we need to update
    the selftest to take that into account. In the process, we find that we
    were not stressing the per-engine reset very hard, so add those missing
    active resets.
    
    v2: Actually test i915_reset_engine() by loading it with requests.
    
    Fixes: f6ba181ada55 ("drm/i915: Skip an engine reset if it recovered before our preparations")
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104313
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Michel Thierry <michel.thierry@intel.com>
    Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20171217132852.30642-3-chris@chris-wilson.co.uk
    Reviewed-by: Michel Thierry <michel.thierry@intel.com>


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.