All of lore.kernel.org
 help / color / mirror / Atom feed
* skylake + drm-next - warn city
@ 2015-11-02 22:51 Dave Airlie
  2015-11-03  9:42 ` Jani Nikula
  0 siblings, 1 reply; 10+ messages in thread
From: Dave Airlie @ 2015-11-02 22:51 UTC (permalink / raw)
  To: intel-gfx

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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-02 22:51 skylake + drm-next - warn city Dave Airlie
@ 2015-11-03  9:42 ` Jani Nikula
  2015-11-03 10:35   ` Imre Deak
  0 siblings, 1 reply; 10+ messages in thread
From: Jani Nikula @ 2015-11-03  9:42 UTC (permalink / raw)
  To: Dave Airlie, intel-gfx; +Cc: Mika Kuoppala

On Tue, 03 Nov 2015, Dave Airlie <airlied@gmail.com> wrote:
> 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.

Much appreciated; we get the message.

> 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.

Skylake wants the DMC firmware blob from linux-firmware or
https://01.org/linuxgraphics/downloads. The conclusion from the traces
below is that either you don't have it, or we fail to load it due to the
deadlock.

In any case, our DMC firmware loading is, uh, less than perfect.

The bright side is that we are aware of this, and there's a couple of
patchsets from Mika/Damien [1] and Animesh/Daniel/Imre [2] to fix
this. (Mika, Imre, any comments on the status of those?)

The bigger question is how do we fix this for drm-next/v4.4. That's 20
patches in total, and we are way past the cutoff. On the other hand,
it's all restricted to Skylake DMC firmware loading, and it is supposed
to fix stuff, not add features.

Your call.


BR,
Jani.



[1] http://mid.gmane.org/1445950025-5793-1-git-send-email-mika.kuoppala@intel.com
[2] http://mid.gmane.org/1446069547-24760-1-git-send-email-imre.deak@intel.com


>
> 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
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03  9:42 ` Jani Nikula
@ 2015-11-03 10:35   ` Imre Deak
  2015-11-03 10:47     ` Ville Syrjälä
  2015-11-03 21:21     ` Patrik Jakobsson
  0 siblings, 2 replies; 10+ messages in thread
From: Imre Deak @ 2015-11-03 10:35 UTC (permalink / raw)
  To: Jani Nikula, Ville Syrjälä, Sunil Kamath
  Cc: intel-gfx, Mika Kuoppala

On ti, 2015-11-03 at 11:42 +0200, Jani Nikula wrote:
> On Tue, 03 Nov 2015, Dave Airlie <airlied@gmail.com> wrote:
> > 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.
> 
> Much appreciated; we get the message.
> 
> > 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.

That's from the GuC firmware loader, so won't be fixed by the DMC
patches. Ville mentioned he has a fix for that.

> Skylake wants the DMC firmware blob from linux-firmware or
> https://01.org/linuxgraphics/downloads. The conclusion from the traces
> below is that either you don't have it, or we fail to load it due to the
> deadlock.
> 
> In any case, our DMC firmware loading is, uh, less than perfect.
> 
> The bright side is that we are aware of this, and there's a couple of
> patchsets from Mika/Damien [1] and Animesh/Daniel/Imre [2] to fix
> this. (Mika, Imre, any comments on the status of those?)

All of Mika's patches [1] have an R-b, except patch 7/7.
[2] has R-b's as well except for patch 1/13. Sunil any update on that?

> The bigger question is how do we fix this for drm-next/v4.4. That's 20
> patches in total, and we are way past the cutoff. On the other hand,
> it's all restricted to Skylake DMC firmware loading, and it is supposed
> to fix stuff, not add features.

Yes, no new features, only fixes.

--Imre

> 
> Your call.
> 
> 
> BR,
> Jani.
> 
> 
> 
> [1] http://mid.gmane.org/1445950025-5793-1-git-send-email-mika.kuoppala@intel.com
> [2] http://mid.gmane.org/1446069547-24760-1-git-send-email-imre.deak@intel.com
> 
> 
> >
> > 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
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03 10:35   ` Imre Deak
@ 2015-11-03 10:47     ` Ville Syrjälä
  2015-11-03 20:07       ` Dave Airlie
  2015-11-03 21:21     ` Patrik Jakobsson
  1 sibling, 1 reply; 10+ messages in thread
From: Ville Syrjälä @ 2015-11-03 10:47 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx, Mika Kuoppala

On Tue, Nov 03, 2015 at 12:35:58PM +0200, Imre Deak wrote:
> On ti, 2015-11-03 at 11:42 +0200, Jani Nikula wrote:
> > On Tue, 03 Nov 2015, Dave Airlie <airlied@gmail.com> wrote:
> > > 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.
> > 
> > Much appreciated; we get the message.
> > 
> > > 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.
> 
> That's from the GuC firmware loader, so won't be fixed by the DMC
> patches. Ville mentioned he has a fix for that.

No, I don't. I probably just mentioned that I saw this lockdep spew
already some weeks ago, and complained about it at the time. I think
Daniel tried to ping someone specific about it, but no idea if they
took any notice.

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03 10:47     ` Ville Syrjälä
@ 2015-11-03 20:07       ` Dave Airlie
  2015-11-03 21:23         ` Jesse Barnes
  0 siblings, 1 reply; 10+ messages in thread
