From patchwork Tue Mar 5 10:17:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 137985 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 0445A43B86; Tue, 5 Mar 2024 11:17:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DC754026B; Tue, 5 Mar 2024 11:17:42 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 63DDA4014F for ; Tue, 5 Mar 2024 11:17:41 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4256j80l026950; Tue, 5 Mar 2024 02:17:37 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=pfpt0220; bh=b0XJptL6 z8VHLZG2fvmk6mfg9/LJdxbOXJ4m9Rawmyo=; b=EvBn8CTriQ6BdmQ2CMjM5Neu BVwFN7mtm9z1NO1EloncD475gRJZVtmRIqJWV0E0Xkgaidoq7n0pBi9GSHvyZwXF +4tyDu3pyla2bjCuGKzS4xJOYWQhUC3aUmMS9iw/RlFs8oVdb+H5Nd/Gc0QusTvp 0fsASPSO2yDBD13ZIsHERy5HfF2DbJV7Qy8Zw8u7IrrWhL+naYAzee0ePXJGXpGG Cz5xQUvV2UjfskU41X+4Jgw2UnGIuDSsh7b+mlc0oJEc9o5PpMGgMt2upL6scHuq +dn20SNs+VY1SlLrMiDsQw7c7dOG6UGBBbBwzTTF+KiKegnkrwk/eRUhgnblIg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3wnxdcrjt4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Mar 2024 02:17:36 -0800 (PST) Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Tue, 5 Mar 2024 02:17:35 -0800 Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 5 Mar 2024 02:17:35 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Tue, 5 Mar 2024 02:17:35 -0800 Received: from BG-LT92004.corp.innovium.com (BG-LT92004.marvell.com [10.28.163.189]) by maili.marvell.com (Postfix) with ESMTP id 9679B5B692A; Tue, 5 Mar 2024 02:17:31 -0800 (PST) From: Anoob Joseph To: Honnappa Nagarahalli , =?utf-8?q?Juraj_Lin?= =?utf-8?q?ke=C5=A1?= , CC: , Jerin Jacob , , Pavan Nikhilesh , Ruifeng Wang , , Subject: [PATCH] config/arm: add Marvell Odyssey Date: Tue, 5 Mar 2024 15:47:29 +0530 Message-ID: <20240305101729.217-1-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: vFWIcx8nUZjKchpiOrVg_QIxcqBwtlvH X-Proofpoint-GUID: vFWIcx8nUZjKchpiOrVg_QIxcqBwtlvH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-05_07,2024-03-04_01,2023-05-22_02 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 Add meson build configuration for Marvell Odyssey platform with 64-bit ARM Neoverse V2 cores. Signed-off-by: Anoob Joseph --- Depends-on: series-31141 ("config/arm: add Neoverse V2 part number") config/arm/arm64_odyssey_linux_gcc-marvell | 17 +++++++++++++++++ config/arm/meson.build | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 config/arm/arm64_odyssey_linux_gcc-marvell diff --git a/config/arm/arm64_odyssey_linux_gcc-marvell b/config/arm/arm64_odyssey_linux_gcc-marvell new file mode 100644 index 0000000000..69b5cd42d8 --- /dev/null +++ b/config/arm/arm64_odyssey_linux_gcc-marvell @@ -0,0 +1,17 @@ +[binaries] +c = ['ccache', 'aarch64-marvell-linux-gnu-gcc'] +cpp = ['ccache', 'aarch64-marvell-linux-gnu-g++'] +ar = 'aarch64-marvell-linux-gnu-gcc-ar' +strip = 'aarch64-marvell-linux-gnu-strip' +pkgconfig = 'aarch64-linux-gnu-pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv9-a' +endian = 'little' + +[properties] +platform = 'odyssey' + +[built-in options] diff --git a/config/arm/meson.build b/config/arm/meson.build index 3886d0e2dc..94159efaa4 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -500,6 +500,20 @@ soc_n2 = { 'numa': false } +soc_odyssey = { + 'description' : 'Marvell Odyssey', + 'implementer' : '0x41', + 'flags': [ + ['RTE_MAX_LCORE', 80], + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MEMPOOL_ALIGN', 128], + ], + 'part_number': '0xd4f', + 'extra_march_features': ['crypto'], + 'numa': false, + 'sve_acle': false +} + soc_cn9k = { 'description': 'Marvell OCTEON 9', 'implementer': '0x43', @@ -617,6 +631,7 @@ socs = { 'kunpeng930': soc_kunpeng930, 'n1sdp': soc_n1sdp, 'n2': soc_n2, + 'odyssey' : soc_odyssey, 'stingray': soc_stingray, 'thunderx2': soc_thunderx2, 'thunderxt88': soc_thunderxt88,