KVM: arm64: Elide kern_hyp_va() in VHE-specific parts of the hypervisor
authorMarc Zyngier <maz@kernel.org>
Thu, 30 Mar 2023 17:47:52 +0000 (18:47 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 30 Mar 2023 18:01:10 +0000 (19:01 +0100)
commit1a6511eb8430533920559c5f01f487f4901081cd
tree14070534b2381e95c4239d0d484dcc942aab9d55
parent8a5eb2d210807e7dbe9ece7075533014cf4b9c27
KVM: arm64: Elide kern_hyp_va() in VHE-specific parts of the hypervisor

For VHE-specific hypervisor code, kern_hyp_va() is a NOP.

Actually, it is a whole range of NOPs. It'd be much better if
this code simply didn't exist. Let's just do that.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230330174800.2677007-13-maz@kernel.org
arch/arm64/include/asm/kvm_mmu.h