diff options
author | Alexander Graf <agraf@suse.de> | 2012-08-10 13:23:55 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-05 23:38:43 +0200 |
commit | 9b0cb3c808fef0d75d6f79ab9684246e6879f9c1 (patch) | |
tree | dc42b6ff5c6e1d9adf853934b51d52c143a14e60 /arch/powerpc/kvm/book3s_mmu_hpte.c | |
parent | KVM: PPC: Use same kvmppc_prepare_to_enter code for booke and book3s_pr (diff) | |
download | linux-9b0cb3c808fef0d75d6f79ab9684246e6879f9c1.tar.xz linux-9b0cb3c808fef0d75d6f79ab9684246e6879f9c1.zip |
KVM: PPC: Book3s: PR: Add (dumb) MMU Notifier support
Now that we have very simple MMU Notifier support for e500 in place,
also add the same simple support to book3s. It gets us one step closer
to actual fast support.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/book3s_mmu_hpte.c')
-rw-r--r-- | arch/powerpc/kvm/book3s_mmu_hpte.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kvm/book3s_mmu_hpte.c b/arch/powerpc/kvm/book3s_mmu_hpte.c index 41cb0017e757..2c86b0d63714 100644 --- a/arch/powerpc/kvm/book3s_mmu_hpte.c +++ b/arch/powerpc/kvm/book3s_mmu_hpte.c @@ -114,11 +114,6 @@ static void invalidate_pte(struct kvm_vcpu *vcpu, struct hpte_cache *pte) hlist_del_init_rcu(&pte->list_vpte); hlist_del_init_rcu(&pte->list_vpte_long); - if (pte->pte.may_write) - kvm_release_pfn_dirty(pte->pfn); - else - kvm_release_pfn_clean(pte->pfn); - spin_unlock(&vcpu3s->mmu_lock); vcpu3s->hpte_cache_count--; |