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

James Morse james.morse at arm.com
Mon Mar 13 10:59:11 PDT 2017


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 at arm.com>


Thanks,

James



More information about the linux-arm-kernel mailing list