ARM: KVM: Add HYP mode entry code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 5 Jan 2016 18:43:18 +0000 (18:43 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:14 +0000 (18:34 +0000)
commitbafc6c2a22553193d1d1ce83783b7faa0924158e
tree82e084f84983034a6fb53e4ad76081ef25b8a659
parent97e964371377ebf3958701b082597c2162e3df18
ARM: KVM: Add HYP mode entry code

This part is almost entierely borrowed from the existing code, just
slightly simplifying the HYP function call (as we now save SPSR_hyp
in the world switch).

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/hyp-entry.S [new file with mode: 0644]
arch/arm/kvm/hyp/hyp.h