[EXT] [PATCH 1/2] config/arm: update config for Neoverse N2
Pavan Nikhilesh Bhagavatula
pbhagavatula at marvell.com
Wed Jun 7 17:11:59 CEST 2023
> Updated maximum number of lcores and numa nodes to support platforms
> with multiple numa nodes.
> Added mcpu compiler option.
>
> Signed-off-by: Ruifeng Wang <ruifeng.wang at arm.com>
> Reviewed-by: Feifei Wang <feifei.wang2 at arm.com>
> ---
> config/arm/meson.build | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build
> index 5213434ca4..9e55e9f2a4 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -91,11 +91,12 @@ part_number_config_arm = {
> '0xd49': {
> 'march': 'armv8.5-a',
> 'march_features': ['sve2'],
> + 'compiler_options': ['-mcpu=neoverse-n2'],
Hi Ruifeng,
I see the following warning when compiling with GCC 12
cc1: warning: switch '-mcpu=neoverse-n2' conflicts with '-march=armv8.5-a+sve2+crypto' switch
Removing 'armv8.5-a' from the list makes the warning go away but what's the correct march for neoverse-n2?
Armv9.0-a is not a supported march flag in GCC.
> 'flags': [
> ['RTE_MACHINE', '"neoverse-n2"'],
> ['RTE_ARM_FEATURE_ATOMICS', true],
> - ['RTE_MAX_LCORE', 64],
> - ['RTE_MAX_NUMA_NODES', 1]
> + ['RTE_MAX_LCORE', 128],
> + ['RTE_MAX_NUMA_NODES', 2]
> ]
> }
> }
> --
> 2.25.1
More information about the dev
mailing list