summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/kvm_book3s.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-03-24 20:48:20 (GMT)
committerAvi Kivity <avi@redhat.com>2010-05-17 09:16:54 (GMT)
commit4b389ca2e733b986c5282690e4e0314f000e6228 (patch)
treeba9ad5948a68352c0ba68d7fc8fc010f4bbc7ec3 /arch/powerpc/include/asm/kvm_book3s.h
parentc8027f165228b4c62bad31609d5c9e98ddfb8ef6 (diff)
downloadlinux-fsl-qoriq-4b389ca2e733b986c5282690e4e0314f000e6228.tar.xz
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/asm/kvm_book3s.h')
-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 9f5a992..b47b2f5 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 {