]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d25b36fa699122fbf198044bf49860e9650a493
tree48ac3c005bd16b76e5e62a7e039d0657b80d54d7
parentb1f25bde299d05be0c38dbbfad57ad3ee762f1c5
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