lkml.org 
[lkml]   [2012]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 3/3] PM / Runtime: Add may_power_off flag to subsys data
From
On Fri, Mar 30, 2012 at 1:49 PM, Len Brown <lenb@kernel.org> wrote:
> Why?

1) To support something like pm-qos. power off device may have more
exit.latency than normal low power state (such as D3Hot). Some device
may disable may_power_off based on that. It can be used to implement
the logic like, only power off SSD, not HDD.

2) Whether to go to power off should be determined by leaf device
(such as SATA disk), but that may be done by its parent device (such
as SATA port). It's a way for leaf device to tell its parent device
whether it want to go to power off.

Best Regards,
Huang Ying


\
 
 \ /
  Last update: 2012-03-30 09:51    [W:0.076 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site