Re: [PATCH v8 2/2] ARM: Enable selection of SMP operations at boot time

2013-04-26 Thread Stefano Stabellini
On Thu, 25 Apr 2013, Nicolas Pitre wrote: > On Thu, 25 Apr 2013, Will Deacon wrote: > > > On Wed, Apr 24, 2013 at 07:40:19PM +0100, Stefano Stabellini wrote: > > > From: Jon Medhurst > > > > > > Add a new 'smp_init' hook to machine_desc so platforms can specify a > > > function to be used to set

Re: [PATCH v8 2/2] ARM: Enable selection of SMP operations at boot time

2013-04-25 Thread Nicolas Pitre
On Thu, 25 Apr 2013, Will Deacon wrote: > On Wed, Apr 24, 2013 at 07:40:19PM +0100, Stefano Stabellini wrote: > > From: Jon Medhurst > > > > Add a new 'smp_init' hook to machine_desc so platforms can specify a > > function to be used to setup smp ops instead of having a statically > > defined va

Re: [PATCH v8 2/2] ARM: Enable selection of SMP operations at boot time

2013-04-25 Thread Stefano Stabellini
On Thu, 25 Apr 2013, Will Deacon wrote: > On Wed, Apr 24, 2013 at 07:40:19PM +0100, Stefano Stabellini wrote: > > From: Jon Medhurst > > > > Add a new 'smp_init' hook to machine_desc so platforms can specify a > > function to be used to setup smp ops instead of having a statically > > defined val

Re: [PATCH v8 2/2] ARM: Enable selection of SMP operations at boot time

2013-04-25 Thread Will Deacon
On Wed, Apr 24, 2013 at 07:40:19PM +0100, Stefano Stabellini wrote: > From: Jon Medhurst > > Add a new 'smp_init' hook to machine_desc so platforms can specify a > function to be used to setup smp ops instead of having a statically > defined value. The hook must return true when smp_ops are init

[PATCH v8 2/2] ARM: Enable selection of SMP operations at boot time

2013-04-24 Thread Stefano Stabellini
From: Jon Medhurst Add a new 'smp_init' hook to machine_desc so platforms can specify a function to be used to setup smp ops instead of having a statically defined value. The hook must return true when smp_ops are initialized. If false the static mdesc->smp_ops will be used by default. Signed-o