Re: [Xen-devel] [PATCH] arm/xen: Initialize event channels earlier

2014-01-28 Thread Stefano Stabellini
On Tue, 28 Jan 2014, Julien Grall wrote: > On 01/28/2014 05:46 PM, Stefano Stabellini wrote: > > On Tue, 28 Jan 2014, Julien Grall wrote: > +static int xen_cpu_notification(struct notifier_block *self, > +unsigned long action, > +

Re: [Xen-devel] [PATCH] arm/xen: Initialize event channels earlier

2014-01-28 Thread Julien Grall
On 01/28/2014 05:46 PM, Stefano Stabellini wrote: > On Tue, 28 Jan 2014, Julien Grall wrote: +static int xen_cpu_notification(struct notifier_block *self, + unsigned long action, + void *hcpu) +{ + int cpu = (long)hcpu; >>>

Re: [Xen-devel] [PATCH] arm/xen: Initialize event channels earlier

2014-01-28 Thread Stefano Stabellini
On Tue, 28 Jan 2014, Julien Grall wrote: > >> +static int xen_cpu_notification(struct notifier_block *self, > >> + unsigned long action, > >> + void *hcpu) > >> +{ > >> + int cpu = (long)hcpu; > >> + > >> + switch (action) { > >> + case CPU_UP_PR

Re: [Xen-devel] [PATCH] arm/xen: Initialize event channels earlier

2014-01-28 Thread Julien Grall
On 01/28/2014 05:13 PM, Stefano Stabellini wrote: > On Tue, 28 Jan 2014, Julien Grall wrote: >> Event channels driver needs to be initialized very early. Until now, Xen >> initialization was done after all CPUs was bring up. >> >> We can safely move the initialization to an early initcall. >> >> Al