aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAkshay Adiga <[email protected]>2018-07-05 17:10:21 +0530
committerMichael Ellerman <[email protected]>2018-07-31 19:56:44 +1000
commit9c7b185ab2fe313b4426bf55da3624bef71f342b (patch)
tree60a19672ec4a83fcfab6cc08231936f9b6e3087c /tools/perf/scripts/python
parent6edc22fc9cbb80fdf929df3e5b912d8c42e0ff3a (diff)
powernv/cpuidle: Parse dt idle properties into global structure
Device-tree parsing happens twice, once while deciding idle state to be used for hotplug and once during cpuidle init. Hence, parsing the device tree and caching it will reduce code duplication. Parsing code has been moved to pnv_parse_cpuidle_dt() from pnv_probe_idle_states(). In addition to the properties in the device tree the number of available states is also required. Signed-off-by: Akshay Adiga <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions