]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: Move cntvoff to each timer context
authorJintack Lim <jintack@cs.columbia.edu>
Fri, 3 Feb 2017 15:20:00 +0000 (10:20 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 8 Feb 2017 15:13:33 +0000 (15:13 +0000)
commit3129173e0e11ddaff99d75324ee859b4e5d902ce
tree80c64f76f1be349523dd346933858ed9c730fb1f
parentb931e4688d96ccafd20dc2bef3563a3b907cd1c5
KVM: arm/arm64: Move cntvoff to each timer context

Make cntvoff per each timer context. This is helpful to abstract kvm
timer functions to work with timer context without considering timer
types (e.g. physical timer or virtual timer).

This also would pave the way for ever doing adjustments of the cntvoff
on a per-CPU basis if that should ever make sense.

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