Bug 107189 - [CI] SKL-IOMMU igt@drv_module_reload tests fail
Summary: [CI] SKL-IOMMU igt@drv_module_reload tests fail
Status: CLOSED NOTOURBUG
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:
: 107174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-11 11:22 UTC by Tomi Sarvela
Modified: 2018-08-04 09:22 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features:


Attachments

Description Tomi Sarvela 2018-07-11 11:22:56 UTC
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
Comment 1 Chris Wilson 2018-07-11 14:45:12 UTC
*** Bug 107174 has been marked as a duplicate of this bug. ***
Comment 4 Chris Wilson 2018-07-21 13:21:14 UTC
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.