KVM: arm64: Use TTL hint in when invalidating stage-2 translations
authorMarc Zyngier <maz@kernel.org>
Wed, 2 Jan 2019 12:34:25 +0000 (12:34 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 7 Jul 2020 08:28:37 +0000 (09:28 +0100)
commitefaa5b93afde088411b67a0dde34e67aedc6e72f
tree5f160be703849abc5a12dba27dfa05ae758ffffe
parenta0e50aa3f4a8a5c9fb791b8f32d624e2a1a735bd
KVM: arm64: Use TTL hint in when invalidating stage-2 translations

Since we often have a precise idea of the level we're dealing with
when invalidating TLBs, we can provide it to as a hint to our
invalidation helper.

Reviewed-by: James Morse <james.morse@arm.com>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/hyp/nvhe/tlb.c
arch/arm64/kvm/hyp/vhe/tlb.c
arch/arm64/kvm/mmu.c