KVM: arm64: Make __io_map_base static
authorQuentin Perret <qperret@google.com>
Wed, 8 Dec 2021 15:22:57 +0000 (15:22 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 15 Dec 2021 14:17:30 +0000 (14:17 +0000)
commit473a3efbafaa9ffd06c8b8f653f24c97b5ac3ff0
treeef093bfced53f12f66393752f2881ec6b38d9af3
parent53a563b01fa2ae2376a0b7d547f26a0ae9c78b5c
KVM: arm64: Make __io_map_base static

The __io_map_base variable is used at EL2 to track the end of the
hypervisor's "private" VA range in nVHE protected mode. However it
doesn't need to be used outside of mm.c, so let's make it static to keep
all the hyp VA allocation logic in one place.

Signed-off-by: Quentin Perret <qperret@google.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211208152300.2478542-5-qperret@google.com
arch/arm64/kvm/hyp/include/nvhe/mm.h
arch/arm64/kvm/hyp/nvhe/mm.c