]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: E500: Fix clear_tlb_refs
authorAlexander Graf <agraf@suse.de>
Thu, 2 Aug 2012 11:38:49 +0000 (13:38 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 14 Sep 2012 14:25:00 +0000 (16:25 +0200)
commite6985a3e17033af5caab33840e1ca21a824a940d
tree851feded77c2580a5d1d1206910ba0154ca5c86f
parent2875aa51a9abbb4738e81ef1b0664743103304b3
KVM: PPC: E500: Fix clear_tlb_refs

Our mapping code assumes that TLB0 entries are always mapped. However, after
calling clear_tlb_refs() this is no longer the case.

Map them dynamically if we find an entry unmapped in TLB0.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_tlb.c