]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1f25bde299d05be0c38dbbfad57ad3ee762f1c5
treeef093bfced53f12f66393752f2881ec6b38d9af3
parent9bdad71d2fbfef377679939024a29c3f75191515
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