From: Dave Airlie @ 2015-11-03 20:07 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: intel-gfx, Mika Kuoppala

On 3 November 2015 at 20:47, Ville Syrjälä
<ville.syrjala@linux.intel.com> wrote:
> On Tue, Nov 03, 2015 at 12:35:58PM +0200, Imre Deak wrote:
>> On ti, 2015-11-03 at 11:42 +0200, Jani Nikula wrote:
>> > On Tue, 03 Nov 2015, Dave Airlie <airlied@gmail.com> wrote:
>> > > 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.
>> >
>> > Much appreciated; we get the message.
>> >
>> > > 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.
>>
>> That's from the GuC firmware loader, so won't be fixed by the DMC
>> patches. Ville mentioned he has a fix for that.
>
> No, I don't. I probably just mentioned that I saw this lockdep spew
> already some weeks ago, and complained about it at the time. I think
> Daniel tried to ping someone specific about it, but no idea if they
> took any notice.

From my perspective outside Intel, since the QA took a dive, I think
the pipeline is far too long now.

We've added delays to the pipeline previously to facilitate QA, but
when QA is removed we haven't shortened the pipeline again.

I'm kind of tempted to ask you guys to throw away everything queued up
in drm-intel-next on the basis that it has probably had 0 actual
testing and start again.

We have a major process failure in place here, and shoving more code
in the backend and hoping it somehow magically fixes itself between
drm-intel-next and merging to Linus's tree is clearly not working for
the past 6 months at least. I'm really unhappy about how shoddy 4.2
is, and 4.3 is clearly not shaping up to have been a winner, 4.4 is
looking even less fun.

So maybe you guys can brainstrom a bit, also when Daniel gets back.
But at the moment I think until QA is fully reestablished, I think not
merging anything to drm-intel-next for a few weeks and taking a break
on new features until some of the features that were merged broken
actually get fixed.

I'm also going to start looking at reverting skylake firmware loading,
it's clearly never been tested with lockdep enabled by anyone who
cared, which to my mind says it should never have been merged in the
first place.

Dave.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03 10:35   ` Imre Deak
  2015-11-03 10:47     ` Ville Syrjälä
@ 2015-11-03 21:21     ` Patrik Jakobsson
  2015-11-03 21:47       ` Daniel Stone
  1 sibling, 1 reply; 10+ messages in thread
From: Patrik Jakobsson @ 2015-11-03 21:21 UTC (permalink / raw)
  To: imre.deak; +Cc: intel-gfx, Mika Kuoppala

On Tue, Nov 3, 2015 at 11:35 AM, Imre Deak <imre.deak@intel.com> wrote:
> On ti, 2015-11-03 at 11:42 +0200, Jani Nikula wrote:
>> On Tue, 03 Nov 2015, Dave Airlie <airlied@gmail.com> wrote:
>> > 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.
>>
>> Much appreciated; we get the message.
>>
>> > 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.
>
> That's from the GuC firmware loader, so won't be fixed by the DMC
> patches. Ville mentioned he has a fix for that.
>
>> Skylake wants the DMC firmware blob from linux-firmware or
>> https://01.org/linuxgraphics/downloads. The conclusion from the traces
>> below is that either you don't have it, or we fail to load it due to the
>> deadlock.
>>
>> In any case, our DMC firmware loading is, uh, less than perfect.
>>
>> The bright side is that we are aware of this, and there's a couple of
>> patchsets from Mika/Damien [1] and Animesh/Daniel/Imre [2] to fix
>> this. (Mika, Imre, any comments on the status of those?)
>
> All of Mika's patches [1] have an R-b, except patch 7/7.
> [2] has R-b's as well except for patch 1/13. Sunil any update on that?

