powerpc/powernv/idle: Restore AMR/UAMOR/AMOR after idle
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Apr 2019 06:51:17 +0000 (16:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Apr 2019 13:05:54 +0000 (23:05 +1000)
commit53a712bae5dd919521a58d7bad773b949358add0
tree778f86e885b1772263403c7384fb23b6efc13301
parenta3f3072db6cad40895c585dce65e36aab997f042
powerpc/powernv/idle: Restore AMR/UAMOR/AMOR after idle

In order to implement KUAP (Kernel Userspace Access Protection) on
Power9 we will be using the AMR, and therefore indirectly the
UAMOR/AMOR.

So save/restore these regs in the idle code.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/idle_book3s.S