summaryrefslogtreecommitdiff
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2014-08-18 22:42:13 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2014-08-19 15:12:29 +0200
commitfae0ba2157340635fd99912c0c3b7a28c355c588 (patch)
treeaf039b48e4c60451cb674a6219c44dec87127b3f /kernel/irq_work.c
parentd7a2a246a1b5a0b0c803e800019600051e1e6f1a (diff)
KVM: x86: Clear apic tsc-deadline after deadline
Intel SDM 10.5.4.1 says "When the timer generates an interrupt, it disarms itself and clears the IA32_TSC_DEADLINE MSR". This patch clears the MSR upon timer interrupt delivery which delivered on deadline mode. Since the MSR may be reconfigured while an interrupt is pending, causing the new value to be overriden, pending timer interrupts are checked before setting a new deadline. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions