KVM: arm/arm64: Emulate the EL1 phys timer registers
authorJintack Lim <jintack@cs.columbia.edu>
Fri, 3 Feb 2017 15:20:08 +0000 (10:20 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 8 Feb 2017 15:13:37 +0000 (15:13 +0000)
commit7b6b46311a8562fb3a9e035ed6ffab6d49c28886
tree172797dd826ae77d749907bc1bd30cf2687f9509
parentc9a3c58f01fb0af78b512ab4515d16f3ef1a03f1
KVM: arm/arm64: Emulate the EL1 phys timer registers

Emulate read and write operations to CNTP_TVAL, CNTP_CVAL and CNTP_CTL.
Now VMs are able to use the EL1 physical timer.

Signed-off-by: Jintack Lim <jintack@cs.columbia.edu>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/sys_regs.c
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c