]> Git Repo - linux.git/commit
kvm: ioapic: Lazy update IOAPIC EOI
authorSuravee Suthikulpanit <[email protected]>
Thu, 14 Nov 2019 20:15:19 +0000 (14:15 -0600)
committerPaolo Bonzini <[email protected]>
Wed, 5 Feb 2020 14:17:44 +0000 (15:17 +0100)
commitf458d039db7e8518041db4169d657407e3217008
tree695376329214f1f3bd71da2989a9d837387046fa
parent1ec2405c7cbf3afa7598c6b7546c81aa0cac78dc
kvm: ioapic: Lazy update IOAPIC EOI

In-kernel IOAPIC does not receive EOI with AMD SVM AVIC
since the processor accelerate write to APIC EOI register and
does not trap if the interrupt is edge-triggered.

Workaround this by lazy check for pending APIC EOI at the time when
setting new IOPIC irq, and update IOAPIC EOI if no pending APIC EOI.

Signed-off-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/ioapic.c
This page took 0.051799 seconds and 4 git commands to generate.