arm64: KVM: Implement 32bit system register save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Oct 2015 18:28:29 +0000 (19:28 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 14 Dec 2015 11:30:40 +0000 (11:30 +0000)
commitc209ec85a2a7d2fd38bca0a44b7e70abd079c178
tree04a66f17cee2f78c6d497466c8bb136380193ee5
parent6d6ec20fcf2830ca10c1b7c8efd7e2592c40e3d6
arm64: KVM: Implement 32bit system register save/restore

Implement the 32bit 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/hyp.h
arch/arm64/kvm/hyp/sysreg-sr.c