DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/arm: add Graviton3
@ 2022-07-27  6:33 Ruifeng Wang
  2022-07-27  6:53 ` [PATCH v2] " Ruifeng Wang
  2022-09-29  9:29 ` [PATCH v3] " Ruifeng Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Ruifeng Wang @ 2022-07-27  6:33 UTC (permalink / raw)
  To: viktorin, bruce.richardson, juraj.linkes, vcchunga
  Cc: dev, honnappa.nagarahalli, nd, Ruifeng Wang

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-10 20:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27  6:33 [PATCH] config/arm: add Graviton3 Ruifeng Wang
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

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