It could be that Dave is hitting the warm boot DMC fw loading issue so
you probably need my series [1] as well.

[1] http://lists.freedesktop.org/archives/intel-gfx/2015-November/079343.html

-Patrik

>> The bigger question is how do we fix this for drm-next/v4.4. That's 20
>> patches in total, and we are way past the cutoff. On the other hand,
>> it's all restricted to Skylake DMC firmware loading, and it is supposed
>> to fix stuff, not add features.
>
> Yes, no new features, only fixes.
>
> --Imre
>
>>
>> Your call.
>>
>>
>> BR,
>> Jani.
>>
>>
>>
>> [1] http://mid.gmane.org/1445950025-5793-1-git-send-email-mika.kuoppala@intel.com
>> [2] http://mid.gmane.org/1446069547-24760-1-git-send-email-imre.deak@intel.com
>>
>>
>> >
>> > 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
>> > _______________________________________________
>> > Intel-gfx mailing list
>> > Intel-gfx@lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>>
>
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03 20:07       ` Dave Airlie
@ 2015-11-03 21:23         ` Jesse Barnes
  0 siblings, 0 replies; 10+ messages in thread
From: Jesse Barnes @ 2015-11-03 21:23 UTC (permalink / raw)
  To: Dave Airlie, Ville Syrjälä; +Cc: intel-gfx, Mika Kuoppala

On 11/03/2015 12:07 PM, Dave Airlie wrote:
> We have a major process failure in place here, and shoving more code
> in the backend and hoping it somehow magically fixes itself between
> drm-intel-next and merging to Linus's tree is clearly not working for
> the past 6 months at least. I'm really unhappy about how shoddy 4.2
> is, and 4.3 is clearly not shaping up to have been a winner, 4.4 is
> looking even less fun.
> 
> So maybe you guys can brainstrom a bit, also when Daniel gets back.
> But at the moment I think until QA is fully reestablished, I think not
> merging anything to drm-intel-next for a few weeks and taking a break
> on new features until some of the features that were merged broken
> actually get fixed.
> 
> I'm also going to start looking at reverting skylake firmware loading,
> it's clearly never been tested with lockdep enabled by anyone who
> cared, which to my mind says it should never have been merged in the
> first place.

I think this is the right way to go.  We have several known failures in
even our basic tests, and when we created that list the intention was to
"drop everything" if one of them failed on any of the past few platforms
(BYT+ on Atom and HSW+ on Core).  So far we haven't done that but imo we
should.

Jesse

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03 21:21     ` Patrik Jakobsson
@ 2015-11-03 21:47       ` Daniel Stone
  2015-11-03 22:08         ` Patrik Jakobsson
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Stone @ 2015-11-03 21:47 UTC (permalink / raw)
  To: Patrik Jakobsson; +Cc: intel-gfx, Mika Kuoppala

Hi Patrik,

On 3 November 2015 at 21:21, Patrik Jakobsson
<patrik.r.jakobsson@gmail.com> wrote:
> On Tue, Nov 3, 2015 at 11:35 AM, Imre Deak <imre.deak@intel.com> wrote:
>> All of Mika's patches [1] have an R-b, except patch 7/7.
>> [2] has R-b's as well except for patch 1/13. Sunil any update on that?
>
> It could be that Dave is hitting the warm boot DMC fw loading issue so
> you probably need my series [1] as well.

It's necessary but not sufficient; see
http://lists.freedesktop.org/archives/intel-gfx/2015-November/079368.html
for fixing GuC itself.

I tested this on top of the three series (Mika's, Imre's, and yours),
but hit some power domain warnings and I never come back from DPMS.
That being said, this is also on top of Maarten's async atomic
pageflip series, so there could be some damage there. I'll try to
track that down separately and give you a more sensible Tested-by.

My other reservation with the DMC firmware series is that it requires
firmware v1.23, which is available from 01.org, but hasn't been
submitted to linux-firmware AFAICT. So that'll break DMC for everyone
who doesn't explicitly grab the firmware ...

Cheers,
Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03 21:47       ` Daniel Stone
@ 2015-11-03 22:08         ` Patrik Jakobsson
  2015-11-04 17:11           ` Daniel Stone
  0 siblings, 1 reply; 10+ messages in thread
