[kvm-unit-tests PATCH v2 1/2] x86: apic: eoi() for deadline timer isr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otherwise the next LVT timer interrupt will be dropped (though we still
do not have a "next" yet, but that's not a reason for not eoi()ing).

Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
---
 x86/apic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x86/apic.c b/x86/apic.c
index 5fc83c6..3a30f0f 100644
--- a/x86/apic.c
+++ b/x86/apic.c
@@ -25,6 +25,7 @@ static int tdt_count;
 static void tsc_deadline_timer_isr(isr_regs_t *regs)
 {
     ++tdt_count;
+    eoi();
 }
 
 static void __test_tsc_deadline_timer(void)
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux