[V2] cpuidle/powernv: Read target_residency value of idle states from DT if available

Michael Ellerman mpe at ellerman.id.au
Fri Jan 30 14:56:52 AEDT 2015


On Wed, 2015-28-01 at 02:13:06 UTC, Preeti U Murthy wrote:
> The device tree now exposes the residency values for different idle states. Read
> these values instead of calculating residency from the latency values. The values
> exposed in the DT are validated for optimal power efficiency. However to maintain
> compatibility with the older firmware code which does not expose residency
> values, use default values as a fallback mechanism. While at it, handle some
> cleanups.
> 
> Signed-off-by: Preeti U Murthy <preeti at linux.vnet.ibm.com>
> Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>

This looks good to me.

Acked-by: Michael Ellerman <mpe at ellerman.id.au>

I'm assuming Rafael will take it.

cheers


More information about the Linuxppc-dev mailing list