Skip to content

IOAPIC: clear remote IRR for edge interrupts

Peter Xu qemu-devel 1 version Applied

Status from this message: Queued for 2.7, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ioapic: keep RO bits for IOAPIC entryhw/intc/ioapic.c include/hw/i386/ioapic_internal.h+9 -00 replies
2/2ioapic: clear remote irr bit for edge-triggered interruptshw/intc/ioapic.c+29 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRadim Krčmář
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] IOAPIC: clear remote IRR for edge interrupts

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(+)
Signature · 1 line
2.4.11