From: Patrik Jakobsson @ 2015-11-03 22:08 UTC (permalink / raw)
  To: Daniel Stone; +Cc: intel-gfx, Mika Kuoppala

On Tue, Nov 3, 2015 at 10:47 PM, Daniel Stone <daniel@fooishbar.org> wrote:
> Hi Patrik,
>
> On 3 November 2015 at 21:21, Patrik Jakobsson
> <patrik.r.jakobsson@gmail.com> wrote:
>> On Tue, Nov 3, 2015 at 11:35 AM, Imre Deak <imre.deak@intel.com> wrote:
>>> All of Mika's patches [1] have an R-b, except patch 7/7.
>>> [2] has R-b's as well except for patch 1/13. Sunil any update on that?
>>
>> It could be that Dave is hitting the warm boot DMC fw loading issue so
>> you probably need my series [1] as well.
>
> It's necessary but not sufficient; see
> http://lists.freedesktop.org/archives/intel-gfx/2015-November/079368.html
> for fixing GuC itself.

Hi Daniel

Yes, the GuC is a separate issue from the DMC ones. I'll have a look
at your patch.

>
> I tested this on top of the three series (Mika's, Imre's, and yours),
> but hit some power domain warnings and I never come back from DPMS.
> That being said, this is also on top of Maarten's async atomic
> pageflip series, so there could be some damage there. I'll try to
> track that down separately and give you a more sensible Tested-by.

It's possible that our changes collide. I'm not up-to-date with the
latest atomic work but can take a look as well tomorrow.

Thanks
Patrik

>
> My other reservation with the DMC firmware series is that it requires
> firmware v1.23, which is available from 01.org, but hasn't been
> submitted to linux-firmware AFAICT. So that'll break DMC for everyone
> who doesn't explicitly grab the firmware ...
>
> Cheers,
> Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: skylake + drm-next - warn city
  2015-11-03 22:08         ` Patrik Jakobsson
@ 2015-11-04 17:11           ` Daniel Stone
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel Stone @ 2015-11-04 17:11 UTC (permalink / raw)
  To: Patrik Jakobsson; +Cc: intel-gfx, Mika Kuoppala

Hi,

On 3 November 2015 at 22:08, Patrik Jakobsson
<patrik.r.jakobsson@gmail.com> wrote:
> On Tue, Nov 3, 2015 at 10:47 PM, Daniel Stone <daniel@fooishbar.org> wrote:
>> I tested this on top of the three series (Mika's, Imre's, and yours),
>> but hit some power domain warnings and I never come back from DPMS.
>> That being said, this is also on top of Maarten's async atomic
>> pageflip series, so there could be some damage there. I'll try to
>> track that down separately and give you a more sensible Tested-by.
>
> It's possible that our changes collide. I'm not up-to-date with the
> latest atomic work but can take a look as well tomorrow.

Yeah, turns out I'd just subtly broken the power domain handling when
pulling your 'turn DC handling into power well' changes on top of
Maarten's async-atomic work. All seems well with that resolved.

Cheers,
Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-11-04 17:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-02 22:51 skylake + drm-next - warn city Dave Airlie
2015-11-03  9:42 ` Jani Nikula
2015-11-03 10:35   ` Imre Deak
2015-11-03 10:47     ` Ville Syrjälä
2015-11-03 20:07       ` Dave Airlie
2015-11-03 21:23         ` Jesse Barnes
2015-11-03 21:21     ` Patrik Jakobsson
2015-11-03 21:47       ` Daniel Stone
2015-11-03 22:08         ` Patrik Jakobsson
2015-11-04 17:11           ` Daniel Stone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.