RE: [RFC PATCH] ARM: add v7 LPAE multi-platform defconfig

From: Huan Wang
Date: Tue Nov 10 2015 - 02:19:19 EST


Hi, Olof,

> On Mon, Nov 9, 2015 at 6:53 PM, Alison Wang <b18965@xxxxxxxxxxxxx> wrote:
> > v7 LPAE multi-platform defconfig is based on v7 multi-platform
> > defconfig and adds LPAE support.
> >
> > The platforms based on Cortex-A7/A12/A15/A17, PJ4B, Krait are also
> > enabled in this defconfig. But Cortex-A5/A8/A9, Scorpion and PJ4 are
> > removed.
> >
> > This defconfig is verified on LS1021A which enables GIANFAR, I2C,
> > WATCHDOG, AUDIO, EDMA and DSPI drivers, etc.
> >
> > The other platforms need to be verified by the platform maintainers
> > too.
> >
> > Signed-off-by: Alison Wang <alison.wang@xxxxxxxxxxxxx>
>
> This has been discussed before, and what we have chosen to do is to just
> have a multi_v7_defconfig that all these platforms are enabled on but
> with LPAE off.
>
> Instead, what we do when building (and on our build/boot builders) is to
> take multi_v7 and provide the snippet that turns on ARM_LPAE at that
> time.
>
>
[Alison Wang] Thanks for your reply. I tried to make this multi_v7_lpae_defconfig
according to the discussion with Russell King. He suggested to make a multi_v7_lpae_defconfig
rather than creating a new load of platform specific defconfigs. Attached is his original email.

King, do you have any comment about Olof's reply?


Best Regards,
Alison Wang
--- Begin Message --- On Thu, Sep 17, 2015 at 05:03:34PM +0800, Alison Wang wrote:
> Add Freescale LS1021A initial defconfig file.
> The LS1021A SoC is a dual-core Cortex-A7 based processor.
>
> LS1021A has some special configurations against imx_v6_v7_defconfig and
> multi_v7_defconfig, such as CONFIG_ARM_LPAE, CONFIG_ARM_PSCI...
> LPAE needs to be supported to access memory beyond the 4GB limit for
> LS1021A. PSCI needs to be supported for LS1021A too. But CONFIG_ARM_LPAE
> and CONFIG_ARM_PSCI are disabled in imx_v6_v7_defconfig and
> multi_v7_defconfig, so a separate LS1021A defconfig is needed.

Sounds like a need for multi_v7_lpae_defconfig rather than creating
a new load of platform specific defconfigs.

--
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

--- End Message ---