Summary: | [CI] igt@* - dmesg-warn - RPM wakelock ref not held during HW access - drivers/gpu/drm/i915/intel_drv.h:1926 fwtable_read32 | ||
---|---|---|---|
Product: | DRI | Reporter: | Marta Löfstedt <marta.lofstedt> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | DRI git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | ReadyForDev | ||
i915 platform: | KBL, SKL | i915 features: | firmware/guc |
Description
Marta Löfstedt
2018-03-23 11:46:30 UTC
knr: use _FW I'll remark the bug as fixed when that patch lands. Hopefully today so we can start to get results over the w/e (In reply to Chris Wilson from comment #2) > I'll remark the bug as fixed when that patch lands. Hopefully today so we > can start to get results over the w/e It helps to pay attention and click on the bug. Today we also got this dmesg-warn on our KBL: igt@pm_rpm@basic-pci-d3-state Out IGT-Version: 1.22-ga9741da (x86_64) (Linux: 4.16.0-rc6-drm-intel-qa-ww13-commit-94f5d91+ x86_64) Runtime PM support: 1 PC8 residency support: 0 Subtest basic-pci-d3-state: SUCCESS (0.298s) Dmesg [ 413.202669] ------------[ cut here ]------------ [ 413.202670] RPM wakelock ref not held during HW access [ 413.202727] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/i915/intel_drv.h:1930 fwtable_read32+0x18d/0x1b0 [i915] [ 413.202727] Modules linked in: vgem bnep nls_iso8859_1 snd_hda_codec_hdmi arc4 snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core snd_compress snd_pcm_dmaengine ac97_bus intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp snd_hda_codec kvm_intel snd_hda_core snd_hwdep kvm snd_pcm iwlmvm irqbypass crct10dif_pclmul crc32_pclmul mac80211 ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_seq_midi snd_seq_midi_event iwlwifi snd_rawmidi snd_seq btusb snd_seq_device wmi_bmof btrtl btbcm cfg80211 btintel snd_timer bluetooth ecdh_generic snd mei_me mei intel_pch_thermal soundcore shpchp ir_rc6_decoder rc_rc6_mce ite_cir rc_core acpi_pad [ 413.202758] tpm_crb mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 i915 e1000e prime_numbers ahci libahci wmi video [ 413.202767] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G U 4.16.0-rc6-drm-intel-qa-ww13-commit-94f5d91+ #1 [ 413.202768] Hardware name: /NUC7i7BNB, BIOS BNKBL357.86A.0046.2017.0503.1744 05/03/2017 [ 413.202793] RIP: 0010:fwtable_read32+0x18d/0x1b0 [i915] [ 413.202794] RSP: 0018:ffff8f75fec03e88 EFLAGS: 00010086 [ 413.202796] RAX: 0000000000000000 RBX: ffff8f75deea0000 RCX: ffffffffafe58448 [ 413.202796] RDX: 0000000000000001 RSI: 0000000000000096 RDI: 0000000000000002 [ 413.202797] RBP: 000000000000c1bc R08: 000000000000002a R09: 00000000000263e3 [ 413.202798] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000020 [ 413.202799] R13: ffff8f75deea0000 R14: 0000000000000001 R15: 0000000000000000 [ 413.202800] FS: 0000000000000000(0000) GS:ffff8f75fec00000(0000) knlGS:0000000000000000 [ 413.202801] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 413.202802] CR2: 00007fc833f45000 CR3: 000000039e40a003 CR4: 00000000003606f0 [ 413.202803] Call Trace: [ 413.202805] <IRQ> [ 413.202832] intel_guc_to_host_event_handler+0x3d/0x90 [i915] [ 413.202850] gen8_irq_handler+0x9e/0xd0 [i915] [ 413.202854] __handle_irq_event_percpu+0x7e/0x1a0 [ 413.202856] handle_irq_event_percpu+0x30/0x70 [ 413.202859] handle_irq_event+0x39/0x60 [ 413.202861] handle_edge_irq+0x7f/0x1b0 [ 413.202863] handle_irq+0x1f/0x30 [ 413.202865] do_IRQ+0x41/0xc0 [ 413.202867] common_interrupt+0xf/0xf [ 413.202868] </IRQ> [ 413.202871] RIP: 0010:cpuidle_enter_state+0xa4/0x2d0 [ 413.202872] RSP: 0018:ffffffffafe03e80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffd9 [ 413.202874] RAX: ffff8f75fec22980 RBX: 0000000000000006 RCX: 000000000000001f [ 413.202875] RDX: 0000000000000000 RSI: 0000000024879922 RDI: 0000000000000000 [ 413.202875] RBP: ffffffffafecc420 R08: ffff8f75fec218a4 R09: 0000000000000007 [ 413.202876] R10: 0000000000000e2b R11: 0000000000000f74 R12: ffff8f75fec2b438 [ 413.202877] R13: ffffffffafecc678 R14: 0000006034a974dd R15: 0000006034cc0988 [ 413.202880] do_idle+0x186/0x1e0 [ 413.202882] cpu_startup_entry+0x6f/0x80 [ 413.202885] start_kernel+0x47b/0x49b [ 413.202888] secondary_startup_64+0xa5/0xb0 [ 413.202889] Code: df e8 08 d0 ff ff e9 0b ff ff ff 80 3d c7 39 16 00 00 0f 85 b8 fe ff ff 48 c7 c7 90 89 56 c0 c6 05 b3 39 16 00 01 e8 63 bf 7e ee <0f> 0b e9 9e fe ff ff b9 01 00 00 00 ba 01 00 00 00 89 ee 48 89 [ 413.202940] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/i915/intel_drv.h:1930 fwtable_read32+0x18d/0x1b0 [i915] [ 413.202941] ---[ end trace 1d1f2e9ffbeefb5d ]--- https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_11/fi-skl-guc/igt@pm_rpm@system-suspend-execbuf.html [ 99.965167] RPM wakelock ref not held during HW access [ 99.965344] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/i915/intel_drv.h:1930 fwtable_read32+0x1f1/0x280 [i915] https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_14/fi-skl-guc/igt@pm_rpm@debugfs-forcewake-user.html [ 210.045071] RPM wakelock ref not held during HW access [ 210.045230] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/i915/intel_drv.h:1931 fwtable_read32+0x1bc/0x290 [i915] [ 210.045237] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp snd_hda_codec snd_hwdep crct10dif_pclmul snd_hda_core crc32_pclmul snd_pcm ghash_clmulni_intel e1000e mei_me prime_numbers mei [ 210.045331] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G U 4.16.0-rc7-ge023242a3eba-drmtip_14+ #1 [ 210.045336] Hardware name: System manufacturer System Product Name/Z170 PRO GAMING, BIOS 3402 04/26/2017 [ 210.045579] RIP: 0010:fwtable_read32+0x1bc/0x290 [i915] [ 210.045671] RSP: 0018:ffff922bb6c03e58 EFLAGS: 00010086 [ 210.045681] RAX: 0000000000000000 RBX: ffff922b9e870000 RCX: 0000000000010003 [ 210.045686] RDX: 0000000080010003 RSI: ffffffffa80eac19 RDI: 00000000ffffffff [ 210.045691] RBP: 000000000000c1bc R08: 0000000000000000 R09: 0000000000000001 [ 210.045696] R10: ffff922bb6c03e10 R11: ffffffffa8216500 R12: 0000000000000001 [ 210.045703] R13: ffff922b9e870000 R14: 0000000000000000 R15: ffff922b9c553da8 [ 210.045713] FS: 0000000000000000(0000) GS:ffff922bb6c00000(0000) knlGS:0000000000000000 [ 210.045721] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 210.045730] CR2: 00007f21ed8a52b0 CR3: 000000016a210005 CR4: 00000000003606f0 [ 210.045737] Call Trace: [ 210.045751] <IRQ> [ 210.045921] intel_guc_to_host_event_handler_mmio+0x32/0x80 [i915] [ 210.046062] gen8_irq_handler+0x94/0xc0 [i915] [ 210.046091] __handle_irq_event_percpu+0x3c/0x340 [ 210.046120] handle_irq_event_percpu+0x2b/0x70 [ 210.046139] handle_irq_event+0x2f/0x50 [ 210.046154] handle_edge_irq+0xe4/0x1b0 [ 210.046171] handle_irq+0x61/0x160 [ 210.046195] do_IRQ+0x5e/0x120 [ 210.046318] common_interrupt+0xf/0xf [ 210.046329] </IRQ> [ 210.046457] RIP: 0010:cpuidle_enter_state+0xaa/0x350 [ 210.046469] RSP: 0018:ffffffffa8203e98 EFLAGS: 00000216 ORIG_RAX: ffffffffffffffcc [ 210.046489] RAX: ffffffffa8216500 RBX: 00000000003b4bcf RCX: 0000000000000001 [ 210.046497] RDX: 0000000000000000 RSI: ffffffffa80eac19 RDI: ffffffffa8098917 [ 210.046506] RBP: 0000000000000006 R08: 000000000000383a R09: 0000000000000018 [ 210.046514] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000006 [ 210.046527] R13: ffffcbab3fc07070 R14: 00000030e76c0969 R15: ffffffffa8294ea0 [ 210.046576] ? cpuidle_enter_state+0xa6/0x350 [ 210.046602] do_idle+0x188/0x1d0 [ 210.046627] cpu_startup_entry+0x6a/0x70 [ 210.046646] start_secondary+0x17a/0x1c0 [ 210.046666] secondary_startup_64+0xa5/0xb0 [ 210.046781] Code: df e8 b9 aa [ 210.046923] ff ff [ 210.047037] e9 bd fe ff ff 80 3d 96 c2 17 00 00 0f 85 84 fe ff ff 48 c7 c7 38 b8 4b c0 c6 05 82 c2 17 00 01 e8 74 45 cb e6 <0f> 0b e9 6a fe ff ff 80 3d 70 c2 17 00 00 0f 85 4f fe ff ff 48 [ 210.047602] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/i915/intel_drv.h:1931 fwtable_read32+0x1bc/0x290 [i915] [ 210.047612] ---[ end trace f8f14dcec10e7be4 ]--- [ 210.084101] i915 0000:00:02.0: DP-2: EDID is invalid: [ 210.084112] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_18/fi-skl-guc/igt@kms_flip@dpms-vs-vblank-race.html [ 54.563126] i915 0000:00:02.0: DP-2: EDID is invalid: [ 54.563129] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.563131] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.563132] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.563133] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.563134] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.563136] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.563137] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.563138] [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 60.230325] random: crng init done [ 61.850994] ------------[ cut here ]------------ [ 61.851028] RPM wakelock ref not held during HW access [ 61.851203] WARNING: CPU: 3 PID: 0 at drivers/gpu/drm/i915/intel_drv.h:1940 fwtable_read32+0x1f1/0x280 [i915] [ 61.851209] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_hda_codec snd_hwdep snd_hda_core snd_pcm e1000e mei_me mei prime_numbers [ 61.851311] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G U 4.16.0-rc7-g8c59766aea74-drmtip_18+ #1 [ 61.851316] Hardware name: System manufacturer System Product Name/Z170 PRO GAMING, BIOS 3402 04/26/2017 [ 61.851436] RIP: 0010:fwtable_read32+0x1f1/0x280 [i915] [ 61.851442] RSP: 0018:ffff8be976cc3e58 EFLAGS: 00010086 [ 61.851453] RAX: 0000000000000000 RBX: ffff8be962c20000 RCX: 0000000000010003 [ 61.851459] RDX: 0000000080010003 RSI: ffffffff930eb229 RDI: 00000000ffffffff [ 61.851464] RBP: 000000000000c1bc R08: 0000000000000000 R09: 0000000000000001 [ 61.851470] R10: ffff8be976cc3e10 R11: 0000000000000000 R12: ffff8be962c21368 [ 61.851476] R13: 0000000000000001 R14: 0000000000000000 R15: ffff8be95edb2b88 [ 61.851482] FS: 0000000000000000(0000) GS:ffff8be976cc0000(0000) knlGS:0000000000000000 [ 61.851489] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.851495] CR2: 00007f8af1694240 CR3: 000000012b210005 CR4: 00000000003606e0 [ 61.851500] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 61.851506] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 61.851510] Call Trace: [ 61.851517] <IRQ> [ 61.851646] intel_guc_to_host_event_handler_mmio+0x38/0x90 [i915] [ 61.851735] gen8_irq_handler+0x94/0xc0 [i915] [ 61.851754] __handle_irq_event_percpu+0x42/0x370 [ 61.851771] handle_irq_event_percpu+0x2b/0x70 [ 61.851784] handle_irq_event+0x2f/0x50 [ 61.851794] handle_edge_irq+0xe7/0x190 [ 61.851807] handle_irq+0x67/0x160 [ 61.851822] do_IRQ+0x5e/0x120 [ 61.851834] common_interrupt+0xf/0xf [ 61.851841] </IRQ> [ 61.851850] RIP: 0010:cpuidle_enter_state+0xad/0x370 [ 61.851856] RSP: 0018:ffffafecc00c7ea0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffffdc [ 61.851867] RAX: ffff8be96cdb2840 RBX: 0000000000539680 RCX: 0000000000000000 [ 61.851872] RDX: 0000000000000046 RSI: ffffffff930eb229 RDI: ffffffff93098fcf [ 61.851878] RBP: ffffcfecbfcc7070 R08: 0000000000003a67 R09: 0000000000000000 [ 61.851883] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000006 [ 61.851889] R13: ffffffff932950f8 R14: 0000000000000000 R15: 0000000e6644fa7d [ 61.851927] do_idle+0x183/0x1d0 [ 61.851940] cpu_startup_entry+0x6a/0x70 [ 61.851953] start_secondary+0x198/0x1e0 [ 61.851967] secondary_startup_64+0xa5/0xb0 [ 61.851992] Code: ff e8 46 fc b7 d1 e9 d3 fe ff ff 80 3d a5 ed 17 00 00 0f 85 4f fe ff ff 48 c7 c7 80 fa 56 c0 c6 05 91 ed 17 00 01 e8 cf 25 c0 d1 <0f> 0b e9 35 fe ff ff b9 01 00 00 00 ba 01 00 00 00 89 ee 48 89 [ 61.852451] WARNING: CPU: 3 PID: 0 at drivers/gpu/drm/i915/intel_drv.h:1940 fwtable_read32+0x1f1/0x280 [i915] [ 61.852458] ---[ end trace cc274c3bd13c37ae ]--- commit e5cae659597811f8bacc4abc70135dffb48711d5 Author: Michał Winiarski <michal.winiarski@intel.com> Date: Sat Jul 14 18:37:03 2018 +0100 drm/i915/guc: Disable rpm wakeref asserts in GuC irq handler We're seeing "RPM wakelock ref not held during HW access" warning otherwise. Since IRQs are synced for runtime suspend we can just disable the wakeref asserts. Reported-by: Marta Löfstedt <marta.lofstedt@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105710 Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180714173703.7894-1-ch ris@chris-wilson.co.uk Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (In reply to Chris Wilson from comment #9) > commit e5cae659597811f8bacc4abc70135dffb48711d5 > Author: Michał Winiarski <michal.winiarski@intel.com> > Date: Sat Jul 14 18:37:03 2018 +0100 > > drm/i915/guc: Disable rpm wakeref asserts in GuC irq handler > > We're seeing "RPM wakelock ref not held during HW access" warning > otherwise. Since IRQs are synced for runtime suspend we can just disable > the wakeref asserts. > > Reported-by: Marta Löfstedt <marta.lofstedt@intel.com> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105710 > Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> > Cc: Chris Wilson <chris@chris-wilson.co.uk> > Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> > Link: > https://patchwork.freedesktop.org/patch/msgid/20180714173703.7894-1-ch > ris@chris-wilson.co.uk > Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> This did not seem like it was necessary as it was fixed in drmtip_84. Sorry for being slow at closing bugs during my vacation :p |
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.