]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf88d6e7d1ad9bb6ffcb259af8b292cf69131deeb
tree172797dd826ae77d749907bc1bd30cf2687f9509
parentbe817d74d9d1f92b3664374355f526a879114432
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