diff options
author | Marc Zyngier <maz@kernel.org> | 2021-02-08 10:57:27 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-09 14:50:57 +0100 |
commit | 166cc2a4be0d80075d379b30d3e84895c878a1a8 (patch) | |
tree | 16aaea892e30a8f5c2def32500c7ed1eb2565e46 /Documentation/virt | |
parent | arm64: Make kvm-arm.mode={nvhe, protected} an alias of id_aa64mmfr1.vh=0 (diff) | |
download | linux-166cc2a4be0d80075d379b30d3e84895c878a1a8.tar.xz linux-166cc2a4be0d80075d379b30d3e84895c878a1a8.zip |
KVM: arm64: Document HVC_VHE_RESTART stub hypercall
For completeness, let's document the HVC_VHE_RESTART stub.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: David Brazdil <dbrazdil@google.com>
Link: https://lore.kernel.org/r/20210208095732.3267263-19-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/virt')
-rw-r--r-- | Documentation/virt/kvm/arm/hyp-abi.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/virt/kvm/arm/hyp-abi.rst b/Documentation/virt/kvm/arm/hyp-abi.rst index 83cadd8186fa..4d43fbc25195 100644 --- a/Documentation/virt/kvm/arm/hyp-abi.rst +++ b/Documentation/virt/kvm/arm/hyp-abi.rst @@ -58,6 +58,15 @@ these functions (see arch/arm{,64}/include/asm/virt.h): into place (arm64 only), and jump to the restart address while at HYP/EL2. This hypercall is not expected to return to its caller. +* :: + + x0 = HVC_VHE_RESTART (arm64 only) + + Attempt to upgrade the kernel's exception level from EL1 to EL2 by enabling + the VHE mode. This is conditioned by the CPU supporting VHE, the EL2 MMU + being off, and VHE not being disabled by any other means (command line + option, for example). + Any other value of r0/x0 triggers a hypervisor-specific handling, which is not documented here. |