DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/arm: add fallback march for Neoverse V2
@ 2024-03-07  8:06 Anoob Joseph
  2024-03-14 12:05 ` Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Anoob Joseph @ 2024-03-07  8:06 UTC (permalink / raw)
  To: Honnappa Nagarahalli, Juraj Linkeš, thomas
  Cc: david.marchand, Jerin Jacob, nd, Pavan Nikhilesh, Ruifeng Wang,
	wathsala.vithanage, dev

Add march & fallback march for Neoverse V2 to support build with older
compilers that doesn't support mcpu = 'neoverse-v2'.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---

Depends-on: series-31402 ("config/arm: avoid mcpu and march conflicts")

 config/arm/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 3f5fb0f242..2e655ece05 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -106,8 +106,10 @@ part_number_config_arm = {
         ]
     },
     '0xd4f': {
+        'march': 'armv9-a',
         'march_features': ['sve2'],
-        'compiler_options': ['-mcpu=neoverse-v2'],
+        'mcpu': 'neoverse-v2',
+        'fallback_march': 'armv8.5-a',
         'flags': [
             ['RTE_MACHINE', '"neoverse-v2"'],
             ['RTE_ARM_FEATURE_ATOMICS', true],
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] config/arm: add fallback march for Neoverse V2
  2024-03-07  8:06 [PATCH] config/arm: add fallback march for Neoverse V2 Anoob Joseph
@ 2024-03-14 12:05 ` Jerin Jacob
  2024-03-15 11:22   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Jerin Jacob @ 2024-03-14 12:05 UTC (permalink / raw)
  To: Anoob Joseph
  Cc: Honnappa Nagarahalli, Juraj Linkeš,
	thomas, david.marchand, Jerin Jacob, nd, Pavan Nikhilesh,
	Ruifeng Wang, wathsala.vithanage, dev

On Thu, Mar 7, 2024 at 1:36 PM Anoob Joseph <anoobj@marvell.com> wrote:
>
> Add march & fallback march for Neoverse V2 to support build with older
> compilers that doesn't support mcpu = 'neoverse-v2'.
>
> Signed-off-by: Anoob Joseph <anoobj@marvell.com>

Acked-by: Jerin Jacob <jerinj@marvell.com>


> ---
>
> Depends-on: series-31402 ("config/arm: avoid mcpu and march conflicts")
>
>  config/arm/meson.build | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build
> index 3f5fb0f242..2e655ece05 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -106,8 +106,10 @@ part_number_config_arm = {
>          ]
>      },
>      '0xd4f': {
> +        'march': 'armv9-a',
>          'march_features': ['sve2'],
> -        'compiler_options': ['-mcpu=neoverse-v2'],
> +        'mcpu': 'neoverse-v2',
> +        'fallback_march': 'armv8.5-a',
>          'flags': [
>              ['RTE_MACHINE', '"neoverse-v2"'],
>              ['RTE_ARM_FEATURE_ATOMICS', true],
> --
> 2.25.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] config/arm: add fallback march for Neoverse V2
  2024-03-14 12:05 ` Jerin Jacob
@ 2024-03-15 11:22   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2024-03-15 11:22 UTC (permalink / raw)
  To: Anoob Joseph
  Cc: dev, Honnappa Nagarahalli, Juraj Linkeš,
	david.marchand, Jerin Jacob, nd, Pavan Nikhilesh, Ruifeng Wang,
	wathsala.vithanage, dev, Jerin Jacob

14/03/2024 13:05, Jerin Jacob:
> On Thu, Mar 7, 2024 at 1:36 PM Anoob Joseph <anoobj@marvell.com> wrote:
> >
> > Add march & fallback march for Neoverse V2 to support build with older
> > compilers that doesn't support mcpu = 'neoverse-v2'.
> >
> > Signed-off-by: Anoob Joseph <anoobj@marvell.com>
> 
> Acked-by: Jerin Jacob <jerinj@marvell.com>

Applied, thanks.

> > Depends-on: series-31402 ("config/arm: avoid mcpu and march conflicts")
[...]
> > +        'march': 'armv9-a',
> >          'march_features': ['sve2'],
> > -        'compiler_options': ['-mcpu=neoverse-v2'],
> > +        'mcpu': 'neoverse-v2',
> > +        'fallback_march': 'armv8.5-a',

After latest Pavan's patches, only fallback is added by this patch.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-15 11:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07  8:06 [PATCH] config/arm: add fallback march for Neoverse V2 Anoob Joseph
2024-03-14 12:05 ` Jerin Jacob
2024-03-15 11:22   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).