]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Implement HVC_RESET_VECTORS stub hypercall in the init code
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Apr 2017 18:37:40 +0000 (19:37 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:20 +0000 (07:49 -0700)
commit9ba161d46f892928bf9465562d68b3c0c28b7053
tree21261ca8c806abcbb1081eb06860b294652a623e
parent9656239afb9082c997b70de5f5a4c94ac0beda03
arm64: KVM: Implement HVC_RESET_VECTORS stub hypercall in the init code

In order to restore HYP mode to its original condition, KVM currently
implements __kvm_hyp_reset(). As we're moving towards a hyp-stub
defined API, it becomes necessary to implement HVC_RESET_VECTORS.

This patch adds the HVC_RESET_VECTORS hypercall to the KVM init
code, which so far lacked any form of hypercall support.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: James Morse <james.morse@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