]> 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)
commitab0aec03ff4142f9430dd2d04555220a5baa283a
treebbdcbd0339855a9dd08eb7d7b3794953b28fb135
parent794664fc5e82534aa444b079f807e339c4d8d9b5
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