Re: [Xen-devel] [PATCH] xen/events: Support event channel rebind on ARM

2015-07-27 Thread David Vrabel
On 25/07/15 18:34, Julien Grall wrote: > Currently, the event channel rebind code is gated with the presence of > the vector callback. > > The virtual interrupt controller on ARM has the concept of per-CPU > interrupt (PPI) which allow us to support per-VCPU event channel. > Therefore there is no

Re: [PATCH] xen/events: Support event channel rebind on ARM

2015-07-26 Thread Thomas Gleixner
On Sat, 25 Jul 2015, Julien Grall wrote: > +/* > + * Events delivered via platform PCI interrupts are always > + * routed to vcpu 0 and hence cannot be rebound. > + */ > +#define xen_support_evtchn_rebind() \ > + (!xen_hvm_domain() || xen_have_vector_callback) Make this an inline please. Tha

[PATCH] xen/events: Support event channel rebind on ARM

2015-07-25 Thread Julien Grall
Currently, the event channel rebind code is gated with the presence of the vector callback. The virtual interrupt controller on ARM has the concept of per-CPU interrupt (PPI) which allow us to support per-VCPU event channel. Therefore there is no need of vector callback for ARM. Xen is already us