]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc855d7c0f2327163ae258192f63d9b1b09f19b21
tree5f160be703849abc5a12dba27dfa05ae758ffffe
parent6f634f47be56b1ac77d89932a4edb34d80119ad1
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