On 11/27/19 7:48 AM, Roger Pau Monne wrote:
> When using posted interrupts on Intel hardware it's possible that the
> vCPU resumes execution with a stale local APIC IRR register because
> depending on the interrupts to be injected vlapic_has_pending_irq
> might not be called, and thus PIR won't be synced into IRR.
> 
> Fix this by making sure PIR is always synced to IRR in
> hvm_vcpu_has_pending_irq regardless of what interrupts are pending.
> 
> Reported-by: Joe Jin <joe....@oracle.com>
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>
> ---
> Cc: Juergen Gross <jgr...@suse.com>

Patch works for me.
Tested-by: Joe Jin <joe....@oracle.com>

Thanks,
Joe

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to