Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-08-05 Thread Scott Wood
On Thu, 2015-08-06 at 12:32 +0800, Chenhui Zhao wrote: > On Thu, Aug 6, 2015 at 11:16 AM, Scott Wood > wrote: > > On Wed, 2015-08-05 at 19:08 +0800, Chenhui Zhao wrote: > > > On Sat, Aug 1, 2015 at 8:22 AM, Scott Wood > > > wrote: > > > > On Fri, 2015-07-31 at 17:20 +0800, b29983@freescale.c

Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-08-05 Thread Chenhui Zhao
On Thu, Aug 6, 2015 at 11:16 AM, Scott Wood wrote: On Wed, 2015-08-05 at 19:08 +0800, Chenhui Zhao wrote: On Sat, Aug 1, 2015 at 8:22 AM, Scott Wood wrote: > On Fri, 2015-07-31 at 17:20 +0800, b29983@freescale.comwrote: > > + /* > > + * If both threads are o

Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-08-05 Thread Scott Wood
On Wed, 2015-08-05 at 19:08 +0800, Chenhui Zhao wrote: > On Sat, Aug 1, 2015 at 8:22 AM, Scott Wood > wrote: > > On Fri, 2015-07-31 at 17:20 +0800, b29983@freescale.comwrote: > > > + /* > > > + * If both threads are offline, reset core to start. > > > + *

Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-08-05 Thread Chenhui Zhao
On Sat, Aug 1, 2015 at 8:22 AM, Scott Wood wrote: On Fri, 2015-07-31 at 17:20 +0800, b29...@freescale.com wrote: diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c index 7f0dadb..8652a49 100644 --- a/arch/powerpc/platforms/85xx/smp.c +++ b/arch/powerpc/pl

Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-07-31 Thread Scott Wood
On Fri, 2015-07-31 at 17:20 +0800, b29...@freescale.com wrote: > diff --git a/arch/powerpc/platforms/85xx/smp.c > b/arch/powerpc/platforms/85xx/smp.c > index 7f0dadb..8652a49 100644 > --- a/arch/powerpc/platforms/85xx/smp.c > +++ b/arch/powerpc/platforms/85xx/smp.c > @@ -189,15 +189,22 @@ static i

[PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-07-31 Thread b29983
From: Tang Yuantian Freescale E6500 core-based platforms, like t4240, support disabling/enabling CPU dynamically. This patch adds this feature on those platforms. Signed-off-by: Chenhui Zhao Signed-off-by: Tang Yuantian --- arch/powerpc/include/asm/smp.h| 1 + arch/powerpc/kernel/head_64