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

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

Bugzilla ID: 1702

Signed-off-by: Doug Foster <doug.foster@arm.com>
Reviewed-by: Wathsala Vithanage <wathsala.vithanage@arm.com>
---
 .mailmap               |  2 ++
 config/arm/meson.build | 25 +++++++++++++++++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/.mailmap b/.mailmap
index ab0742a382..81089107c1 100644
--- a/.mailmap
+++ b/.mailmap
@@ -349,6 +349,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>
@@ -1507,6 +1508,7 @@ Walter Heymans <walter.heymans@corigine.com>
 Wang Sheng-Hui <shhuiw@gmail.com>
 Wangyu (Eric) <seven.wangyu@huawei.com>
 Waterman Cao <waterman.cao@intel.com>
+Wathsala Vithanage <wathsala.vithanage@arm.com>
 Weichun Chen <weichunx.chen@intel.com>
 Wei Dai <wei.dai@intel.com>
 Weifeng Li <liweifeng96@126.com>
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 36f21d2259..37cd870718 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -100,7 +100,18 @@ part_number_config_arm = {
             ['RTE_MAX_LCORE', 128],
             ['RTE_MAX_NUMA_NODES', 2]
         ]
-    }
+    },
+    '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]
+         ]
+     }
 }
 implementer_arm = {
     'description': 'Arm',
@@ -414,6 +425,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',
@@ -534,6 +553,7 @@ dpaa:            NXP DPAA
 emag:            Ampere eMAG
 ft2000plus:      Phytium FT-2000+
 tys2500:         Phytium TengYun S2500
+grace:           NVIDIA Grace
 graviton2:       AWS Graviton2
 graviton3:       AWS Graviton3
 hip10:           HiSilicon HIP10
@@ -565,6 +585,7 @@ socs = {
     'emag': soc_emag,
     'ft2000plus': soc_ft2000plus,
     'tys2500': soc_tys2500,
+    'grace': soc_grace,
     'graviton2': soc_graviton2,
     'graviton3': soc_graviton3,
     'hip10': soc_hip10,
@@ -702,7 +723,7 @@ if update_flags
             candidate_march = part_number_config['march']
         else
             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.34.1


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

only message in thread, other threads:[~2025-06-02 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-02 17:23 [PATCH 23.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).