linux_dsm_epyc7002/arch/powerpc/kexec
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
..
core_32.c powerpc/kexec: Move kexec files into a dedicated subdir. 2019-11-21 15:41:34 +11:00
core_64.c powerpc/book3s64/keys/kuap: Reset AMR/IAMR values on kexec 2020-07-20 22:57:59 +10:00
core.c powerpc/crashkernel: Take "mem=" option into account 2020-06-02 20:59:05 +10:00
crash.c powerpc/crash: Use NMI context for printk when starting to crash 2020-06-02 20:59:07 +10:00
elf_64.c powerpc/kexec: Move kexec files into a dedicated subdir. 2019-11-21 15:41:34 +11:00
file_load.c powerpc/kexec: Move kexec files into a dedicated subdir. 2019-11-21 15:41:34 +11:00
ima.c powerpc/kexec: Move kexec files into a dedicated subdir. 2019-11-21 15:41:34 +11:00
Makefile powerpc: Make setjmp/longjmp signature standard 2020-04-01 14:30:51 +11:00
relocate_32.S powerpc/kexec: Move kexec files into a dedicated subdir. 2019-11-21 15:41:34 +11:00