Bug 83769 - [HSW-ULT] "SPLL enabled": WARNING: CPU: 3 PID: 168 at drivers/gpu/drm/i915/intel_display.c:7366 hsw_enable_pc8+0x5b8/0x660
Summary: [HSW-ULT] "SPLL enabled": WARNING: CPU: 3 PID: 168 at drivers/gpu/drm/i915/in...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-11 14:09 UTC by Imre Deak
Modified: 2017-07-24 22:51 UTC (History)
6 users (show)

See Also:
i915 platform: HSW
i915 features: power/Other


Attachments
Linux 3.18-rc1 dmesg with drm.debug=0xe i915.mmio_debug=1 (48.06 KB, application/x-gzip-compressed)
2014-10-21 20:44 UTC, Patrik Lundquist
no flags Details
HSW 4770 snd_hda* warnings (3.69 KB, text/plain)
2015-10-11 16:02 UTC, Andreas Reis
no flags Details

Description Imre Deak 2014-09-11 14:09:50 UTC
After a couple of S3 suspend/resume cycles there is the following warning:

[   95.314519] WARNING: CPU: 3 PID: 168 at drivers/gpu/drm/i915/intel_display.c:7366 hsw_enable_pc8+0x5b8/0x660 [i915]()
[   95.314520] SPLL enabled
[   95.314540] Modules linked in: ctr(E) ccm(E) arc4(E) iwlmvm(E) mac80211(E) intel_rapl(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) coretemp(E) kvm_intel(E) kvm(E) joydev(E) serio_raw(E) snd_hda_codec_realtek(E) snd_hda_codec_hdmi(E) snd_hda_codec_generic(E) iwlwifi(E) btusb(E) snd_hda_intel(E) snd_hda_controller(E) snd_hda_codec(E) rtsx_pci_ms(E) snd_hwdep(E) memstick(E) cfg80211(E) snd_pcm(E) snd_seq_midi(E) snd_seq_midi_event(E) snd_rawmidi(E) snd_seq(E) thinkpad_acpi(E) nvram(E) snd_seq_device(E) snd_timer(E) intel_smartconnect(E) mac_hid(E) snd(E) lpc_ich(E) soundcore(E) rfcomm(E) bnep(E) bluetooth(E) binfmt_misc(E) parport_pc(E) ppdev(E) lp(E) parport(E) nls_iso8859_1(E) sch_fq(E) dm_crypt(E) rtsx_pci_sdmmc(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) aesni_intel(E) aes_x86_64(E)
[   95.314547]  lrw(E) gf128mul(E) glue_helper(E) ablk_helper(E) cryptd(E) psmouse(E) ahci(E) libahci(E) rtsx_pci(E) i915(E) i2c_algo_bit(E) drm_kms_helper(E) e1000e(E) ptp(E) pps_core(E) drm(E) wmi(E) video(E) [last unloaded: ipmi_msghandler]
[   95.314550] CPU: 3 PID: 168 Comm: kworker/u16:2 Tainted: G        W   E  3.17.0-rc4-custom+ #3
[   95.314551] Hardware name: LENOVO 20AM009DMS/20AM009DMS, BIOS GIET75WW (2.25 ) 06/24/2014
[   95.314555] Workqueue: events_unbound async_run_entry_fn
[   95.314557]  0000000000000009 ffff8800b6363c88 ffffffff82778f98 ffff8800b6363cd0
[   95.314559]  ffff8800b6363cc0 ffffffff8207132d ffff88022aa30000 ffff88022eaf2b60
[   95.314560]  ffff88022eaf2b70 ffff88022eaf2800 ffffffff82ae514b ffff8800b6363d20
[   95.314561] Call Trace:
[   95.314564]  [<ffffffff82778f98>] dump_stack+0x45/0x56
[   95.314567]  [<ffffffff8207132d>] warn_slowpath_common+0x7d/0xa0
[   95.314570]  [<ffffffff8207139c>] warn_slowpath_fmt+0x4c/0x50
[   95.314591]  [<ffffffffc0187fe8>] hsw_enable_pc8+0x5b8/0x660 [i915]
[   95.314600]  [<ffffffffc012d1d0>] ? __i915_drm_thaw+0x1d0/0x1d0 [i915]
[   95.314609]  [<ffffffffc012d22b>] i915_pm_suspend_late+0x5b/0x60 [i915]
[   95.314611]  [<ffffffff824d17fc>] dpm_run_callback+0x4c/0x100
[   95.314613]  [<ffffffff824d1fc0>] __device_suspend_late+0xb0/0x1a0
[   95.314615]  [<ffffffff824d20cf>] async_suspend_late+0x1f/0xa0
[   95.314617]  [<ffffffff820930c7>] async_run_entry_fn+0x37/0x130
[   95.314620]  [<ffffffff8208a53a>] process_one_work+0x18a/0x4a0
[   95.314622]  [<ffffffff8208b22b>] worker_thread+0x6b/0x5d0
[   95.314625]  [<ffffffff8208b1c0>] ? pool_mayday_timeout+0x1b0/0x1b0
[   95.314627]  [<ffffffff820905ab>] kthread+0xdb/0x100
[   95.314629]  [<ffffffff820904d0>] ? kthread_create_on_node+0x180/0x180
[   95.314632]  [<ffffffff82780ebc>] ret_from_fork+0x7c/0xb0
[   95.314634]  [<ffffffff820904d0>] ? kthread_create_on_node+0x180/0x180
[   95.314635] ---[ end trace 706b297cf8724d66 ]---
Comment 1 Patrik Lundquist 2014-10-21 18:41:56 UTC
Dump for Linux v3.18-rc1:

