KVM: lapic: remove unnecessary KVM_REQ_EVENT on PPR update
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 18 Dec 2016 20:47:54 +0000 (21:47 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Jan 2017 13:48:01 +0000 (14:48 +0100)
commitb3c045d33218fe291b04d30e24b6eab0431987e6
treeb803f5aadf5501746a7f56d985e6b52eb50083da
parenteb90f3417a0cc4880e979ccc84e41890d410ea5b
KVM: lapic: remove unnecessary KVM_REQ_EVENT on PPR update

PPR needs to be updated whenever on every IRR read because we
may have missed TPR writes that _increased_ PPR.  However, these
writes need not generate KVM_REQ_EVENT, because either KVM_REQ_EVENT
has been set already in __apic_accept_irq, or we are going to
process the interrupt right away.

Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c