Bug 104605 - [guc] pm_rpm subtest i2c has a dmesg-warn WARN_ON(!intel_irqs_enabled(dev_priv)) / WARNING: CPU: 11 PID: 6780 at drivers/gpu/drm/i915/i915_irq.c:353 gen6_unmask_pm_irq+0x28/0x30 [i915]
Summary: [guc] pm_rpm subtest i2c has a dmesg-warn WARN_ON(!intel_irqs_enabled(dev_pri...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-12 16:27 UTC by Hector Velazquez
Modified: 2018-04-11 07:04 UTC (History)
1 user (show)

See Also:
i915 platform: CFL
i915 features: firmware/huc


Attachments
kernel log (15.07 MB, text/plain)
2018-01-12 16:28 UTC, Hector Velazquez
no flags Details

Description Hector Velazquez 2018-01-12 16:27:40 UTC

    
Comment 1 Hector Velazquez 2018-01-12 16:27:45 UTC
This tests has a dmesg-warn on CFL QA 

Tests List:

igt@pm_rpm@i2c

======================================
        dmesg-warn sample
======================================
. . .
[   69.963493] ------------[ cut here ]------------
[   69.963497] WARN_ON(!intel_irqs_enabled(dev_priv))
[   69.963602] WARNING: CPU: 11 PID: 6780 at drivers/gpu/drm/i915/i915_irq.c:353 gen6_unmask_pm_irq+0x28/0x30 [i915]
[   69.963603] Modules linked in: snd_hda_codec_hdmi asix usbnet mii ip6table_filter ip6_tables iptable_filter bnep snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc nls_iso8859_1 8250_dw intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel kvm_intel snd_hda_codec snd_hda_core kvm snd_hwdep irqbypass snd_pcm crct10dif_pclmul snd_seq_midi crc32_pclmul snd_seq_midi_event ghash_clmulni_intel snd_rawmidi pcbc aesni_intel snd_seq aes_x86_64 crypto_simd btusb glue_helper iwlwifi btrtl cryptd btbcm snd_seq_device btintel snd_timer idma64 virt_dma intel_cstate snd bluetooth input_leds intel_lpss_pci intel_rapl_perf ecdh_generic cfg80211 soundcore serio_raw wmi_bmof intel_lpss intel_pch_thermal tpm_crb acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 i915 i2c_algo_bit
[   69.963668]  prime_numbers drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops e1000e psmouse drm ahci ptp pps_core libahci wmi i2c_hid video hid
[   69.963688] CPU: 11 PID: 6780 Comm: cat Tainted: G     U  W        4.15.0-rc7-drm-tip-ww2-commit-dbc7615+ #1
[   69.963690] Hardware name: Intel Corporation CoffeeLake Client Platform/CoffeeLake S UDIMM RVP, BIOS CNLSFWR1.R00.X095.A04.1707240838 07/24/2017
[   69.963736] RIP: 0010:gen6_unmask_pm_irq+0x28/0x30 [i915]
[   69.963739] RSP: 0018:ffffb53e483bfb98 EFLAGS: 00010082
[   69.963742] RAX: 0000000000000000 RBX: ffff8f750d478000 RCX: ffffffffb9457dc8
[   69.963744] RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000002
[   69.963745] RBP: ffff8f750d47ab50 R08: 0000000000000026 R09: 0000000000000885
[   69.963747] R10: 00000000000003eb R11: 0000000000000885 R12: ffffffffc05399c0
[   69.963749] R13: 0000000000000000 R14: ffffffffb8687160 R15: ffffb53e483bfca8
[   69.963751] FS:  00007f6848824700(0000) GS:ffff8f751d0c0000(0000) knlGS:0000000000000000
[   69.963753] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   69.963755] CR2: 000056293cbec3a8 CR3: 000000045372c002 CR4: 00000000003606e0
[   69.963757] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   69.963759] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   69.963760] Call Trace:
[   69.963809]  gen9_enable_guc_interrupts+0x5e/0xa0 [i915]
[   69.963880]  intel_guc_resume+0x4b/0x90 [i915]
[   69.963924]  intel_runtime_resume+0x71/0x210 [i915]
[   69.963932]  pci_pm_runtime_resume+0x73/0xa0
[   69.963938]  __rpm_callback+0xc1/0x200
[   69.963944]  ? __module_text_address+0xe/0x60
[   69.963948]  ? pci_restore_standard_config+0x40/0x40
[   69.963951]  rpm_callback+0x1f/0x70
[   69.963955]  ? pci_restore_standard_config+0x40/0x40
[   69.963958]  rpm_resume+0x4bb/0x6d0
[   69.963964]  ? wait_woken+0x80/0x80
[   69.963967]  __pm_runtime_resume+0x47/0x70
[   69.964018]  intel_runtime_pm_get+0x21/0xb0 [i915]
[   69.964070]  i915_display_info+0x44/0x920 [i915]
[   69.964078]  ? kmalloc_large_node+0x66/0x80
[   69.964084]  ? __kmalloc_node+0x206/0x2b0
[   69.964091]  seq_read+0x9d/0x410
[   69.964097]  full_proxy_read+0x4a/0x70
[   69.964102]  __vfs_read+0x33/0x160
[   69.964107]  vfs_read+0x8e/0x130
[   69.964112]  SyS_read+0x52/0xc0
[   69.964119]  entry_SYSCALL_64_fastpath+0x1e/0x81
[   69.964123] RIP: 0033:0x7f6848358870
[   69.964125] RSP: 002b:00007fffe6959e18 EFLAGS: 00000246
[   69.964128] Code: 1f 40 00 0f 1f 44 00 00 80 bf 45 55 00 00 00 74 07 89 f2 e9 6b d1 ff ff 48 c7 c6 90 1b 56 c0 48 c7 c7 07 2b 55 c0 e8 68 bc e4 f7 <0f> ff c3 0f 1f 44 00 00 0f 1f 44 00 00 55 53 89 f5 8b 97 14 2c 
[   69.964189] ---[ end trace 3890b171a519bd59 ]---
[   74.255517] ------------[ cut here ]------------. . .

