ARM: KVM: Add the new world switch implementation
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 5 Jan 2016 18:42:49 +0000 (18:42 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:14 +0000 (18:34 +0000)
commit9dddc2dfa5da95fa380635d400f80767077ef936
tree7d9845a9aa0c8d664e9075ad9ccd5e69f7410033
parent96e5e670cc681703c00eaf442c8796da6aa25ca0
ARM: KVM: Add the new world switch implementation

The new world switch implementation is modeled after the arm64 one,
calling the various save/restore functions in turn, and having as
little state as possible.

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