commit | f458d039db7e8518041db4169d657407e3217008 | [log] [tgz] |
---|---|---|
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | Thu Nov 14 14:15:19 2019 -0600 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Feb 05 15:17:44 2020 +0100 |
tree | 695376329214f1f3bd71da2989a9d837387046fa | |
parent | 1ec2405c7cbf3afa7598c6b7546c81aa0cac78dc [diff] |
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 <suravee.suthikulpanit@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>