From patchwork Tue May 17 17:39:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harman Kalra X-Patchwork-Id: 111244 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 729E9A0503; Tue, 17 May 2022 19:39:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EE9D40041; Tue, 17 May 2022 19:39:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 25DC84003C for ; Tue, 17 May 2022 19:39:56 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24H9n7hg016660; Tue, 17 May 2022 10:39:53 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=YLIqJxeipNyJ93OhOQJ7qqzBhIARtlfrHHj8EMNRUHU=; b=BW0Od9yEoYAXbl7z4m76DP7/uBf1dhdp3gQqHE/5TjhZc3aR8ybkJz0NITRDLnl/0F8V HPSm9thXK5K3l1yZuL0pzDwX6VaLJZPA/Fg89+hDVT2v4DonGfATnpq8xkAF1FnDipTi scf4geYnJOgenTbm03G5Sx6wOxb/0kyKJjkEunCRbOqQJR+jUPY3XEiR1KFYM+TEx2kZ y5LVVuDdobTmEe+y2zGcoHC4rO8awgq/z6nBpDbwLQj2z2sijC8qqR4iGJxKbJaREmzw 4dOHtC/NS50KENJ3s9+2s4teCCpqn1t7BPc3JwXlRTnaVAry59Vd8J1DlgFFtvMSibZa 9g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3g2bxsw8x8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 17 May 2022 10:39:52 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 17 May 2022 10:39:50 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 17 May 2022 10:39:50 -0700 Received: from localhost.localdomain (unknown [10.29.52.211]) by maili.marvell.com (Postfix) with ESMTP id B97A03F70EE; Tue, 17 May 2022 10:39:48 -0700 (PDT) From: Harman Kalra To: , Ruifeng Wang , Jan Viktorin , Bruce Richardson CC: Harman Kalra Subject: [PATCH 01/12] config: add thundert83 config Date: Tue, 17 May 2022 23:09:30 +0530 Message-ID: <20220517173941.189330-1-hkalra@marvell.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: EawAfkT96pb4494rLr7GdBgDPNVS7eoF X-Proofpoint-GUID: EawAfkT96pb4494rLr7GdBgDPNVS7eoF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-17_03,2022-05-17_02,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Adding support for marvell thunder t83 platform. Signed-off-by: Harman Kalra Acked-by: Ruifeng Wang --- 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 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)