aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPreeti U Murthy <[email protected]>2015-02-18 06:34:17 +0100
committerRafael J. Wysocki <[email protected]>2015-02-18 06:34:17 +0100
commit92c83ff5b42b109c94fdeee53cb31f674f776d75 (patch)
treee8ca5ef30cc1bd687496139d9905452798dde8c8 /lib/memory-notifier-error-inject.c
parent5177a94aea6fbffc897aaee29c7cde57f951b541 (diff)
cpuidle: powernv: Read target_residency value of idle states from DT if available
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, use better APIs to parse the powermgmt device tree node. Signed-off-by: Preeti U Murthy <[email protected]> Acked-by: Stewart Smith <[email protected]> Acked-by: Michael Ellerman <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions