]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: E500: Remove kvmppc_e500_tlbil_all usage from guest TLB code
authorAlexander Graf <agraf@suse.de>
Fri, 18 Jan 2013 14:22:08 +0000 (15:22 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 24 Jan 2013 18:23:34 +0000 (19:23 +0100)
commitb9e3e208935e95ad62bd1b1bc4408c23a9ae3ada
treebf4a382587e89773895e47be25a76b4126eda6dc
parent483ba97c0fafaade3a0ee61217ca5123b0d85c03
KVM: PPC: E500: Remove kvmppc_e500_tlbil_all usage from guest TLB code

The guest TLB handling code should not have any insight into how the host
TLB shadow code works.

kvmppc_e500_tlbil_all() is a function that is used for distinction between
e500v2 and e500mc (E.HV) on how to flush shadow entries. This function really
is private between the e500.c/e500mc.c file and e500_mmu_host.c.

Instead of this one, use the public kvmppc_core_flush_tlb() function to flush
all shadow TLB entries. As a nice side effect, with this we also end up
flushing TLB1 entries which we forgot to do before.

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