arm64: KVM: Implement vgic-v2 save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Oct 2015 14:50:37 +0000 (15:50 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:41 +0000 (22:15 +0800)
commit8b7bc9d277b45dbde20a3c67ce3be136b44fca23
tree3e768e1fc78d0cfb1bd4199f36840e6fb5faaa6c
parenteb99dec6d1e3b75580d312b1d29a18c39ed1e7ad
arm64: KVM: Implement vgic-v2 save/restore

Implement the vgic-v2 save restore (mostly) as a direct translation
of the assembly code version.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 06282fd2c2bf61619649a2b13e4a08556598a64c)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/kvm/Makefile
arch/arm64/kvm/hyp/Makefile [new file with mode: 0644]
arch/arm64/kvm/hyp/hyp.h
arch/arm64/kvm/hyp/vgic-v2-sr.c [new file with mode: 0644]