Re: [PATCH v4 1/4] powerpc/85xx: add HOTPLUG_CPU support

2012-04-17 Thread Scott Wood
On 04/17/2012 04:51 AM, Li Yang-R58472 wrote: >>> struct smp_ops_t smp_85xx_ops = { >>> .kick_cpu = smp_85xx_kick_cpu, >>> -#ifdef CONFIG_KEXEC >>> +#ifdef CONFIG_HOTPLUG_CPU >>> + .cpu_disable= generic_cpu_disable, >>> + .cpu_die= generic_cpu_die, >>> +#endif >>> .give_tim

RE: [PATCH v4 1/4] powerpc/85xx: add HOTPLUG_CPU support

2012-04-17 Thread Li Yang-R58472
> > struct smp_ops_t smp_85xx_ops = { > > .kick_cpu = smp_85xx_kick_cpu, > > -#ifdef CONFIG_KEXEC > > +#ifdef CONFIG_HOTPLUG_CPU > > + .cpu_disable= generic_cpu_disable, > > + .cpu_die= generic_cpu_die, > > +#endif > > .give_timebase = smp_generic_give_timebase, > > .t

Re: [PATCH v4 1/4] powerpc/85xx: add HOTPLUG_CPU support

2012-04-16 Thread Scott Wood
On 03/16/2012 04:22 AM, Zhao Chenhui wrote: > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index 4eecaaa..3d4c497 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -219,7 +219,8 @@ config ARCH_HIBERNATION_POSSIBLE > config ARCH_SUSPEND_POSSIBLE > def_bool y

[PATCH v4 1/4] powerpc/85xx: add HOTPLUG_CPU support

2012-03-16 Thread Zhao Chenhui
From: Li Yang Add support to disable and re-enable individual cores at runtime on MPC85xx/QorIQ SMP machines. Currently support e500v1/e500v2 core. MPC85xx machines use ePAPR spin-table in boot page for CPU kick-off. This patch uses the boot page from bootloader to boot core at runtime. It suppo