Created attachment 114415 [details] dmesg ==System Environment== -------------------------- Regression: not sure, new case in recently. no-working platforms: all ==kernel== -------------------------- drm-intel-nightly/3753ea527e539d3358a6368e77cb29ecb2e71c42 commit 3753ea527e539d3358a6368e77cb29ecb2e71c42 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue Mar 17 22:36:04 2015 +0100 drm-intel-nightly: 2015y-03m-17d-21h-35m-20s UTC integration manifest ==Bug detailed description== ----------------------------- It causes WARNING: CPU: 5 PID: 4366 at drivers/gpu/drm/i915/intel_uncore.c:463 assert_forcewakes_inactive+0x57/0x6d [i915](). drv_suspend/forcewake-hibernate also has this warning. output: IGT-Version: 1.10-g505645c (x86_64) (Linux: 4.0.0-rc4_drm-intel-nightly_3753ea_20150318+ x86_64) rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Mar 18 13:07:45 2015 Subtest forcewake: SUCCESS (1.207s) real 0m35.535s user 0m0.005s sys 0m0.176s [ 6932.984168] ------------[ cut here ]------------ [ 6932.984185] WARNING: CPU: 5 PID: 4366 at drivers/gpu/drm/i915/intel_uncore.c:463 assert_forcewakes_inactive+0x57/0x6d [i915]() [ 6932.984185] WARN_ON(domain->wake_count) [ 6932.984193] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek iTCO_wdt iTCO_vendor_support snd_hda_codec_generic ppdev dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore parport_pc tpm_tis parport tpm acpi_cpufreq i915 button video drm_kms_helper drm [ 6932.984195] CPU: 5 PID: 4366 Comm: kworker/u32:13 Not tainted 4.0.0-rc4_drm-intel-nightly_3753ea_20150318+ #60 [ 6932.984195] Hardware name: Dell Inc. OptiPlex 990/0DXWW6, BIOS A02 02/26/2011 [ 6932.984199] Workqueue: events_unbound async_run_entry_fn [ 6932.984200] 0000000000000000 0000000000000009 ffffffff817942e1 ffff8800020b7c18 [ 6932.984201] ffffffff8103bd5a 0000000000000002 ffffffffa00bc858 0000000000000082 [ 6932.984202] ffff880002cf0000 0000000000000000 ffff880002cf0130 0000000000000001 [ 6932.984202] Call Trace: [ 6932.984206] [<ffffffff817942e1>] ? dump_stack+0x40/0x50 [ 6932.984208] [<ffffffff8103bd5a>] ? warn_slowpath_common+0x98/0xb0 [ 6932.984215] [<ffffffffa00bc858>] ? assert_forcewakes_inactive+0x57/0x6d [i915] [ 6932.984217] [<ffffffff8103bdb7>] ? warn_slowpath_fmt+0x45/0x4a [ 6932.984224] [<ffffffffa00bc858>] ? assert_forcewakes_inactive+0x57/0x6d [i915] [ 6932.984230] [<ffffffffa00bcac6>] ? intel_uncore_forcewake_reset+0x258/0x25a [i915] [ 6932.984236] [<ffffffffa007a897>] ? i915_drm_suspend+0x16c/0x1a1 [i915] [ 6932.984239] [<ffffffff8135f79e>] ? pci_pm_suspend+0x79/0xf6 [ 6932.984240] [<ffffffff8135f725>] ? pci_pm_freeze+0xa4/0xa4 [ 6932.984242] [<ffffffff813f1fcd>] ? dpm_run_callback+0x3a/0xc5 [ 6932.984243] [<ffffffff813f293b>] ? __device_suspend+0x1d1/0x25d [ 6932.984244] [<ffffffff813f29dd>] ? async_suspend+0x16/0x7d [ 6932.984245] [<ffffffff81052783>] ? async_run_entry_fn+0x2d/0xbf [ 6932.984248] [<ffffffff8104ca7f>] ? process_one_work+0x1b2/0x31d [ 6932.984250] [<ffffffff8104d278>] ? worker_thread+0x24d/0x339 [ 6932.984251] [<ffffffff8104d02b>] ? cancel_delayed_work_sync+0xa/0xa [ 6932.984252] [<ffffffff81050b25>] ? kthread+0xce/0xd6 [ 6932.984254] [<ffffffff81050a57>] ? kthread_create_on_node+0x162/0x162 [ 6932.984255] [<ffffffff81799ac8>] ? ret_from_fork+0x58/0x90 [ 6932.984256] [<ffffffff81050a57>] ? kthread_create_on_node+0x162/0x162 [ 6932.984257] ---[ end trace f35c08b9934ac932 ]--- ==Reproduce steps== ---------------------------- 1. ./drv_suspend --run-subtest forcewake
Tested on the latest nightly kernel and latest igt, it still exists. output: -------------- root@x-sgb4:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./drv_suspend --run-subtest forcewake IGT-Version: 1.10-g2e526ae (x86_64) (Linux: 4.0.0-rc7_drm-intel-nightly_631c2f_20150411+ x86_64) rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Apr 14 09:28:52 2015 Subtest forcewake: SUCCESS (1.184s)
Test it on SNB with the latest nightly kernel and latest igt, it still exists. output: -------------- root@x-sgb3:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./drv_suspend --run-subtest forcewake IGT-Version: 1.10-ge1ce5ea (x86_64) (Linux: 4.0.0_drm-intel-nightly_92bb36_20150424+ x86_64) rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Apr 24 02:46:52 2015 Subtest forcewake: SUCCESS (0.382s) dmesg info ------------------ [ 176.558418] ------------[ cut here ]------------ [ 176.558438] WARNING: CPU: 1 PID: 4707 at drivers/gpu/drm/i915/intel_uncore.c:517 assert_forcewakes_inactive+0x5a/0x70 [i915]() [ 176.558439] WARN_ON(domain->wake_count) [ 176.558450] Modules linked in: ipv6 dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev snd_hda_codec_realtek snd_hda_codec_generic pcspkr serio_raw i2c_i801 firewire_ohci lpc_ich mfd_core firewire_core crc_itu_t snd_hda_intel snd_hda_controller joydev snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm [ 176.558453] CPU: 1 PID: 4707 Comm: kworker/u8:21 Not tainted 4.0.0_drm-intel-nightly_92bb36_20150424+ #38 [ 176.558454] Hardware name: /DQ67SW, BIOS SWQ6710H.86A.0060.2011.1220.1805 12/20/2011 [ 176.558458] Workqueue: events_unbound async_run_entry_fn [ 176.558460] 0000000000000000 0000000000000009 ffffffff81795847 ffff880234683c18 [ 176.558461] ffffffff8103bd5a 0000000000000000 ffffffffa00c07cc 0000000000000000 [ 176.558462] ffff880002990000 0000000000000000 ffff880002990140 0000000000000001 [ 176.558463] Call Trace: [ 176.558468] [<ffffffff81795847>] ? dump_stack+0x40/0x50 [ 176.558471] [<ffffffff8103bd5a>] ? warn_slowpath_common+0x98/0xb0 [ 176.558481] [<ffffffffa00c07cc>] ? assert_forcewakes_inactive+0x5a/0x70 [i915] [ 176.558483] [<ffffffff8103bdb7>] ? warn_slowpath_fmt+0x45/0x4a [ 176.558493] [<ffffffffa00c07cc>] ? assert_forcewakes_inactive+0x5a/0x70 [i915] [ 176.558503] [<ffffffffa00c0a40>] ? intel_uncore_forcewake_reset+0x25e/0x260 [i915] [ 176.558511] [<ffffffffa007b89c>] ? i915_drm_suspend+0x16c/0x1a1 [i915] [ 176.558514] [<ffffffff8135fa1e>] ? pci_pm_suspend+0x79/0xf6 [ 176.558516] [<ffffffff8135f9a5>] ? pci_pm_freeze+0xa4/0xa4 [ 176.558518] [<ffffffff813f21a9>] ? dpm_run_callback+0x3a/0xc5 [ 176.558520] [<ffffffff813f2b17>] ? __device_suspend+0x1d1/0x25d [ 176.558521] [<ffffffff813f2bb9>] ? async_suspend+0x16/0x7d [ 176.558523] [<ffffffff81052783>] ? async_run_entry_fn+0x2d/0xbf [ 176.558526] [<ffffffff8104ca7f>] ? process_one_work+0x1b2/0x31d [ 176.558528] [<ffffffff8104d278>] ? worker_thread+0x24d/0x339 [ 176.558530] [<ffffffff8104d02b>] ? cancel_delayed_work_sync+0xa/0xa [ 176.558532] [<ffffffff81050b25>] ? kthread+0xce/0xd6 [ 176.558533] [<ffffffff81050a57>] ? kthread_create_on_node+0x162/0x162 [ 176.558535] [<ffffffff8179b048>] ? ret_from_fork+0x58/0x90 [ 176.558536] [<ffffffff81050a57>] ? kthread_create_on_node+0x162/0x162 [ 176.558537] ---[ end trace 1b63e650bbd677f1 ]---
Please try kernel v4.4.
The request to test with a newer kernel was made months ago, if there is no response within a month the bug will be closed
I can't reproduce on BDW NUCi5. IGT-Version: 1.17-g8ec8040 kernel: commit c6638f903295bbbd29957b878a42b83c5566250c Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Feb 23 22:51:23 2017 +0000 drm-tip: 2017y-02m-23d-22h-50m-35s UTC integration manifest The test is on the extended IGT-CI list, so a re-run of those should give better feedback.
review also on our side and the test is passing, closing the bug
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.