RE: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2011-11-11 Thread Zhao Chenhui-B35336
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Friday, November 11, 2011 12:23 PM > To: Zhao Chenhui-B35336 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support > > On

Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2011-11-10 Thread Benjamin Herrenschmidt
On Fri, 2011-11-04 at 20:31 +0800, Zhao Chenhui wrote: > #ifdef CONFIG_SMP > /* When we get here, r24 needs to hold the CPU # */ > .globl __secondary_start > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > index 7bf2187..12a54f0 100644 > --- a/arch/powerpc/kernel/smp.c

Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2011-11-09 Thread Scott Wood
org > >Subject: Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support > > > >On 11/08/2011 04:05 AM, Li Yang-R58472 wrote: > >>> Subject: Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support > >>> > >>>> +flush_disable_L1(); > >&g

RE: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2011-11-09 Thread Li Yang-R58472
>-Original Message- >From: Wood Scott-B07421 >Sent: Wednesday, November 09, 2011 4:58 AM >To: Li Yang-R58472 >Cc: Wood Scott-B07421; Zhao Chenhui-B35336; linuxppc-dev@lists.ozlabs.org >Subject: Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support > >On 11/0

Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2011-11-08 Thread Scott Wood
On 11/08/2011 04:05 AM, Li Yang-R58472 wrote: >> Subject: Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support >> >> On 11/04/2011 07:31 AM, Zhao Chenhui wrote: >>> +static int is_corenet; >>> +static void __cpuinit smp_85xx_setup_cpu(int cpu_nr); >&

RE: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2011-11-08 Thread Li Yang-R58472
>Subject: Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support > >On 11/04/2011 07:31 AM, Zhao Chenhui wrote: >> From: Li Yang >> >> Add support to disable and re-enable individual cores at runtime >> on MPC85xx/QorIQ SMP machines. Currently support e500 core.

Re: [PATCH 2/7] powerpc/85xx: add HOTPLUG_CPU support

2011-11-04 Thread Scott Wood
On 11/04/2011 07:31 AM, Zhao Chenhui wrote: > From: Li Yang > > Add support to disable and re-enable individual cores at runtime > on MPC85xx/QorIQ SMP machines. Currently support e500 core. > > MPC85xx machines use ePAPR spin-table in boot page for CPU kick-off. > This patch uses the boot page