lkml.org 
[lkml]   [2014]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v4 0/5] Enabling the asynchronous threads for other phases
Date
Hello Rafael,

> -----Original Message-----
> From: Liu, Chuansheng
> Sent: Tuesday, February 18, 2014 10:29 AM
> To: rjw@rjwysocki.net; gregkh@linuxfoundation.org; Brown, Len;
> pavel@ucw.cz
> Cc: linux-pm@vger.kernel.org; linux-kernel@vger.kernel.org; Li, Zhuangzhi; Liu,
> Chuansheng
> Subject: [PATCH v4 0/5] Enabling the asynchronous threads for other phases
>
> Hello,
>
> This patch series are for enabling the asynchronous threads for the phases
> resume_noirq, resume_early, suspend_noirq and suspend_late.
>

After dig more about async threads, I found dpm_prepare/complete phases need
them also.

dpm_prepare()
-- > call pci_pm_prepare() one by one
-- > call pm_runtime_resume() one by one
-- > call pci_set_power_state to D3HOT -- > D0

It will cause much time delaying due to d3_delay.
And I made one draft patch to implement the asynchronous threads for dpm_prepare(),
it is really save much time.

If you like it, I can prepare another series patches for dpm_prepare() and dpm_complete(),
thanks.

Best Regards,


\
 
 \ /
  Last update: 2014-02-21 03:21    [W:0.087 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site