powerpc/powernv: abstraction for saving SPRs before entering deep idle states
authorShreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Fri, 8 Jul 2016 06:20:48 +0000 (11:50 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 15 Jul 2016 10:18:40 +0000 (20:18 +1000)
commit0dfffb48cecd8f84c6e649baee9bacd9be925734
treeb495bca7b82339c8ef10f0e2c729a724d0961f45
parent4eae2c9ae54a5ef3ca32370e3b28a6f83c61401f
powerpc/powernv: abstraction for saving SPRs before entering deep idle states

Create a function for saving SPRs before entering deep idle states.
This function can be reused for POWER9 deep idle states.

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/kernel/idle_book3s.S