arm64: KVM: Implement system register save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Oct 2015 17:02:48 +0000 (18:02 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 14 Dec 2015 11:30:39 +0000 (11:30 +0000)
commit6d6ec20fcf2830ca10c1b7c8efd7e2592c40e3d6
treea4342cabb89d59963d37ce021e87a39a51478469
parent1431af367e52b08038e78d346822966d968f1694
arm64: KVM: Implement system register save/restore

Implement the system register save/restore as a direct translation of
the assembly code version.

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