Re: [PATCH] arm/xen: fix SMP guests boot

2016-09-08 Thread Stefano Stabellini
On Thu, 8 Sep 2016, Vitaly Kuznetsov wrote: > Commit 88e957d6e47f ("xen: introduce xen_vcpu_id mapping") broke SMP ARM > guests on Xen. When FIFO-based event channels are in use (this is the > default), evtchn_fifo_alloc_control_block() is called on CPU_UP_PREPARE > event and this happens before we

[PATCH] arm/xen: fix SMP guests boot

2016-09-08 Thread Vitaly Kuznetsov
Commit 88e957d6e47f ("xen: introduce xen_vcpu_id mapping") broke SMP ARM guests on Xen. When FIFO-based event channels are in use (this is the default), evtchn_fifo_alloc_control_block() is called on CPU_UP_PREPARE event and this happens before we set up xen_vcpu_id mapping in xen_starting_cpu. Tem