OSDN Git Service

KVM: PPC: Book3S PR: Add emulation for slbfee. instruction
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 4 Feb 2019 08:06:18 +0000 (19:06 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 19 Feb 2019 03:25:52 +0000 (14:25 +1100)
commit41a8645ab1c3c37f96955fec3360e123dc06abcd
tree7030f6d35acb66059c8096be7447fa7404579566
parentd13937116f1e82bf508a6325111b322c30c85eb9
KVM: PPC: Book3S PR: Add emulation for slbfee. instruction

Recent kernels, since commit e15a4fea4dee ("powerpc/64s/hash: Add
some SLB debugging tests", 2018-10-03) use the slbfee. instruction,
which PR KVM currently does not have code to emulate.  Consequently
recent kernels fail to boot under PR KVM.  This adds emulation of
slbfee., enabling these kernels to boot successfully.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/book3s_32_mmu.c
arch/powerpc/kvm/book3s_64_mmu.c
arch/powerpc/kvm/book3s_emulate.c