Bug 110650 - "RPM wakelock ref not held during HW access" on first resume
Summary: "RPM wakelock ref not held during HW access" on first resume
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-09 06:22 UTC by Jim Turner
Modified: 2019-06-06 03:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jim Turner 2019-05-09 06:22:01 UTC
uname -r:  5.0.0-13.1-liquorix-amd64
inxi:
Graphics:
  Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel 
  Display: server: X.Org 1.20.3 driver: intel resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ironlake Mobile v: 2.1 Mesa 18.3.4 
Pbm exists in all recent kernels since 4.20 or so.
May be dup. of bug#108364 (closed)? (but I'm using Ironlake, not Icelake)

Following error occurs on resume from suspend (dmesg), no other visible symptoms:

[39084.377126] Removed affinity for 300 processes to cpu 1
[39084.377357] ------------[ cut here ]------------
[39084.377359] RPM wakelock ref not held during HW access
[39084.377445] WARNING: CPU: 0 PID: 577 at drivers/gpu/drm/i915/intel_drv.h:2138 gen5_read32+0x116/0x130 [i915]
[39084.377445] Modules linked in: loop pcmciamtd chipreg mtd pata_pcmcia snd_hda_codec_hdmi intel_powerclamp coretemp pcmcia kvm_intel crct10dif_pclmul crc32_pclmul ghash_clmulni_intel yenta_socket aesni_intel pcmcia_rsrc aes_x86_64 crypto_simd cryptd glue_helper snd_hda_codec_idt snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm hp_wmi input_leds pcc_cpufreq snd_timer serio_raw sparse_keymap pcmcia_core arc4 wmi_bmof intel_ips snd acpi_cpufreq battery rfkill hp_accel ac button lis3lv02d input_polldev evdev soundcore ext4 crc32c_generic crc16 mbcache jbd2 fscrypto hid_lenovo hid_generic usbhid sg sr_mod sd_mod cdrom i915 ahci libahci crc32c_intel libata psmouse scsi_mod lpc_ich kvm irqbypass i2c_algo_bit sdhci_pci cqhci drm_kms_helper sdhci mmc_core ehci_pci ehci_hcd drm e1000e intel_agp intel_gtt i2c_core wmi rtc_cmos video thermal [last unloaded: cfg80211]
[39084.377480] CPU: 0 PID: 577 Comm: ips-monitor Not tainted 5.0.0-13.1-liquorix-amd64 #1 liquorix 5.0-13.1~sid
[39084.377481] Hardware name: Hewlett-Packard HP EliteBook 8440p/172A, BIOS 68CCU Ver. F.11 11/25/2010
[39084.377511] RIP: 0010:gen5_read32+0x116/0x130 [i915]
[39084.377512] Code: 04 e9 2a ff ff ff 80 3d 2f 5b 17 00 00 0f 85 2b ff ff ff 48 c7 c7 40 58 5c a0 89 54 24 04 c6 05 17 5b 17 00 01 e8 bf e3 bb e0 <0f> 0b 8b 54 24 04 e9 09 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00
[39084.377513] RSP: 0018:ffffc90001413e40 EFLAGS: 00010086
[39084.377514] RAX: 000000000000002a RBX: ffff88822a700000 RCX: 0000000000000000
[39084.377515] RDX: 0000000000000002 RSI: ffffffff827b504a RDI: 0000000000000046
[39084.377516] RBP: 00000000000112e4 R08: 0000000000000002 R09: 000000000001fd00
[39084.377517] R10: ffffffff827b5020 R11: 000000000000002a R12: ffff88822bb86e18
[39084.377517] R13: 00000000000000cc R14: ffff88822a8e1200 R15: ffff88822a8e1d80
[39084.377519] FS:  0000000000000000(0000) GS:ffff888233a00000(0000) knlGS:0000000000000000
[39084.377519] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39084.377520] CR2: 00007f1199528766 CR3: 0000000232ede002 CR4: 00000000000206f0
[39084.377521] Call Trace:
[39084.377547]  __i915_chipset_val+0x46/0x1a0 [i915]
[39084.377569]  i915_read_mch_val+0x24/0x50 [i915]
[39084.377572]  ips_monitor+0x4f6/0x5c0 [intel_ips]
[39084.377574]  ? ips_irq_handler+0x180/0x180 [intel_ips]
[39084.377578]  kthread+0x152/0x170
[39084.377579]  ? kthread_park+0x80/0x80
[39084.377581]  ret_from_fork+0x1f/0x40
[39084.377584] ---[ end trace 2727dc50dfe90919 ]---
Comment 1 Chris Wilson 2019-05-09 06:31:03 UTC
commit 4a8ab5ea0cde753b03bfefe4c98a8c4c61f46550 [v5.1]
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jan 14 14:21:29 2019 +0000

    drm/i915: Mark up Ironlake ips with rpm wakerefs
Comment 2 Jim Turner 2019-06-06 03:02:49 UTC
Thank you, Chris!

This seems to be FIXED now (for me at least) in kernel v. 5.1x.

Jim


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.