KVM: arm64: pkvm: Stub io map functions
authorQuentin Perret <qperret@google.com>
Wed, 8 Dec 2021 15:22:58 +0000 (15:22 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 15 Dec 2021 14:17:31 +0000 (14:17 +0000)
commitbff01cb6b1bf68052739eb6155132f7d6d974208
tree48ac3c005bd16b76e5e62a7e039d0657b80d54d7
parent473a3efbafaa9ffd06c8b8f653f24c97b5ac3ff0
KVM: arm64: pkvm: Stub io map functions

Now that GICv2 is disabled in nVHE protected mode there should be no
other reason for the host to use create_hyp_io_mappings() or
kvm_phys_addr_ioremap(). Add sanity checks to make sure that assumption
remains true looking forward.

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-6-qperret@google.com
arch/arm64/kvm/mmu.c