diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-04-03 19:37:55 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 07:49:29 -0700 |
commit | 6bebcecb6c5bf65cde18739a4fe57af25c179e44 (patch) | |
tree | bfb19775358775f0c407268572006dfc5370cdda /arch/arm/kvm/init.S | |
parent | 5d224aa7d40f6dd79037fd0647eb9eb5e7aaa915 (diff) | |
download | lwn-6bebcecb6c5bf65cde18739a4fe57af25c179e44.tar.gz lwn-6bebcecb6c5bf65cde18739a4fe57af25c179e44.zip |
ARM: KVM: Allow the main HYP code to use the init hyp stub implementation
We now have a full hyp-stub implementation in the KVM init code,
but the main KVM code only supports HVC_GET_VECTORS, which is not
enough.
Instead of reinventing the wheel, let's reuse the init implementation
by branching to the idmap page when called with a hyp-stub hypercall.
Tested-by: Keerthy <j-keerthy@ti.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
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>
Diffstat (limited to 'arch/arm/kvm/init.S')
0 files changed, 0 insertions, 0 deletions