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 295F643B79; Thu, 7 Mar 2024 09:06:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1298D42DDF; Thu, 7 Mar 2024 09:06:38 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6A04C40A6D for ; Thu, 7 Mar 2024 09:06:36 +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 427122Ak030614; Thu, 7 Mar 2024 00:06:33 -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=EdlflSrC mBwgf89KtuLv7bzlSaxjWHYIyyiP5X5cLVI=; b=GrEVV+PLqA0u8gmOimIHNx/w GqiBvjr/DYSTHPDhfobrNV9tE8jPdiPiPrZ4VYzsuwxp0gbdGvnuTAodJ97D8gCn 684y4r4geyC6nYrl/NfPhEBrunhudBgedGiDUajWxXDrfjAGzaK+a+/qZ/Z7WiZm 3fKHe2Z0T5UmkOmgSTr7YIm0v9MhZCDeybRmKHwlDwUpN+L1MEwT6AHDmoxL446j z53yJTzx0RlNkeEUyKjZ7QnForET6jyujlceiBUshZ18k+dyfzV/VG+85QotBivE 5lbEov4tv+GRnm6VAt3wiV1cD1xcrYvPRHwvmQR/z/hKEh9/98dscZ0FmjJUdA== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3wq3jfs2xa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2024 00:06:33 -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; Thu, 7 Mar 2024 00:06:32 -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; Thu, 7 Mar 2024 00:06:32 -0800 Received: from BG-LT92004.corp.innovium.com (unknown [10.193.67.91]) by maili.marvell.com (Postfix) with ESMTP id 8CAFD3F707F; Thu, 7 Mar 2024 00:06:28 -0800 (PST) From: Anoob Joseph To: Honnappa Nagarahalli , =?UTF-8?q?Juraj=20Linke=C5=A1?= , CC: , Jerin Jacob , , Pavan Nikhilesh , Ruifeng Wang , , Subject: [PATCH] config/arm: add fallback march for Neoverse V2 Date: Thu, 7 Mar 2024 13:36:27 +0530 Message-ID: <20240307080627.177-1-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: U1sxb3CVxgGC0U9k6b4SBdhbsW1hrDZt X-Proofpoint-ORIG-GUID: U1sxb3CVxgGC0U9k6b4SBdhbsW1hrDZt 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-07_04,2024-03-06_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 march & fallback march for Neoverse V2 to support build with older compilers that doesn't support mcpu = 'neoverse-v2'. Signed-off-by: Anoob Joseph --- Depends-on: series-31402 ("config/arm: avoid mcpu and march conflicts") config/arm/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 3f5fb0f242..2e655ece05 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -106,8 +106,10 @@ part_number_config_arm = { ] }, '0xd4f': { + 'march': 'armv9-a', 'march_features': ['sve2'], - 'compiler_options': ['-mcpu=neoverse-v2'], + 'mcpu': 'neoverse-v2', + 'fallback_march': 'armv8.5-a', 'flags': [ ['RTE_MACHINE', '"neoverse-v2"'], ['RTE_ARM_FEATURE_ATOMICS', true], -- 2.25.1