Re: [PATCH 05/11] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-11-07 Thread Stephen Boyd
On 11/06/13 17:50, Josh Cartwright wrote: > On Fri, Nov 01, 2013 at 03:08:53PM -0700, Stephen Boyd wrote: >> diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c >> index f35906b..71a8592 100644 >> --- a/arch/arm/kernel/devtree.c >> +++ b/arch/arm/kernel/devtree.c >> @@ -25,6 +25,7 @@

Re: [PATCH 05/11] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-11-06 Thread Josh Cartwright
Hey Stephen- Nit/suggestion below: On Fri, Nov 01, 2013 at 03:08:53PM -0700, Stephen Boyd wrote: [..] > diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h > index a8cae71c..c27ec55 100644 > --- a/arch/arm/include/asm/smp.h > +++ b/arch/arm/include/asm/smp.h > @@ -112,6 +112,15 @

Re: [PATCH 05/11] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-11-05 Thread Stephen Boyd
On 11/05/13 09:24, Kumar Gala wrote: > On Nov 1, 2013, at 5:08 PM, Stephen Boyd wrote: > >> @@ -150,8 +182,14 @@ void __init arm_dt_init_cpu_maps(void) >> } >> >> tmp_map[i] = hwid; >> + >> +if (!found_method) >> +found_method = set_smp_ops_

Re: [PATCH 05/11] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-11-05 Thread Kumar Gala
On Nov 1, 2013, at 5:08 PM, Stephen Boyd wrote: > The goal of multi-platform kernels is to remove the need for mach > directories and machine descriptors. To further that goal, > introduce CPU_METHOD_OF_DECLARE() to allow cpu hotplug/smp > support to be separated from the machine descriptors. > I

[PATCH 05/11] ARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp

2013-11-01 Thread Stephen Boyd
The goal of multi-platform kernels is to remove the need for mach directories and machine descriptors. To further that goal, introduce CPU_METHOD_OF_DECLARE() to allow cpu hotplug/smp support to be separated from the machine descriptors. Implementers should specify an enable-method property in thei