summaryrefslogtreecommitdiffstats
path: root/crypto/cts.c
diff options
context:
space:
mode:
authorNikita Leshenko <nikita.leshchenko@oracle.com>2017-11-05 14:52:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-11-17 13:20:18 +0100
commitda3fe7bdfada217bf02ecd0477fcdb55da50944c (patch)
tree83c19f01d52b4f080dd051de89ad264692bf9733 /crypto/cts.c
parentKVM: x86: ioapic: Fix level-triggered EOI and IOAPIC reconfigure race (diff)
downloadlinux-da3fe7bdfada217bf02ecd0477fcdb55da50944c.tar.xz
linux-da3fe7bdfada217bf02ecd0477fcdb55da50944c.zip
KVM: x86: ioapic: Don't fire level irq when Remote IRR set
Avoid firing a level-triggered interrupt that has the Remote IRR bit set, because that means that some CPU is already processing it. The Remote IRR bit will be cleared after an EOI and the interrupt will refire if the irq line is still asserted. This behavior is aligned with QEMU's IOAPIC implementation that was introduced by commit f99b86b94987 ("x86: ioapic: ignore level irq during processing") in QEMU. Signed-off-by: Nikita Leshenko <nikita.leshchenko@oracle.com> Reviewed-by: Liran Alon <liran.alon@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions