]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: Set a background timer to the earliest timer expiration
authorJintack Lim <jintack@cs.columbia.edu>
Fri, 3 Feb 2017 15:20:05 +0000 (10:20 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 8 Feb 2017 15:13:35 +0000 (15:13 +0000)
commit0eb325115ae71116bef6ea429a666db0d949f1db
treed119f2eddb1e504dac7d38ac8ad1d651243324d1
parentaf7bca709034439cf6078c72f201d8faa2a4bba6
KVM: arm/arm64: Set a background timer to the earliest timer expiration

When scheduling a background timer, consider both of the virtual and
physical timer and pick the earliest expiration time.

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/arm/kvm/arm.c
virt/kvm/arm/arch_timer.c