]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb21ed322d920d837f2e508447beb23ba53444003
treeb495bca7b82339c8ef10f0e2c729a724d0961f45
parentc549548cb0ec9d44110a1b4676a0e26a917bc601
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