summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-03-24 21:48:20 +0100
committerAvi Kivity <avi@redhat.com>2010-05-17 12:16:54 +0300
commit4b389ca2e733b986c5282690e4e0314f000e6228 (patch)
treeba9ad5948a68352c0ba68d7fc8fc010f4bbc7ec3 /arch/powerpc/include
parentc8027f165228b4c62bad31609d5c9e98ddfb8ef6 (diff)
downloadlinux-4b389ca2e733b986c5282690e4e0314f000e6228.tar.gz
linux-4b389ca2e733b986c5282690e4e0314f000e6228.tar.bz2
linux-4b389ca2e733b986c5282690e4e0314f000e6228.zip
KVM: PPC: Book3S_32 guest MMU fixes
This patch makes the VSID of mapped pages always reflecting all special cases we have, like split mode. It also changes the tlbie mask to 0x0ffff000 according to the spec. The mask we used before was incorrect. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/kvm_book3s.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s.h b/arch/powerpc/include/asm/kvm_book3s.h
index 9f5a9921927e..b47b2f516eff 100644
--- a/arch/powerpc/include/asm/kvm_book3s.h
+++ b/arch/powerpc/include/asm/kvm_book3s.h
@@ -44,6 +44,7 @@ struct kvmppc_sr {
bool Ks;
bool Kp;
bool nx;
+ bool valid;
};
struct kvmppc_bat {