summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2017-01-30 11:21:44 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2017-01-31 09:11:48 +0100
commit9e04ba69beec372ddf857c700ff922e95f50b0d0 (patch)
treea2e50cc6724c65cc1113382c0ac9dee6729c2113 /arch/powerpc/kvm/Makefile
parentKVM: PPC: Book3S HV: Use ASDR for HPT guests on POWER9 (diff)
downloadlinux-9e04ba69beec372ddf857c700ff922e95f50b0d0.tar.xz
linux-9e04ba69beec372ddf857c700ff922e95f50b0d0.zip
KVM: PPC: Book3S HV: Add basic infrastructure for radix guests
This adds a field in struct kvm_arch and an inline helper to indicate whether a guest is a radix guest or not, plus a new file to contain the radix MMU code, which currently contains just a translate function which knows how to traverse the guest page tables to translate an address. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/Makefile')
-rw-r--r--arch/powerpc/kvm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile
index 7dd89b79d038..b87ccde2137a 100644
--- a/arch/powerpc/kvm/Makefile
+++ b/arch/powerpc/kvm/Makefile
@@ -70,7 +70,8 @@ endif
kvm-hv-y += \
book3s_hv.o \
book3s_hv_interrupts.o \
- book3s_64_mmu_hv.o
+ book3s_64_mmu_hv.o \
+ book3s_64_mmu_radix.o
kvm-book3s_64-builtin-xics-objs-$(CONFIG_KVM_XICS) := \
book3s_hv_rm_xics.o