Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Stefano Stabellini
On Fri, 26 Apr 2013, Ian Campbell wrote: > On Fri, 2013-04-26 at 11:27 +0100, Stefano Stabellini wrote: > > On Fri, 26 Apr 2013, Ian Campbell wrote: > > > On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: > > > > On Thu, 25 Apr 2013, Ian Campbell wrote: > > > > > > > > @@ -216,6 +245,8

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Ian Campbell
On Fri, 2013-04-26 at 11:27 +0100, Stefano Stabellini wrote: > On Fri, 26 Apr 2013, Ian Campbell wrote: > > On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: > > > On Thu, 25 Apr 2013, Ian Campbell wrote: > > > > > > > @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) > > > > >

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Stefano Stabellini
On Fri, 26 Apr 2013, Ian Campbell wrote: > On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: > > On Thu, 25 Apr 2013, Ian Campbell wrote: > > > > > > @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) > > > > > > * is required to use VCPUOP_register_vcpu_info to place vcpu

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Ian Campbell
On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: > On Thu, 25 Apr 2013, Ian Campbell wrote: > > > > > @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) > > > > >* is required to use VCPUOP_register_vcpu_info to place vcpu > > > > > info > > > > >* for

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Ian Campbell
On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: On Thu, 25 Apr 2013, Ian Campbell wrote: @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) * is required to use VCPUOP_register_vcpu_info to place vcpu info * for secondary CPUs as they are

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Stefano Stabellini
On Fri, 26 Apr 2013, Ian Campbell wrote: On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: On Thu, 25 Apr 2013, Ian Campbell wrote: @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) * is required to use VCPUOP_register_vcpu_info to place vcpu info

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Ian Campbell
On Fri, 2013-04-26 at 11:27 +0100, Stefano Stabellini wrote: On Fri, 26 Apr 2013, Ian Campbell wrote: On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: On Thu, 25 Apr 2013, Ian Campbell wrote: @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) * is

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-26 Thread Stefano Stabellini
On Fri, 26 Apr 2013, Ian Campbell wrote: On Fri, 2013-04-26 at 11:27 +0100, Stefano Stabellini wrote: On Fri, 26 Apr 2013, Ian Campbell wrote: On Thu, 2013-04-25 at 19:45 +0100, Stefano Stabellini wrote: On Thu, 25 Apr 2013, Ian Campbell wrote: @@ -216,6 +245,8 @@ static int

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Stefano Stabellini
On Thu, 25 Apr 2013, Ian Campbell wrote: > > > > @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) > > > > * is required to use VCPUOP_register_vcpu_info to place vcpu > > > > info > > > > * for secondary CPUs as they are brought up. */ > > > > per_cpu(xen_vcpu,

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Ian Campbell
> > > @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) > > >* is required to use VCPUOP_register_vcpu_info to place vcpu info > > >* for secondary CPUs as they are brought up. */ > > > per_cpu(xen_vcpu, 0) = _shared_info->vcpu_info[0]; > > > + for_each_online_cpu(i) > > > +

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Stefano Stabellini
On Thu, 25 Apr 2013, Ian Campbell wrote: > On Wed, 2013-04-24 at 20:28 +0100, Stefano Stabellini wrote: > > Map vcpu_info using VCPUOP_register_vcpu_info on secondary cpus. > > > > Call enable_percpu_irq on every cpu. > > > > Changed in v2: > > - move the percpu variable argument fix to a

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Ian Campbell
On Wed, 2013-04-24 at 20:28 +0100, Stefano Stabellini wrote: > Map vcpu_info using VCPUOP_register_vcpu_info on secondary cpus. > > Call enable_percpu_irq on every cpu. > > Changed in v2: > - move the percpu variable argument fix to a separate patch; > - remove unused variable. > >

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Ian Campbell
On Wed, 2013-04-24 at 20:28 +0100, Stefano Stabellini wrote: Map vcpu_info using VCPUOP_register_vcpu_info on secondary cpus. Call enable_percpu_irq on every cpu. Changed in v2: - move the percpu variable argument fix to a separate patch; - remove unused variable. Signed-off-by:

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Stefano Stabellini
On Thu, 25 Apr 2013, Ian Campbell wrote: On Wed, 2013-04-24 at 20:28 +0100, Stefano Stabellini wrote: Map vcpu_info using VCPUOP_register_vcpu_info on secondary cpus. Call enable_percpu_irq on every cpu. Changed in v2: - move the percpu variable argument fix to a separate patch; -

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Ian Campbell
@@ -216,6 +245,8 @@ static int __init xen_guest_init(void) * is required to use VCPUOP_register_vcpu_info to place vcpu info * for secondary CPUs as they are brought up. */ per_cpu(xen_vcpu, 0) = HYPERVISOR_shared_info-vcpu_info[0]; + for_each_online_cpu(i) +

Re: [PATCH v4 2/7] xen/arm: SMP support

2013-04-25 Thread Stefano Stabellini
On Thu, 25 Apr 2013, Ian Campbell wrote: @@ -216,6 +245,8 @@ static int __init xen_guest_init(void) * is required to use VCPUOP_register_vcpu_info to place vcpu info * for secondary CPUs as they are brought up. */ per_cpu(xen_vcpu, 0) =