diff options
author | Alexander Graf <agraf@suse.de> | 2010-03-24 16:48:20 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:16:54 -0400 |
commit | 4b389ca2e733b986c5282690e4e0314f000e6228 (patch) | |
tree | ba9ad5948a68352c0ba68d7fc8fc010f4bbc7ec3 /arch/powerpc/include | |
parent | c8027f165228b4c62bad31609d5c9e98ddfb8ef6 (diff) |
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.h | 1 |
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 { | |||
44 | bool Ks; | 44 | bool Ks; |
45 | bool Kp; | 45 | bool Kp; |
46 | bool nx; | 46 | bool nx; |
47 | bool valid; | ||
47 | }; | 48 | }; |
48 | 49 | ||
49 | struct kvmppc_bat { | 50 | struct kvmppc_bat { |