------------[ cut here ]------------
WARNING: CPU: 3 PID: 153 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:7535 assert_can_disable_lcpll+0x295/0x320 [i915]()
SPLL enabled
Modules linked in: ctr ccm arc4 iwlmvm mac80211 iwlwifi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm joydev cfg80211 rtc_efi serio_raw snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic thinkpad_acpi nvram snd_hda_intel lpc_ich snd_hda_controller snd_hda_codec snd_hwdep snd_pcm mac_hid rtsx_pci_ms intel_smartconnect snd_seq_midi memstick snd_seq_midi_event btusb rfcomm shpchp bnep bluetooth snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore binfmt_misc parport_pc ppdev nls_iso8859_1 lp parport sch_fq dm_crypt rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mulglue_helper ablk_helper i915 cryptd psmouse e1000e ahci i2c_algo_bit libahci ptp drm_kms_helper rtsx_pci pps_core drm wmi video [last unloaded: ipmi_msghandler]
CPU: 3 PID: 153 Comm: kworker/u16:5 Not tainted 3.18.0-031800rc1-generic #201410192135
Hardware name: LENOVO 20AM009DMS/20AM009DMS, BIOS GIET76WW (2.26 ) 08/27/2014
Workqueue: events_unbound async_run_entry_fn
 0000000000001d6f ffff88022dd63bc8 ffffffff827a1613 ffffffff82c54168
 ffff88022dd63c18 ffff88022dd63c08 ffffffff82074cfc 0000000000000246
 ffff88022e312b58 ffff88022dd70000 ffff88022e312b68 ffff88022e312800
