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 4888742C5C; Thu, 8 Jun 2023 12:42:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36BA2406B5; Thu, 8 Jun 2023 12:42:12 +0200 (CEST) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2059.outbound.protection.outlook.com [40.107.241.59]) by mails.dpdk.org (Postfix) with ESMTP id EABCA40042 for ; Thu, 8 Jun 2023 12:42:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4D5uGq4/ijLdAXtQIZM/zGamTX8aKr5XBlOoU0FIRO8=; b=fZbxY36dwSsW2ICwpZ7bZcobPmPnha4dqQBNYazxPeT5MzmtlgkoxQzZguzNoj/xC4ocke0UZwD3PEv2l5fJ3Lvro2Xgz4JiV2uDq1Kh2pNJukdhEnjqKtu3sjlEd3cn8LDa/kwMQoAtZqm1ItW58NslyREg4H3t+IT86L+UVnU= Received: from DB6PR0801CA0055.eurprd08.prod.outlook.com (2603:10a6:4:2b::23) by PAXPR08MB6447.eurprd08.prod.outlook.com (2603:10a6:102:de::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Thu, 8 Jun 2023 10:42:08 +0000 Received: from DBAEUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:2b:cafe::1e) by DB6PR0801CA0055.outlook.office365.com (2603:10a6:4:2b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.29 via Frontend Transport; Thu, 8 Jun 2023 10:42:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT039.mail.protection.outlook.com (100.127.142.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.26 via Frontend Transport; Thu, 8 Jun 2023 10:42:08 +0000 Received: ("Tessian outbound 945aec65ec65:v136"); Thu, 08 Jun 2023 10:42:08 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 66ab477eaa8359f7 X-CR-MTA-TID: 64aa7808 Received: from 22c46e00bd26.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AD6FA9D4-686B-4969-9DFE-A2F212C1F2B0.1; Thu, 08 Jun 2023 10:42:01 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 22c46e00bd26.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 08 Jun 2023 10:42:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EdBRbXpJRgOAuG4aqVkjdw9HsA0/I7sLFK+puhw6AZVlGQ4W/+krb74HSUNrzCVfUu0dhf5mbjk+5IMFOiVRUcmccDDG4cFne70LKLkOB/wpnluEuLauLfMBWSjZsO0MdjuPzSBdGxLERUpsPyg89/ndAzoMTq5GdaVerFTkzwRH/W8qYJsRyTzAc+nS65JEblZe2aC43qaCfjAvXjRrul0yxt780dy4WuevEQZnQZVRmJW6ENHIt0DPrGuHMZGCG6Lf3eSoya5QDnii47e3z+Lt+EowoP1Wt1GDuU7qHSge3z+i+MVJPd0o2+M3B1ciuc/bvOcVszoUx2Hb3UwqMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4D5uGq4/ijLdAXtQIZM/zGamTX8aKr5XBlOoU0FIRO8=; b=Zfe6vennPpDu2325lVfSNQ5eE/qcDNdbvyCnHzaP629OWU5BfDP2CfPC3ku7WjmnhtP3aH3TEX8sQel/tkyLOEnNPhjQ6yP5JlRE7ZYhvMbVgitT9TqQAroNm2cQ2ghvNhIj2dgS/0+kqAvvn9norIY0NF0Z8/7EfpX+gCtx/2lJZGYi9PxNY3o192+3sbf3Akg/S7Z31CkpUp6IUxFxjbgClDDMfGCTpp3NIuf9HvLua2JmWFJJmFOqHq9Vi/ILjOnAjmfgmuyKSd6DOc/Dy+hm2ivpYz+w81o9jqOH08c0X2w+sthXFDks5TTTtYuiFyCkWvqb4lvPyOF823QAMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4D5uGq4/ijLdAXtQIZM/zGamTX8aKr5XBlOoU0FIRO8=; b=fZbxY36dwSsW2ICwpZ7bZcobPmPnha4dqQBNYazxPeT5MzmtlgkoxQzZguzNoj/xC4ocke0UZwD3PEv2l5fJ3Lvro2Xgz4JiV2uDq1Kh2pNJukdhEnjqKtu3sjlEd3cn8LDa/kwMQoAtZqm1ItW58NslyREg4H3t+IT86L+UVnU= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AS4PR08MB7902.eurprd08.prod.outlook.com (2603:10a6:20b:51d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 8 Jun 2023 10:41:56 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::dd71:31fd:80b0:c4e0]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::dd71:31fd:80b0:c4e0%4]) with mapi id 15.20.6477.016; Thu, 8 Jun 2023 10:41:58 +0000 From: Ruifeng Wang To: "pbhagavatula@marvell.com" , "jerinj@marvell.com" , Bruce Richardson CC: "dev@dpdk.org" , =?iso-8859-2?Q?Juraj_Linke=B9?= , nd Subject: RE: [PATCH] config/arm: fix Neoverse N2 march flag Thread-Topic: [PATCH] config/arm: fix Neoverse N2 march flag Thread-Index: AQHZmdrQWaZkxh/kmUS8yZvSdYpT6q+Aspdw Date: Thu, 8 Jun 2023 10:41:58 +0000 Message-ID: References: <20230608072757.9513-1-pbhagavatula@marvell.com> In-Reply-To: <20230608072757.9513-1-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: ECE5ABECBCE50F4EA7DB4C303645D093.0 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7080:EE_|AS4PR08MB7902:EE_|DBAEUR03FT039:EE_|PAXPR08MB6447:EE_ X-MS-Office365-Filtering-Correlation-Id: c55ebf4b-b921-4bb7-a1da-08db680d0230 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 5VOCCzoxvpi5XixfVWPw30OwL8He2HdK7ZoVkjAOZK9V3AHO0MNCxXqCGHxKfZtWHsJHszik7nOUplZCQWMbdi0sndnzDeGEn8CTUuohfr1qkzekgco//ulrYBmYn1Wg+BOguhM4puWyKbCRvzKqn+b7C3ofZ/24sfRck4hRc4BNakZYsiulVzUhoNYcYhdrBkznCmEdq/e3ZckK1POq7SKKZSKga6Bk3zS1xAHNyDpFQeL/iG38YGMklbXXw4uHhMAB0k+cFw2BprA51fBO20/w/4V+n7yvZWYIiudRxN0ANgedrIuLWb0XsBs11ogqYf85JfaURW4BX/2ZFRQK5AFGmuAs3gf1SF0bNsK3PgzZMYYgMiM5Gf++FvzGDkm/g1577v4at934giZ4SL/ZabloAKEiQ8npkj9PB17chOX3pf1PNWFDWJ29cbtZWZjX7hZXZL6vIV2TMAaCd6SXzrQhDFsEKjNdVeYtGHhgXOX84grhU446HIGPkNs9p+JQKLbgNN02Q8Q9SboA4420rmN7B3l6PbSasyioBWotiZ9wFuzRlANcX+F9gH449Xep9ysmuQmNG+7YNxElgcdzRhNro/DZUKJ1xDlY1UGGfDdCzX9SVD4WvRYgumDEgb1U X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(451199021)(76116006)(66946007)(66476007)(64756008)(66446008)(66556008)(8936002)(8676002)(4326008)(55016003)(316002)(110136005)(54906003)(2906002)(41300700001)(478600001)(5660300002)(52536014)(71200400001)(7696005)(6506007)(26005)(9686003)(53546011)(33656002)(83380400001)(186003)(38070700005)(86362001)(122000001)(38100700002); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB7902 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ce9dac82-debd-4628-3113-08db680cfc8a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /v31ZV84xa+aPZqytbXv443wmQWJz0aC/AecMgRDRQUzo8l6eR//H93A8EDRHkLsbNlb8FAYAFSf2x9PvN0Nna/MMyp7GXmrPtGBR1WhVBLouYE/69inqEq8sFONnfRQTqLp6BBobdPzC5MPlMa8n2Ep7WpghVM+tcqMHFk4IaA6ftFt1gKN+wd+Vu85ukodon6FFg/flCQG+7d4UzmumS0zGZ2Vga33OheYSMpR5LFWIF5cRt1+m0umBAcCkXrW2Y0kXC7ehzb23wwVgbpQ+GijsYKHUeAr4FifdNPPEL2+8MWpb46DSj1djMBQcGndO6Y8wciCORO8Syzpi6Fh3u+DiAliDKhv8S9NFg7tSsbWLpthiPzyo8qGshVKghzyi8YrHF6JLb39c3Sbi+lOND9lni3cOQhFogbPcZvKrdBpV1NVZAsTKhV0lqFNlJsD77yleK+d/aGWSYGWS+w5EQu0RDC7XMy0TlbNl4J9EdHBewBM1Pj0WhsydxMYpiCp4XlkU4owBHABi+O8XMmksWiVJYbfIhomhZGN8K98cLX8S2/M2ciWuXt6jYRpksfSb5gGl424O2yjbKiqMcbCTg6M8UalmwWxh8kIwOOHA/qPTApOJvfohEJSxu9ahHWDx6yTfSKfZJ8Tpc/nPlYziMVFFuvJBezyz7hqMMpmILNURRbFE7G7CPDE6IaDwI5NDaI/4sYYt81eA5Qf7LVnLlIlWsZdzdPIl9xD1V9w0+619piZahYy9SIm8BAk0Ddw X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230028)(4636009)(136003)(376002)(39860400002)(396003)(346002)(451199021)(36840700001)(40470700004)(46966006)(5660300002)(41300700001)(55016003)(40480700001)(8936002)(8676002)(52536014)(4326008)(70586007)(70206006)(316002)(110136005)(54906003)(2906002)(478600001)(40460700003)(356005)(81166007)(186003)(26005)(6506007)(86362001)(9686003)(53546011)(33656002)(82740400003)(7696005)(36860700001)(336012)(83380400001)(82310400005)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2023 10:42:08.3506 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c55ebf4b-b921-4bb7-a1da-08db680d0230 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6447 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 > -----Original Message----- > From: pbhagavatula@marvell.com > Sent: Thursday, June 8, 2023 3:28 PM > To: jerinj@marvell.com; Ruifeng Wang ; Bruce Richar= dson > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [PATCH] config/arm: fix Neoverse N2 march flag >=20 > From: Pavan Nikhilesh >=20 > The -march flag of Neoverse N2 should be `armv9-a` when used along with -= mcpu=3Dneoverse-n2. >=20 > Fixes: ea85ed1f6882 ("config/arm: increase nodes and cores for Neoverse N= 2") >=20 > Signed-off-by: Pavan Nikhilesh > --- > config/arm/meson.build | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/config/arm/meson.build b/config/arm/meson.build index 43f6a5= 51a2..d3b4b4917f > 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -89,7 +89,7 @@ part_number_config_arm =3D { > 'march': 'armv8.4-a', > }, > '0xd49': { > - 'march': 'armv8.5-a', > + 'march': 'armv9-a', > 'march_features': ['sve2'], > 'compiler_options': ['-mcpu=3Dneoverse-n2'], > 'flags': [ > @@ -630,7 +630,7 @@ if update_flags > # probe supported archs and their features > candidate_march =3D '' > if part_number_config.has_key('march') > - supported_marchs =3D ['armv8.6-a', 'armv8.5-a', 'armv8.4-a', 'ar= mv8.3-a', > + supported_marchs =3D ['armv9-a', 'armv8.6-a', 'armv8.5-a', march may fallback to armv8.6-a if compiler doesn't support armv9-a. Is thi= s fallback safe? I think just remove march from N2 part_number_config is OK.=20 > + 'armv8.4-a', 'armv8.3-a', > 'armv8.2-a', 'armv8.1-a', 'armv8-a'] > check_compiler_support =3D false > foreach supported_march: supported_marchs > -- > 2.25.1