lkml.org 
[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] PM: Introduce core framework for run-time PM of I/O devices (rev. 3)
Date
On Tuesday 23 June 2009, Rafael J. Wysocki wrote:
> Hi,
>
> Below is a new revision of the patch introducing the run-time PM framework.
>
> The most visible changes from the last version:
>
> * I realized that if child_count is atomic, we can drop the parent locking from
> all of the functions, so I did that.
>
> * Introduced pm_runtime_put() that decrements the resume counter and queues
> up an idle notification if the counter went down to 0 (and wasn't 0 previously).
> Using asynchronous notification makes it possible to call pm_runtime_put()
> from interrupt context, if necessary.
>
> * Changed the meaning of the RPM_WAKE bit slightly (it is now also used for
> disabling run-time PM for a device along with the resume counter).
>
> Please let me know if I've overlooked anything. :-)

Well, I found quite a few problems myself, mostly related to disabling-enabling
of the run-time PM and to RPM_WAKE.

Updated patch will be sent out later today.

Best,
Rafael


\
 
 \ /
  Last update: 2009-06-23 19:01    [W:0.113 / U:58.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site