Bug 107435

Summary: [CI][BAT] Value[0/2] mismatch, (overwrite with wc) wrote [gtt] 7b87261d read [cpu] 8478d9e2
Product: DRI Reporter: Tomi Sarvela <tomi.p.sarvela>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features:

Description Tomi Sarvela 2018-07-31 08:26:51 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4595/fi-icl-u/igt@drv_selftest@live_coherency.html

dmesg:
[  599.128689] Setting dangerous option live_selftests - tainting kernel
[  599.149396] [drm] GuC: No firmware known for this platform!
[  599.149414] [drm] HuC: No firmware known for this platform!
[  599.595697] Value[0/2] mismatch, (overwrite with wc) wrote [gtt] 7b87261d read [cpu] 8478d9e2 (inverse 8478d9e2), at offset 910
[  599.595745] i915/i915_gem_coherency_live_selftests: igt_gem_coherency failed with error -22
[  599.718156] i915: probe of 0000:00:02.0 failed with error -22

err:
(drv_selftest:9164) igt_kmod-CRITICAL: Test assertion failure function igt_kselftest_execute, file ../lib/igt_kmod.c:520:
(drv_selftest:9164) igt_kmod-CRITICAL: Failed assertion: err == 0
(drv_selftest:9164) igt_kmod-CRITICAL: kselftest "i915 igt__18__live_coherency=1 live_selftests=-1 disable_display=1" failed: Invalid argument [22]
(drv_selftest:9164) igt_core-INFO: Stack trace:
(drv_selftest:9164) igt_core-INFO:   #0 [__igt_fail_assert+0x180]
(drv_selftest:9164) igt_core-INFO:   #1 [igt_kselftest_execute+0x1d9]
(drv_selftest:9164) igt_core-INFO:   #2 [igt_kselftests+0x18c]
(drv_selftest:9164) igt_core-INFO:   #3 [__real_main29+0x44]
(drv_selftest:9164) igt_core-INFO:   #4 [main+0x44]
(drv_selftest:9164) igt_core-INFO:   #5 [__libc_start_main+0xe7]
(drv_selftest:9164) igt_core-INFO:   #6 [_start+0x2a]
Comment 1 Chris Wilson 2018-08-01 13:18:28 UTC
commit 21eb1850fa0bd0a9b729bf3708da78888433027f (HEAD -> drm-intel-next-queued, drm-intel/for-linux-next, drm-intel/drm-intel-next-queued)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Aug 1 11:47:21 2018 +0100

    drm/i95: Mark GGTT as incoherent for gen10+
    
    The evidence suggests that we need to start treating writes via GGTT as
    incoherent for gen10+, that is that they are internally buffered and not
    immediately visible via a read along a different physical path.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107398
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107400
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107435
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180801104721.4030-1-chris@chris-wilson.co.uk

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.