arm64: KVM: Implement timer save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Oct 2015 15:32:20 +0000 (16:32 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 9 Nov 2016 14:15:41 +0000 (22:15 +0800)
commitac6ec447c62ff314ea9b743447df2f579c614e9d
treeedcc3e39bf09227b535eee23f391c1da5caa8369
parent8b7bc9d277b45dbde20a3c67ce3be136b44fca23
arm64: KVM: Implement timer save/restore

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

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 1431af367e52b08038e78d346822966d968f1694)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
arch/arm64/kvm/hyp/Makefile
arch/arm64/kvm/hyp/hyp.h
arch/arm64/kvm/hyp/Makefile
arch/arm64/kvm/hyp/hyp.h
arch/arm64/kvm/hyp/timer-sr.c [new file with mode: 0644]
include/clocksource/arm_arch_timer.h