[Intel-gfx] skylake + drm-next - warn city

Dave Airlie airlied at gmail.com
Mon Nov 2 14:51:37 PST 2015


Just booted drm-next on a Skylake laptop that happened to be on my
desk for a few days.

I wasn't impressed. I'm very disappointed. Doesn't anyone have any
pride in the code they write anymore.

Initially the previous sentence had a lot of curse words and was Linus
like in it's stature, but I've been promised by twitter that being
nice will get me better results, so let's make it so.

So could someone from Intel takes some responsibility for testing the
code they send me actually you know works on the hardware it's meant
to, or at least tell me what is going so horribly wrong here.

the lockdep trace at the end doesn't look fun.

Dave.


[    8.158254] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    8.159953] input: Video Bus as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input12
[    8.160895] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 0
[    8.170784] ------------[ cut here ]------------
[    8.170810] WARNING: CPU: 3 PID: 103 at
drivers/gpu/drm/i915/intel_csr.c:481 assert_csr_loaded+0xa8/0x140
[i915]()
[    8.170812] CSR is not loaded.
[    8.170813] Modules linked in: amdkfd amd_iommu_v2 amdgpu i915 ttm
i2c_algo_bit drm_kms_helper serio_raw drm r8169 mii video fjes
[    8.170825] CPU: 3 PID: 103 Comm: kworker/u16:2 Not tainted 4.3.0-rc5+ #1
[    8.170826] Hardware name: HP HP ProBook 470 G3/8102, BIOS N78 Ver.
01.01 09/04/2015
[    8.170830] Workqueue: events_unbound async_run_entry_fn
[    8.170832]  0000000000000000 000000001aac9e2e ffff88024bd33a68
ffffffff81416e09
[    8.170835]  ffff88024bd33ab0 ffff88024bd33aa0 ffffffff810a8bb2
ffff88003f130000
[    8.170838]  ffff88003f130510 0000000000000000 000000003000000f
ffff88024ad23000
[    8.170841] Call Trace:
[    8.170845]  [<ffffffff81416e09>] dump_stack+0x4b/0x72
[    8.170847]  [<ffffffff810a8bb2>] warn_slowpath_common+0x82/0xc0
[    8.170849]  [<ffffffff810a8c4c>] warn_slowpath_fmt+0x5c/0x80
[    8.170866]  [<ffffffffa015ed08>] assert_csr_loaded+0xa8/0x140 [i915]
[    8.170885]  [<ffffffffa016e825>] skl_set_power_well+0x7e5/0xb00 [i915]
[    8.170902]  [<ffffffffa016eb73>] skl_power_well_enable+0x13/0x20 [i915]
[    8.170917]  [<ffffffffa016edfb>] intel_display_power_get+0xab/0x100 [i915]
[    8.170944]  [<ffffffffa0203a2b>] intel_hdmi_set_edid+0x3b/0x110 [i915]
[    8.170969]  [<ffffffffa0203e20>] intel_hdmi_detect+0xc0/0x130 [i915]
[    8.170974]  [<ffffffffa0129dd5>]
drm_helper_probe_single_connector_modes_merge_bits+0x235/0x4d0
[drm_kms_helper]
[    8.170978]  [<ffffffffa012a083>]
drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[    8.170983]  [<ffffffffa0136110>]
drm_fb_helper_initial_config+0xb0/0x410 [drm_kms_helper]
[    8.171007]  [<ffffffffa01e839b>] intel_fbdev_initial_config+0x1b/0x20 [i915]
[    8.171009]  [<ffffffff810d20ea>] async_run_entry_fn+0x4a/0x140
[    8.171011]  [<ffffffff810c7020>] process_one_work+0x230/0x680
[    8.171013]  [<ffffffff810c6f89>] ? process_one_work+0x199/0x680
[    8.171015]  [<ffffffff810c74be>] worker_thread+0x4e/0x450
[    8.171017]  [<ffffffff810c7470>] ? process_one_work+0x680/0x680
[    8.171020]  [<ffffffff810ce511>] kthread+0x101/0x120
[    8.171023]  [<ffffffff81103b49>] ? trace_hardirqs_on_caller+0x129/0x1b0
[    8.171026]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171028]  [<ffffffff8184f66f>] ret_from_fork+0x3f/0x70
[    8.171031]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171032] ---[ end trace 4692db411b428244 ]---
[    8.171035] ------------[ cut here ]------------
[    8.171053] WARNING: CPU: 3 PID: 103 at
drivers/gpu/drm/i915/intel_csr.c:484 assert_csr_loaded+0x103/0x140
[i915]()
[    8.171054] CSR SSP Base Not fine
[    8.171055] Modules linked in: amdkfd amd_iommu_v2 amdgpu i915 ttm
i2c_algo_bit drm_kms_helper serio_raw drm r8169 mii video fjes
[    8.171064] CPU: 3 PID: 103 Comm: kworker/u16:2 Tainted: G        W
      4.3.0-rc5+ #1
