arm64: KVM: Implement debug save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Oct 2015 20:02:46 +0000 (21:02 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:43 +0000 (22:15 +0800)
commitb45242cdcdef74702189a2a5b6864e355df96a2f
tree8d2cacc82271d134c1f70da50fe5c07bc6af15de
parent30876ccefcdb527659231064c355e16cfcb5e577
arm64: KVM: Implement debug save/restore

Implement the debug save restore as a direct translation of
the assembly code version.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 8eb992674c9e69d57af199f36b6455dbc00ac9f9)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/kvm/hyp/Makefile
arch/arm64/kvm/hyp/debug-sr.c [new file with mode: 0644]
arch/arm64/kvm/hyp/hyp.h