From: dave.martin@linaro.org (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 5/6] ARM: vexpress: DT-based support for Cortex-A5 and Cortex-A9 based tiles
Date: Wed, 7 Dec 2011 15:08:11 +0000 [thread overview]
Message-ID: <20111207150811.GC2910@linaro.org> (raw)
In-Reply-To: <1323186229-22054-6-git-send-email-pawel.moll@arm.com>
On Tue, Dec 06, 2011 at 03:43:48PM +0000, Pawel Moll wrote:
[...]
> +/include/ "vexpress-v2m.dtsi"
> diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
> index 56a61fb..c1cd08d 100644
> --- a/arch/arm/mach-vexpress/Kconfig
> +++ b/arch/arm/mach-vexpress/Kconfig
> @@ -1,13 +1,23 @@
> menu "Versatile Express platform type"
> depends on ARCH_VEXPRESS
>
> -config ARCH_VEXPRESS_CA9X4
> - bool "Versatile Express Cortex-A9x4 tile"
> - select CPU_V7
> - select ARM_GIC
> +config ARCH_VEXPRESS_CORTEX_A5_A9
> + bool
> select ARM_ERRATA_720789
> select ARM_ERRATA_751472
> - select ARM_ERRATA_753970
> + select ARM_GIC
> + select CPU_V7
> + select HAVE_L2X0_L2CC
> + select PL310_ERRATA_753970 if CACHE_PL310
> + help
> + Provides common dependencies for Versatile Express platforms
> + based on Cortex-A5 and Cortex-A9 processors. In order to
> + build a working kernel, you must also enable relevant core
> + tile support or Flattened Device Tree based support options.
> +
> +config ARCH_VEXPRESS_CA9X4
> + bool "Versatile Express Cortex-A9x4 tile"
> + select ARCH_VEXPRESS_CORTEX_A5_A9
>
> config ARCH_VEXPRESS_DT
> bool "Device Tree support for Versatile Express platforms"
> @@ -21,4 +31,23 @@ config ARCH_VEXPRESS_DT
> If your bootloader supports Flattened Device Tree based booting,
> say Y here.
>
> +config ARCH_VEXPRESS_DT_CORTEX_A5_A9
> + bool "Support for tiles based on Cortex-A5 and Cortex-A9 processors"
> + depends on ARCH_VEXPRESS_DT
> + select ARCH_VEXPRESS_CORTEX_A5_A9
> + help
> + This option enables support for systems using Cortex-A5 and Cortex-A9
> + ARM core and logic (FPGA) tiles on the Versatile Express motherboard,
> + for example:
> +
> + - CoreTile Express A5x2 (V2P-CA5s)
> + - CoreTile Express A9x4 (V2P-CA9)
> + - LogicTile Express 13MG (V2F-2XV6) with A5 SMM (Soft Macrocell Model)
> + - LogicTile Express 13MG (V2F-2XV6) with A9 SMM (Soft Macrocell Model)
> + - VE Cortex-A9 RTSM (Model)
> +
> + You must boot using a Flattened Device Tree in order to use these
> + platforms. The traditional (ATAGs) boot method is not usable on
> + these boards with this option.
> +
Because of the way these options are renamed and the backwards
dependency of CONFIG_SMP in arch/arm/Kconfig, it now seems to be
impossible to build an SMP kernel with this series.
I will propose a patch similar to HAVE_L2X0_L2CC to see if this
dependency can be factorised, but in the meantime, I suggest to fix
the dependencies in arch/arm/Kconfig.
Cheers
---Dave
WARNING: multiple messages have this Message-ID (diff)
From: Dave Martin <dave.martin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v4 5/6] ARM: vexpress: DT-based support for Cortex-A5 and Cortex-A9 based tiles
Date: Wed, 7 Dec 2011 15:08:11 +0000 [thread overview]
Message-ID: <20111207150811.GC2910@linaro.org> (raw)
In-Reply-To: <1323186229-22054-6-git-send-email-pawel.moll-5wv7dgnIgG8@public.gmane.org>
On Tue, Dec 06, 2011 at 03:43:48PM +0000, Pawel Moll wrote:
[...]
> +/include/ "vexpress-v2m.dtsi"
> diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
> index 56a61fb..c1cd08d 100644
> --- a/arch/arm/mach-vexpress/Kconfig
> +++ b/arch/arm/mach-vexpress/Kconfig
> @@ -1,13 +1,23 @@
> menu "Versatile Express platform type"
> depends on ARCH_VEXPRESS
>
> -config ARCH_VEXPRESS_CA9X4
> - bool "Versatile Express Cortex-A9x4 tile"
> - select CPU_V7
> - select ARM_GIC
> +config ARCH_VEXPRESS_CORTEX_A5_A9
> + bool
> select ARM_ERRATA_720789
> select ARM_ERRATA_751472
> - select ARM_ERRATA_753970
> + select ARM_GIC
> + select CPU_V7
> + select HAVE_L2X0_L2CC
> + select PL310_ERRATA_753970 if CACHE_PL310
> + help
> + Provides common dependencies for Versatile Express platforms
> + based on Cortex-A5 and Cortex-A9 processors. In order to
> + build a working kernel, you must also enable relevant core
> + tile support or Flattened Device Tree based support options.
> +
> +config ARCH_VEXPRESS_CA9X4
> + bool "Versatile Express Cortex-A9x4 tile"
> + select ARCH_VEXPRESS_CORTEX_A5_A9
>
> config ARCH_VEXPRESS_DT
> bool "Device Tree support for Versatile Express platforms"
> @@ -21,4 +31,23 @@ config ARCH_VEXPRESS_DT
> If your bootloader supports Flattened Device Tree based booting,
> say Y here.
>
> +config ARCH_VEXPRESS_DT_CORTEX_A5_A9
> + bool "Support for tiles based on Cortex-A5 and Cortex-A9 processors"
> + depends on ARCH_VEXPRESS_DT
> + select ARCH_VEXPRESS_CORTEX_A5_A9
> + help
> + This option enables support for systems using Cortex-A5 and Cortex-A9
> + ARM core and logic (FPGA) tiles on the Versatile Express motherboard,
> + for example:
> +
> + - CoreTile Express A5x2 (V2P-CA5s)
> + - CoreTile Express A9x4 (V2P-CA9)
> + - LogicTile Express 13MG (V2F-2XV6) with A5 SMM (Soft Macrocell Model)
> + - LogicTile Express 13MG (V2F-2XV6) with A9 SMM (Soft Macrocell Model)
> + - VE Cortex-A9 RTSM (Model)
> +
> + You must boot using a Flattened Device Tree in order to use these
> + platforms. The traditional (ATAGs) boot method is not usable on
> + these boards with this option.
> +
Because of the way these options are renamed and the backwards
dependency of CONFIG_SMP in arch/arm/Kconfig, it now seems to be
impossible to build an SMP kernel with this series.
I will propose a patch similar to HAVE_L2X0_L2CC to see if this
dependency can be factorised, but in the meantime, I suggest to fix
the dependencies in arch/arm/Kconfig.
Cheers
---Dave
next prev parent reply other threads:[~2011-12-07 15:08 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 15:43 [PATCH v4 0/6] Versatile Express DT support Pawel Moll
2011-12-06 15:43 ` Pawel Moll
2011-12-06 15:43 ` [PATCH v4 1/6] ARM: versatile: Add missing ENDPROC to headsmp.S Pawel Moll
2011-12-06 15:43 ` Pawel Moll
2011-12-06 22:52 ` Arnd Bergmann
2011-12-06 22:52 ` Arnd Bergmann
2011-12-06 15:43 ` [PATCH v4 2/6] ARM: vexpress: Get rid of MMIO_P2V Pawel Moll
2011-12-06 15:43 ` Pawel Moll
2011-12-06 22:49 ` Arnd Bergmann
2011-12-06 22:49 ` Arnd Bergmann
2011-12-06 15:43 ` [PATCH v4 3/6] ARM: vexpress: Add DT support for the motherboard Pawel Moll
2011-12-06 15:43 ` Pawel Moll
2011-12-06 22:50 ` Arnd Bergmann
2011-12-06 22:50 ` Arnd Bergmann
2011-12-07 22:49 ` Arnd Bergmann
2011-12-07 22:49 ` Arnd Bergmann
2011-12-08 10:37 ` Pawel Moll
2011-12-08 10:37 ` Pawel Moll
2011-12-08 15:41 ` Arnd Bergmann
2011-12-08 15:41 ` Arnd Bergmann
2011-12-06 15:43 ` [PATCH v4 4/6] ARM: vexpress: Motherboard RS1 memory map support Pawel Moll
2011-12-06 15:43 ` Pawel Moll
2011-12-06 22:51 ` Arnd Bergmann
2011-12-06 22:51 ` Arnd Bergmann
2011-12-06 15:43 ` [PATCH v4 5/6] ARM: vexpress: DT-based support for Cortex-A5 and Cortex-A9 based tiles Pawel Moll
2011-12-06 15:43 ` Pawel Moll
2011-12-06 22:53 ` Arnd Bergmann
2011-12-06 22:53 ` Arnd Bergmann
2011-12-06 23:13 ` Arnd Bergmann
2011-12-06 23:13 ` Arnd Bergmann
2011-12-07 19:06 ` Pawel Moll
2011-12-07 19:06 ` Pawel Moll
2011-12-07 22:50 ` Arnd Bergmann
2011-12-07 22:50 ` Arnd Bergmann
2011-12-07 15:08 ` Dave Martin [this message]
2011-12-07 15:08 ` Dave Martin
2011-12-07 19:12 ` Pawel Moll
2011-12-07 19:12 ` Pawel Moll
2011-12-07 15:33 ` Dave Martin
2011-12-07 15:33 ` Dave Martin
2011-12-07 19:09 ` Pawel Moll
2011-12-07 19:09 ` Pawel Moll
2011-12-08 11:40 ` Dave Martin
2011-12-08 11:40 ` Dave Martin
2011-12-06 15:43 ` [PATCH v4 6/6] ARM: vexpress: DT-based support for Cortex-A7 and Cortex-A15 " Pawel Moll
2011-12-06 15:43 ` Pawel Moll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111207150811.GC2910@linaro.org \
--to=dave.martin@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.