KVM: arm64: Duplicate hyp/tlb.c for VHE/nVHE
authorDavid Brazdil <dbrazdil@google.com>
Thu, 25 Jun 2020 13:14:13 +0000 (14:14 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 5 Jul 2020 17:38:17 +0000 (18:38 +0100)
commite03fa29164ec1db1a81dc0168d0017a9e0366c7c
tree8d8081dd9cc6b4189c1607f18d155e79e302f55d
parent208243c752a7eeef4236f7b7d67e806ee356e3f8
KVM: arm64: Duplicate hyp/tlb.c for VHE/nVHE

tlb.c contains code for flushing the TLB, with code shared between VHE/nVHE.
Because common code is small, duplicate tlb.c and specialize each copy for
VHE/nVHE.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200625131420.71444-9-dbrazdil@google.com
arch/arm64/kernel/image-vars.h
arch/arm64/kvm/hyp/Makefile
arch/arm64/kvm/hyp/nvhe/Makefile
arch/arm64/kvm/hyp/nvhe/tlb.c [new file with mode: 0644]
arch/arm64/kvm/hyp/tlb.c [deleted file]
arch/arm64/kvm/hyp/vhe/Makefile
arch/arm64/kvm/hyp/vhe/tlb.c [new file with mode: 0644]