diff options
author | Marc Zyngier <maz@kernel.org> | 2022-06-30 17:04:52 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-07-01 15:22:51 +0100 |
commit | 7ddb0c3df7881206dcd8339c8dabf0318a781f91 (patch) | |
tree | 82ea80b87079b7e6e211fc93577f2e8e8a681744 /arch/arm64/include/asm/virt.h | |
parent | 0aaa68532e9da5cd6b1383e1535a5526253e359f (diff) | |
download | linux-stable-7ddb0c3df7881206dcd8339c8dabf0318a781f91.tar.gz linux-stable-7ddb0c3df7881206dcd8339c8dabf0318a781f91.tar.bz2 linux-stable-7ddb0c3df7881206dcd8339c8dabf0318a781f91.zip |
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>
Diffstat (limited to 'arch/arm64/include/asm/virt.h')
-rw-r--r-- | arch/arm64/include/asm/virt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/virt.h b/arch/arm64/include/asm/virt.h index 0e80db4327b6..dec6eee0eda5 100644 --- a/arch/arm64/include/asm/virt.h +++ b/arch/arm64/include/asm/virt.h @@ -36,9 +36,9 @@ #define HVC_RESET_VECTORS 2 /* - * HVC_VHE_RESTART - Upgrade the CPU from EL1 to EL2, if possible + * HVC_FINALISE_EL2 - Upgrade the CPU from EL1 to EL2, if possible */ -#define HVC_VHE_RESTART 3 +#define HVC_FINALISE_EL2 3 /* Max number of HYP stub hypercalls */ #define HVC_STUB_HCALL_NR 4 |