Call Trace:
 [<ffffffff827a1613>] dump_stack+0x46/0x58
 [<ffffffff82074cfc>] warn_slowpath_common+0x8c/0xc0
 [<ffffffff82074de6>] warn_slowpath_fmt+0x46/0x50
 [<ffffffffc01b2015>] assert_can_disable_lcpll+0x295/0x320 [i915]
 [<ffffffffc01bd924>] hsw_disable_lcpll.constprop.86+0x14/0x2e0 [i915]
 [<ffffffffc01c4faf>] hsw_enable_pc8+0x3f/0xa0 [i915]
 [<ffffffffc015e065>] intel_suspend_complete+0x45/0x50 [i915]
 [<ffffffffc015e2e3>] i915_pm_suspend_late+0x33/0x90 [i915]
 [<ffffffffc015e2b0>] ? intel_runtime_suspend+0x240/0x240 [i915]
 [<ffffffff824e0d28>] dpm_run_callback+0x58/0xd0
 [<ffffffff824d095e>] ? device_for_each_child+0x5e/0x70
 [<ffffffff824e11c0>] __device_suspend_late+0xc0/0x1b0
 [<ffffffff824e1d3f>] async_suspend_late+0x1f/0xa0
 [<ffffffff820964cc>] async_run_entry_fn+0x4c/0x160
 [<ffffffff8208d6be>] process_one_work+0x14e/0x460
 [<ffffffff8208e03b>] worker_thread+0x11b/0x3f0
 [<ffffffff8208df20>] ? create_worker+0x1e0/0x1e0
 [<ffffffff82093bb9>] kthread+0xc9/0xe0
 [<ffffffff82093af0>] ? flush_kthread_worker+0x90/0x90
 [<ffffffff827aeebc>] ret_from_fork+0x7c/0xb0
 [<ffffffff82093af0>] ? flush_kthread_worker+0x90/0x90
---[ end trace c7d449c4daccb3a8 ]---
Comment 2 Patrik Lundquist 2014-10-21 20:44:33 UTC
Created attachment 108211 [details]
Linux 3.18-rc1 dmesg with drm.debug=0xe i915.mmio_debug=1
Comment 3 Jesse Barnes 2014-12-10 21:13:17 UTC
Does this still happen with drm-intel-nightly?
Comment 4 Patrik Lundquist 2015-01-15 14:52:26 UTC
I compiled drm-intel-nightly from 19th December (commit 4fa23142a15526f4a4b5df61f26eacdd558a849a) and have been running it since and got the error again.

[31321.574188] PM: Entering mem sleep
[31321.574214] Suspending console(s) (use no_console_suspend to debug)
[31321.745685] [drm:intel_display_power_get] enabling always-on
[31321.745991] [drm:i915_check_and_clear_faults] Unexpected fault
[31321.745991]     Addr: 0x00000000
[31321.745991]     Address space: PPGTT
[31321.745991]     Source ID: 24
[31321.745991]     Type: 3
[31321.754275] [drm:intel_display_power_put] disabling always-on
[31321.758282] [drm:intel_display_power_put] disabling display
[31321.758285] [drm:hsw_set_power_well] Requesting to disable the power well
[31321.890536] PM: suspend of devices complete after 315.761 msecs
[31321.890822] [drm:hsw_enable_pc8] Enabling package C8+
[31321.914519] ------------[ cut here ]------------
[31321.914557] WARNING: CPU: 3 PID: 6706 at drivers/gpu/drm/i915/intel_display.c:7743 hsw_enable_pc8+0x669/0x7d0 [i915]()
[31321.914557] SPLL enabled
[31321.914588] Modules linked in: sch_fq_codel ctr ccm ipmi_msghandler arc4 iwlmvm mac80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm joydev serio_raw iwlwifi rtsx_pci_ms memstick snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel thinkpad_acpi bnep cfg80211 snd_hda_controller intel_smartconnect btusb mac_hid nvram snd_hda_codec rfcomm snd_hwdep bluetooth lpc_ich snd_pcm shpchp snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore binfmt_misc parport_pc nls_iso8859_1 ppdev lp parport sch_fq dm_crypt rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel i915 e1000e aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ptp psmouse pps_core ahci i2c_algo_bit libahci drm_kms_helper rtsx_pci drm wmi video
[31321.914593] CPU: 3 PID: 6706 Comm: kworker/u16:1 Tainted: G        W      3.18.0-custom+ #1
[31321.914594] Hardware name: LENOVO 20AM009DMS/20AM009DMS, BIOS GIET76WW (2.26 ) 08/27/2014
[31321.914600] Workqueue: events_unbound async_run_entry_fn
[31321.914602]  0000000000000009 ffff8801aea03bf8 ffffffff8279b67b ffffffff82c54c38
[31321.914603]  ffff8801aea03c48 ffff8801aea03c38 ffffffff82074a91 0000000100763538
[31321.914605]  ffff88022e140000 ffff88022e3a8b80 ffff88022e3a8b90 ffff88022e3a8800
[31321.914606] Call Trace:
[31321.914612]  [<ffffffff8279b67b>] dump_stack+0x46/0x58
[31321.914617]  [<ffffffff82074a91>] warn_slowpath_common+0x81/0xa0
[31321.914619]  [<ffffffff82074af6>] warn_slowpath_fmt+0x46/0x50
[31321.914640]  [<ffffffffc05391a9>] hsw_enable_pc8+0x669/0x7d0 [i915]
[31321.914649]  [<ffffffffc04cc860>] ? i915_suspend_legacy+0xd0/0xd0 [i915]
[31321.914657]  [<ffffffffc04cc160>] intel_suspend_complete+0xf0/0x6c0 [i915]
[31321.914665]  [<ffffffffc04cc748>] i915_drm_suspend_late+0x18/0x60 [i915]
[31321.914673]  [<ffffffffc04cc880>] i915_pm_suspend_late+0x20/0x30 [i915]
[31321.914676]  [<ffffffff824e8e1c>] dpm_run_callback+0x4c/0x100
[31321.914679]  [<ffffffff824e9810>] __device_suspend_late+0xb0/0x1a0
[31321.914681]  [<ffffffff824e991f>] async_suspend_late+0x1f/0xa0
[31321.914684]  [<ffffffff8209745c>] async_run_entry_fn+0x4c/0x170
[31321.914685]  [<ffffffff8208ed39>] process_one_work+0x159/0x470
[31321.914687]  [<ffffffff8208f0bb>] worker_thread+0x6b/0x5d0
[31321.914689]  [<ffffffff8208f050>] ? process_one_work+0x470/0x470
[31321.914690]  [<ffffffff820947cb>] kthread+0xdb/0x100
[31321.914693]  [<ffffffff820946f0>] ? kthread_create_on_node+0x180/0x180
[31321.914695]  [<ffffffff827a313c>] ret_from_fork+0x7c/0xb0
[31321.914697]  [<ffffffff820946f0>] ? kthread_create_on_node+0x180/0x180
[31321.914698] ---[ end trace c434051639cb4bb4 ]---
[31321.930588] PM: late suspend of devices complete after 40.002 msecs
[31321.946866] PM: noirq suspend of devices complete after 16.256 msecs
[31321.947177] ACPI: Preparing to enter system sleep state S3
Comment 5 Andreas Reis 2015-10-11 16:02:17 UTC
Created attachment 118823 [details]
HSW 4770 snd_hda* warnings

Latest drm-intel-nightly. Noticed I also get this on every suspend with my 4200U (HM87):

