config/arm: update NVIDIA BlueField-3 configuration
Checks
Commit Message
ARM configuration requires explicit `mcpu` specifications in the
implementor description.
The patch adds `mcpu` and `flags` description for the NVIDIA
BlueField-3 configuration.
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
---
config/arm/meson.build | 5 +++++
1 file changed, 5 insertions(+)
Comments
> Subject: [PATCH] config/arm: update NVIDIA BlueField-3 configuration
>
> ARM configuration requires explicit `mcpu` specifications in the implementor
> description.
>
> The patch adds `mcpu` and `flags` description for the NVIDIA
> BlueField-3 configuration.
>
> Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> ---
> config/arm/meson.build | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build index
> 5302861e2c..74f4dd4e1f 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -85,6 +85,11 @@ part_number_config_arm = {
> },
> '0xd42': {
> 'march': 'armv8.4-a',
> + 'mcpu' : 'cortex-a78ae',
> + 'flags': [
> + ['RTE_MAX_LCORE', 16],
> + ['RTE_MAX_NUMA_NODES', 1]
> + ],
> },
> '0xd49': {
> 'mcpu': 'neoverse-n2',
> --
> 2.45.2
Acked-by: Wathsala Vithanage <wathsala.vithanage@arm.com>
19/02/2025 17:35, Wathsala Wathawana Vithanage:
> > Subject: [PATCH] config/arm: update NVIDIA BlueField-3 configuration
> >
> > ARM configuration requires explicit `mcpu` specifications in the implementor
> > description.
> >
> > The patch adds `mcpu` and `flags` description for the NVIDIA
> > BlueField-3 configuration.
> >
> > Signed-off-by: Gregory Etelson <getelson@nvidia.com>
>
> Acked-by: Wathsala Vithanage <wathsala.vithanage@arm.com>
Adding error message:
"
The build was broken for BlueField-3:
ERROR: Problem encountered:
No suitable Arm mcpu name or custom mcpu definition object found.
"
and
Fixes: c02c01dbf907 ("config/arm: prefer strict use of -mcpu if supported")
Applied, thanks.
@@ -85,6 +85,11 @@ part_number_config_arm = {
},
'0xd42': {
'march': 'armv8.4-a',
+ 'mcpu' : 'cortex-a78ae',
+ 'flags': [
+ ['RTE_MAX_LCORE', 16],
+ ['RTE_MAX_NUMA_NODES', 1]
+ ],
},
'0xd49': {
'mcpu': 'neoverse-n2',