diff mbox series

[01/12] config: add thundert83 config

Message ID 20220517173941.189330-1-hkalra@marvell.com (mailing list archive)
State Superseded
Delegated to: Thomas Monjalon
Headers show
Series [01/12] config: add thundert83 config | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Harman Kalra May 17, 2022, 5:39 p.m. UTC
Adding support for marvell thunder t83 platform.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
---
 config/arm/arm64_thunderxt83_linux_gcc | 16 ++++++++++++++++
 config/arm/meson.build                 | 12 ++++++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)
 create mode 100644 config/arm/arm64_thunderxt83_linux_gcc

Comments

Ruifeng Wang May 18, 2022, 6:10 a.m. UTC | #1
> -----Original Message-----
> From: Harman Kalra <hkalra@marvell.com>
> Sent: Wednesday, May 18, 2022 1:40 AM
> To: dev@dpdk.org; Ruifeng Wang <Ruifeng.Wang@arm.com>; Jan Viktorin
> <viktorin@rehivetech.com>; Bruce Richardson <bruce.richardson@intel.com>
> Cc: Harman Kalra <hkalra@marvell.com>
> Subject: [PATCH 01/12] config: add thundert83 config
> 
> Adding support for marvell thunder t83 platform.
                                                                  ^ thunderX t83?
Native build just works. This change adds SoC build and cross build support.

> 
> Signed-off-by: Harman Kalra <hkalra@marvell.com>
With commit message update,
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
diff mbox series

Patch

diff --git a/config/arm/arm64_thunderxt83_linux_gcc b/config/arm/arm64_thunderxt83_linux_gcc
new file mode 100644
index 0000000000..47102c900b
--- /dev/null
+++ b/config/arm/arm64_thunderxt83_linux_gcc
@@ -0,0 +1,16 @@ 
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+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 = 'thunderxt83'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 8aead74086..bfa482de6b 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -119,7 +119,7 @@  implementer_cavium = {
             'flags': flags_part_number_thunderx
         },
         '0xa3': {
-            'compiler_options': ['-mcpu=thunderxt83'],
+            'compiler_options': ['-march=armv8-a+crc', '-mcpu=thunderxt83'],
             'flags': flags_part_number_thunderx
         },
         '0xaf': {
@@ -371,6 +371,12 @@  soc_thunderxt88 = {
     'part_number': '0xa1'
 }
 
+soc_thunderxt83 = {
+    'description': 'Marvell ThunderX T83',
+    'implementer': '0x43',
+    'part_number': '0xa3'
+}
+
 '''
 Start of SoCs list
 generic:         Generic un-optimized build for armv8 aarch64 execution mode.
@@ -390,6 +396,7 @@  n2:              Arm Neoverse N2
 stingray:        Broadcom Stingray
 thunderx2:       Marvell ThunderX2 T99
 thunderxt88:     Marvell ThunderX T88
+thunderxt83:     Marvell ThunderX T83
 End of SoCs list
 '''
 # The string above is included in the documentation, keep it in sync with the
@@ -411,7 +418,8 @@  socs = {
     'n2': soc_n2,
     'stingray': soc_stingray,
     'thunderx2': soc_thunderx2,
-    'thunderxt88': soc_thunderxt88
+    'thunderxt88': soc_thunderxt88,
+    'thunderxt83': soc_thunderxt83
 }
 
 dpdk_conf.set('RTE_ARCH_ARM', 1)