patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 22.11] config/arm: add grace build config
@ 2025-05-21 17:27 Doug Foster
  0 siblings, 0 replies; only message in thread
From: Doug Foster @ 2025-05-21 17:27 UTC (permalink / raw)
  To: Thomas Monjalon, Ruifeng Wang, Bruce Richardson; +Cc: stable, nd, Doug Foster

Add build configuration for Grace to resolve meson error
for unsupported part number.

Bugzilla ID: 1703

Signed-off-by: Doug Foster <doug.foster@arm.com>
---
 .mailmap               |  1 +
 config/arm/meson.build | 23 ++++++++++++++++++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/.mailmap b/.mailmap
index 75884b6fe2..1203a4d416 100644
--- a/.mailmap
+++ b/.mailmap
@@ -327,6 +327,7 @@ Don Provan <dprovan@bivio.net>
 Don Wallwork <donw@xsightlabs.com>
 Doug Dziggel <douglas.a.dziggel@intel.com>
 Douglas Flint <douglas.flint@broadcom.com>
+Doug Foster <doug.foster@arm.com>
 Dr. David Alan Gilbert <dgilbert@redhat.com>
 Drocula Lambda <quzeyao@gmail.com>
 Dror Birkman <dror.birkman@lightcyber.com>
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 6442ec9596..80c3d1bc31 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -93,6 +93,17 @@ part_number_config_arm = {
             ['RTE_ARM_FEATURE_ATOMICS', true],
             ['RTE_MAX_LCORE', 64],
             ['RTE_MAX_NUMA_NODES', 1]
+        ],
+    },
+    '0xd4f': {
+        'march': 'armv9-a',
+        'march_features': ['sve2'],
+        'mcpu' : 'neoverse-v2',
+        'flags': [
+            ['RTE_MACHINE', '"neoverse-v2"'],
+            ['RTE_ARM_FEATURE_ATOMICS', true],
+            ['RTE_MAX_LCORE', 144],
+            ['RTE_MAX_NUMA_NODES', 2]
         ]
     }
 }
@@ -357,6 +368,14 @@ soc_tys2500 = {
     'numa': true
 }
 
+soc_grace = {
+    'description': 'NVIDIA Grace',
+    'implementer': '0x41',
+    'part_number': '0xd4f',
+    'extra_march_features': ['crypto'],
+    'numa': true
+}
+
 soc_graviton2 = {
     'description': 'AWS Graviton2',
     'implementer': '0x41',
@@ -455,6 +474,7 @@ dpaa:            NXP DPAA
 emag:            Ampere eMAG
 ft2000plus:      Phytium FT-2000+
 tys2500:         Phytium TengYun S2500
+grace:           NVIDIA Grace
 graviton2:       AWS Graviton2
 graviton3:       AWS Graviton3
 kunpeng920:      HiSilicon Kunpeng 920
@@ -481,6 +501,7 @@ socs = {
     'emag': soc_emag,
     'ft2000plus': soc_ft2000plus,
     'tys2500': soc_tys2500,
+    'grace': soc_grace,
     'graviton2': soc_graviton2,
     'graviton3': soc_graviton3,
     'kunpeng920': soc_kunpeng920,
@@ -614,7 +635,7 @@ if update_flags
     candidate_march = ''
     if part_number_config.has_key('march')
         supported_marchs = ['armv8.6-a', 'armv8.5-a', 'armv8.4-a', 'armv8.3-a',
-                            'armv8.2-a', 'armv8.1-a', 'armv8-a']
+                            'armv8.2-a', 'armv8.1-a', 'armv8-a', 'armv9-a']
         check_compiler_support = false
         foreach supported_march: supported_marchs
             if supported_march == part_number_config['march']
-- 
2.43.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-21 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-21 17:27 [PATCH 22.11] config/arm: add grace build config Doug Foster

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).