diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-02-14 05:32:38 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-02-21 20:04:57 +0300 |
commit | 7455a8327674e1a7c9a1f5dd1b0743ab6713f6d1 (patch) | |
tree | a8d82e5c0c81b152017c6e4f696cbb40e5d0844d /samples/trace_events | |
parent | b78a8552d77f8efb7c4fbd92a91b890c32b89528 (diff) | |
download | linux-7455a8327674e1a7c9a1f5dd1b0743ab6713f6d1.tar.xz |
KVM: x86: don't notify userspace IOAPIC on edge-triggered interrupt EOI
Commit 13db77347db1 ("KVM: x86: don't notify userspace IOAPIC on edge
EOI") said, edge-triggered interrupts don't set a bit in TMR, which means
that IOAPIC isn't notified on EOI. And var level indicates level-triggered
interrupt.
But commit 3159d36ad799 ("KVM: x86: use generic function for MSI parsing")
replace var level with irq.level by mistake. Fix it by changing irq.level
to irq.trig_mode.
Cc: stable@vger.kernel.org
Fixes: 3159d36ad799 ("KVM: x86: use generic function for MSI parsing")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions