Re: [PATCH v3 3/3] PM / Runtime: Add may_power_off flag to subsys data
From: huang ying
Date: Fri Mar 30 2012 - 03:49:09 EST
On Fri, Mar 30, 2012 at 1:49 PM, Len Brown <lenb@xxxxxxxxxx> wrote:
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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/