]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: Remove arch timer workqueue
authorChristoffer Dall <christoffer.dall@arm.com>
Tue, 27 Nov 2018 12:48:08 +0000 (13:48 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 19 Dec 2018 17:47:07 +0000 (17:47 +0000)
commite225c78372c5d14d456356640e71c8851ae5bbdd
treef9bcf73cc9bf9abf9fcc845651e94dbd26303f59
parent3ca7611a5bf256558b043b5035f0ac5d6352bc5d
KVM: arm/arm64: Remove arch timer workqueue

The use of a work queue in the hrtimer expire function for the bg_timer
is a leftover from the time when we would inject interrupts when the
bg_timer expired.

Since we are no longer doing that, we can instead call
kvm_vcpu_wake_up() directly from the hrtimer function and remove all
workqueue functionality from the arch timer code.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_arch_timer.h
virt/kvm/arm/arch_timer.c