This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.88-47-gde807d1
    commit: de807d1a740effe60da62d07dcfeae7c01012d15

Component: cairo
    tag: 1.15.8-76-g6b05938
    commit: 6b0593827b072abd701ea47448981bcc9bdde9f3

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-276-gd37369c
    commit: d37369c7146a2ceb332592297d311d501c1c748e

Component: piglit
    tag: piglit-v1
    commit: 8eefd87ed7a7be9b181bbe7d12a6f6c54921d522

======================================
	     Software
======================================
IGT-Version: 1.20-gd37369c (x86_64) (Linux: 4.15.0-rc7-drm-tip-ww2-commit-dbc7615+ x86_64)
Comment 2 Hector Velazquez 2018-01-12 16:28:15 UTC
Created attachment 136683 [details]
kernel log
Comment 3 Elizabeth 2018-02-09 23:55:50 UTC
On today's FF we got:

igt@drv_module_reload@basic-reload-inject

Stdout	
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww6-commit-6c10ba2+ x86_64)
Reloading i915 with inject_load_failure=1

Subtest basic-reload-inject: SUCCESS (3.001s)

Stderr	
dmesg	
[  135.492421]  skl_update_crtcs+0x1a5/0x1f0 [i915]
[  135.492433]  intel_atomic_commit_tail+0x35b/0xd90 [i915]
[  135.492444]  intel_atomic_commit+0x22a/0x2f0 [i915]
[  135.492446]  restore_fbdev_mode_atomic+0x1ab/0x220
[  135.492448]  drm_fb_helper_restore_fbdev_mode_unlocked+0x45/0x90
[  135.492449]  drm_fb_helper_set_par+0x29/0x50
[  135.492450]  drm_fb_helper_hotplug_event.part.33+0x94/0xb0
[  135.492451]  process_one_work+0x154/0x400
[  135.492452]  worker_thread+0x254/0x440
[  135.492453]  kthread+0xf5/0x130
[  135.492454]  ? process_one_work+0x400/0x400
[  135.492454]  ? kthread_associate_blkcg+0x90/0x90
[  135.492456]  ret_from_fork+0x35/0x40
[  135.492457] Code: 24 e8 b8 71 9e cc 0f ff 80 bd 2d 6f 00 00 00 8b 4c 24 04 8b 14 24 75 87 48 c7 c6 80 8d dc c0 48 c7 c7 ff 9a db c0 e8 93 71 9e cc <0f> ff 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 
[  135.492469] ---[ end trace bcc7dc6b076a102d ]---
[  135.492577] ------------[ cut here ]------------
[  135.492577] WARN_ON(!intel_irqs_enabled(dev_priv))
[  135.492590] WARNING: CPU: 5 PID: 102 at drivers/gpu/drm/i915/i915_irq.c:541 bdw_update_pipe_irq+0xad/0xc0 [i915]
[  135.492591] Modules linked in: i915(-) vgem snd_hda_codec_hdmi asix usbnet mii ip6table_filter ip6_tables iptable_filter cmac bnep binfmt_misc nls_iso8859_1 8250_dw snd_hda_codec_realtek snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec kvm snd_hda_core irqbypass snd_hwdep snd_pcm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_seq_midi snd_seq_midi_event pcbc snd_rawmidi snd_seq aesni_intel btusb btrtl aes_x86_64 snd_seq_device crypto_simd btbcm snd_timer glue_helper btintel cryptd bluetooth input_leds snd intel_cstate intel_rapl_perf wmi_bmof serio_raw ecdh_generic soundcore iwlwifi idma64 virt_dma cfg80211 acpi_pad mac_hid intel_lpss_pci intel_lpss intel_pch_thermal parport_pc ppdev lp parport ip_tables x_tables autofs4 e1000e ahci ptp
[  135.492604]  pps_core libahci wmi video [last unloaded: snd_hda_intel]
[  135.492606] CPU: 5 PID: 102 Comm: kworker/5:1 Tainted: G     U  W        4.15.0-drm-intel-qa-ww6-commit-6c10ba2+ #1
[  135.492606] Hardware name: Intel Corporation CoffeeLake Client Platform/CoffeeLake S UDIMM RVP, BIOS CNLSFWR1.R00.X118.B07.1801040709 01/04/2018
[  135.492619] Workqueue: events intel_dp_modeset_retry_work_fn [i915]
[  135.492627] RIP: 0010:bdw_update_pipe_irq+0xad/0xc0 [i915]
[  135.492628] RSP: 0018:ffffa16101cefac8 EFLAGS: 00010086
[  135.492628] RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8e857dc8
[  135.492629] RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000002
[  135.492629] RBP: ffff88100ed78000 R08: 0000000000000026 R09: 00000000000053e2
[  135.492629] R10: 0000000000000000 R11: 00000000000053e2 R12: ffff88100ed7c4f0
[  135.492630] R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000296
[  135.492630] FS:  0000000000000000(0000) GS:ffff88105d340000(0000) knlGS:0000000000000000
[  135.492630] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  135.492631] CR2: 00007f1d67862248 CR3: 000000000f40a005 CR4: 00000000003606e0
[  135.492631] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  135.492632] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  135.492632] Call Trace:
[  135.492644]  intel_set_cpu_fifo_underrun_reporting+0x1c9/0x280 [i915]
[  135.492657]  ? fwtable_write32+0x45/0x1c0 [i915]
[  135.492669]  intel_ddi_pre_enable+0x57/0x7d0 [i915]
[  135.492681]  ? fwtable_write32+0x45/0x1c0 [i915]
[  135.492694]  intel_encoders_pre_enable.isra.93+0x5f/0x70 [i915]
[  135.492706]  haswell_crtc_enable+0x25b/0x7c0 [i915]
[  135.492718]  ? intel_pipe_update_end+0x82/0x1a0 [i915]
[  135.492730]  intel_update_crtc+0x3d/0x90 [i915]
[  135.492742]  skl_update_crtcs+0x1a5/0x1f0 [i915]
[  135.492753]  intel_atomic_commit_tail+0x35b/0xd90 [i915]
[  135.492764]  intel_atomic_commit+0x22a/0x2f0 [i915]
[  135.492765]  restore_fbdev_mode_atomic+0x1ab/0x220
[  135.492766]  drm_fb_helper_restore_fbdev_mode_unlocked+0x45/0x90
[  135.492767]  drm_fb_helper_set_par+0x29/0x50
[  135.492768]  drm_fb_helper_hotplug_event.part.33+0x94/0xb0
[  135.492769]  process_one_work+0x154/0x400
[  135.492770]  worker_thread+0x254/0x440
[  135.492771]  kthread+0xf5/0x130
[  135.492771]  ? process_one_work+0x400/0x400
[  135.492772]  ? kthread_associate_blkcg+0x90/0x90
[  135.492773]  ret_from_fork+0x35/0x40
[  135.492774] Code: 24 e8 b8 71 9e cc 0f ff 80 bd 2d 6f 00 00 00 8b 4c 24 04 8b 14 24 75 87 48 c7 c6 80 8d dc c0 48 c7 c7 ff 9a db c0 e8 93 71 9e cc <0f> ff 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 
[  135.492786] ---[ end trace bcc7dc6b076a102e ]---
Comment 4 Jani Saarinen 2018-03-29 07:11:02 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 5 Elizabeth 2018-04-09 19:50:11 UTC
Last seen in ww12, I'll mark as resolved as it didn't fail in last run, please reopen if fail happen again.

Results for igt@pm_rpm@i2c
Result: fail

Out	
IGT-Version: 1.22-g0721161 (x86_64) (Linux: 4.16.0-rc6-drm-intel-qa-ww12-commit-4db112a+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0x1376]
  #2 [__libc_start_main+0xf1]
  #3 [_start+0x29]
  #4 [<unknown>+0x29]
Subtest i2c: FAIL (1.560s)
Err	
(pm_rpm:27286) CRITICAL: Test assertion failure function test_i2c, file pm_rpm.c:650:
(pm_rpm:27286) CRITICAL: Failed assertion: diff <= vga_outputs && diff >= 0
(pm_rpm:27286) CRITICAL: Last errno: 6, No such device or address
Subtest i2c failed.


Results for igt@pm_rpm@i2c
Result: pass

Out	
IGT-Version: 1.21-ge3a0ed9 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww14-commit-c46052c+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Subtest i2c: SUCCESS (6.687s)


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.