Bug 97253 - [KBL] GuC 9.14 does not load
Summary: [KBL] GuC 9.14 does not load
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-09 08:55 UTC by cprigent
Modified: 2016-09-19 10:43 UTC (History)
5 users (show)

See Also:
i915 platform: KBL
i915 features: firmware/guc


Attachments
kbl_guc-does-not-load_dmesg (105.68 KB, text/plain)
2016-08-09 08:55 UTC, cprigent
no flags Details
i915_guc_info (905 bytes, text/plain)
2016-08-09 08:56 UTC, cprigent
no flags Details
i915_guc_load_status (519 bytes, text/plain)
2016-08-09 08:56 UTC, cprigent
no flags Details

Description cprigent 2016-08-09 08:55:56 UTC
Created attachment 125626 [details]
kbl_guc-does-not-load_dmesg

Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS: 38_07 KBLSE2R1.R00.X038.P07.1606200632 from https://ubit-artifactory-ba.intel.com/artifactory/simple/one-windows-local/Submissions/ifwi/KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16/IFWI-KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16-R.7z
ME FW: 11.5.0.1058
EC FW: 1.19
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc1 8ca71ca from http://cgit.freedesktop.org/drm-intel/
  commit 8ca71ca6198ad5a08a7d3e00f94149db2cdd5ebc
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Mon Aug 8 11:02:44 2016 +0200
  drm-intel-nightly: 2016y-08m-08d-09h-02m-24s UTC integration manifest
drm: libdrm-2.4.70-2 b214b05 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-502 c833c08 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-691 a77397a from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-44 695f99e from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-66 fb7d6f5 from git://git.freedesktop.org/git/vaapi/intel-driver
GuC 9.14 from http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2 
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01 

Steps:
------
1. Boot with kernel boot command lines:
i915.enable_guc_loading=2 i915.enable_guc_submission=2
2. Check GuC status: 
dmesg |grep guc

Actual result:
--------------
2. GuC 9.14 does not load

Expected result:
----------------
2. GuC successfully loads

Output
------
[    4.929818] Setting dangerous option enable_guc_loading - tainting kernel
[    4.929819] Setting dangerous option enable_guc_submission - tainting kernel
[    5.256050] [drm:intel_guc_init] GuC firmware pending, path i915/kbl_guc_ver9_14.bin
[    5.256050] [drm:guc_fw_fetch] before requesting firmware: GuC fw fetch status PENDING
[    5.256084] [drm:guc_fw_fetch] fetch GuC fw from i915/kbl_guc_ver9_14.bin succeeded, fw ffff8801de1d96c0
[    5.256085] [drm:guc_fw_fetch] firmware version 9.14 OK (minimum 9.14)
[    5.256120] [drm:guc_fw_fetch] GuC fw fetch status SUCCESS, obj ffff8801de37c500
[    5.259202] [drm:intel_guc_setup] GuC fw status: path i915/kbl_guc_ver9_14.bin, fetch SUCCESS, load NONE
[    5.259208] [drm:intel_guc_setup] GuC fw status: fetch SUCCESS, load PENDING
[    5.365875] [drm:guc_ucode_xfer_dma] DMA status 0x10, GuC status 0x800202ec
[    5.365876] [drm:guc_ucode_xfer_dma] returning -110
[    5.474950] [drm:guc_ucode_xfer_dma] DMA status 0x10, GuC status 0x800202ec
[    5.474951] [drm:guc_ucode_xfer_dma] returning -110
[    5.582389] [drm:guc_ucode_xfer_dma] DMA status 0x10, GuC status 0x800202ec
[    5.582391] [drm:guc_ucode_xfer_dma] returning -110
[    5.582465] [drm:intel_guc_setup [i915]] *ERROR* GuC firmware load failed: -110
[    5.582489] [drm:intel_guc_setup [i915]] *ERROR* GuC init failed: -5

Reproduced with 
Kernel: 4.7.0 6f87e85 from http://cgit.freedesktop.org/drm-intel/
  commit 6f87e85fa302ffdb4cb9f4cd712691165923c7a2
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Mon Aug 1 15:53:41 2016 +0100
  drm-intel-nightly: 2016y-08m-01d-14h-53m-17s UTC integration manifest

Reproduced (with our without the guc command lines) after I modified drivers/gpu/drm/i915/i915_params.c like this:
struct i915_params i915 __read_mostly = {
        …
        .enable_guc_loading = -1,
        .enable_guc_submission = -1,
        .guc_log_level = -1,
        …
};

module_param_named_unsafe(enable_guc_loading, i915.enable_guc_loading, int, 0400);
MODULE_PARM_DESC(enable_guc_loading,
                "Enable GuC firmware loading "
                "(-1=auto [default], 0=never, 1=if available, 2=required)");

module_param_named_unsafe(enable_guc_submission, i915.enable_guc_submission, int, 0400);
MODULE_PARM_DESC(enable_guc_submission,
                "Enable GuC submission "
            "(-1=auto [default], 0=never, 1=if available, 2=required)");
Comment 1 cprigent 2016-08-09 08:56:26 UTC
Created attachment 125627 [details]
i915_guc_info
Comment 2 cprigent 2016-08-09 08:56:39 UTC
Created attachment 125628 [details]
i915_guc_load_status
Comment 3 cprigent 2016-08-18 15:57:30 UTC
With last setup, GuC successfully loads with i915.enable_guc_loading=2 and i915.enable_guc_submission=2.

Processor : Genuine Intel(R) CPU 0000 @ 1.80GHz (cpu family: 6, model: 142, stepping: 9)
MCP : KBL-U J0 2+3e
QDF : QL9J
PCH: PCH-LP C1
CRB : KABY LAKE U DDR3L RVP7
Rework: O-16
Software
BIOS: 45.1 3KBLSE2R1.R00.X045.P01.1606291634 from https://ubit-artifactory-ba.intel.com/artifactory/owr-repos/Submissions/ifwi/KBL_ORANGE_IFWI_2016_WW27_3_03_SR'17/
ME FW: 11.6.0.1065
EC FW: 1.24
KSC: 1.24
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc2 e4ec788 from http://cgit.freedesktop.org/drm-intel/
  commit e4ec788166b13fc8b5b7e188c522d4cf07ba53eb
  Author: Sumit Semwal <sumit.semwal@linaro.org>
  Date:   Tue Aug 16 12:36:30 2016 +0530
  drm-intel-nightly: 2016y-08m-16d-07h-06m-09s UTC integration manifest
libdrm-2.4.70-2 b214b05 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.0-525 de5291c from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-695 c8fc7f5 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.0-45 b27feb9 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.0-82 98555d2 from git://git.freedesktop.org/git/vaapi/intel-driver
Comment 4 cprigent 2016-08-18 15:57:45 UTC
So closed as not reproduced


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.