All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 14/15] arch/arm: add two new non-cortex-based armv8.2a cores
Date: Sat, 13 Jul 2019 23:22:09 +0200	[thread overview]
Message-ID: <2c02775a-4ccd-88f7-1306-71940e794e0b@mind.be> (raw)
In-Reply-To: <20190620100725.105587-15-giulio.benetti@micronovasrl.com>



On 20/06/2019 12:07, Giulio Benetti wrote:
> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> 
> The Neoverse N1 CPU was supported in GCC earlier through the codename Ares [1].
> 
> [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=37cf0ddecfd1eb5c6852a44135af5a92e5103931
> 
> Build tested:
> https://gitlab.com/kubu93/buildroot/pipelines/60318953
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> [Romain: rename BR2_ares to BR2_neoverse_n1]
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
> ---
> v2: add neoverse-e1 (Yann)
>     reorder alphabetically after renaming ares to neoverse-n1.
> 
> Note: The Neoverse E1 CPU needs at least binutils 2.32 to support Speculative Store
> Bypass Safe instruction (SSBS) which is part of ARMv8.5-A architecture extensions.
> Postpone the support for this new ARM core.
> See: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=104fefeebb544b7745bb353b63110afa46119647
> ---
>  arch/Config.in.arm | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/arch/Config.in.arm b/arch/Config.in.arm
> index a664cfe0e2..eea77cdabe 100644
> --- a/arch/Config.in.arm
> +++ b/arch/Config.in.arm
> @@ -512,6 +512,22 @@ config BR2_cortex_a76_a55
>  	select BR2_ARM_CPU_ARMV8A
>  	select BR2_ARCH_HAS_MMU_OPTIONAL
>  	select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
> +config BR2_neoverse_n1
> +	bool "neoverse-N1 (alias ares)"

 In an earlier patch, you used 'aka', so I did the same here.

> +	select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
> +	select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
> +	select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
> +	select BR2_ARM_CPU_HAS_FP_ARMV8
> +	select BR2_ARM_CPU_ARMV8A
> +	select BR2_ARCH_HAS_MMU_OPTIONAL
> +	select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
> +config BR2_tsv110
> +	bool "tsv110"
> +	depends on BR2_ARCH_IS_64
> +	select BR2_ARM_CPU_HAS_FP_ARMV8
> +	select BR2_ARM_CPU_ARMV8A
> +	select BR2_ARCH_HAS_MMU_OPTIONAL

 Somewhat unrelated to this patch, but: is this really correct? I thought the
MMU was mandatory on 64-bit ARM. At least, the kernel forces MMU on for arm64.

 Regards,
 Arnout

> +	select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
>  
>  comment "armv8.4a cores"
>  config BR2_saphira
> @@ -877,6 +893,8 @@ config BR2_GCC_TARGET_CPU
>  	default "cortex-a75.cortex-a55"	if BR2_cortex_a75_a55
>  	default "cortex-a76"	if BR2_cortex_a76
>  	default "cortex-a76.cortex-a55"	if BR2_cortex_a76_a55
> +	default "neoverse-n1"	if BR2_neoverse_n1
> +	default "tsv110"	if BR2_tsv110
>  	# armv8.4a
>  	default "saphira"	if BR2_saphira
>  
> 

  reply	other threads:[~2019-07-13 21:22 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-20 10:07 [Buildroot] [PATCH v4 00/15] Add gcc 9.1 Giulio Benetti
2019-06-20 10:07 ` [Buildroot] [PATCH v4 01/15] package/glibc/arc: fix build issue with gcc-9.1 Giulio Benetti
2019-06-22 18:58   ` Thomas Petazzoni
2019-06-20 10:07 ` [Buildroot] [PATCH v4 02/15] linux: disable Werror for powerpc kernels Giulio Benetti
2019-06-22 18:59   ` Thomas Petazzoni
2019-06-24 20:15   ` Peter Korsgaard
2019-06-25  3:05     ` Baruch Siach
2019-06-25  6:18       ` Peter Korsgaard
2019-06-20 10:07 ` [Buildroot] [PATCH v4 03/15] package/uclibc: remove asm constraint Giulio Benetti
2019-06-22 19:31   ` Thomas Petazzoni
2019-06-20 10:07 ` [Buildroot] [PATCH v4 04/15] toolchain: add gcc 9 entry Giulio Benetti
2019-06-22 19:39   ` Thomas Petazzoni
2019-06-20 10:07 ` [Buildroot] [PATCH v4 05/15] package/gcc: add support for gcc 9.1 Giulio Benetti
2019-06-22 19:40   ` Thomas Petazzoni
2019-06-20 10:07 ` [Buildroot] [PATCH v4 06/15] arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_9 Giulio Benetti
2019-06-22 19:41   ` Thomas Petazzoni
2019-06-23  9:26     ` Peter Korsgaard
2019-06-20 10:07 ` [Buildroot] [PATCH v4 07/15] toolchain-external: add gcc 9 entry Giulio Benetti
2019-06-22 19:42   ` Thomas Petazzoni
2019-06-20 10:07 ` [Buildroot] [PATCH v4 08/15] package/gcc: switch to gcc 8.x as the default Giulio Benetti
2019-06-22 19:44   ` Thomas Petazzoni
2019-06-22 22:35     ` Romain Naour
2019-06-23 16:21       ` Thomas Petazzoni
2019-06-24  6:35         ` Peter Korsgaard
2019-06-25 22:25         ` Arnout Vandecappelle
2019-06-26  6:55           ` Romain Naour
2019-06-26  7:23             ` Thomas Petazzoni
2019-06-26  7:34               ` Romain Naour
2019-06-26  6:55           ` Thomas Petazzoni
2019-06-23  9:29     ` Peter Korsgaard
2019-06-20 10:07 ` [Buildroot] [PATCH v4 09/15] arch/arm: move dependency on 64-bit down to individual cores Giulio Benetti
2019-07-13 21:11   ` Arnout Vandecappelle
2019-06-20 10:07 ` [Buildroot] [PATCH v4 10/15] arch/arm: some cores have a different name with gcc-9 Giulio Benetti
2019-07-13 21:13   ` Arnout Vandecappelle
2019-07-13 21:33     ` Yann E. MORIN
2019-06-20 10:07 ` [Buildroot] [PATCH v4 11/15] arch/arm: saphira is in fact an armv8.4a Giulio Benetti
2019-06-20 10:07 ` [Buildroot] [PATCH v4 12/15] arch/arm: add two new 64-bit-only armv8a cores Giulio Benetti
2019-06-20 10:07 ` [Buildroot] [PATCH v4 13/15] arch/arm: add two new cortex-based armv8.2a cores Giulio Benetti
2019-06-20 10:07 ` [Buildroot] [PATCH v4 14/15] arch/arm: add two new non-cortex-based " Giulio Benetti
2019-07-13 21:22   ` Arnout Vandecappelle [this message]
2019-07-13 21:51     ` Yann E. MORIN
2019-06-20 10:07 ` [Buildroot] [PATCH v4 15/15] package/gcc: enable gcc 9.1 for ork1 (openrisc) Giulio Benetti
2019-07-13 21:24   ` Arnout Vandecappelle
2019-07-13 23:57     ` Guo Ren
2019-07-14  8:40       ` Yann E. MORIN
2019-07-14  9:18         ` Guo Ren
2019-07-14  9:39           ` Yann E. MORIN
2019-07-14 10:00             ` Thomas Petazzoni
2019-07-14 10:08               ` Yann E. MORIN
2019-07-14 12:48     ` Romain Naour
2019-07-15 21:55     ` [Buildroot] [arc-buildroot] " Alexey Brodkin

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=2c02775a-4ccd-88f7-1306-71940e794e0b@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /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.