[    8.171065] Hardware name: HP HP ProBook 470 G3/8102, BIOS N78 Ver.
01.01 09/04/2015
[    8.171067] Workqueue: events_unbound async_run_entry_fn
[    8.171069]  0000000000000000 000000001aac9e2e ffff88024bd33a68
ffffffff81416e09
[    8.171071]  ffff88024bd33ab0 ffff88024bd33aa0 ffffffff810a8bb2
ffff88003f130000
[    8.171074]  ffff88003f130510 0000000000000000 000000003000000f
ffff88024ad23000
[    8.171077] Call Trace:
[    8.171079]  [<ffffffff81416e09>] dump_stack+0x4b/0x72
[    8.171081]  [<ffffffff810a8bb2>] warn_slowpath_common+0x82/0xc0
[    8.171083]  [<ffffffff810a8c4c>] warn_slowpath_fmt+0x5c/0x80
[    8.171098]  [<ffffffffa015ed63>] assert_csr_loaded+0x103/0x140 [i915]
[    8.171114]  [<ffffffffa016e825>] skl_set_power_well+0x7e5/0xb00 [i915]
[    8.171129]  [<ffffffffa016eb73>] skl_power_well_enable+0x13/0x20 [i915]
[    8.171143]  [<ffffffffa016edfb>] intel_display_power_get+0xab/0x100 [i915]
[    8.171169]  [<ffffffffa0203a2b>] intel_hdmi_set_edid+0x3b/0x110 [i915]
[    8.171191]  [<ffffffffa0203e20>] intel_hdmi_detect+0xc0/0x130 [i915]
[    8.171195]  [<ffffffffa0129dd5>]
drm_helper_probe_single_connector_modes_merge_bits+0x235/0x4d0
[drm_kms_helper]
[    8.171199]  [<ffffffffa012a083>]
drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[    8.171204]  [<ffffffffa0136110>]
drm_fb_helper_initial_config+0xb0/0x410 [drm_kms_helper]
[    8.171242]  [<ffffffffa01e839b>] intel_fbdev_initial_config+0x1b/0x20 [i915]
[    8.171244]  [<ffffffff810d20ea>] async_run_entry_fn+0x4a/0x140
[    8.171247]  [<ffffffff810c7020>] process_one_work+0x230/0x680
[    8.171249]  [<ffffffff810c6f89>] ? process_one_work+0x199/0x680
[    8.171251]  [<ffffffff810c74be>] worker_thread+0x4e/0x450
[    8.171253]  [<ffffffff810c7470>] ? process_one_work+0x680/0x680
[    8.171256]  [<ffffffff810ce511>] kthread+0x101/0x120
[    8.171259]  [<ffffffff81103b49>] ? trace_hardirqs_on_caller+0x129/0x1b0
[    8.171262]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171264]  [<ffffffff8184f66f>] ret_from_fork+0x3f/0x70
[    8.171267]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171268] ---[ end trace 4692db411b428245 ]---
[    8.171270] ------------[ cut here ]------------
[    8.171289] WARNING: CPU: 3 PID: 103 at
drivers/gpu/drm/i915/intel_csr.c:485 assert_csr_loaded+0x134/0x140
[i915]()
[    8.171290] CSR HTP Not fine
[    8.171291] Modules linked in: amdkfd amd_iommu_v2 amdgpu i915 ttm
i2c_algo_bit drm_kms_helper serio_raw drm r8169 mii video fjes
[    8.171301] CPU: 3 PID: 103 Comm: kworker/u16:2 Tainted: G        W
      4.3.0-rc5+ #1
