qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] apic: Fixes for userspace model
@ 2012-07-09 14:42 Jan Kiszka
  2012-07-09 14:42 ` [Qemu-devel] [PATCH 1/3] apic: Resolve potential endless loop around apic_update_irq Jan Kiszka
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jan Kiszka @ 2012-07-09 14:42 UTC (permalink / raw)
  To: qemu-devel
  Cc: Gleb Natapov, Marcelo Tosatti, Avi Kivity, kvm, Anthony Liguori

As Avi noted recently, there is a problem in way we inject interrupts
into the userspace APIC under KVM: The TRP check over the iothread may
race with the VCPU raising the TPR value while in KVM mode. Patch 3
addresses this issue.

The other two patches fix problems I came across while thinking about
the first one.

Who would like to process this series, up/master? Or should it go in
directly?

Jan Kiszka (3):
  apic: Resolve potential endless loop around apic_update_irq
  apic: Reevaluate pending interrupts on LVT_LINT0 changes
  apic: Defer interrupt updates to VCPU thread

 cpu-exec.c         |    6 ++++++
 hw/apic.c          |   27 ++++++++++++++++++++++-----
 hw/apic.h          |    1 +
 hw/apic_internal.h |    1 -
 target-i386/cpu.h  |    4 +++-
 target-i386/kvm.c  |    4 ++++
 6 files changed, 36 insertions(+), 7 deletions(-)

-- 
1.7.3.4

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

end of thread, other threads:[~2012-07-10  8:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-09 14:42 [Qemu-devel] [PATCH 0/3] apic: Fixes for userspace model Jan Kiszka
2012-07-09 14:42 ` [Qemu-devel] [PATCH 1/3] apic: Resolve potential endless loop around apic_update_irq Jan Kiszka
2012-07-09 14:42 ` [Qemu-devel] [PATCH 2/3] apic: Reevaluate pending interrupts on LVT_LINT0 changes Jan Kiszka
2012-07-09 14:42 ` [Qemu-devel] [PATCH 3/3] apic: Defer interrupt updates to VCPU thread Jan Kiszka
2012-07-10  8:32 ` [Qemu-devel] [PATCH 0/3] apic: Fixes for userspace model Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).