cpuidle/powernv: Add "Fast-Sleep" CPU idle state
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>
Wed, 26 Feb 2014 00:09:06 +0000 (05:39 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Mar 2014 04:57:04 +0000 (15:57 +1100)
commit0d94873011a10cea78d1bc0ba8cfc4203559d534
tree852cdaaf289b4c80b80f908fd459d161d12721a8
parent97eb001f03494758a938300908b88929163650ce
cpuidle/powernv: Add "Fast-Sleep" CPU idle state

Fast sleep is one of the deep idle states on Power8 in which local timers of
CPUs stop. On PowerPC we do not have an external clock device which can
handle wakeup of such CPUs. Now that we have the support in the tick broadcast
framework for archs that do not sport such a device and the low level support
for fast sleep, enable it in the cpuidle framework on PowerNV.

Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/time.c
drivers/cpuidle/cpuidle-powernv.c