[    8.171303] Hardware name: HP HP ProBook 470 G3/8102, BIOS N78 Ver.
01.01 09/04/2015
[    8.171305] Workqueue: events_unbound async_run_entry_fn
[    8.171307]  0000000000000000 000000001aac9e2e ffff88024bd33a68
ffffffff81416e09
[    8.171310]  ffff88024bd33ab0 ffff88024bd33aa0 ffffffff810a8bb2
ffff88003f130000
[    8.171313]  ffff88003f130510 0000000000000000 000000003000000f
ffff88024ad23000
[    8.171316] Call Trace:
[    8.171318]  [<ffffffff81416e09>] dump_stack+0x4b/0x72
[    8.171321]  [<ffffffff810a8bb2>] warn_slowpath_common+0x82/0xc0
[    8.171323]  [<ffffffff810a8c4c>] warn_slowpath_fmt+0x5c/0x80
[    8.171340]  [<ffffffffa015ed94>] assert_csr_loaded+0x134/0x140 [i915]
[    8.171358]  [<ffffffffa016e825>] skl_set_power_well+0x7e5/0xb00 [i915]
[    8.171374]  [<ffffffffa016eb73>] skl_power_well_enable+0x13/0x20 [i915]
[    8.171389]  [<ffffffffa016edfb>] intel_display_power_get+0xab/0x100 [i915]
[    8.171417]  [<ffffffffa0203a2b>] intel_hdmi_set_edid+0x3b/0x110 [i915]
[    8.171442]  [<ffffffffa0203e20>] intel_hdmi_detect+0xc0/0x130 [i915]
[    8.171446]  [<ffffffffa0129dd5>]
drm_helper_probe_single_connector_modes_merge_bits+0x235/0x4d0
[drm_kms_helper]
[    8.171451]  [<ffffffffa012a083>]
drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[    8.171457]  [<ffffffffa0136110>]
drm_fb_helper_initial_config+0xb0/0x410 [drm_kms_helper]
[    8.171482]  [<ffffffffa01e839b>] intel_fbdev_initial_config+0x1b/0x20 [i915]
[    8.171485]  [<ffffffff810d20ea>] async_run_entry_fn+0x4a/0x140
[    8.171487]  [<ffffffff810c7020>] process_one_work+0x230/0x680
[    8.171489]  [<ffffffff810c6f89>] ? process_one_work+0x199/0x680
[    8.171491]  [<ffffffff810c74be>] worker_thread+0x4e/0x450
[    8.171494]  [<ffffffff810c7470>] ? process_one_work+0x680/0x680
[    8.171496]  [<ffffffff810ce511>] kthread+0x101/0x120
[    8.171499]  [<ffffffff81103b49>] ? trace_hardirqs_on_caller+0x129/0x1b0
[    8.171502]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171504]  [<ffffffff8184f66f>] ret_from_fork+0x3f/0x70
[    8.171507]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171508] ---[ end trace 4692db411b428246 ]---
[    8.171510] ------------[ cut here ]------------
[    8.171529] WARNING: CPU: 3 PID: 103 at
drivers/gpu/drm/i915/intel_runtime_pm.c:551
skl_set_power_well+0x82d/0xb00 [i915]()
[    8.171530] DC6 already programmed to be disabled.
[    8.171531] Modules linked in: amdkfd amd_iommu_v2 amdgpu i915 ttm
i2c_algo_bit drm_kms_helper serio_raw drm r8169 mii video fjes
[    8.171541] CPU: 3 PID: 103 Comm: kworker/u16:2 Tainted: G        W
      4.3.0-rc5+ #1
[    8.171543] Hardware name: HP HP ProBook 470 G3/8102, BIOS N78 Ver.
01.01 09/04/2015
[    8.171545] Workqueue: events_unbound async_run_entry_fn
[    8.171547]  0000000000000000 000000001aac9e2e ffff88024bd33a90
ffffffff81416e09
[    8.171550]  ffff88024bd33ad8 ffff88024bd33ac8 ffffffff810a8bb2
ffff88003f130000
[    8.171553]  0000000040000000 ffffffffa024ea70 000000003000000f
ffff88024ad23000
[    8.171556] Call Trace:
[    8.171558]  [<ffffffff81416e09>] dump_stack+0x4b/0x72
[    8.171560]  [<ffffffff810a8bb2>] warn_slowpath_common+0x82/0xc0
[    8.171562]  [<ffffffff810a8c4c>] warn_slowpath_fmt+0x5c/0x80
[    8.171579]  [<ffffffffa016e86d>] skl_set_power_well+0x82d/0xb00 [i915]
[    8.171594]  [<ffffffffa016eb73>] skl_power_well_enable+0x13/0x20 [i915]
[    8.171609]  [<ffffffffa016edfb>] intel_display_power_get+0xab/0x100 [i915]
[    8.171637]  [<ffffffffa0203a2b>] intel_hdmi_set_edid+0x3b/0x110 [i915]
[    8.171662]  [<ffffffffa0203e20>] intel_hdmi_detect+0xc0/0x130 [i915]
[    8.171693]  [<ffffffffa0129dd5>]
drm_helper_probe_single_connector_modes_merge_bits+0x235/0x4d0
[drm_kms_helper]
[    8.171701]  [<ffffffffa012a083>]
drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[    8.171710]  [<ffffffffa0136110>]
drm_fb_helper_initial_config+0xb0/0x410 [drm_kms_helper]
[    8.171741]  [<ffffffffa01e839b>] intel_fbdev_initial_config+0x1b/0x20 [i915]
[    8.171744]  [<ffffffff810d20ea>] async_run_entry_fn+0x4a/0x140
[    8.171747]  [<ffffffff810c7020>] process_one_work+0x230/0x680
[    8.171750]  [<ffffffff810c6f89>] ? process_one_work+0x199/0x680
[    8.171752]  [<ffffffff810c74be>] worker_thread+0x4e/0x450
[    8.171755]  [<ffffffff810c7470>] ? process_one_work+0x680/0x680
[    8.171757]  [<ffffffff810ce511>] kthread+0x101/0x120
[    8.171760]  [<ffffffff81103b49>] ? trace_hardirqs_on_caller+0x129/0x1b0
[    8.171763]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171765]  [<ffffffff8184f66f>] ret_from_fork+0x3f/0x70
[    8.171768]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[    8.171769] ---[ end trace 4692db411b428247 ]---
[    9.764929] [drm] RC6 on
[   11.207028] fbcon: inteldrmfb (fb0) is primary device
[   14.261100] ------------[ cut here ]------------
[   14.261240] WARNING: CPU: 0 PID: 103 at
drivers/gpu/drm/i915/intel_uncore.c:619
hsw_unclaimed_reg_debug+0x69/0x90 [i915]()
[   14.261244] Unclaimed register detected after writing to register 0x68970
[   14.261268] Modules linked in: amdkfd amd_iommu_v2 amdgpu i915 ttm
i2c_algo_bit drm_kms_helper serio_raw drm r8169 mii video fjes
[   14.261277] CPU: 0 PID: 103 Comm: kworker/u16:2 Tainted: G        W
      4.3.0-rc5+ #1
