All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] IOAPIC: clear remote IRR for edge interrupts
@ 2016-05-10 10:21 Peter Xu
  2016-05-10 10:21 ` [Qemu-devel] [PATCH 1/2] ioapic: keep RO bits for IOAPIC entry Peter Xu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Xu @ 2016-05-10 10:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst, pbonzini, jan.kiszka, rkrcmar, peterx

These two patches are seperated from v6 series of Intel IOMMU IR
support.

Existing read-only bits of IOAPIC registers are writable. We'd
better follow the spec to make it read-only. The first patch did
this.

The 2nd patch emulated real IOAPIC behavior that remote IRR bits are
cleared when configuring edge-triggered interrupts. This "feature"
is used by Linux kernel to do explicit EOI for 0x1X IOAPICs. For
more information, please refer to the comments in patch 2. This one
depends on patch 1 to work.

Peter Xu (2):
  ioapic: keep RO bits for IOAPIC entry
  ioapic: clear remote irr bit for edge-triggered interrupts

 hw/intc/ioapic.c                  | 33 +++++++++++++++++++++++++++++++++
 include/hw/i386/ioapic_internal.h |  5 +++++
 2 files changed, 38 insertions(+)

-- 
2.4.11

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

end of thread, other threads:[~2016-05-11  9:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10 10:21 [Qemu-devel] [PATCH 0/2] IOAPIC: clear remote IRR for edge interrupts Peter Xu
2016-05-10 10:21 ` [Qemu-devel] [PATCH 1/2] ioapic: keep RO bits for IOAPIC entry Peter Xu
2016-05-10 10:21 ` [Qemu-devel] [PATCH 2/2] ioapic: clear remote irr bit for edge-triggered interrupts Peter Xu
2016-05-11  9:41 ` [Qemu-devel] [PATCH 0/2] IOAPIC: clear remote IRR for edge interrupts Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.