arm64: KVM: Implement debug save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Oct 2015 20:02:46 +0000 (21:02 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 14 Dec 2015 11:30:40 +0000 (11:30 +0000)
commit8eb992674c9e69d57af199f36b6455dbc00ac9f9
treee14a38969f8237f7d8b1da4bd1bd4d9e8c338094
parentc209ec85a2a7d2fd38bca0a44b7e70abd079c178
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>
arch/arm64/kvm/hyp/Makefile
arch/arm64/kvm/hyp/debug-sr.c [new file with mode: 0644]
arch/arm64/kvm/hyp/hyp.h