Bug 100417 - [BSW][EXT] igt@kms_flip@vblank-vs-dpms-suspend-interruptible hang
Summary: [BSW][EXT] igt@kms_flip@vblank-vs-dpms-suspend-interruptible hang
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 14:52 UTC by Tomi Sarvela
Modified: 2017-05-26 10:32 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: GPU hang


Attachments
BSW kms_flip@vblank-vs-dpms-suspend-interruptible (25.76 KB, text/plain)
2017-03-27 14:53 UTC, Tomi Sarvela
no flags Details

Description Tomi Sarvela 2017-03-27 14:52:14 UTC

    
Comment 1 Tomi Sarvela 2017-03-27 14:53:14 UTC
Created attachment 130483 [details]
BSW kms_flip@vblank-vs-dpms-suspend-interruptible
Comment 2 Tomi Sarvela 2017-03-27 14:56:51 UTC
DRM-Tip today. Running IGT extended list, BSW NUC rebooted at igt@kms_flip@vblank-vs-dpms-suspend-interruptible. Trace attached, collected from pstore.

Kernel config close to
https://intel-gfx-ci.01.org/CI/CI_DRM_2411/kernel.config.bz2

Head of the trace:

<3>[ 1049.576313] BUG: scheduling while atomic: swapper/1/0/0x00000002
<4>[ 1049.576321] no locks held by swapper/1/0.
<4>[ 1049.576325] Modules linked in: snd_hda_intel i915 vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec snd_hwdep snd_hda_core r8169 mii lpc_ich snd_pcm sdhci_pci i2c_designware_pci prime_numbers i2c_hid i2c_designware_platform i2c_designware_core [last unloaded: i915]
<3>[ 1049.576439] Preemption disabled at:
<4>[ 1049.576453] [<ffffffff8103d0fd>] start_secondary+0x1d/0x120
<4>[ 1049.576465] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G     U  W       4.11.0-rc4-CI-CI_DRM_318+ #1
<4>[ 1049.576471] Hardware name:                  /NUC5CPYB, BIOS PYBSWCEL.86A.0058.2016.1102.1842 11/02/2016
<4>[ 1049.576477] Call Trace:
<4>[ 1049.576491]  dump_stack+0x67/0x92
<4>[ 1049.576499]  ? start_secondary+0x1d/0x120
<4>[ 1049.576507]  __schedule_bug+0x7e/0xe0
<4>[ 1049.576517]  __schedule+0x88e/0xbc0
<4>[ 1049.576529]  schedule+0x3b/0x90
<4>[ 1049.576538]  schedule_hrtimeout_range_clock+0xd1/0x150
<4>[ 1049.576548]  ? __hrtimer_run_queues+0x530/0x530
<4>[ 1049.576559]  schedule_hrtimeout+0x12/0x20
<4>[ 1049.576566]  wait_task_inactive+0x288/0x290
<4>[ 1049.576581]  __kthread_bind_mask+0x19/0x70
<4>[ 1049.576589]  kthread_unpark+0x62/0x90
<4>[ 1049.576599]  cpuhp_online_idle+0x50/0x90
<4>[ 1049.576609]  cpu_startup_entry+0x13/0x20
<4>[ 1049.576616]  start_secondary+0x102/0x120
<4>[ 1049.576624]  start_cpu+0x14/0x14
<4>[ 1049.576649] ------------[ cut here ]------------
<4>[ 1049.576655] WARNING: CPU: 1 PID: 0 at kernel/locking/lockdep.c:3548 lock_release+0x4e1/0x4f0
<4>[ 1049.576658] releasing a pinned lock
<4>[ 1049.576659] Modules linked in: snd_hda_intel i915 vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec snd_hwdep snd_hda_core r8169 mii lpc_ich snd_pcm sdhci_pci i2c_designware_pci prime_numbers i2c_hid i2c_designware_platform i2c_designware_core [last unloaded: i915]
<4>[ 1049.576690] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G     U  W       4.11.0-rc4-CI-CI_DRM_318+ #1
<4>[ 1049.576692] Hardware name:                  /NUC5CPYB, BIOS PYBSWCEL.86A.0058.2016.1102.1842 11/02/2016
<4>[ 1049.576693] Call Trace:
<4>[ 1049.576697]  dump_stack+0x67/0x92
<4>[ 1049.576701]  __warn+0xc6/0xe0
<4>[ 1049.576704]  ? dequeue_task_idle+0xd/0x30
<4>[ 1049.576708]  warn_slowpath_fmt+0x4a/0x50
<4>[ 1049.576712]  lock_release+0x4e1/0x4f0
<4>[ 1049.576719]  _raw_spin_unlock_irq+0x1a/0x50
<4>[ 1049.576722]  dequeue_task_idle+0xd/0x30
<4>[ 1049.576726]  deactivate_task+0x94/0x120
<4>[ 1049.576729]  __schedule+0x4c1/0xbc0
<4>[ 1049.576733]  schedule+0x3b/0x90
<4>[ 1049.576736]  schedule_hrtimeout_range_clock+0xd1/0x150
<4>[ 1049.576740]  ? __hrtimer_run_queues+0x530/0x530
<4>[ 1049.576744]  schedule_hrtimeout+0x12/0x20
<4>[ 1049.576747]  wait_task_inactive+0x288/0x290
<4>[ 1049.576752]  __kthread_bind_mask+0x19/0x70
<4>[ 1049.576755]  kthread_unpark+0x62/0x90
<4>[ 1049.576759]  cpuhp_online_idle+0x50/0x90
<4>[ 1049.576762]  cpu_startup_entry+0x13/0x20
<4>[ 1049.576765]  start_secondary+0x102/0x120
<4>[ 1049.576769]  start_cpu+0x14/0x14
<4>[ 1049.576774] ---[ end trace 0e6a59f5af8d5d08 ]---
<3>[ 1049.576777] bad: scheduling from the idle thread!
<4>[ 1049.576783] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G     U  W       4.11.0-rc4-CI-CI_DRM_318+ #1
<4>[ 1049.576788] Hardware name:                  /NUC5CPYB, BIOS PYBSWCEL.86A.0058.2016.1102.1842 11/02/2016
<4>[ 1049.576791] Call Trace:
<4>[ 1049.576799]  dump_stack+0x67/0x92
<4>[ 1049.576807]  dequeue_task_idle+0x1e/0x30
<4>[ 1049.576814]  deactivate_task+0x94/0x120
<4>[ 1049.576822]  __schedule+0x4c1/0xbc0
<4>[ 1049.576834]  schedule+0x3b/0x90
<4>[ 1049.576842]  schedule_hrtimeout_range_clock+0xd1/0x150
<4>[ 1049.576850]  ? __hrtimer_run_queues+0x530/0x530
<4>[ 1049.576860]  schedule_hrtimeout+0x12/0x20
<4>[ 1049.576867]  wait_task_inactive+0x288/0x290
<4>[ 1049.576880]  __kthread_bind_mask+0x19/0x70
<4>[ 1049.576888]  kthread_unpark+0x62/0x90
<4>[ 1049.576896]  cpuhp_online_idle+0x50/0x90
<4>[ 1049.576903]  cpu_startup_entry+0x13/0x20
<4>[ 1049.576910]  start_secondary+0x102/0x120
<4>[ 1049.576917]  start_cpu+0x14/0x14
<4>[ 1049.576937] ------------[ cut here ]------------
<4>[ 1049.576942] WARNING: CPU: 1 PID: 0 at kernel/locking/lockdep.c:3670 lock_unpin_lock+0x15b/0x160
<4>[ 1049.576943] unpinning an unpinned lock
<4>[ 1049.576944] Modules linked in: snd_hda_intel i915 vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec snd_hwdep snd_hda_core r8169 mii lpc_ich snd_pcm sdhci_pci i2c_designware_pci prime_numbers i2c_hid i2c_designware_platform i2c_designware_core [last unloaded: i915]
<4>[ 1049.576975] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G     U  W       4.11.0-rc4-CI-CI_DRM_318+ #1
<4>[ 1049.576977] Hardware name:                  /NUC5CPYB, BIOS PYBSWCEL.86A.0058.2016.1102.1842 11/02/2016
<4>[ 1049.576978] Call Trace:
<4>[ 1049.576982]  dump_stack+0x67/0x92
<4>[ 1049.576986]  __warn+0xc6/0xe0
<4>[ 1049.576990]  warn_slowpath_fmt+0x4a/0x50
<4>[ 1049.576994]  lock_unpin_lock+0x15b/0x160
<4>[ 1049.576998]  __schedule+0x3d4/0xbc0
<4>[ 1049.577002]  schedule+0x3b/0x90
<4>[ 1049.577006]  schedule_hrtimeout_range_clock+0xd1/0x150
<4>[ 1049.577009]  ? __hrtimer_run_queues+0x530/0x530
<4>[ 1049.577013]  schedule_hrtimeout+0x12/0x20
<4>[ 1049.577016]  wait_task_inactive+0x288/0x290
<4>[ 1049.577021]  __kthread_bind_mask+0x19/0x70
<4>[ 1049.577024]  kthread_unpark+0x62/0x90
<4>[ 1049.577028]  cpuhp_online_idle+0x50/0x90
<4>[ 1049.577031]  cpu_startup_entry+0x13/0x20
<4>[ 1049.577034]  start_secondary+0x102/0x120
<4>[ 1049.577038]  start_cpu+0x14/0x14
<4>[ 1049.577042] ---[ end trace 0e6a59f5af8d5d09 ]---
<4>[ 1049.577932] ------------[ cut here ]------------
<4>[ 1049.578310] WARNING: CPU: 1 PID: 0 at kernel/sched/sched.h:833 set_next_entity+0xb22/0xfe0
<4>[ 1049.578313] rq->clock_update_flags < RQCF_ACT_SKIP
<4>[ 1049.578315] Modules linked in: snd_hda_intel i915 vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec snd_hwdep snd_hda_core r8169 mii lpc_ich snd_pcm sdhci_pci i2c_designware_pci prime_numbers i2c_hid i2c_designware_platform i2c_designware_core [last unloaded: i915]
<4>[ 1049.578386] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G     U  W       4.11.0-rc4-CI-CI_DRM_318+ #1
<4>[ 1049.578389] Hardware name:                  /NUC5CPYB, BIOS PYBSWCEL.86A.0058.2016.1102.1842 11/02/2016
<4>[ 1049.578390] Call Trace:
<4>[ 1049.578395]  dump_stack+0x67/0x92
<4>[ 1049.578400]  __warn+0xc6/0xe0
<4>[ 1049.578406]  warn_slowpath_fmt+0x4a/0x50
<4>[ 1049.578413]  set_next_entity+0xb22/0xfe0
<4>[ 1049.578420]  pick_next_task_fair+0x76/0x840
<4>[ 1049.578425]  ? debug_smp_processor_id+0x17/0x20
<4>[ 1049.578429]  ? prandom_u32+0x39/0x60
<4>[ 1049.578436]  __schedule+0x11c/0xbc0
<4>[ 1049.578442]  ? preempt_schedule+0x1f/0x30
<4>[ 1049.578446]  preempt_schedule_common+0x37/0x90
<4>[ 1049.578451]  preempt_schedule+0x1f/0x30
<4>[ 1049.578455]  ___preempt_schedule+0x16/0x18
<4>[ 1049.578462]  _raw_spin_unlock_irqrestore+0x5b/0x60
<4>[ 1049.578467]  try_to_wake_up+0x25a/0x650
<4>[ 1049.578472]  ? _raw_spin_unlock_irqrestore+0x3d/0x60
<4>[ 1049.578478]  wake_up_state+0xb/0x10
<4>[ 1049.578482]  kthread_unpark+0x6f/0x90
<4>[ 1049.578486]  cpuhp_online_idle+0x50/0x90
<4>[ 1049.578491]  cpu_startup_entry+0x13/0x20
<4>[ 1049.578495]  start_secondary+0x102/0x120
<4>[ 1049.578500]  start_cpu+0x14/0x14
<4>[ 1049.578509] ---[ end trace 0e6a59f5af8d5d0a ]---
Comment 3 Jani Saarinen 2017-04-19 06:09:44 UTC
Similar according to Imre on
> Series: drm/i915: Prevent the system suspend complete optimization
> URL   : https://patchwork.freedesktop.org/series/22863/
> State : failure

https://intel-gfx-ci.01.org/CI/Patchwork_4476/fi-bsw-n3050/igt@kms_sink_crc_basic.html

Looks unrelated, but this is more like
https://bugs.freedesktop.org/show_bug.cgi?id=100417
as opposed the cited fdo bug.
Comment 4 Jani Saarinen 2017-05-26 10:32:40 UTC
Not seen lately. 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.