lkml.org 
[lkml]   [2018]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] powernv/cpuidle Device-tree parsing cleanup
Date
Device-tree parsed multiple time in powernv cpuidle and powernv
hotplug code.

First to identify supported flags, secondly, to identify deepest_state
and first deep state, Thirdly , during cpudidle init to find the available
idle states. Any change in device-tree format will lead to make changes in
these 3 places.

This series adds code to parse device tree once and save in global structure.

Akshay Adiga (3):
powernv/cpuidle: Parse dt idle properties into global structure
cpuidle/powernv: Change platform init to avoid reparsing dt
powernv/cpuidle: Use parsed device tree values for cpuidle_init

arch/powerpc/include/asm/cpuidle.h | 16 +++
arch/powerpc/platforms/powernv/idle.c | 214 +++++++++++++++++++++-------------
drivers/cpuidle/cpuidle-powernv.c | 49 +++++---
3 files changed, 182 insertions(+), 97 deletions(-)

--
2.5.5

\
 
 \ /
  Last update: 2018-06-19 07:05    [W:1.877 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site