Bug 85301 - [HSW/BDW] Unclaimed register detected after suspend/resume
Summary: [HSW/BDW] Unclaimed register detected after suspend/resume
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: low normal
Assignee: Paulo Zanoni
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 19:26 UTC by Patrik Lundquist
Modified: 2017-07-24 22:51 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Linux 3.18-rc1 dmesg with drm.debug=0xe i915.mmio_debug=1 (48.06 KB, application/x-gzip-compressed)
2014-10-21 19:26 UTC, Patrik Lundquist
no flags Details

Description Patrik Lundquist 2014-10-21 19:26:23 UTC
Created attachment 108208 [details]
Linux 3.18-rc1 dmesg with drm.debug=0xe i915.mmio_debug=1

Unclaimed register detected before reading register 0xc7204 after a couple of suspend/resume using Linux v3.18-rc1.


[ 2783.939808] ------------[ cut here ]------------
[ 2783.939835] WARNING: CPU: 0 PID: 4819 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_uncore.c:528 hsw_unclaimed_reg_debug.isra.17+0x80/0xa0 [i915]()
[ 2783.939836] Unclaimed register detected before reading register 0xc7204
[ 2783.939856] 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 gf128mul glue_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]
[ 2783.939858] CPU: 0 PID: 4819 Comm: kworker/0:3 Tainted: G        W      3.18.0-031800rc1-generic #201410192135
[ 2783.939859] Hardware name: LENOVO 20AM009DMS/20AM009DMS, BIOS GIET76WW (2.26 ) 08/27/2014
[ 2783.939874] Workqueue: events edp_panel_vdd_work [i915]
[ 2783.939876]  0000000000000210 ffff880231aa7c48 ffffffff827a1613 ffffffff82c54168
[ 2783.939877]  ffff880231aa7c98 ffff880231aa7c88 ffffffff82074cfc 0000000000000001
[ 2783.939878]  ffff88022dd70060 00000000000c7204 00000000000c7204 ffff88022dd70068
[ 2783.939879] Call Trace:
[ 2783.939883]  [<ffffffff827a1613>] dump_stack+0x46/0x58
[ 2783.939885]  [<ffffffff82074cfc>] warn_slowpath_common+0x8c/0xc0
[ 2783.939887]  [<ffffffff82074de6>] warn_slowpath_fmt+0x46/0x50
[ 2783.939901]  [<ffffffffc01a6610>] hsw_unclaimed_reg_debug.isra.17+0x80/0xa0 [i915]
[ 2783.939912]  [<ffffffffc01a85b9>] gen6_read32+0x69/0x170 [i915]
[ 2783.939923]  [<ffffffffc01a8550>] ? gen6_read64+0x160/0x160 [i915]
[ 2783.939936]  [<ffffffffc01dc119>] edp_have_panel_vdd+0x39/0x50 [i915]
[ 2783.939948]  [<ffffffffc01dcce4>] edp_panel_vdd_off_sync+0x44/0x170 [i915]
[ 2783.939959]  [<ffffffffc01dd00a>] edp_panel_vdd_work+0x3a/0x50 [i915]
[ 2783.939962]  [<ffffffff8208d6be>] process_one_work+0x14e/0x460
[ 2783.939964]  [<ffffffff8208e03b>] worker_thread+0x11b/0x3f0
[ 2783.939965]  [<ffffffff8208df20>] ? create_worker+0x1e0/0x1e0
[ 2783.939967]  [<ffffffff82093bb9>] kthread+0xc9/0xe0
[ 2783.939968]  [<ffffffff82093af0>] ? flush_kthread_worker+0x90/0x90
[ 2783.939970]  [<ffffffff827aeebc>] ret_from_fork+0x7c/0xb0
[ 2783.939972]  [<ffffffff82093af0>] ? flush_kthread_worker+0x90/0x90
[ 2783.939973] ---[ end trace c7d449c4daccb3aa ]---
[ 2783.939975] ------------[ cut here ]------------
Comment 1 Paulo Zanoni 2014-10-23 17:00:33 UTC
The first WARN on dmesg (SPLL) is bug 83769 .

The other (eDP VDD) needs to be investigated.
Comment 2 Paulo Zanoni 2014-10-23 18:12:01 UTC
(In reply to Paulo Zanoni from comment #1)
> The other (eDP VDD) needs to be investigated.

I could accidentally reproduce this on my BDW... I guess that's good, from a certain point of view :)
Comment 3 Jesse Barnes 2014-12-10 21:27:25 UTC
Lucky you being able to reproduce Paulo! :)  Should be an easy one at least.
Comment 4 Paulo Zanoni 2015-03-20 21:13:34 UTC
Hi

Can you still reproduce this bug on the latest Kernels?

I just can't reproduce it again on my machine.

Thanks,
Paulo
Comment 5 Patrik Lundquist 2015-03-21 14:11:12 UTC
Hi,

I've gone back to using the default Ubuntu 14.10 3.16 kernel because of other issues, but I'm in the process of upgrading to Ubuntu 15.04 beta with 3.19 kernel now so I'll keep an eye out for the bug again and try drm-nightly if I see it.
Comment 6 Jesse Barnes 2015-03-23 16:51:49 UTC
Ok, thanks Patrik.  Please re-open if you see it with -nightly.  Otherwise, given Paulo's experience, I guess it's fixed now.


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.