Re: [Xen-devel] [PATCH] x86/IO-APIC: adjust setting of destinations

2015-11-13 Thread Andrew Cooper
On 13/11/15 17:41, Jan Beulich wrote: On 13.11.15 at 17:26, wrote: >> On 13/11/15 15:44, Jan Beulich wrote: >>> setup_IO_APIC_irqs() runs before APs get brought up, so using >>> desc->arch.cpu_mask as best risks it being either empty or having bits >>> for CPUs other than the BP set. Just use

Re: [Xen-devel] [PATCH] x86/IO-APIC: adjust setting of destinations

2015-11-13 Thread Jan Beulich
>>> On 13.11.15 at 17:26, wrote: > On 13/11/15 15:44, Jan Beulich wrote: >> setup_IO_APIC_irqs() runs before APs get brought up, so using >> desc->arch.cpu_mask as best risks it being either empty or having bits >> for CPUs other than the BP set. Just use the APIC ID of the only >> online CPU dire

Re: [Xen-devel] [PATCH] x86/IO-APIC: adjust setting of destinations

2015-11-13 Thread Andrew Cooper
On 13/11/15 15:44, Jan Beulich wrote: > setup_IO_APIC_irqs() runs before APs get brought up, so using > desc->arch.cpu_mask as best risks it being either empty or having bits > for CPUs other than the BP set. Just use the APIC ID of the only > online CPU directly. Replace a stray hard_smp_processor