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>
Subject: [PATCH 22.11] config/arm: add grace build config
Date: Wed, 21 May 2025 17:27:32 +0000 [thread overview]
Message-ID: <20250521172732.318945-1-doug.foster@arm.com> (raw)
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
reply other threads:[~2025-05-21 17:28 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=20250521172732.318945-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 \
/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).