Thread (44 messages) 44 messages, 6 authors, 2017-03-21
STALE3409d REVIEWED: 3 (3M)

[PATCH v3 04/25] arm64: KVM: Allow the main HYP code to use the init hyp stub implementation

From: james.morse@arm.com (James Morse)
Date: 2017-03-13 17:59:11
Also in: kvm, kvmarm

On 06/03/17 14:24, Marc Zyngier wrote:
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.
Since your merged page tables change this isn't as scary as it looks, as the
idmap is always present.


Reviewed-by: James Morse <james.morse@arm.com>


Thanks,

James
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help