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 8BE4342C5A; Thu, 8 Jun 2023 09:28:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6254640A84; Thu, 8 Jun 2023 09:28:21 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6EDD940042 for ; Thu, 8 Jun 2023 09:28:20 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35836TVQ020976; Thu, 8 Jun 2023 00:28:17 -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-transfer-encoding : content-type; s=pfpt0220; bh=3XR5kc0I0K0QnLdnZv57ULLCufBwazsLZmp2Ht/x5C0=; b=NRP0FwkhCiaQVKg6xy3jNIwwbbVwUsKv3vWS3yvmeDjhyJf89e/49cRZIbOlrrud46iB +M62E/CiPqGcMhabRPuuZ5Xk5UddLTS0HoHnFBKQaZ48LWSaykcAEaO6MsqTTqD2Eah9 udde/PBTZndYaZuBmuHKeS+clVySH9c5zpN4+hLJXNhZVdiZo7oy1FI6WC4hIKQvw8Kk B4l9W9fAsm2KeEtd7xYMl0yuO9hI7m8ENqlhG8tj6EIhCG/CQ8k5x7AEMuY1JI0I8Tuk JiPv3+5acT2YD+p3faeYA2HSdwK0fvHsHSJq7pc2vQ9UOO5cBW1x/Xd9KbehgizP3BXD Pw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3r30eu1n4a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 00:28:17 -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.48; Thu, 8 Jun 2023 00:28:14 -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.48 via Frontend Transport; Thu, 8 Jun 2023 00:28:14 -0700 Received: from MININT-80QBFE8.corp.innovium.com (unknown [10.28.164.122]) by maili.marvell.com (Postfix) with ESMTP id 1A23C3F7059; Thu, 8 Jun 2023 00:28:12 -0700 (PDT) From: To: , Ruifeng Wang , "Bruce Richardson" CC: , Pavan Nikhilesh Subject: [PATCH] config/arm: fix Neoverse N2 march flag Date: Thu, 8 Jun 2023 12:57:57 +0530 Message-ID: <20230608072757.9513-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: m8W4Du97NXMuEA2D1zqD-8imX7OcvgAm X-Proofpoint-GUID: m8W4Du97NXMuEA2D1zqD-8imX7OcvgAm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-08_04,2023-06-07_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 From: Pavan Nikhilesh The -march flag of Neoverse N2 should be `armv9-a` when used along with -mcpu=neoverse-n2. Fixes: ea85ed1f6882 ("config/arm: increase nodes and cores for Neoverse N2") Signed-off-by: Pavan Nikhilesh --- config/arm/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 43f6a551a2..d3b4b4917f 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -89,7 +89,7 @@ part_number_config_arm = { 'march': 'armv8.4-a', }, '0xd49': { - 'march': 'armv8.5-a', + 'march': 'armv9-a', 'march_features': ['sve2'], 'compiler_options': ['-mcpu=neoverse-n2'], 'flags': [ @@ -630,7 +630,7 @@ if update_flags # probe supported archs and their features candidate_march = '' if part_number_config.has_key('march') - supported_marchs = ['armv8.6-a', 'armv8.5-a', 'armv8.4-a', 'armv8.3-a', + supported_marchs = ['armv9-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.25.1