ARM: KVM: change kvm_tlb_flush_vmid to kvm_tlb_flush_vmid_ipa
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 28 Jan 2013 15:27:00 +0000 (15:27 +0000)
committerChristoffer Dall <cdall@cs.columbia.edu>
Wed, 6 Mar 2013 23:48:45 +0000 (15:48 -0800)
commit48762767e1c150d58c250650f8202b7d4ad65ec4
tree38ae7af86d7e84a6497121eda2991bedfb442f6a
parent06fe0b73ff17e5d777af1b26f3e227d79c0d6808
ARM: KVM: change kvm_tlb_flush_vmid to kvm_tlb_flush_vmid_ipa

v8 is capable of invalidating Stage-2 by IPA, but v7 is not.
Change kvm_tlb_flush_vmid() to take an IPA parameter, which is
then ignored by the invalidation code (and nuke the whole TLB
as it always did).

This allows v8 to implement a more optimized strategy.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_asm.h
arch/arm/kvm/interrupts.S
arch/arm/kvm/mmu.c