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

* [PATCH v2] config/arm: add Graviton3
  2022-07-27  6:33 [PATCH] config/arm: add Graviton3 Ruifeng Wang
@ 2022-07-27  6:53 ` Ruifeng Wang
  2022-07-29  7:03   ` Juraj Linkeš
  2022-09-29  9:29 ` [PATCH v3] " Ruifeng Wang
  1 sibling, 1 reply; 6+ messages in thread
From: Ruifeng Wang @ 2022-07-27  6:53 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>
---
v2:
Rebased to top of tree.

 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 9f1636e0d5..9ece795b0b 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -335,6 +335,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',
@@ -415,6 +423,7 @@ dpaa:            NXP DPAA
 emag:            Ampere eMAG
 ft2000plus:      Phytium FT-2000+
 graviton2:       AWS Graviton2
+graviton3:       AWS Graviton3
 kunpeng920:      HiSilicon Kunpeng 920
 kunpeng930:      HiSilicon Kunpeng 930
 n1sdp:           Arm Neoverse N1SDP
@@ -439,6 +448,7 @@ socs = {
     'emag': soc_emag,
     'ft2000plus': soc_ft2000plus,
     '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

* RE: [PATCH v2] config/arm: add Graviton3
  2022-07-27  6:53 ` [PATCH v2] " Ruifeng Wang
@ 2022-07-29  7:03   ` Juraj Linkeš
  0 siblings, 0 replies; 6+ messages in thread
From: Juraj Linkeš @ 2022-07-29  7:03 UTC (permalink / raw)
  To: Ruifeng Wang, viktorin, bruce.richardson, vcchunga
  Cc: dev, honnappa.nagarahalli, nd

Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>

> Subject: [PATCH v2] config/arm: add Graviton3
> 
> 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>


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

* [PATCH v3] config/arm: add Graviton3
  2022-07-27  6:33 [PATCH] config/arm: add Graviton3 Ruifeng Wang
  2022-07-27  6:53 ` [PATCH v2] " Ruifeng Wang
@ 2022-09-29  9:29 ` Ruifeng Wang
  2022-09-29 11:44   ` Juraj Linkeš
  1 sibling, 1 reply; 6+ messages in thread
From: Ruifeng Wang @ 2022-09-29  9:29 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 V1 cores.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
 config/arm/arm64_graviton3_linux_gcc | 16 ++++++++++++++++
 config/arm/meson.build               | 20 ++++++++++++++++++++
 2 files changed, 36 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 9f1636e0d5..5f33f6bf70 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -75,6 +75,16 @@ part_number_config_arm = {
             ['RTE_MAX_NUMA_NODES', 2]
         ]
     },
+    '0xd40': {
+        'march': 'armv8.4-a',
+        'march_features': ['sve'],
+        'compiler_options':  ['-mcpu=neoverse-v1'],
+        'flags': [
+            ['RTE_MACHINE', '"neoverse-v1"'],
+            ['RTE_ARM_FEATURE_ATOMICS', true],
+            ['RTE_MAX_NUMA_NODES', 1]
+        ]
+    },
     '0xd49': {
         'march': 'armv8.5-a',
         'march_features': ['sve2'],
@@ -335,6 +345,14 @@ soc_graviton2 = {
     'numa': false
 }
 
+soc_graviton3 = {
+    'description': 'AWS Graviton3',
+    'implementer': '0x41',
+    'part_number': '0xd40',
+    'extra_march_features': ['crypto'],
+    'numa': false
+}
+
 soc_kunpeng920 = {
     'description': 'HiSilicon Kunpeng 920',
     'implementer': '0x48',
@@ -415,6 +433,7 @@ dpaa:            NXP DPAA
 emag:            Ampere eMAG
 ft2000plus:      Phytium FT-2000+
 graviton2:       AWS Graviton2
+graviton3:       AWS Graviton3
 kunpeng920:      HiSilicon Kunpeng 920
 kunpeng930:      HiSilicon Kunpeng 930
 n1sdp:           Arm Neoverse N1SDP
@@ -439,6 +458,7 @@ socs = {
     'emag': soc_emag,
     'ft2000plus': soc_ft2000plus,
     '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

* RE: [PATCH v3] config/arm: add Graviton3
  2022-09-29  9:29 ` [PATCH v3] " Ruifeng Wang
@ 2022-09-29 11:44   ` Juraj Linkeš
  2022-10-10 20:09     ` Thomas Monjalon
  0 siblings, 1 reply; 6+ messages in thread
From: Juraj Linkeš @ 2022-09-29 11:44 UTC (permalink / raw)
  To: Ruifeng Wang, viktorin, bruce.richardson, vcchunga
  Cc: dev, honnappa.nagarahalli, nd

Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>

> -----Original Message-----
> From: Ruifeng Wang <ruifeng.wang@arm.com>
> Sent: Thursday, September 29, 2022 11:29 AM
> To: viktorin@rehivetech.com; bruce.richardson@intel.com; Juraj Linkeš
> <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 v3] config/arm: add Graviton3
> 
> Add meson build configuration for Graviton3 platform with 64-bit ARM
> Neoverse V1 cores.
> 
> Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>



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

* Re: [PATCH v3] config/arm: add Graviton3
  2022-09-29 11:44   ` Juraj Linkeš
@ 2022-10-10 20:09     ` Thomas Monjalon
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2022-10-10 20:09 UTC (permalink / raw)
  To: Ruifeng Wang
  Cc: viktorin, bruce.richardson, vcchunga, dev, dev,
	honnappa.nagarahalli, nd, Juraj Linkeš

> > Add meson build configuration for Graviton3 platform with 64-bit ARM
> > Neoverse V1 cores.
> > 
> > Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
> Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>

Applied, thanks.



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