From: Doug Foster <doug.foster@arm.com>
To: Thomas Monjalon <thomas@monjalon.net>,
Ruifeng Wang <ruifeng.wang@arm.com>,
Bruce Richardson <bruce.richardson@intel.com>
Cc: stable@dpdk.org, nd@arm.com, Doug Foster <doug.foster@arm.com>,
Wathsala Vithanage <wathsala.vithanage@arm.com>
Subject: [PATCH 23.11] config/arm: add grace build config
Date: Mon, 2 Jun 2025 17:23:10 +0000 [thread overview]
Message-ID: <20250602172310.3286240-1-doug.foster@arm.com> (raw)
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
reply other threads:[~2025-06-02 17:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250602172310.3286240-1-doug.foster@arm.com \
--to=doug.foster@arm.com \
--cc=bruce.richardson@intel.com \
--cc=nd@arm.com \
--cc=ruifeng.wang@arm.com \
--cc=stable@dpdk.org \
--cc=thomas@monjalon.net \
--cc=wathsala.vithanage@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).