[   14.261280] Hardware name: HP HP ProBook 470 G3/8102, BIOS N78 Ver.
01.01 09/04/2015
[   14.261292] Workqueue: events_unbound async_run_entry_fn
[   14.261302]  0000000000000000 000000001aac9e2e ffff88024bd33658
ffffffff81416e09
[   14.261309]  ffff88024bd336a0 ffff88024bd33690 ffffffff810a8bb2
ffff88003f130000
[   14.261315]  0000000000068970 0000000000068970 ffff88003f130080
0000000000000000
[   14.261317] Call Trace:
[   14.261327]  [<ffffffff81416e09>] dump_stack+0x4b/0x72
[   14.261335]  [<ffffffff810a8bb2>] warn_slowpath_common+0x82/0xc0
[   14.261340]  [<ffffffff810a8c4c>] warn_slowpath_fmt+0x5c/0x80
[   14.261457]  [<ffffffffa01a9d39>] hsw_unclaimed_reg_debug+0x69/0x90 [i915]
[   14.261556]  [<ffffffffa01b07ec>] gen9_write32+0x25c/0x3c0 [i915]
[   14.261663]  [<ffffffffa01c1884>] skl_detach_scaler.isra.11+0x74/0xb0 [i915]
[   14.261756]  [<ffffffffa01c1925>] skl_detach_scalers+0x65/0x70 [i915]
[   14.261843]  [<ffffffffa01c19da>] intel_begin_crtc_commit+0xaa/0x1f0 [i915]
[   14.261868]  [<ffffffffa013293b>]
drm_atomic_helper_commit_planes_on_crtc+0x5b/0x270 [drm_kms_helper]
[   14.261968]  [<ffffffffa01d04d9>] intel_atomic_commit+0x229/0x1450 [i915]
[   14.262026]  [<ffffffffa00b024b>] ? drm_atomic_check_only+0x19b/0x5a0 [drm]
[   14.262074]  [<ffffffffa00affe7>] ?
drm_atomic_add_affected_connectors+0x27/0xf0 [drm]
[   14.262117]  [<ffffffffa00b0687>] drm_atomic_commit+0x37/0x60 [drm]
[   14.262140]  [<ffffffffa0133d6e>] restore_fbdev_mode+0x27e/0x2b0
[drm_kms_helper]
[   14.262162]  [<ffffffffa0135fc3>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper]
[   14.262179]  [<ffffffffa013603d>] drm_fb_helper_set_par+0x2d/0x50
[drm_kms_helper]
[   14.262298]  [<ffffffffa01e785a>] intel_fbdev_set_par+0x1a/0x60 [i915]
[   14.262308]  [<ffffffff8148a995>] fbcon_init+0x545/0x5d0
[   14.262321]  [<ffffffff8152332a>] visual_init+0xca/0x130
[   14.262327]  [<ffffffff81525205>] do_bind_con_driver+0x1c5/0x3b0
[   14.262334]  [<ffffffff81525729>] do_take_over_console+0x149/0x1a0
[   14.262342]  [<ffffffff814867e7>] do_fbcon_takeover+0x57/0xb0
[   14.262350]  [<ffffffff8148b43c>] fbcon_event_notify+0x66c/0x760
[   14.262361]  [<ffffffff810cfa9e>] notifier_call_chain+0x3e/0xb0
[   14.262368]  [<ffffffff810cfc9d>] __blocking_notifier_call_chain+0x4d/0x70
[   14.262373]  [<ffffffff810cfcd6>] blocking_notifier_call_chain+0x16/0x20
[   14.262382]  [<ffffffff8149120b>] fb_notifier_call_chain+0x1b/0x20
[   14.262387]  [<ffffffff814936d1>] register_framebuffer+0x211/0x350
[   14.262409]  [<ffffffffa01362ec>]
drm_fb_helper_initial_config+0x28c/0x410 [drm_kms_helper]
[   14.262517]  [<ffffffffa01e839b>] intel_fbdev_initial_config+0x1b/0x20 [i915]
[   14.262524]  [<ffffffff810d20ea>] async_run_entry_fn+0x4a/0x140
[   14.262531]  [<ffffffff810c7020>] process_one_work+0x230/0x680
[   14.262537]  [<ffffffff810c6f89>] ? process_one_work+0x199/0x680
[   14.262545]  [<ffffffff810c74be>] worker_thread+0x4e/0x450
[   14.262551]  [<ffffffff810c7470>] ? process_one_work+0x680/0x680
[   14.262559]  [<ffffffff810ce511>] kthread+0x101/0x120
[   14.262569]  [<ffffffff81103b49>] ? trace_hardirqs_on_caller+0x129/0x1b0
[   14.262579]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[   14.262586]  [<ffffffff8184f66f>] ret_from_fork+0x3f/0x70
[   14.262594]  [<ffffffff810ce410>] ? kthread_create_on_node+0x250/0x250
[   14.262599] ---[ end trace 4692db411b428248 ]---
[   14.263856] Console: switching to colour frame buffer device 240x67
[   14.287288] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   17.404937] systemd-udevd (359) used greatest stack depth: 11864 bytes left
[   17.406417] systemd-udevd (357) used greatest stack depth: 11592 bytes left
[   18.249713] audit: type=1130 audit(1446504329.819:11): pid=1 uid=0
auid=4294967295 ses=4294967295 subj=kernel msg='unit=dracut-initqueue
comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
terminal=? res=success'

