4.3-rc2 on radeon: new backtraces during resume

2015-09-23 Thread Pavel Machek
HI!


I suspended T40p by mistake, and I got some lovely backtraces as a
result:

Any ideas?

Pavel

[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 4.3.0-rc2+ (pavel@hobit) (gcc version 4.9.2 
(Debian 4.9.2-10) ) #111 SMP Wed Sep 23 13:29:04 CEST 2015
...
[  855.275406] PM: Syncing filesystems ... done.
[  855.745355] PM: Preparing system for sleep (mem)
[  855.830116] Freezing user space processes ... (elapsed 0.010 seconds) done.
[  855.841061] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) 
done.
[  855.844739] PM: Suspending system (mem)
[  855.844809] Suspending console(s) (use no_console_suspend to debug)
[  856.054406] parport_pc 00:07: disabled
[  856.055141] serial 00:06: disabled
[  856.056458] serial 00:06: System wakeup disabled by ACPI
[  856.058401] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  856.059365] [ cut here ]
[  856.059381] WARNING: CPU: 0 PID: 6609 at include/drm/drm_crtc.h:1577 
drm_helper_choose_encoder_dpms+0x82/0x90()
[  856.059384] Modules linked in:
[  856.059391] CPU: 0 PID: 6609 Comm: kworker/u2:7 Not tainted 4.3.0-rc2+ #111
[  856.059393] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 
10/13/2005
[  856.059402] Workqueue: events_unbound async_run_entry_fn
[  856.059416]    de099d94 c42b40a8  de099db0 c403ecdb 
0629
[  856.059427]  c438fd82 f6acd800 f585ee00 0003 de099dc0 c403ed7f 0009 

[  856.059437]  de099dd0 c438fd82 f585ee00 f600 de099df0 c4390132 f6acd800 

[  856.059439] Call Trace:
[  856.059450]  [] dump_stack+0x41/0x59
[  856.059457]  [] warn_slowpath_common+0x6b/0xa0
[  856.059462]  [] ? drm_helper_choose_encoder_dpms+0x82/0x90
[  856.059467]  [] warn_slowpath_null+0xf/0x20
[  856.059472]  [] drm_helper_choose_encoder_dpms+0x82/0x90
[  856.059477]  [] drm_helper_connector_dpms+0x32/0xf0
[  856.059485]  [] radeon_suspend_kms+0x64/0x350
[  856.059491]  [] radeon_pmops_suspend+0x18/0x20
[  856.059497]  [] pci_pm_suspend+0x5d/0x130
[  856.059502]  [] ? pci_pm_freeze+0xc0/0xc0
[  856.059509]  [] dpm_run_callback+0x30/0x70
[  856.059514]  [] __device_suspend+0xd2/0x290
[  856.059522]  [] ? __lock_acquire.isra.24+0x3b1/0xca0
[  856.059526]  [] async_suspend+0x17/0x90
[  856.059531]  [] async_run_entry_fn+0x4f/0x140
[  856.059537]  [] process_one_work+0x15f/0x3a0
[  856.059542]  [] ? process_one_work+0x15f/0x3a0
[  856.059546]  [] ? process_one_work+0x109/0x3a0
[  856.059551]  [] worker_thread+0x39/0x430
[  856.059556]  [] ? process_one_work+0x3a0/0x3a0
[  856.059562]  [] kthread+0xae/0xd0
[  856.059572]  [] ret_from_kernel_thread+0x21/0x30
[  856.059577]  [] ? kthread_create_on_node+0x170/0x170
[  856.059581] ---[ end trace c98a514a441969f1 ]---
[  856.079439] [ cut here ]
[  856.079446] WARNING: CPU: 0 PID: 6609 at include/drm/drm_crtc.h:1577 
drm_helper_choose_crtc_dpms+0x82/0x90()
[  856.079449] Modules linked in:
[  856.079454] CPU: 0 PID: 6609 Comm: kworker/u2:7 Tainted: GW   
4.3.0-rc2+ #111
[  856.079457] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 
10/13/2005
[  856.079462] Workqueue: events_unbound async_run_entry_fn
[  856.079473]    de099d94 c42b40a8  de099db0 c403ecdb 
0629
[  856.079484]  c438fe12 f600 f6acd800 0003 de099dc0 c403ed7f 0009 

[  856.079495]  de099dd0 c438fe12 c43e24c0 f600 de099df0 c43901d6 f6acd800 

[  856.079496] Call Trace:
[  856.079503]  [] dump_stack+0x41/0x59
[  856.079508]  [] warn_slowpath_common+0x6b/0xa0
[  856.079512]  [] ? drm_helper_choose_crtc_dpms+0x82/0x90
[  856.079517]  [] warn_slowpath_null+0xf/0x20
[  856.079522]  [] drm_helper_choose_crtc_dpms+0x82/0x90
[  856.079529]  [] ? radeon_crtc_mode_fixup+0x10/0x10
[  856.079534]  [] drm_helper_connector_dpms+0xd6/0xf0
[  856.079539]  [] radeon_suspend_kms+0x64/0x350
[  856.079544]  [] radeon_pmops_suspend+0x18/0x20
[  856.079549]  [] pci_pm_suspend+0x5d/0x130
[  856.079554]  [] ? pci_pm_freeze+0xc0/0xc0
[  856.079558]  [] dpm_run_callback+0x30/0x70
[  856.079563]  [] __device_suspend+0xd2/0x290
[  856.079568]  [] ? __lock_acquire.isra.24+0x3b1/0xca0
[  856.079573]  [] async_suspend+0x17/0x90
[  856.079578]  [] async_run_entry_fn+0x4f/0x140
[  856.079583]  [] process_one_work+0x15f/0x3a0
[  856.079587]  [] ? process_one_work+0x15f/0x3a0
[  856.079592]  [] ? process_one_work+0x109/0x3a0
[  856.079597]  [] worker_thread+0x39/0x430
[  856.079601]  [] ? process_one_work+0x3a0/0x3a0
[  856.079606]  [] kthread+0xae/0xd0
[  856.079613]  [] ret_from_kernel_thread+0x21/0x30
[  856.079619]  [] ? kthread_create_on_node+0x170/0x170
[  856.079622] ---[ end trace c98a514a441969f2 ]---
[  856.139794] sd 0:0:0:0: [sda] Stopping disk
[  856.160253] radeon :01:00.0: Refused to change power state, currently in 
D0
[  856.579987] PM: suspend of devices complete after 732.935 msecs
[  856.579

Re: 4.3-rc2 on radeon: new backtraces during resume

2015-09-23 Thread Alex Deucher
On Wed, Sep 23, 2015 at 7:51 AM, Pavel Machek  wrote:
> HI!
>
>
> I suspended T40p by mistake, and I got some lovely backtraces as a
> result:
>
> Any ideas?

Please see this thread:
https://lkml.org/lkml/2015/9/23/361

Alex

>
> Pavel
>
> [0.00] Initializing cgroup subsys cpu
> [0.00] Linux version 4.3.0-rc2+ (pavel@hobit) (gcc version 4.9.2 
> (Debian 4.9.2-10) ) #111 SMP Wed Sep 23 13:29:04 CEST 2015
> ...
> [  855.275406] PM: Syncing filesystems ... done.
> [  855.745355] PM: Preparing system for sleep (mem)
> [  855.830116] Freezing user space processes ... (elapsed 0.010 seconds) done.
> [  855.841061] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) 
> done.
> [  855.844739] PM: Suspending system (mem)
> [  855.844809] Suspending console(s) (use no_console_suspend to debug)
> [  856.054406] parport_pc 00:07: disabled
> [  856.055141] serial 00:06: disabled
> [  856.056458] serial 00:06: System wakeup disabled by ACPI
> [  856.058401] sd 0:0:0:0: [sda] Synchronizing SCSI cache
> [  856.059365] [ cut here ]
> [  856.059381] WARNING: CPU: 0 PID: 6609 at include/drm/drm_crtc.h:1577 
> drm_helper_choose_encoder_dpms+0x82/0x90()
> [  856.059384] Modules linked in:
> [  856.059391] CPU: 0 PID: 6609 Comm: kworker/u2:7 Not tainted 4.3.0-rc2+ #111
> [  856.059393] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 
> 10/13/2005
> [  856.059402] Workqueue: events_unbound async_run_entry_fn
> [  856.059416]    de099d94 c42b40a8  de099db0 
> c403ecdb 0629
> [  856.059427]  c438fd82 f6acd800 f585ee00 0003 de099dc0 c403ed7f 
> 0009 
> [  856.059437]  de099dd0 c438fd82 f585ee00 f600 de099df0 c4390132 
> f6acd800 
> [  856.059439] Call Trace:
> [  856.059450]  [] dump_stack+0x41/0x59
> [  856.059457]  [] warn_slowpath_common+0x6b/0xa0
> [  856.059462]  [] ? drm_helper_choose_encoder_dpms+0x82/0x90
> [  856.059467]  [] warn_slowpath_null+0xf/0x20
> [  856.059472]  [] drm_helper_choose_encoder_dpms+0x82/0x90
> [  856.059477]  [] drm_helper_connector_dpms+0x32/0xf0
> [  856.059485]  [] radeon_suspend_kms+0x64/0x350
> [  856.059491]  [] radeon_pmops_suspend+0x18/0x20
> [  856.059497]  [] pci_pm_suspend+0x5d/0x130
> [  856.059502]  [] ? pci_pm_freeze+0xc0/0xc0
> [  856.059509]  [] dpm_run_callback+0x30/0x70
> [  856.059514]  [] __device_suspend+0xd2/0x290
> [  856.059522]  [] ? __lock_acquire.isra.24+0x3b1/0xca0
> [  856.059526]  [] async_suspend+0x17/0x90
> [  856.059531]  [] async_run_entry_fn+0x4f/0x140
> [  856.059537]  [] process_one_work+0x15f/0x3a0
> [  856.059542]  [] ? process_one_work+0x15f/0x3a0
> [  856.059546]  [] ? process_one_work+0x109/0x3a0
> [  856.059551]  [] worker_thread+0x39/0x430
> [  856.059556]  [] ? process_one_work+0x3a0/0x3a0
> [  856.059562]  [] kthread+0xae/0xd0
> [  856.059572]  [] ret_from_kernel_thread+0x21/0x30
> [  856.059577]  [] ? kthread_create_on_node+0x170/0x170
> [  856.059581] ---[ end trace c98a514a441969f1 ]---
> [  856.079439] [ cut here ]
> [  856.079446] WARNING: CPU: 0 PID: 6609 at include/drm/drm_crtc.h:1577 
> drm_helper_choose_crtc_dpms+0x82/0x90()
> [  856.079449] Modules linked in:
> [  856.079454] CPU: 0 PID: 6609 Comm: kworker/u2:7 Tainted: GW   
> 4.3.0-rc2+ #111
> [  856.079457] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 
> 10/13/2005
> [  856.079462] Workqueue: events_unbound async_run_entry_fn
> [  856.079473]    de099d94 c42b40a8  de099db0 
> c403ecdb 0629
> [  856.079484]  c438fe12 f600 f6acd800 0003 de099dc0 c403ed7f 
> 0009 
> [  856.079495]  de099dd0 c438fe12 c43e24c0 f600 de099df0 c43901d6 
> f6acd800 
> [  856.079496] Call Trace:
> [  856.079503]  [] dump_stack+0x41/0x59
> [  856.079508]  [] warn_slowpath_common+0x6b/0xa0
> [  856.079512]  [] ? drm_helper_choose_crtc_dpms+0x82/0x90
> [  856.079517]  [] warn_slowpath_null+0xf/0x20
> [  856.079522]  [] drm_helper_choose_crtc_dpms+0x82/0x90
> [  856.079529]  [] ? radeon_crtc_mode_fixup+0x10/0x10
> [  856.079534]  [] drm_helper_connector_dpms+0xd6/0xf0
> [  856.079539]  [] radeon_suspend_kms+0x64/0x350
> [  856.079544]  [] radeon_pmops_suspend+0x18/0x20
> [  856.079549]  [] pci_pm_suspend+0x5d/0x130
> [  856.079554]  [] ? pci_pm_freeze+0xc0/0xc0
> [  856.079558]  [] dpm_run_callback+0x30/0x70
> [  856.079563]  [] __device_suspend+0xd2/0x290
> [  856.079568]  [] ? __lock_acquire.isra.24+0x3b1/0xca0
> [  856.079573]  [] async_suspend+0x17/0x90
> [  856.079578]  [] async_run_entry_fn+0x4f/0x140
> [  856.079583]  [] process_one_work+0x15f/0x3a0
> [  856.079587]  [] ? process_one_work+0x15f/0x3a0
> [  856.079592]  [] ? process_one_work+0x109/0x3a0
> [  856.079597]  [] worker_thread+0x39/0x430
> [  856.079601]  [] ? process_one_work+0x3a0/0x3a0
> [  856.079606]  [] kthread+0xae/0xd0
> [  856.079613]  [] ret_from_kernel_thread+0x2

Re: 4.3-rc2 on radeon: new backtraces during resume

2015-09-24 Thread Pavel Machek
On Wed 2015-09-23 11:26:18, Alex Deucher wrote:
> On Wed, Sep 23, 2015 at 7:51 AM, Pavel Machek  wrote:
> > HI!
> >
> >
> > I suspended T40p by mistake, and I got some lovely backtraces as a
> > result:
> >
> > Any ideas?
> 
> Please see this thread:
> https://lkml.org/lkml/2015/9/23/361

Yes, patch from that thread helped. Thanks!
Pavel


> > [0.00] Initializing cgroup subsys cpu
> > [0.00] Linux version 4.3.0-rc2+ (pavel@hobit) (gcc version 4.9.2 
> > (Debian 4.9.2-10) ) #111 SMP Wed Sep 23 13:29:04 CEST 2015
> > ...
> > [  855.275406] PM: Syncing filesystems ... done.
> > [  855.745355] PM: Preparing system for sleep (mem)
> > [  855.830116] Freezing user space processes ... (elapsed 0.010 seconds) 
> > done.
> > [  855.841061] Freezing remaining freezable tasks ... (elapsed 0.003 
> > seconds) done.
> > [  855.844739] PM: Suspending system (mem)
> > [  855.844809] Suspending console(s) (use no_console_suspend to debug)
> > [  856.054406] parport_pc 00:07: disabled
> > [  856.055141] serial 00:06: disabled
> > [  856.056458] serial 00:06: System wakeup disabled by ACPI
> > [  856.058401] sd 0:0:0:0: [sda] Synchronizing SCSI cache
> > [  856.059365] [ cut here ]
> > [  856.059381] WARNING: CPU: 0 PID: 6609 at include/drm/drm_crtc.h:1577 
> > drm_helper_choose_encoder_dpms+0x82/0x90()
> > [  856.059384] Modules linked in:
> > [  856.059391] CPU: 0 PID: 6609 Comm: kworker/u2:7 Not tainted 4.3.0-rc2+ 
> > #111
> > [  856.059393] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 
> > 10/13/2005
> > [  856.059402] Workqueue: events_unbound async_run_entry_fn
> > [  856.059416]    de099d94 c42b40a8  de099db0 
> > c403ecdb 0629
> > [  856.059427]  c438fd82 f6acd800 f585ee00 0003 de099dc0 c403ed7f 
> > 0009 
> > [  856.059437]  de099dd0 c438fd82 f585ee00 f600 de099df0 c4390132 
> > f6acd800 
> > [  856.059439] Call Trace:
> > [  856.059450]  [] dump_stack+0x41/0x59
> > [  856.059457]  [] warn_slowpath_common+0x6b/0xa0
> > [  856.059462]  [] ? drm_helper_choose_encoder_dpms+0x82/0x90
> > [  856.059467]  [] warn_slowpath_null+0xf/0x20
> > [  856.059472]  [] drm_helper_choose_encoder_dpms+0x82/0x90
> > [  856.059477]  [] drm_helper_connector_dpms+0x32/0xf0
> > [  856.059485]  [] radeon_suspend_kms+0x64/0x350
> > [  856.059491]  [] radeon_pmops_suspend+0x18/0x20
> > [  856.059497]  [] pci_pm_suspend+0x5d/0x130
> > [  856.059502]  [] ? pci_pm_freeze+0xc0/0xc0
> > [  856.059509]  [] dpm_run_callback+0x30/0x70
> > [  856.059514]  [] __device_suspend+0xd2/0x290
> > [  856.059522]  [] ? __lock_acquire.isra.24+0x3b1/0xca0
> > [  856.059526]  [] async_suspend+0x17/0x90
> > [  856.059531]  [] async_run_entry_fn+0x4f/0x140
> > [  856.059537]  [] process_one_work+0x15f/0x3a0
> > [  856.059542]  [] ? process_one_work+0x15f/0x3a0
> > [  856.059546]  [] ? process_one_work+0x109/0x3a0
> > [  856.059551]  [] worker_thread+0x39/0x430
> > [  856.059556]  [] ? process_one_work+0x3a0/0x3a0
> > [  856.059562]  [] kthread+0xae/0xd0
> > [  856.059572]  [] ret_from_kernel_thread+0x21/0x30
> > [  856.059577]  [] ? kthread_create_on_node+0x170/0x170
> > [  856.059581] ---[ end trace c98a514a441969f1 ]---
> > [  856.079439] [ cut here ]
> > [  856.079446] WARNING: CPU: 0 PID: 6609 at include/drm/drm_crtc.h:1577 
> > drm_helper_choose_crtc_dpms+0x82/0x90()
> > [  856.079449] Modules linked in:
> > [  856.079454] CPU: 0 PID: 6609 Comm: kworker/u2:7 Tainted: GW  
> >  4.3.0-rc2+ #111
> > [  856.079457] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 
> > 10/13/2005
> > [  856.079462] Workqueue: events_unbound async_run_entry_fn
> > [  856.079473]    de099d94 c42b40a8  de099db0 
> > c403ecdb 0629
> > [  856.079484]  c438fe12 f600 f6acd800 0003 de099dc0 c403ed7f 
> > 0009 
> > [  856.079495]  de099dd0 c438fe12 c43e24c0 f600 de099df0 c43901d6 
> > f6acd800 
> > [  856.079496] Call Trace:
> > [  856.079503]  [] dump_stack+0x41/0x59
> > [  856.079508]  [] warn_slowpath_common+0x6b/0xa0
> > [  856.079512]  [] ? drm_helper_choose_crtc_dpms+0x82/0x90
> > [  856.079517]  [] warn_slowpath_null+0xf/0x20
> > [  856.079522]  [] drm_helper_choose_crtc_dpms+0x82/0x90
> > [  856.079529]  [] ? radeon_crtc_mode_fixup+0x10/0x10
> > [  856.079534]  [] drm_helper_connector_dpms+0xd6/0xf0
> > [  856.079539]  [] radeon_suspend_kms+0x64/0x350
> > [  856.079544]  [] radeon_pmops_suspend+0x18/0x20
> > [  856.079549]  [] pci_pm_suspend+0x5d/0x130
> > [  856.079554]  [] ? pci_pm_freeze+0xc0/0xc0
> > [  856.079558]  [] dpm_run_callback+0x30/0x70
> > [  856.079563]  [] __device_suspend+0xd2/0x290
> > [  856.079568]  [] ? __lock_acquire.isra.24+0x3b1/0xca0
> > [  856.079573]  [] async_suspend+0x17/0x90
> > [  856.079578]  [] async_run_entry_fn+0x4f/0x140
> > [  856.079583]  [] process_one_work+0x15f/0x3a0