DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/arm: fix Neoverse N2 march flag
@ 2023-06-08  7:27 pbhagavatula
  2023-06-08  9:54 ` Srikanth Yalavarthi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: pbhagavatula @ 2023-06-08  7:27 UTC (permalink / raw)
  To: jerinj, Ruifeng Wang, Bruce Richardson; +Cc: dev, Pavan Nikhilesh

From: Pavan Nikhilesh <pbhagavatula@marvell.com>

The -march flag of Neoverse N2 should be `armv9-a` when
used along with -mcpu=neoverse-n2.

Fixes: ea85ed1f6882 ("config/arm: increase nodes and cores for Neoverse N2")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
 config/arm/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 43f6a551a2..d3b4b4917f 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -89,7 +89,7 @@ part_number_config_arm = {
         'march': 'armv8.4-a',
     },
     '0xd49': {
-        'march': 'armv8.5-a',
+        'march': 'armv9-a',
         'march_features': ['sve2'],
         'compiler_options': ['-mcpu=neoverse-n2'],
         'flags': [
@@ -630,7 +630,7 @@ if update_flags
     # probe supported archs and their features
     candidate_march = ''
     if part_number_config.has_key('march')
-        supported_marchs = ['armv8.6-a', 'armv8.5-a', 'armv8.4-a', 'armv8.3-a',
+        supported_marchs = ['armv9-a', 'armv8.6-a', 'armv8.5-a', 'armv8.4-a', 'armv8.3-a',
                             'armv8.2-a', 'armv8.1-a', 'armv8-a']
         check_compiler_support = false
         foreach supported_march: supported_marchs
-- 
2.25.1


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

end of thread, other threads:[~2023-06-12 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08  7:27 [PATCH] config/arm: fix Neoverse N2 march flag pbhagavatula
2023-06-08  9:54 ` Srikanth Yalavarthi
2023-06-08 10:41 ` Ruifeng Wang
2023-06-08 12:58   ` Pavan Nikhilesh Bhagavatula
2023-06-08 14:20     ` Ruifeng Wang
2023-06-08 19:34 ` [PATCH v2] " pbhagavatula
2023-06-09  4:02   ` Ruifeng Wang
2023-06-12 17:06     ` 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).