arm64: KVM: VHE: Patch out use of HVC
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 29 Jan 2015 13:52:12 +0000 (13:52 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:16 +0000 (18:34 +0000)
commitb81125c791a2958cc60ae968fc1cdea82b7cd3b0
treedd3fe9564cf60c1417bb65390646a0f4ce2ecbba
parent1e947bad0b63b351cbdd9ad55ea5bf7e31c76036
arm64: KVM: VHE: Patch out use of HVC

With VHE, the host never issues an HVC instruction to get into the
KVM code, as we can simply branch there.

Use runtime code patching to simplify things a bit.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp.S
arch/arm64/kvm/hyp/hyp-entry.S