KVM: PPC: Ensure split mode works
authorAlexander Graf <agraf@suse.de>
Wed, 24 Mar 2010 20:48:17 +0000 (21:48 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:49 +0000 (12:16 +0300)
commit3eeafd7da2b0293b512abe95c86843fc4ab42add
treeccbf875d5c4c069156ed2244acca157b475e8c89
parent8a5416db832895b84b85ad0bcbb11d1cce0d3d37
KVM: PPC: Ensure split mode works

On PowerPC we can go into MMU Split Mode. That means that either
data relocation is on but instruction relocation is off or vice
versa.

That mode didn't work properly, as we weren't always flushing
entries when going into a new split mode, potentially mapping
different code or data that we're supposed to.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/kvm/book3s.c