Skylake 6700K with IO-MMU enabled fails IGT drv_module_reload tests: Example trace: (drv_module_reload:2362) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ../lib/ioctl_wrappers.c:605: (drv_module_reload:2362) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0 (drv_module_reload:2362) ioctl_wrappers-CRITICAL: error: -5 != 0 Subtest basic-reload failed. **** DEBUG **** (drv_module_reload:2362) igt_kmod-DEBUG: Could not remove module drm_kms_helper (No such file or directory) (drv_module_reload:2362) igt_kmod-DEBUG: Could not remove module drm (No such file or directory) (drv_module_reload:2362) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (drv_module_reload:2362) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (drv_module_reload:2362) ioctl_wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ../lib/ioctl_wrappers.c:605: (drv_module_reload:2362) ioctl_wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0 (drv_module_reload:2362) ioctl_wrappers-CRITICAL: error: -5 != 0 (drv_module_reload:2362) igt_core-INFO: Stack trace: (drv_module_reload:2362) igt_core-INFO: #0 [__igt_fail_assert+0x180] (drv_module_reload:2362) igt_core-INFO: #1 [gem_execbuf+0x6c] (drv_module_reload:2362) igt_core-INFO: #2 [store_dword+0x2f9] (drv_module_reload:2362) igt_core-INFO: #3 [gem_exec_store+0x68] (drv_module_reload:2362) igt_core-INFO: #4 [__real_main304+0x86] (drv_module_reload:2362) igt_core-INFO: #5 [main+0x44] (drv_module_reload:2362) igt_core-INFO: #6 [__libc_start_main+0xe7] (drv_module_reload:2362) igt_core-INFO: #7 [_start+0x2a] **** END **** Full traces at: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4469/fi-skl-iommu/igt@drv_module_reload@basic-reload.html https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4469/fi-skl-iommu/igt@drv_module_reload@basic-no-display.html https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4469/fi-skl-iommu/igt@drv_module_reload@basic-reload-inject.html History: https://intel-gfx-ci.01.org/tree/drm-tip/fi-skl-iommu.html
*** Bug 107174 has been marked as a duplicate of this bug. ***
This leads a lot of tests to fail with the same error code: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@perf@rc6-disable.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@perf@enable-disable.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@perf@mi-rpc.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@perf@buffer-fill.html or with the following error: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@perf@buffer-fill.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_77/fi-skl-iommu/igt@perf@gen8-unprivileged-single-ctx-counters.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@gem_render_copy_redux@flink-interruptible.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@kms_draw_crc@draw-method-xrgb8888-render-ytiled.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@perf@gen8-unprivileged-single-ctx-counters.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-skl-iommu/igt@kms_draw_crc@draw-method-xrgb8888-render-xtiled.html
More "error: -5 != 0" are seen on drmtip_85+: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_85/fi-skl-iommu/igt@kms_vblank@pipe-c-ts-continuation-idle-hang.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_85/fi-skl-iommu/igt@kms_vblank@pipe-b-query-forked-hang.html https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_85/fi-skl-iommu/igt@kms_vblank@pipe-a-wait-busy-hang.html ...
commit 2db1581e1f432ac6b4efe152c57fdfb4de85c154 Author: Lu Baolu <baolu.lu@linux.intel.com> Date: Sun Jul 8 14:23:21 2018 +0800 Revert "iommu/vt-d: Clean up pasid quirk for pre-production devices" This reverts commit ab96746aaa344fb720a198245a837e266fad3b62. The commit ab96746aaa34 ("iommu/vt-d: Clean up pasid quirk for pre-production devices") triggers ECS mode on some platforms which have broken ECS support. As the result, graphic device will be inoperable on boot. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107017 Cc: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
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.