From patchwork Tue Mar 5 11:13:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 137990 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 8EFB043C4B; Tue, 5 Mar 2024 12:13:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5DA0340270; Tue, 5 Mar 2024 12:13:51 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CC1F04026B for ; Tue, 5 Mar 2024 12:13:49 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 425ASPpx017740; Tue, 5 Mar 2024 03:13:46 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= pfpt0220; bh=ONAYZRBq4P5fXhIUZaZcJJBDdNrjR1f5NtNcOtDSX7o=; b=EoM kciRgYJ28RoFvtvkP2QGJIs2bd0QPJx6THDG66/I3WeQU1CiXHduOELugmEgo/ku KrsOw1rt4+3GsUMHDeGQXMHUwMcQBG58aoajK9MHV2FMVOCFb3CJ62fCbBLFRpmJ bUX+2Xc0jRGEplOHQbf8KzcBKzhOmML2oolzOdYGkD9FaWoratikJ5FnZZ/PvcAm pMUAbm5IBz3ena7FOPC5bvpK+hfL5wUx65bDR/ZflZuUtr1g1LYHm545+uGQRXqG a4L3unD5dWqausRgBOyP4Uckonb7CWF2N+fg31Uk11ISO6PA4x2zb0i6zsnw/NIe LKPybFu2jvNlHASnoWg== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3wp13s07ht-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Mar 2024 03:13:46 -0800 (PST) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Tue, 5 Mar 2024 03:13:45 -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 03:13:45 -0800 Received: from BG-LT92004.corp.innovium.com (BG-LT92004.marvell.com [10.28.163.189]) by maili.marvell.com (Postfix) with ESMTP id E1DE25B6923; Tue, 5 Mar 2024 03:13:41 -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 v2] config/arm: add Marvell Odyssey Date: Tue, 5 Mar 2024 16:43:39 +0530 Message-ID: <20240305111339.294-1-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240305101729.217-1-anoobj@marvell.com> References: <20240305101729.217-1-anoobj@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: dyzBTGJpL9KFZGjf7JIsXd7RyzC5AhTg X-Proofpoint-ORIG-GUID: dyzBTGJpL9KFZGjf7JIsXd7RyzC5AhTg 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_08,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 Reviewed-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli --- Depends-on: series-31141 ("config/arm: add Neoverse V2 part number") Changes in v2: - Renamed config file config/arm/arm64_odyssey_linux_gcc | 17 +++++++++++++++++ config/arm/meson.build | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 config/arm/arm64_odyssey_linux_gcc diff --git a/config/arm/arm64_odyssey_linux_gcc b/config/arm/arm64_odyssey_linux_gcc new file mode 100644 index 0000000000..69b5cd42d8 --- /dev/null +++ b/config/arm/arm64_odyssey_linux_gcc @@ -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,