DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ruifeng Wang <ruifeng.wang@arm.com>
To: viktorin@rehivetech.com, bruce.richardson@intel.com,
	juraj.linkes@pantheon.tech, vcchunga@amazon.com
Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, nd@arm.com,
	Ruifeng Wang <ruifeng.wang@arm.com>
Subject: [PATCH] config/arm: add Graviton3
Date: Wed, 27 Jul 2022 14:33:21 +0800	[thread overview]
Message-ID: <20220727063321.1170042-1-ruifeng.wang@arm.com> (raw)

Add meson build configuration for Graviton3 platform
with 64-bit Arm Neoverse N2 cores.

It adds crypto feature to generic Neoverse N2 config.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
 config/arm/arm64_graviton3_linux_gcc | 16 ++++++++++++++++
 config/arm/meson.build               | 10 ++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 config/arm/arm64_graviton3_linux_gcc

diff --git a/config/arm/arm64_graviton3_linux_gcc b/config/arm/arm64_graviton3_linux_gcc
new file mode 100644
index 0000000000..19b422075d
--- /dev/null
+++ b/config/arm/arm64_graviton3_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = ['ccache', 'aarch64-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-linux-gnu-g++']
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+platform = 'graviton3'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index aa12eb76f4..272330ed44 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -311,6 +311,14 @@ soc_graviton2 = {
     'numa': false
 }
 
+soc_graviton3 = {
+    'description': 'AWS Graviton3',
+    'implementer': '0x41',
+    'part_number': '0xd49',
+    'extra_march_features': ['crypto'],
+    'numa': false
+}
+
 soc_kunpeng920 = {
     'description': 'HiSilicon Kunpeng 920',
     'implementer': '0x48',
@@ -390,6 +398,7 @@ cn10k:           Marvell OCTEON 10
 dpaa:            NXP DPAA
 emag:            Ampere eMAG
 graviton2:       AWS Graviton2
+graviton3:       AWS Graviton3
 kunpeng920:      HiSilicon Kunpeng 920
 kunpeng930:      HiSilicon Kunpeng 930
 n1sdp:           Arm Neoverse N1SDP
@@ -413,6 +422,7 @@ socs = {
     'dpaa': soc_dpaa,
     'emag': soc_emag,
     'graviton2': soc_graviton2,
+    'graviton3': soc_graviton3,
     'kunpeng920': soc_kunpeng920,
     'kunpeng930': soc_kunpeng930,
     'n1sdp': soc_n1sdp,
-- 
2.25.1


             reply	other threads:[~2022-07-27  6:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27  6:33 Ruifeng Wang [this message]
2022-07-27  6:53 ` [PATCH v2] " Ruifeng Wang
2022-07-29  7:03   ` Juraj Linkeš
2022-09-29  9:29 ` [PATCH v3] " Ruifeng Wang
2022-09-29 11:44   ` Juraj Linkeš
2022-10-10 20:09     ` Thomas Monjalon

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=20220727063321.1170042-1-ruifeng.wang@arm.com \
    --to=ruifeng.wang@arm.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=juraj.linkes@pantheon.tech \
    --cc=nd@arm.com \
    --cc=vcchunga@amazon.com \
    --cc=viktorin@rehivetech.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).