[   20.451400] ======================================================
[   20.451420] [ INFO: possible circular locking dependency detected ]
[   20.451441] 4.3.0-rc5+ #1 Tainted: G        W
[   20.451457] -------------------------------------------------------
[   20.451477] plymouthd/371 is trying to acquire lock:
[   20.451494]  (&dev->struct_mutex){+.+.+.}, at: [<ffffffffa0093c62>]
drm_gem_mmap+0x112/0x290 [drm]
[   20.451538]
               but task is already holding lock:
[   20.451557]  (&mm->mmap_sem){++++++}, at: [<ffffffff811fd9ac>]
vm_mmap_pgoff+0x8c/0xf0
[   20.451591]
               which lock already depends on the new lock.

[   20.451617]
               the existing dependency chain (in reverse order) is:
[   20.451640]
               -> #3 (&mm->mmap_sem){++++++}:
[   20.451661]        [<ffffffff8110644e>] lock_acquire+0xce/0x1c0
[   20.451683]        [<ffffffff8120ec9a>] __might_fault+0x7a/0xa0
[   20.451705]        [<ffffffff8127e34e>] filldir+0x9e/0x130
[   20.451726]        [<ffffffff81295b86>] dcache_readdir+0x186/0x230
[   20.451748]        [<ffffffff8127e117>] iterate_dir+0x97/0x130
[   20.451769]        [<ffffffff8127e66a>] SyS_getdents+0x9a/0x130
[   20.451790]        [<ffffffff8184f2f2>] entry_SYSCALL_64_fastpath+0x12/0x76
[   20.451829]
               -> #2 (&sb->s_type->i_mutex_key#2){+.+.+.}:
