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 C1E7C44147; Tue, 4 Jun 2024 06:46:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A31ED402D2; Tue, 4 Jun 2024 06:46:45 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id C566D40156 for ; Tue, 4 Jun 2024 06:46:44 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8FBD41042; Mon, 3 Jun 2024 21:47:08 -0700 (PDT) Received: from ampere-altra-2-1.usa.Arm.com (ampere-altra-2-1.usa.arm.com [10.118.91.158]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 01A283F792; Mon, 3 Jun 2024 21:46:43 -0700 (PDT) From: Wathsala Vithanage To: Ruifeng Wang , Bruce Richardson Cc: dev@dpdk.org, nd@arm.com, Wathsala Vithanage , Dhruv Tripathi , Jack Bond-Preston Subject: [PATCH 1/2] config/arm: adds Arm Neoverse N3 SoC Date: Tue, 4 Jun 2024 04:44:00 +0000 Message-Id: <20240604044401.3577707-1-wathsala.vithanage@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Arm Neoverse N3 part number to build configuration. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Reviewed-by: Jack Bond-Preston --- config/arm/meson.build | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index a45aa9e466..ec7588f055 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -116,6 +116,18 @@ part_number_config_arm = { ['RTE_MAX_LCORE', 144], ['RTE_MAX_NUMA_NODES', 2] ] + }, + '0xd8e': { + 'march': 'armv8.7-a', + 'march_features': ['sve2'], + 'fallback_march': 'armv8.5-a', + 'flags': [ + ['RTE_MACHINE', '"neoverse-n3"'], + ['RTE_ARM_FEATURE_ATOMICS', true], + ['RTE_ARM_FEATURE_WFXT', true], + ['RTE_MAX_LCORE', 192], + ['RTE_MAX_NUMA_NODES', 2] + ] } } implementer_arm = { @@ -555,6 +567,13 @@ soc_n2 = { 'numa': false } +soc_n3 = { + 'description': 'Arm Neoverse N3', + 'implementer': '0x41', + 'part_number': '0xd8e', + 'numa': false +} + soc_odyssey = { 'description': 'Marvell Odyssey', 'implementer': '0x41', @@ -680,6 +699,7 @@ socs = { 'kunpeng930': soc_kunpeng930, 'n1sdp': soc_n1sdp, 'n2': soc_n2, + 'n3': soc_n3, 'odyssey' : soc_odyssey, 'stingray': soc_stingray, 'thunderx2': soc_thunderx2, @@ -833,7 +853,7 @@ if update_flags if part_number_config.get('force_march', false) candidate_march = part_number_config['march'] else - supported_marchs = ['armv9-a', 'armv8.6-a', 'armv8.5-a', 'armv8.4-a', 'armv8.3-a', + supported_marchs = ['armv9-a', 'armv8.7-a', 'armv8.6-a', 'armv8.5-a', 'armv8.4-a', 'armv8.3-a', 'armv8.2-a', 'armv8.1-a', 'armv8-a'] check_compiler_support = false foreach supported_march: supported_marchs -- 2.34.1