[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUVdjS8Wjjw5WxLZmv6JHV3ybFGnG8fi6TuafXDgGSV4SQ@mail.gmail.com>
Date: Tue, 27 Dec 2016 00:09:22 +0100
From: Sedat Dilek <sedat.dilek@...il.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Chris Wilson <chris@...is-wilson.co.uk>,
Thomas Gleixner <tglx@...utronix.de>
Cc: intel-gfx <intel-gfx@...ts.freedesktop.org>,
Linux PM List <linux-pm@...ts.linux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
"the arch/x86 maintainers" <x86@...nel.org>
Subject: [Linux v4.10.0-rc1] call-traces after suspend-resume (pm? i915? cpu/hotplug?)
[ Add some pm | i915 | x86 folks ]
Hi,
I have built Linux v4.10-rc1 today on my Ubuntu/precise AMD64 system
and I see some call-traces.
It is reproducible on suspend and resume.
I cannot say which area touches the problem or if these are several
independent problems.
For a full dmesg-log see attachments (my linux-config is attached, too).
Here some hunks...
[ 29.003601] BUG: sleeping function called from invalid context at
drivers/base/power/runtime.c:1032
[ 29.003608] in_atomic(): 1, irqs_disabled(): 0, pid: 1469, name: Xorg
[ 29.003610] 1 lock held by Xorg/1469:
[ 29.003611] #0: (&dev->struct_mutex){+.+.+.}, at:
[<ffffffffa0623c13>] i915_mutex_lock_interruptible+0x43/0x140 [i915]
[ 29.003653] CPU: 0 PID: 1469 Comm: Xorg Not tainted
4.10.0-rc1-1-iniza-small #1
[ 29.003655] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 29.003656] Call Trace:
[ 29.003663] dump_stack+0x85/0xc2
[ 29.003666] ___might_sleep+0x196/0x260
[ 29.003668] __might_sleep+0x53/0xb0
[ 29.003671] __pm_runtime_resume+0x7a/0x90
[ 29.003691] intel_runtime_pm_get+0x25/0x90 [i915]
[ 29.003711] aliasing_gtt_bind_vma+0xaa/0xf0 [i915]
[ 29.003733] i915_vma_bind+0xaf/0x1e0 [i915]
[ 29.003752] i915_gem_execbuffer_relocate_entry+0x513/0x6f0 [i915]
[ 29.003755] ? find_get_entry+0x5/0x240
[ 29.003774] i915_gem_execbuffer_relocate_vma.isra.34+0x188/0x250 [i915]
[ 29.003796] ? __i915_vma_do_pin+0x334/0x590 [i915]
[ 29.003815] ? i915_gem_execbuffer_reserve_vma.isra.31+0x152/0x1f0 [i915]
[ 29.003833] ? i915_gem_execbuffer_reserve.isra.32+0x372/0x3a0 [i915]
[ 29.003851] i915_gem_do_execbuffer.isra.38+0xa70/0x1a40 [i915]
[ 29.003854] ? __might_fault+0x4e/0xb0
[ 29.003872] i915_gem_execbuffer2+0xc5/0x260 [i915]
[ 29.003873] ? __might_fault+0x4e/0xb0
[ 29.003888] drm_ioctl+0x206/0x450 [drm]
[ 29.003913] ? i915_gem_execbuffer+0x340/0x340 [i915]
[ 29.003918] ? __fget+0x5/0x200
[ 29.003922] do_vfs_ioctl+0x91/0x6f0
[ 29.003925] ? __fget+0x111/0x200
[ 29.003926] ? __fget+0x5/0x200
[ 29.003929] SyS_ioctl+0x79/0x90
[ 29.003934] entry_SYSCALL_64_fastpath+0x23/0xc6
[ 29.003936] RIP: 0033:0x7fb9e09e7bb7
[ 29.003938] RSP: 002b:00007ffe2dba2ea8 EFLAGS: 00003202 ORIG_RAX:
0000000000000010
[ 29.003941] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fb9e09e7bb7
[ 29.003942] RDX: 00007ffe2dba2fa8 RSI: 0000000040406469 RDI: 0000000000000009
[ 29.003944] RBP: 00007ffe2dba2dc0 R08: 0000000000000040 R09: 0101010101010101
[ 29.003945] R10: 0000000000000000 R11: 0000000000003202 R12: 0000000000000008
[ 29.003947] R13: 00000000000000f5 R14: 0000000000000000 R15: 0000000000000000
[ 2846.098249] ------------[ cut here ]------------
[ 2846.098259] WARNING: CPU: 1 PID: 13 at fs/sysfs/group.c:237
sysfs_remove_group+0x8e/0x90
[ 2846.098260] sysfs group 'thermal_throttle' not found for kobject 'cpu1'
[ 2846.098261] Modules linked in: ccm arc4 iwldvm mac80211 i915
snd_hda_codec_hdmi bnep snd_hda_codec_realtek snd_hda_codec_generic
uvcvideo snd_hda_intel snd_hda_codec rfcomm snd_hwdep
videobuf2_vmalloc snd_hda_core i2c_algo_bit videobuf2_memops kvm_intel
drm_kms_helper joydev snd_pcm videobuf2_v4l2 iwlwifi videobuf2_core
syscopyarea kvm snd_seq_midi videodev sysfillrect snd_seq_midi_event
btusb sysimgblt snd_rawmidi btrtl fb_sys_fops snd_seq btbcm drm
snd_timer btintel irqbypass snd_seq_device cfg80211 psmouse bluetooth
snd parport_pc soundcore serio_raw ppdev samsung_laptop lpc_ich wmi
video mac_hid acpi_cpufreq lp parport binfmt_misc hid_generic usbhid
hid r8169 mii
[ 2846.098325] CPU: 1 PID: 13 Comm: cpuhp/1 Tainted: G W
4.10.0-rc1-1-iniza-small #1
[ 2846.098327] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 2846.098329] Call Trace:
[ 2846.098336] dump_stack+0x85/0xc2
[ 2846.098342] __warn+0xd1/0xf0
[ 2846.098347] ? thresh_event_valid+0x80/0x80
[ 2846.098351] warn_slowpath_fmt+0x4f/0x60
[ 2846.098355] ? mutex_unlock+0x12/0x20
[ 2846.098358] ? kernfs_find_and_get_ns+0x4a/0x60
[ 2846.098361] sysfs_remove_group+0x8e/0x90
[ 2846.098366] thermal_throttle_offline+0x1e/0x30
[ 2846.098370] cpuhp_invoke_callback+0x1ff/0x810
[ 2846.098374] ? finish_task_switch+0x6d/0x280
[ 2846.098379] ? virtnet_clean_affinity.isra.30.part.31+0xa0/0xa0
[ 2846.098383] cpuhp_down_callbacks+0x42/0x80
[ 2846.098387] cpuhp_thread_fun+0x93/0x100
[ 2846.098389] smpboot_thread_fn+0x17e/0x260
[ 2846.098394] kthread+0x128/0x160
[ 2846.098396] ? sort_range+0x30/0x30
[ 2846.098399] ? kthread_create_on_node+0x40/0x40
[ 2846.098402] ? kthread_create_on_node+0x40/0x40
[ 2846.098405] ret_from_fork+0x2a/0x40
[ 2846.098409] ---[ end trace 93de6a721f4e1f64 ]---
[ 2846.471779] ------------[ cut here ]------------
[ 2846.471799] WARNING: CPU: 3 PID: 3475 at
drivers/gpu/drm/drm_irq.c:1237 drm_wait_one_vblank+0x14f/0x1a0 [drm]
[ 2846.471800] vblank wait timed out on crtc 0
[ 2846.471801] Modules linked in: ccm arc4 iwldvm mac80211 i915
snd_hda_codec_hdmi bnep snd_hda_codec_realtek snd_hda_codec_generic
uvcvideo snd_hda_intel snd_hda_codec rfcomm snd_hwdep
videobuf2_vmalloc snd_hda_core i2c_algo_bit videobuf2_memops kvm_intel
drm_kms_helper joydev snd_pcm videobuf2_v4l2 iwlwifi videobuf2_core
syscopyarea kvm snd_seq_midi videodev sysfillrect snd_seq_midi_event
btusb sysimgblt snd_rawmidi btrtl fb_sys_fops snd_seq btbcm drm
snd_timer btintel irqbypass snd_seq_device cfg80211 psmouse bluetooth
snd parport_pc soundcore serio_raw ppdev samsung_laptop lpc_ich wmi
video mac_hid acpi_cpufreq lp parport binfmt_misc hid_generic usbhid
hid r8169 mii
[ 2846.471852] CPU: 3 PID: 3475 Comm: kworker/u16:55 Tainted: G
W 4.10.0-rc1-1-iniza-small #1
[ 2846.471853] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 2846.471857] Workqueue: events_unbound async_run_entry_fn
[ 2846.471858] Call Trace:
[ 2846.471864] dump_stack+0x85/0xc2
[ 2846.471868] __warn+0xd1/0xf0
[ 2846.471870] warn_slowpath_fmt+0x4f/0x60
[ 2846.471873] ? finish_wait+0x6a/0x80
[ 2846.471884] drm_wait_one_vblank+0x14f/0x1a0 [drm]
[ 2846.471886] ? wake_up_atomic_t+0x30/0x30
[ 2846.471922] ironlake_crtc_enable+0x782/0xc10 [i915]
[ 2846.471950] intel_update_crtc+0x5a/0x100 [i915]
[ 2846.471975] intel_update_crtcs+0x63/0x80 [i915]
[ 2846.471999] intel_atomic_commit_tail+0x346/0x1da0 [i915]
[ 2846.472002] ? mark_held_locks+0x6d/0x90
[ 2846.472005] ? _raw_spin_unlock_irqrestore+0x36/0x60
[ 2846.472029] intel_atomic_commit+0x48e/0x570 [i915]
[ 2846.472044] drm_atomic_commit+0x4b/0x50 [drm]
[ 2846.472070] __intel_display_resume+0x6a/0xb0 [i915]
[ 2846.472094] intel_display_resume+0xe3/0x110 [i915]
[ 2846.472098] ? pci_pm_thaw+0x90/0x90
[ 2846.472116] i915_drm_resume+0xe0/0x180 [i915]
[ 2846.472134] i915_pm_resume+0x20/0x30 [i915]
[ 2846.472137] pci_pm_resume+0x64/0xa0
[ 2846.472139] dpm_run_callback+0x95/0x2a0
[ 2846.472142] device_resume+0x87/0x190
[ 2846.472144] async_resume+0x1d/0x50
[ 2846.472145] async_run_entry_fn+0x37/0xe0
[ 2846.472148] process_one_work+0x1d3/0x690
[ 2846.472151] ? process_one_work+0x154/0x690
[ 2846.472154] worker_thread+0x69/0x4c0
[ 2846.472156] kthread+0x128/0x160
[ 2846.472159] ? process_one_work+0x690/0x690
[ 2846.472161] ? kthread_create_on_node+0x40/0x40
[ 2846.472163] ret_from_fork+0x2a/0x40
[ 2846.472166] ---[ end trace 93de6a721f4e1f67 ]---
[ 2846.527767] ------------[ cut here ]------------
[ 2846.527801] WARNING: CPU: 3 PID: 3475 at
drivers/gpu/drm/i915/intel_display.c:14182
intel_atomic_commit_tail+0x1d2e/0x1da0 [i915]
[ 2846.527803] pipe A vblank wait timed out
[ 2846.527803] Modules linked in: ccm arc4 iwldvm mac80211 i915
snd_hda_codec_hdmi bnep snd_hda_codec_realtek snd_hda_codec_generic
uvcvideo snd_hda_intel snd_hda_codec rfcomm snd_hwdep
videobuf2_vmalloc snd_hda_core i2c_algo_bit videobuf2_memops kvm_intel
drm_kms_helper joydev snd_pcm videobuf2_v4l2 iwlwifi videobuf2_core
syscopyarea kvm snd_seq_midi videodev sysfillrect snd_seq_midi_event
btusb sysimgblt snd_rawmidi btrtl fb_sys_fops snd_seq btbcm drm
snd_timer btintel irqbypass snd_seq_device cfg80211 psmouse bluetooth
snd parport_pc soundcore serio_raw ppdev samsung_laptop lpc_ich wmi
video mac_hid acpi_cpufreq lp parport binfmt_misc hid_generic usbhid
hid r8169 mii
[ 2846.527848] CPU: 3 PID: 3475 Comm: kworker/u16:55 Tainted: G
W 4.10.0-rc1-1-iniza-small #1
[ 2846.527849] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 2846.527852] Workqueue: events_unbound async_run_entry_fn
[ 2846.527853] Call Trace:
[ 2846.527857] dump_stack+0x85/0xc2
[ 2846.527860] __warn+0xd1/0xf0
[ 2846.527862] warn_slowpath_fmt+0x4f/0x60
[ 2846.527865] ? finish_wait+0x6a/0x80
[ 2846.527893] intel_atomic_commit_tail+0x1d2e/0x1da0 [i915]
[ 2846.527896] ? mark_held_locks+0x6d/0x90
[ 2846.527898] ? _raw_spin_unlock_irqrestore+0x36/0x60
[ 2846.527901] ? wake_up_atomic_t+0x30/0x30
[ 2846.527926] intel_atomic_commit+0x48e/0x570 [i915]
[ 2846.527941] drm_atomic_commit+0x4b/0x50 [drm]
[ 2846.527968] __intel_display_resume+0x6a/0xb0 [i915]
[ 2846.527993] intel_display_resume+0xe3/0x110 [i915]
[ 2846.527996] ? pci_pm_thaw+0x90/0x90
[ 2846.528014] i915_drm_resume+0xe0/0x180 [i915]
[ 2846.528032] i915_pm_resume+0x20/0x30 [i915]
[ 2846.528035] pci_pm_resume+0x64/0xa0
[ 2846.528037] dpm_run_callback+0x95/0x2a0
[ 2846.528039] device_resume+0x87/0x190
[ 2846.528041] async_resume+0x1d/0x50
[ 2846.528043] async_run_entry_fn+0x37/0xe0
[ 2846.528046] process_one_work+0x1d3/0x690
[ 2846.528048] ? process_one_work+0x154/0x690
[ 2846.528051] worker_thread+0x69/0x4c0
[ 2846.528053] kthread+0x128/0x160
[ 2846.528056] ? process_one_work+0x690/0x690
[ 2846.528058] ? kthread_create_on_node+0x40/0x40
[ 2846.528060] ret_from_fork+0x2a/0x40
[ 2846.528063] ---[ end trace 93de6a721f4e1f68 ]---
If you need further informations, please let me know.
Hope this helps to narrow down the issue(s).
Regards,
- Sedat -
View attachment "dmesg_4.10.0-rc1-1-iniza-small_after-suspend-resume.txt" of type "text/plain" (80770 bytes)
Download attachment "config-4.10.0-rc1-1-iniza-small" of type "application/octet-stream" (139895 bytes)
Powered by blists - more mailing lists