summaryrefslogtreecommitdiffstats
path: root/hw/intc/openpic.c
diff options
context:
space:
mode:
authorPeter Xu2016-05-10 12:21:22 +0200
committerPaolo Bonzini2016-05-23 16:53:43 +0200
commited1263c363c970a7ad5226b8f41dbbf0c92c1e17 (patch)
treed3426dde2691f11680bb7cfb93e355f4e1bfb36a /hw/intc/openpic.c
parentioapic: keep RO bits for IOAPIC entry (diff)
downloadqemu-ed1263c363c970a7ad5226b8f41dbbf0c92c1e17.tar.gz
qemu-ed1263c363c970a7ad5226b8f41dbbf0c92c1e17.tar.xz
qemu-ed1263c363c970a7ad5226b8f41dbbf0c92c1e17.zip
ioapic: clear remote irr bit for edge-triggered interrupts
This is to better emulate IOAPIC version 0x1X hardware. Linux kernel leveraged this "feature" to do explicit EOI since EOI register is still not introduced at that time. This will also fix the issue that level triggered interrupts failed to work when IR enabled (tested with Linux kernel version 4.5). Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <1462875682-1349-3-git-send-email-peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/intc/openpic.c')
0 files changed, 0 insertions, 0 deletions