diff options
| author | Christoffer Dall <[email protected]> | 2018-11-27 12:48:08 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2018-12-19 17:47:07 +0000 |
| commit | 8a411b060f820140e9894239fde5819bb213bef0 (patch) | |
| tree | f9bcf73cc9bf9abf9fcc845651e94dbd26303f59 /include/kvm/arm_arch_timer.h | |
| parent | KVM: arm/arm64: Fixup the kvm_exit tracepoint (diff) | |
| download | kernel-8a411b060f820140e9894239fde5819bb213bef0.tar.gz kernel-8a411b060f820140e9894239fde5819bb213bef0.zip | |
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 <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'include/kvm/arm_arch_timer.h')
| -rw-r--r-- | include/kvm/arm_arch_timer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h index 6502feb9524b..33771352dcd6 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm_arch_timer.h @@ -21,7 +21,6 @@ #include <linux/clocksource.h> #include <linux/hrtimer.h> -#include <linux/workqueue.h> struct arch_timer_context { /* Registers: control register, timer value */ @@ -52,9 +51,6 @@ struct arch_timer_cpu { /* Background timer used when the guest is not running */ struct hrtimer bg_timer; - /* Work queued with the above timer expires */ - struct work_struct expired; - /* Physical timer emulation */ struct hrtimer phys_timer; |
