Bug 105109 - [CI] [KBL only] igt@drv_module_reload@basic-reload - dmesg-warn - WARN_ON(!intel_irqs_enabled(dev_priv))
Summary: [CI] [KBL only] igt@drv_module_reload@basic-reload - dmesg-warn - WARN_ON(!in...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other 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-02-15 12:37 UTC by Martin Peres
Modified: 2018-04-20 14:24 UTC (History)
1 user (show)

See Also:
i915 platform: KBL
i915 features: display/Other


Attachments

Description Martin Peres 2018-02-15 12:37:47 UTC
[ 108.044961] ------------[ cut here ]------------
[ 108.045049] WARN_ON(!intel_irqs_enabled(dev_priv))
[ 108.045216] WARNING: CPU: 1 PID: 232 at drivers/gpu/drm/i915/i915_irq.c:541 bdw_update_pipe_irq+0xf7/0x100 [i915]
[ 108.045228] Modules linked in: i915(-) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp snd_hda_codec snd_hwdep coretemp crct10dif_pclmul snd_hda_core crc32_pclmul ghash_clmulni_intel e1000e snd_pcm mei_me mei prime_numbers [last unloaded: snd_hda_intel]
[ 108.045462] CPU: 1 PID: 232 Comm: kworker/1:2 Tainted: G U 4.16.0-rc1-CI-CI_DRM_3777+ #1
[ 108.045474] Hardware name: /NUC7i5BNB, BIOS BNKBL357.86A.0054.2017.1025.1822 10/25/2017
[ 108.045617] Workqueue: events intel_dp_modeset_retry_work_fn [i915]
[ 108.045740] RIP: 0010:bdw_update_pipe_irq+0xf7/0x100 [i915]
[ 108.045754] RSP: 0018:ffffc900007cfa88 EFLAGS: 00010096
[ 108.045777] RAX: 0000000000000026 RBX: 0000000080000000 RCX: 0000000000000002
[ 108.045790] RDX: 0000000080000002 RSI: ffffffff8210f7b1 RDI: 00000000ffffffff
[ 108.045803] RBP: ffff88025d8b0000 R08: 0000000000000000 R09: 0000000000000001
[ 108.045816] R10: ffffc900007cfa28 R11: 0000000000000000 R12: 0000000000000000
[ 108.045829] R13: 0000000080000000 R14: 0000000000000282 R15: ffff88026b65c138
[ 108.045842] FS: 0000000000000000(0000) GS:ffff88027ec80000(0000) knlGS:0000000000000000
[ 108.045856] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 108.045867] CR2: 00007fef6968f0c0 CR3: 0000000005210004 CR4: 00000000003606e0
[ 108.045877] Call Trace:
[ 108.046011] intel_set_cpu_fifo_underrun_reporting+0x273/0x350 [i915]
[ 108.046177] intel_ddi_pre_enable+0x42/0x7c0 [i915]
[ 108.046348] intel_encoders_pre_enable.isra.57+0x5a/0x70 [i915]
[ 108.046496] haswell_crtc_enable+0x257/0x7d0 [i915]
[ 108.046649] intel_update_crtc+0x29/0x80 [i915]
[ 108.046796] skl_update_crtcs+0x191/0x1d0 [i915]
[ 108.046965] intel_atomic_commit_tail+0x2f7/0xce0 [i915]
[ 108.047134] intel_atomic_commit+0x256/0x330 [i915]
[ 108.047169] restore_fbdev_mode_atomic+0x199/0x1f0
[ 108.047250] drm_fb_helper_restore_fbdev_mode_unlocked+0x42/0x90
[ 108.047276] drm_fb_helper_set_par+0x24/0x50
[ 108.047295] drm_fb_helper_hotplug_event.part.21+0x91/0xb0
[ 108.047319] process_one_work+0x215/0x620
[ 108.047374] worker_thread+0x1ff/0x3a0
[ 108.047417] kthread+0xfb/0x130
[ 108.047434] ? process_one_work+0x620/0x620
[ 108.047449] ? _kthread_create_on_node+0x30/0x30
[ 108.047481] ret_from_fork+0x3a/0x50
[ 108.047550] Code: fc 2b 4f a0 e8 ab 33 cc e0 0f ff 80 bd 95 a8 00 00 00 0f 85 51 ff ff ff 48 c7 c6 a0 2a 50 a0 48 c7 c7 fc 2b 4f a0 e8 89 33 cc e0 <0f> ff 5b 5d 41 5c 41 5d c3 41 55 41 54 41 89 f5 55 53 48 8d 9f 
[ 108.048251] ---[ end trace 6c5f1a8051edb079 ]---

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3777/shard-kbl6/igt@drv_module_reload@basic-reload.html
Comment 1 Martin Peres 2018-02-15 12:38:25 UTC
This may be similar to https://bugs.freedesktop.org/show_bug.cgi?id=104605
Comment 2 Chris Wilson 2018-02-15 13:04:54 UTC
And also to bug 105110. The essence of it is that the hotplug worker was not suspended and resumed before the driver. That sounds like something we have fixed before...
Comment 3 Chris Wilson 2018-02-15 13:26:57 UTC
Possibly something like https://patchwork.freedesktop.org/patch/204930/ to prevent a hotplug irq from queuing more work after we suspended the poll worker?
Comment 4 Martin Peres 2018-04-20 14:24:24 UTC
Last seen on CI_DRM_3885 (1 month, 2 weeks / 369 runs ago). Closing!


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.