On CI_DRM_3248 on all shards igt@gem_madvise@dontneed-before-pwrite fails: (gem_madvise:1668) CRITICAL: Test assertion failure function dontneed_before_pwrite, file gem_madvise.c:122: (gem_madvise:1668) CRITICAL: Failed assertion: __gem_write(fd, handle, 0, &bbe, sizeof(bbe)) == -14 (gem_madvise:1668) CRITICAL: error: 0 != -14 Subtest dontneed-before-pwrite failed. https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3248/shard-apl2/igt@gem_madvise@dontneed-before-pwrite.html https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3248/shard-hsw6/igt@gem_madvise@dontneed-before-pwrite.html https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3248/shard-kbl1/igt@gem_madvise@dontneed-before-pwrite.html https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3248/shard-snb2/igt@gem_madvise@dontneed-before-pwrite.html
https://patchwork.freedesktop.org/series/32066/
commit a6d65e451cc4e7127698384868a4447ee7be7d16 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Oct 16 21:27:32 2017 +0100 drm/i915: Report -EFAULT before pwrite fast path into shmemfs When pwriting into shmemfs, the fast path pagecache_write does not notice when it is writing to beyond the end of the truncated shmemfs inode. Report -EFAULT directly when we try to use pwrite into the !I915_MADV_WILLNEED object. Fixes: 7c55e2c5772d ("drm/i915: Use pagecache write to prepopulate shmemfs from pwrite-ioctl")
Also, GLK-shards: (gem_madvise:1498) CRITICAL: Test assertion failure function dontneed_before_pwrite, file gem_madvise.c:122: (gem_madvise:1498) CRITICAL: Failed assertion: __gem_write(fd, handle, 0, &bbe, sizeof(bbe)) == -14 (gem_madvise:1498) CRITICAL: error: 0 != -14 Subtest dontneed-before-pwrite failed. https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3253/shard-glkb4/igt@gem_madvise@dontneed-before-pwrite.html
From CI_DRM_3254 this issue is no longer reproducible.
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.