diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-01-30 21:21:44 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-31 19:11:48 +1100 |
commit | 9e04ba69beec372ddf857c700ff922e95f50b0d0 (patch) | |
tree | a2e50cc6724c65cc1113382c0ac9dee6729c2113 /arch/powerpc/kvm/Makefile | |
parent | ef8c640cb9cc865a461827b698fcc55b0ecaa600 (diff) | |
download | linux-stable-9e04ba69beec372ddf857c700ff922e95f50b0d0.tar.gz linux-stable-9e04ba69beec372ddf857c700ff922e95f50b0d0.tar.bz2 linux-stable-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/Makefile | 3 |
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 |