[   20.451852]        [<ffffffff8110644e>] lock_acquire+0xce/0x1c0
[   20.451872]        [<ffffffff8184b516>] mutex_lock_nested+0x86/0x400
[   20.451893]        [<ffffffff81277790>] walk_component+0x1d0/0x2a0
[   20.451914]        [<ffffffff812779f0>] link_path_walk+0x190/0x5a0
[   20.451935]        [<ffffffff8127803b>] path_openat+0xab/0x1260
[   20.451955]        [<ffffffff8127a651>] do_filp_open+0x91/0x100
[   20.451975]        [<ffffffff81267e67>] file_open_name+0xf7/0x150
[   20.451995]        [<ffffffff81267ef3>] filp_open+0x33/0x60
[   20.452014]        [<ffffffff8157e1e7>] _request_firmware+0x277/0x880
[   20.452038]        [<ffffffff8157e9e4>] request_firmware_work_func+0x34/0x80
[   20.452060]        [<ffffffff810c7020>] process_one_work+0x230/0x680
[   20.452082]        [<ffffffff810c74be>] worker_thread+0x4e/0x450
[   20.452102]        [<ffffffff810ce511>] kthread+0x101/0x120
[   20.452121]        [<ffffffff8184f66f>] ret_from_fork+0x3f/0x70
[   20.452140]
               -> #1 (umhelper_sem){++++.+}:
