RE: [PATCH 0/3] Add SMP support for i.MX7D

From: Yongcai Huang
Date: Fri Aug 26 2016 - 14:42:38 EST




Best Regards!
Anson Huang



> -----Original Message-----
> From: Fabio Estevam [mailto:festevam@xxxxxxxxx]
> Sent: 2016-08-26 8:43 PM
> To: Yongcai Huang <anson.huang@xxxxxxx>
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-
> kernel <linux-kernel@xxxxxxxxxxxxxxx>; Mark Rutland
> <mark.rutland@xxxxxxx>; Russell King - ARM Linux <linux@xxxxxxxxxxxxxxx>;
> robh+dt@xxxxxxxxxx; Sascha Hauer <kernel@xxxxxxxxxxxxxx>; Fabio Estevam
> <fabio.estevam@xxxxxxx>; Shawn Guo <shawnguo@xxxxxxxxxx>
> Subject: Re: [PATCH 0/3] Add SMP support for i.MX7D
>
> Hi Anson,
>
> On Fri, Aug 26, 2016 at 8:12 AM, Anson Huang <Anson.Huang@xxxxxxx> wrote:
> > i.MX7D has 2 Cortex-A7 ARM cores, and it has a different GPC design
> > than i.MX6, so this patch set adds a new GPCV2 driver for i.MX7D, and
> > also adds runtime check in SMP code to support both Cortex-A9 and
> > Cortex-A7 ARM cores.
> >
> > With this patch set, i.MX7D can boot up SMP kernel with 2 CPUs.
>
> Currently mx7d can boot the 2 CPUs if you use PSCI in the bootloader.
>
> Give mainline U-Boot a try and it will boot the 2 CPUs via PSCI.
>
> There was an attempt to add gpcv2 support at:
> https://patchwork.kernel.org/patch/6919831/
>
> , and Shawn suggested to go to the PSCI approach.
>
> PSCI for mx7 is still missing suspend support though.
>
> Regards,
>
> Fabio Estevam

Thanks Fabio for the info, OK, now that i.MX7D goes with PSCI, then please
Ignore this patch set, and I will add suspend support later. Please ignore this
Patch set.

For the suggestion of replace cpu_is_xxx with soc_is_xxx by Russell King, I will
Send another patch to improve that.

Anson.