arm64: KVM: Implement system register save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Oct 2015 17:02:48 +0000 (18:02 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:42 +0000 (22:15 +0800)
commit89f303c930f031d5ea6a1fa7da3b012e6589fc9a
treef897b59e8af69a13ff7d99f2595a4c93c02a1ebe
parentac6ec447c62ff314ea9b743447df2f579c614e9d
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>
(cherry picked from commit 6d6ec20fcf2830ca10c1b7c8efd7e2592c40e3d6)
Signed-off-by: Alex Shi <alex.shi@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]