[   20.452159]        [<ffffffff8110644e>] lock_acquire+0xce/0x1c0
[   20.452178]        [<ffffffff8184c5c1>] down_read+0x51/0xa0
[   20.452197]        [<ffffffff810c203b>]
usermodehelper_read_trylock+0x5b/0x130
[   20.452221]        [<ffffffff8157e147>] _request_firmware+0x1d7/0x880
[   20.452242]        [<ffffffff8157e821>] request_firmware+0x31/0x50
[   20.452262]        [<ffffffffa01b54a4>]
intel_guc_ucode_init+0xf4/0x400 [i915]
[   20.452305]        [<ffffffffa0213913>] i915_driver_load+0xd63/0x16e0 [i915]
[   20.452343]        [<ffffffffa00987d9>] drm_dev_register+0xa9/0xc0 [drm]
[   20.452369]        [<ffffffffa009ae3d>] drm_get_pci_dev+0x8d/0x1e0 [drm]
[   20.452396]        [<ffffffffa01521e4>] i915_pci_probe+0x34/0x50 [i915]
[   20.452421]        [<ffffffff81464675>] local_pci_probe+0x45/0xa0
[   20.452443]        [<ffffffff81465a6d>] pci_device_probe+0xfd/0x140
[   20.452464]        [<ffffffff8156a2e4>] driver_probe_device+0x224/0x480
[   20.452486]        [<ffffffff8156a5c8>] __driver_attach+0x88/0x90
[   20.452505]        [<ffffffff81567cf3>] bus_for_each_dev+0x73/0xc0
[   20.452526]        [<ffffffff81569a7e>] driver_attach+0x1e/0x20
[   20.452546]        [<ffffffff815695ae>] bus_add_driver+0x1ee/0x280
[   20.452566]        [<ffffffff8156b100>] driver_register+0x60/0xe0
[   20.453197]        [<ffffffff81464050>] __pci_register_driver+0x60/0x70
[   20.453845]        [<ffffffffa009b070>] drm_pci_init+0xe0/0x110 [drm]
[   20.454497]        [<ffffffffa027f092>] 0xffffffffa027f092
[   20.455156]        [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[   20.455796]        [<ffffffff811d8c01>] do_init_module+0x5f/0x1e7
[   20.456434]        [<ffffffff8114c4e6>] load_module+0x2126/0x27d0
[   20.457071]        [<ffffffff8114cdf9>] SyS_finit_module+0xb9/0xf0
[   20.457738]        [<ffffffff8184f2f2>] entry_SYSCALL_64_fastpath+0x12/0x76
[   20.458370]
               -> #0 (&dev->struct_mutex){+.+.+.}:
[   20.459773]        [<ffffffff8110584f>] __lock_acquire+0x191f/0x1ba0
[   20.460451]        [<ffffffff8110644e>] lock_acquire+0xce/0x1c0
[   20.461074]        [<ffffffffa0093c88>] drm_gem_mmap+0x138/0x290 [drm]
[   20.461693]        [<ffffffff8121a5ec>] mmap_region+0x3ec/0x670
[   20.462298]        [<ffffffff8121abb2>] do_mmap+0x342/0x420
[   20.462901]        [<ffffffff811fd9d2>] vm_mmap_pgoff+0xb2/0xf0
[   20.463532]        [<ffffffff81218f62>] SyS_mmap_pgoff+0x1f2/0x290
[   20.464118]        [<ffffffff8102187b>] SyS_mmap+0x1b/0x30
[   20.464702]        [<ffffffff8184f2f2>] entry_SYSCALL_64_fastpath+0x12/0x76
[   20.465289]
               other info that might help us debug this:

[   20.467179] Chain exists of:
                 &dev->struct_mutex --> &sb->s_type->i_mutex_key#2 -->
&mm->mmap_sem

[   20.468928]  Possible unsafe locking scenario:

[   20.470161]        CPU0                    CPU1
[   20.470745]        ----                    ----
[   20.471325]   lock(&mm->mmap_sem);
[   20.471902]                                lock(&sb->s_type->i_mutex_key#2);
[   20.472538]                                lock(&mm->mmap_sem);
[   20.473118]   lock(&dev->struct_mutex);
[   20.473704]
                *** DEADLOCK ***

[   20.475432] 1 lock held by plymouthd/371:
[   20.475998]  #0:  (&mm->mmap_sem){++++++}, at: [<ffffffff811fd9ac>]
vm_mmap_pgoff+0x8c/0xf0
[   20.476594]
               stack backtrace:
[   20.477751] CPU: 1 PID: 371 Comm: plymouthd Tainted: G        W
  4.3.0-rc5+ #1
[   20.478437] Hardware name: HP HP ProBook 470 G3/8102, BIOS N78 Ver.
01.01 09/04/2015
[   20.479171]  0000000000000000 000000004b1832a7 ffff88024ad57bc0
ffffffff81416e09
[   20.479785]  ffffffff82bcce10 ffff88024ad57c00 ffffffff81102513
ffff88024ad57c60
[   20.480402]  ffff88024be20c80 0000000000000001 0000000000000001
ffff88024be20000
[   20.481025] Call Trace:
[   20.481689]  [<ffffffff81416e09>] dump_stack+0x4b/0x72
[   20.482310]  [<ffffffff81102513>] print_circular_bug+0x1e3/0x250
[   20.482934]  [<ffffffff8110584f>] __lock_acquire+0x191f/0x1ba0
[   20.483556]  [<ffffffff810259e9>] ? sched_clock+0x9/0x10
[   20.484302]  [<ffffffff8112262d>] ? debug_lockdep_rcu_enabled+0x1d/0x20
[   20.484941]  [<ffffffff8110644e>] lock_acquire+0xce/0x1c0
[   20.485563]  [<ffffffffa0093c62>] ? drm_gem_mmap+0x112/0x290 [drm]
[   20.486188]  [<ffffffffa0093c88>] drm_gem_mmap+0x138/0x290 [drm]
[   20.486812]  [<ffffffffa0093c62>] ? drm_gem_mmap+0x112/0x290 [drm]
[   20.487467]  [<ffffffff8121a5ec>] mmap_region+0x3ec/0x670
[   20.488084]  [<ffffffff8121abb2>] do_mmap+0x342/0x420
[   20.488701]  [<ffffffff811fd9d2>] vm_mmap_pgoff+0xb2/0xf0
[   20.489316]  [<ffffffff81218f62>] SyS_mmap_pgoff+0x1f2/0x290
[   20.489991]  [<ffffffff81003017>] ? trace_hardirqs_on_thunk+0x17/0x19
[   20.490703]  [<ffffffff8102187b>] SyS_mmap+0x1b/0x30
[   20.491320]  [<ffffffff8184f2f2>] entry_SYSCALL_64_fastpath+0x12/0x76
[   20.521968] audit: type=1130 audit(1446504332.089:12): pid=1 uid=0
auid=4294967295 ses


More information about the Intel-gfx mailing list