summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/book3s/64/mmu.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2020-11-27 07:44:04 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-03 17:01:24 +0300
commit9f378b9f007cc94beadea40df83cc62a76975c6f (patch)
tree07cd1b43acca428591f535d79d04b2b2efaf67bc /arch/powerpc/include/asm/book3s/64/mmu.h
parentc3d35ddd1ec874690a4e8da5a18497256f1ffa9a (diff)
downloadlinux-9f378b9f007cc94beadea40df83cc62a76975c6f.tar.xz
KVM: PPC: BOOK3S: PR: Ignore UAMOR SPR
With power7 and above we expect the cpu to support keys. The number of keys are firmware controlled based on device tree. PR KVM do not expose key details via device tree. Hence when running with PR KVM we do run with MMU_FTR_KEY support disabled. But we can still get updates on UAMOR. Hence ignore access to them and for mfstpr return 0 indicating no AMR/IAMR update is no allowed. 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/20201127044424.40686-3-aneesh.kumar@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/book3s/64/mmu.h')
0 files changed, 0 insertions, 0 deletions