arm64: Rename the VHE switch to "finalise_el2"
authorMarc Zyngier <maz@kernel.org>
Thu, 30 Jun 2022 16:04:52 +0000 (17:04 +0100)
committerWill Deacon <will@kernel.org>
Fri, 1 Jul 2022 14:22:51 +0000 (15:22 +0100)
commit7ddb0c3df7881206dcd8339c8dabf0318a781f91
tree82ea80b87079b7e6e211fc93577f2e8e8a681744
parent0aaa68532e9da5cd6b1383e1535a5526253e359f
arm64: Rename the VHE switch to "finalise_el2"

as we are about to perform a lot more in 'mutate_to_vhe' than
we currently do, this function really becomes the point where
we finalise the basic EL2 configuration.

Reflect this into the code by renaming a bunch of things:
- HVC_VHE_RESTART -> HVC_FINALISE_EL2
- switch_to_vhe --> finalise_el2
- mutate_to_vhe -> __finalise_el2

No functional changes.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220630160500.1536744-2-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/virt/kvm/arm/hyp-abi.rst
arch/arm64/include/asm/virt.h
arch/arm64/kernel/head.S
arch/arm64/kernel/hyp-stub.S
arch/arm64/kernel/sleep.S