powerpc/powernv: Use deepest stop state when cpu is offlined
authorShreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Fri, 8 Jul 2016 06:20:53 +0000 (11:50 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 15 Jul 2016 10:18:42 +0000 (20:18 +1000)
commitc0691f9dd2066087524d2b4498c0c9331f26dcd5
tree9e6118afab0c2abeffee5574480c98d9ee25f0f1
parent3005c597ba46480b42e1fea3512c408f1830b816
powerpc/powernv: Use deepest stop state when cpu is offlined

If hardware supports stop state, use the deepest stop state when
the cpu is offlined.

Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/idle.c
arch/powerpc/platforms/powernv/powernv.h
arch/powerpc/platforms/powernv/smp.c