commit | 53a712bae5dd919521a58d7bad773b949358add0 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Thu Apr 18 16:51:17 2019 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun Apr 21 23:05:54 2019 +1000 |
tree | 778f86e885b1772263403c7384fb23b6efc13301 | |
parent | a3f3072db6cad40895c585dce65e36aab997f042 [diff] |
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>