arm64: KVM: Implement HVC_SOFT_RESTART in the init code
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Apr 2017 18:37:44 +0000 (19:37 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:23 +0000 (07:49 -0700)
commit506c372ac41dc0c7c1f50f718a8a53cb0748ea96
tree768216dce16659e5c92afb8c107e59ea3517a295
parent4adb1341c7ef68af54732ef11f69faedffa6acb7
arm64: KVM: Implement HVC_SOFT_RESTART in the init code

Another missing stub hypercall is HVC_SOFT_RESTART. It turns out
that it is pretty easy to implement in terms of HVC_RESET_VECTORS
(since it needs to turn the MMU off).

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm64/kvm/hyp-init.S