Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Aneesh Kumar K.V 000a42b35a powerpc/book3s64/keys/kuap: Reset AMR/IAMR values on kexec
As we kexec across kernels that use AMR/IAMR for different purposes
we need to ensure that new kernels get kexec'd with a reset value
of AMR/IAMR. For ex: the new kernel can use key 0 for kernel mapping and the old
AMR value prevents access to key 0.

This patch also removes reset if IAMR and AMOR in kexec_sequence. Reset of AMOR
is not needed and the IAMR reset is partial (it doesn't do the reset
on secondary cpus) and is redundant with this patch.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200709032946.881753-19-aneesh.kumar@linux.ibm.com
2020-07-20 22:57:59 +10:00
..
2020-05-14 16:44:25 +02:00
2020-03-10 15:16:42 +11:00
2019-08-30 09:52:57 +10:00
2020-07-20 22:57:56 +10:00
2020-05-26 23:36:57 +10:00
2020-07-18 22:43:55 +10:00
2020-05-26 23:36:51 +10:00
2020-07-16 13:12:47 +10:00