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)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:42 +0000 (22:15 +0800)
commit30876ccefcdb527659231064c355e16cfcb5e577
treeac02805a02e74baa5d399add148ea9ae50d8d252
parent89f303c930f031d5ea6a1fa7da3b012e6589fc9a
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>
(cherry picked from commit c209ec85a2a7d2fd38bca0a44b7e70abd079c178)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/kvm/hyp/hyp.h
arch/arm64/kvm/hyp/sysreg-sr.c