[ 4847.185742] PM: suspend of devices complete after 947.984 msecs
[ 4847.190187] ------------[ cut here ]------------
[ 4847.190203] WARNING: CPU: 3 PID: 10228 at drivers/gpu/drm/i915/intel_display.c:9297 hsw_enable_pc8+0x5f0/0x710()
[ 4847.190204] CPU PWM1 enabled
[ 4847.190223] Modules linked in: f2fs uas usb_storage iwlmvm iwlwifi elan_i2c nfsd nfs auth_rpcgss oid_registry nfs_acl lockd grace sunrpc ip_tables x_tables
[ 4847.190229] CPU: 3 PID: 10228 Comm: kworker/u8:9 Tainted: G          I     4.3.0-1-ck #1
[ 4847.190231] Hardware name: Notebook                         W840SU Series                    /W840SU Series                    , BIOS 4.6.5 11/26/2013
[ 4847.190239] Workqueue: events_unbound async_run_entry_fn
[ 4847.190245]  0000000000000000 0000000016f72b4a ffff8800a0077c28 ffffffff813fdb09
[ 4847.190249]  ffff8800a0077c70 ffff8800a0077c60 ffffffff810eacc2 ffff8800d8e10000
[ 4847.190252]  ffff88021513a370 ffff88021513a380 ffff88021513a000 ffffffff81c3b1c3
[ 4847.190253] Call Trace:
[ 4847.190264]  [<ffffffff813fdb09>] dump_stack+0x4b/0x72
[ 4847.190270]  [<ffffffff810eacc2>] warn_slowpath_common+0x82/0xc0
[ 4847.190273]  [<ffffffff810ead5c>] warn_slowpath_fmt+0x5c/0x80
[ 4847.190279]  [<ffffffff815d32c0>] hsw_enable_pc8+0x5f0/0x710
[ 4847.190286]  [<ffffffff815567d3>] intel_suspend_complete+0x653/0x6e0
[ 4847.190290]  [<ffffffff81556882>] i915_drm_suspend_late+0x22/0x80
[ 4847.190294]  [<ffffffff815569c0>] ? i915_pm_poweroff_late+0x30/0x30
[ 4847.190297]  [<ffffffff815569e7>] i915_pm_suspend_late+0x27/0x30
[ 4847.190306]  [<ffffffff81626bae>] dpm_run_callback+0x4e/0x130
[ 4847.190312]  [<ffffffff8162764d>] __device_suspend_late+0xfd/0x210
[ 4847.190317]  [<ffffffff8162777f>] async_suspend_late+0x1f/0xa0
[ 4847.190320]  [<ffffffff8110abd8>] async_run_entry_fn+0x48/0x150
[ 4847.190326]  [<ffffffff8110297e>] process_one_work+0x14e/0x440
[ 4847.190330]  [<ffffffff81102cb8>] worker_thread+0x48/0x4a0
[ 4847.190336]  [<ffffffff819accdd>] ? __schedule+0x33d/0xa40
[ 4847.190339]  [<ffffffff81102c70>] ? process_one_work+0x440/0x440
[ 4847.190342]  [<ffffffff81102c70>] ? process_one_work+0x440/0x440
[ 4847.190348]  [<ffffffff81108508>] kthread+0xd8/0xf0
[ 4847.190354]  [<ffffffff81108430>] ? kthread_worker_fn+0x170/0x170
[ 4847.190359]  [<ffffffff819b121f>] ret_from_fork+0x3f/0x70
[ 4847.190364]  [<ffffffff81108430>] ? kthread_worker_fn+0x170/0x170
[ 4847.190367] ---[ end trace 188d5de2e2080113 ]---
[ 4847.201171] PM: late suspend of devices complete after 15.428 msecs

On my 4770 (Z87, one HDMI monitor) I get no such message, but instead the attached snd messages.
Comment 6 Ville Syrjala 2015-10-27 19:15:41 UTC
(In reply to Andreas Reis from comment #5)
> [ 4847.185742] PM: suspend of devices complete after 947.984 msecs
> [ 4847.190187] ------------[ cut here ]------------
> [ 4847.190203] WARNING: CPU: 3 PID: 10228 at
> drivers/gpu/drm/i915/intel_display.c:9297 hsw_enable_pc8+0x5f0/0x710()
> [ 4847.190204] CPU PWM1 enabled

That's a different warning. Would you mind filing a new bug for it?
Comment 7 Maarten Lankhorst 2015-11-19 11:42:44 UTC
Does this still happen on nightly with i915.fastboot=1 ? 

Hopefully fixed with commit 3ecc547ac1e7e1cbba13e831f7ae05c820a9e23b
Comment 8 Patrik Lundquist 2015-12-22 11:59:57 UTC
I get the SPLL enabled warning with Linux 4.3.0 but haven't seen it yet with drm-intel-nightly from 2015-11-30 with or without i915.fastboot=1.
Comment 9 Maarten Lankhorst 2015-12-22 12:28:00 UTC
Probably fixed with the SPLL changes then. :)


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.