]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: powernv: Populate cpuidle state details by querying the device-tree
authorPreeti U. Murthy <preeti@linux.vnet.ibm.com>
Tue, 14 Oct 2014 07:53:00 +0000 (13:23 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Oct 2014 22:58:58 +0000 (00:58 +0200)
commit4cabfae09f695b2eb3521b7a0278eb03043dadd8
treebbdcbd0339855a9dd08eb7d7b3794953b28fb135
parentcf707b7b48540e4559958bc7587fb506b5c80cc1
cpuidle: powernv: Populate cpuidle state details by querying the device-tree

We hard code the metrics relevant for cpuidle states in the kernel today.
Instead pick them up from the device tree so that they remain relevant
and updated for the system that the kernel is running on.

Signed-off-by: Preeti U. Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-powernv.c