From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 15FEC43C54; Wed, 6 Mar 2024 06:50:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F10B740269; Wed, 6 Mar 2024 06:50:41 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 37A6040156 for ; Wed, 6 Mar 2024 06:50:40 +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 425KTsDK013426; Tue, 5 Mar 2024 21:50:36 -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=WnaoIQU4EpJZGa5evH8vkAsBePeYiM/xPvVaJEL4Dv8=; b=WuA 48sIMUPIrUh5b/RN/nARcEQUNmXmz0RGdXt+vxddeJNGuAEdv5SUFCk4/+m0FoE3 6vXt7XpYTnSzExtu3YcFUGmxG6No8/HXdSjpP1DZlPlp7tqgTnpOp1gJ+durWN6H 6isSnyNqj445Nu7jxb4Wd7Bx9RafbhbW+SiyXEmJBgFcfPuMktitt+zEmsvZN249 HxWog5QLE+XT9ZSZECNnxh7bNr3f0JKWc78+LvJ1xd2IHqASr0BhP9NohEts4UKc KQF2gstc+xQRf03rvtsFH/JkQRFHRNg9Ue/5NTm8G+46qh4wLXAk5AJ4jENCSBps CUn6mYiEXQYoN0YghVQ== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3wpafxhgn7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Mar 2024 21:50:35 -0800 (PST) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.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 21:50:34 -0800 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Tue, 5 Mar 2024 21:50:34 -0800 Received: from BG-LT92004.corp.innovium.com (unknown [10.193.66.130]) by maili.marvell.com (Postfix) with ESMTP id 80B953F7079; Tue, 5 Mar 2024 21:50:30 -0800 (PST) From: Anoob Joseph To: Honnappa Nagarahalli , =?UTF-8?q?Juraj=20Linke=C5=A1?= , CC: , Jerin Jacob , , Pavan Nikhilesh , Ruifeng Wang , , Subject: [PATCH v3] config/arm: add Marvell Odyssey Date: Wed, 6 Mar 2024 11:20:29 +0530 Message-ID: <20240306055029.424-1-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240305111339.294-1-anoobj@marvell.com> References: <20240305111339.294-1-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: xKR93BldcHxpYHuqc6YrDzHxQ_8XbEXZ X-Proofpoint-ORIG-GUID: xKR93BldcHxpYHuqc6YrDzHxQ_8XbEXZ 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-06_02,2024-03-05_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: Honnappa Nagarahalli Reviewed-by: Ruifeng Wang --- Depends-on: series-31141 ("config/arm: add Neoverse V2 part number") Changes in v3: - Added string for Odyssey - Minor shuffling of fields to make it similar to other entries 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..f6c9a41a88 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -500,6 +500,19 @@ soc_n2 = { 'numa': false } +soc_odyssey = { + 'description': 'Marvell Odyssey', + 'implementer': '0x41', + 'part_number': '0xd4f', + 'extra_march_features': ['crypto'], + 'numa': false, + 'flags': [ + ['RTE_MAX_LCORE', 80], + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MEMPOOL_ALIGN', 128], + ], +} + soc_cn9k = { 'description': 'Marvell OCTEON 9', 'implementer': '0x43', @@ -583,6 +596,7 @@ kunpeng920: HiSilicon Kunpeng 920 kunpeng930: HiSilicon Kunpeng 930 n1sdp: Arm Neoverse N1SDP n2: Arm Neoverse N2 +odyssey: Marvell Odyssey stingray: Broadcom Stingray thunderx2: Marvell ThunderX2 T99 thunderxt88: Marvell ThunderX T88 @@ -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, -- 2.25.1