]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: KVM: Add guest entry code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 5 Jan 2016 18:40:51 +0000 (18:40 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:13 +0000 (18:34 +0000)
commit89ef2b21ed2173e01995371261a9f9789bc1e47a
treea082baca9cc3ae93a67e840178757b16b49f1fc7
parent33280b4cd1dc0bc7df8d6d3bd1b64c377c9e44d9
ARM: KVM: Add guest entry code

Add the very minimal piece of code that is now required to jump
into the guest (and return from it). This code is only concerned
with save/restoring the USR registers (r0-r12+lr for the guest,
r4-r12+lr for the host), as everything else is dealt with in C
(VFP is another matter though).

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/hyp/Makefile
arch/arm/kvm/hyp/entry.S [new file with mode: 0644]
arch/arm/kvm/hyp/hyp.h