Re: [Xen-devel] [PATCH for-4.13 v4 3/3] x86/vioapic: sync PIR to IRR when modifying entries

2019-11-14 Thread Jan Beulich
On 13.11.2019 16:59, Roger Pau Monne wrote: > --- a/xen/arch/x86/hvm/vioapic.c > +++ b/xen/arch/x86/hvm/vioapic.c > @@ -212,6 +212,44 @@ static int vioapic_hwdom_map_gsi(unsigned int gsi, > unsigned int trig, > return ret; > } > > +static inline int pit_channel0_enabled(void) > +{ > +

[Xen-devel] [PATCH for-4.13 v4 3/3] x86/vioapic: sync PIR to IRR when modifying entries

2019-11-13 Thread Roger Pau Monne
If posted interrutps are being used sync PIR to IRR when an unmasked vIO-APIC entry is modified. Do this in order to prevent vectors in the IRR being set after a change to a vIO-APIC entry has been performed. Signed-off-by: Roger Pau Monné --- Cc: Juergen Gross --- xen/arch/x86/hvm/vioapic.c |