public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] use eoi to track RTC interrupt delivery status
@ 2013-03-15  8:04 Yang Zhang
  2013-03-15  8:04 ` [PATCH 1/5] KVM: parse ioapic entry to get destination vcpu Yang Zhang
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Yang Zhang @ 2013-03-15  8:04 UTC (permalink / raw)
  To: kvm; +Cc: gleb, mtosatti, xiantao.zhang, avi.kivity, Yang Zhang

From: Yang Zhang <yang.z.zhang@Intel.com>

Current interrupt coalescing logci which only used by RTC has conflict
with Posted Interrupt.

This patch introduces a new mechinism to use eoi to track interrupt:
When delivering an interrupt to vcpu, the need_eoi set to number of
vcpu that received the interrupt. And decrease it when each vcpu writing
eoi. No subsequent RTC interrupt can deliver to vcpu until all vcpus
write eoi.

Yang Zhang (5):
  KVM: parse ioapic entry to get destination vcpu
  KVM: add vcpu info to ioapic_update_eoi()
  KVM: introduce struct rtc_status
  KVM: register rtc eoi notifier
  KVM: use eoi to track RTC interrupt delivery status

 arch/x86/kvm/lapic.c |   44 +++++++++------
 arch/x86/kvm/lapic.h |    4 ++
 virt/kvm/ioapic.c    |  143 +++++++++++++++++++++++++++++++++++++++++++++++--
 virt/kvm/ioapic.h    |   12 ++++-
 4 files changed, 178 insertions(+), 25 deletions(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-03-17 14:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-15  8:04 [PATCH 0/5] use eoi to track RTC interrupt delivery status Yang Zhang
2013-03-15  8:04 ` [PATCH 1/5] KVM: parse ioapic entry to get destination vcpu Yang Zhang
2013-03-15  8:04 ` [PATCH 2/5] KVM: add vcpu info to ioapic_update_eoi() Yang Zhang
2013-03-15  8:04 ` [PATCH 3/5] KVM: introduce struct rtc_status Yang Zhang
2013-03-15  8:04 ` [PATCH 4/5] KVM: register rtc eoi notifier Yang Zhang
2013-03-17 10:19   ` Gleb Natapov
2013-03-15  8:05 ` [PATCH 5/5] KVM: use eoi to track RTC interrupt delivery status Yang Zhang
2013-03-17 10:28   ` Gleb Natapov
2013-03-17 13:09     ` Zhang, Yang Z
2013-03-17 14:00       ` Gleb Natapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox