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 2CF3742C5E; Thu, 8 Jun 2023 16:20:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04E19410D3; Thu, 8 Jun 2023 16:20:27 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2051.outbound.protection.outlook.com [40.107.13.51]) by mails.dpdk.org (Postfix) with ESMTP id 4265A40A84 for ; Thu, 8 Jun 2023 16:20:25 +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=66q2VCxx3iFXQZ+WNJNg3Vl9v98cOZSCmFsFcdDy0GE=; b=Gij7YACcfsyyuE1zdDUvVqM5MB8cBRhQwfxam06t4JPf1mqWs2MfPHm09rE6RAUSaETl7hMDgXIZ6ACbCAzUfvTkvKntxozuSAxyPRbGWjN8oUTx4HDDP21NcJNzuF1ArwsJNOMovN9Aw23/M1bl4nswrpUa/+knBmHilUDd7EU= Received: from DB6PR0201CA0035.eurprd02.prod.outlook.com (2603:10a6:4:3f::45) by DB9PR08MB10379.eurprd08.prod.outlook.com (2603:10a6:10:3d9::20) 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 14:20:22 +0000 Received: from DBAEUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3f:cafe::76) by DB6PR0201CA0035.outlook.office365.com (2603:10a6:4:3f::45) 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 14:20:23 +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 DBAEUR03FT049.mail.protection.outlook.com (100.127.142.192) 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 14:20:23 +0000 Received: ("Tessian outbound 3a01b65b5aad:v136"); Thu, 08 Jun 2023 14:20:23 +0000 X-CR-MTA-TID: 64aa7808 Received: from c5323cd8793a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B0A53B41-FC3F-45C4-97C2-EAC467215032.1; Thu, 08 Jun 2023 14:20:16 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c5323cd8793a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 08 Jun 2023 14:20:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ij3UWQ2jSwDzbbScKWmt4Anzdjks/QGU47PHSwV+Gzjuj1pzkPUgxakOFP99tiHsBuylN4qcF/xQxXjWSVjg0rdB1qMoGtWyV9pUdmtQP7ZuSgrJTB56rAMG94pjIxHStkIAAjQDnIDiV+AjHmH2NzvR+QazkQIq0otNcGPRuXAhFMUTIqXAdkJ1d36i9+5GCGEtP/JZpIoeAWSpA3NfKZKZEFbOonemFPoYlDb5pD6sNk5kC9cfjBiFi1RL4ByfzyhR2JYKaR2q3mHz/OKsrnweVs6j76halGOKvlUL3NEcTf/ewrikCKsLLfKkTxZ/GSlI27pq/ZZB21BfRmSZhg== 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=66q2VCxx3iFXQZ+WNJNg3Vl9v98cOZSCmFsFcdDy0GE=; b=ClN0yvqJC+2lbg91vW5SouUtIcbyCTk6UCDC6qp6dwi1e/14mf01gz6pAe6NpHpzDD2LPI+HfAEUGXvH4Z/Vv3KO6iZoMOxEKgXCUJ6DWJaWk03CCEgeu7jVCy5voJfnKZvWtKPHpyfwSQLrSW4I3U9OwNEUt7U4xtmYtCZNfAD5qSJq3o8CpMpJYw0GjHCl5Qcf3L/eFO+yUmz5PagvnEkIbnKI4bPlhp1p2AvLMKWw2S/GrEtyBQ/9J8pmCV3f/Gc9hfQx3uVzlHOq7nfSKU+vDxxKI/YHEW/SxfF6nvCbDovLmk+OCaj7W6WQaulcGFVekOb12k/k/boMMI9Y0w== 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=66q2VCxx3iFXQZ+WNJNg3Vl9v98cOZSCmFsFcdDy0GE=; b=Gij7YACcfsyyuE1zdDUvVqM5MB8cBRhQwfxam06t4JPf1mqWs2MfPHm09rE6RAUSaETl7hMDgXIZ6ACbCAzUfvTkvKntxozuSAxyPRbGWjN8oUTx4HDDP21NcJNzuF1ArwsJNOMovN9Aw23/M1bl4nswrpUa/+knBmHilUDd7EU= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AM8PR08MB5796.eurprd08.prod.outlook.com (2603:10a6:20b:1d1::22) 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 14:20:14 +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 14:20:13 +0000 From: Ruifeng Wang To: Pavan Nikhilesh Bhagavatula , "jerinj@marvell.com" , Bruce Richardson CC: "dev@dpdk.org" , =?iso-8859-2?Q?Juraj_Linke=B9?= , nd , 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+AspdwgAArmgCAABVF4A== Date: Thu, 8 Jun 2023 14:20:13 +0000 Message-ID: References: <20230608072757.9513-1-pbhagavatula@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 81C4D0D992EDA942BF214422F7CDC505.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7080:EE_|AM8PR08MB5796:EE_|DBAEUR03FT049:EE_|DB9PR08MB10379:EE_ X-MS-Office365-Filtering-Correlation-Id: 02ca0ea7-14c7-480d-962f-08db682b7f45 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: mr+sgl/gguDUGcI0o3IwfitWSgcw2QaizevhC+yjgmrddN410TT9rXVrwBK+bo2PWO42TJy08RWZQYMsSxpqpMsV5ARoefDKGpiYGH/i2ie/w4iiJ+YncaKwtNMLDaE4rZ9SyHKtm0tocuGpYuxYVI8MlCHiPVm09uyrTBeZX8lgtMpAgtGs2HgLVnywda0WO3uWBJJH7xLOJRQGYABvR+IN1NjL+9gtKWfctVpI2RnZkXNDHEvw6y2QU/2uhDpGRH6/vx/c06uQGtoUJ81mPHG7PR179Cm9GQcx2red5XEKlMslYIJnlNeKbLA0ppOckkNUf8yNNdxCIVHAOhsZt/BxzZ2tfBtQJhQpBAdjnQX644qEYPZTlML4ElA9V0Oqj/W83G56BUd0PzKmIGQH39s5Y7RiT3aLo8lkxfcAJQTU1wEplDkuSScyvy9+PnlvheCjGtWpveXMeTjKIZMPTR6/JFv/QpVgXG1gY/wMMgroT1x6i3f6BrD3V86Iud0tWPHQ8p3eDyv8012fhdKOKwAo4ZgqOQ2FBVvjVkq8j0/FTBSIXsGO7ND9m6DD/GCgNBevU2JZiJ/UtrsA/s+CVG9EStWGMai/BjNa1DkcrzWU3fJlpqKT4tCLzxvDgbKC 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)(136003)(39860400002)(366004)(396003)(451199021)(110136005)(54906003)(71200400001)(2906002)(38070700005)(478600001)(33656002)(8676002)(86362001)(52536014)(38100700002)(41300700001)(5660300002)(8936002)(55016003)(316002)(66476007)(76116006)(66946007)(64756008)(66556008)(122000001)(83380400001)(4326008)(6506007)(66446008)(26005)(53546011)(9686003)(186003)(7696005); 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: AM8PR08MB5796 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: DBAEUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 967abc26-e051-4802-4291-08db682b79b6 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q/q9nu5RDiayue9Qe3V8w6T5h2DCyrXMf4xWNOU7E+7ldzjvob4oK88QmM8I/8NDm5X2+PeUrHuFetkSCIeQFMA4qyVVR7pi/8T1hlRFY7j3AJm1TVIOS6AEj4dAhakkXxzVIKhPkB7ZQWX3gcPIoHlG/aTKcknHzLRnFTkigRFYJ4fT5uCEEtw8Pu7Dv2SYaQtaUSR00gAuixdOGLUdFSivMJTjR0EIXDcHlmoc/wMp0tW9/cb/U61G7zwxBlsBf2iNnjTUJ6ZTVQ7OMfC1h5eum6RFtl6Q4Q+7rpXHqUYOahSIK6o1VCM/mGQ4UrqMKGl4Y473KfRuWeWIKWbAKXfaWYIuZ19e7VAztd3+KBtIvVU2P8PSq6aeuW5bBf+fuLOM/967FHxy30sC0N2cAnZZtEKgejjgy91SCF3LbPT7mq9s55ITKDr7bOxUa6a+PXMfu66L7oIWdVZqR+gzgRpyn0R+YJEen4RIX/Tv55yIhFDe8qlVUFrXMp7YkfdssZvKohhb90+qGcjcnVdSNakVBgFqGKarK1uvYPF8mlwlVr1zgl93kfRfGdh7kGrB5jes19kvrXSw67GAn9wBK9d7FpqjFtTiZlG23woA9RJu5+HRXPIcfqYmIlOEBX4NDvK1t1UopzXG3fz1qCQ80YCdQll4R5RUGaGtHXw2yLASxnO4ZpV+qoPbO9x1Cdbm13q0p7JZw9NvE1LuOx15sr3vRBFEpr/LeBfTuyFtESNtysfRjrFpyd2O0zpr9BtN 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)(376002)(346002)(39860400002)(136003)(396003)(451199021)(40470700004)(46966006)(36840700001)(83380400001)(40460700003)(52536014)(5660300002)(81166007)(186003)(53546011)(82310400005)(9686003)(356005)(26005)(6506007)(336012)(47076005)(36860700001)(82740400003)(110136005)(55016003)(54906003)(40480700001)(33656002)(2906002)(478600001)(86362001)(7696005)(70586007)(70206006)(4326008)(8676002)(8936002)(41300700001)(316002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2023 14:20:23.1206 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 02ca0ea7-14c7-480d-962f-08db682b7f45 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: DBAEUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB10379 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: Pavan Nikhilesh Bhagavatula > Sent: Thursday, June 8, 2023 8:59 PM > To: Ruifeng Wang ; jerinj@marvell.com; Bruce Richar= dson > > Cc: dev@dpdk.org; Juraj Linke=B9 ; nd > Subject: RE: [PATCH] config/arm: fix Neoverse N2 march flag >=20 >=20 >=20 > > -----Original Message----- > > From: Ruifeng Wang > > Sent: Thursday, June 8, 2023 4:12 PM > > To: Pavan Nikhilesh Bhagavatula ; Jerin > > Jacob Kollanukkaran ; Bruce Richardson > > > > Cc: dev@dpdk.org; Juraj Linke=B9 ; nd > > > > Subject: [EXT] RE: [PATCH] config/arm: fix Neoverse N2 march flag > > > > External Email > > > > ---------------------------------------------------------------------- > > > -----Original Message----- > > > From: pbhagavatula@marvell.com > > > Sent: Thursday, June 8, 2023 3:28 PM > > > To: jerinj@marvell.com; Ruifeng Wang ; Bruce > > Richardson > > > > > > Cc: dev@dpdk.org; Pavan Nikhilesh > > > Subject: [PATCH] config/arm: fix Neoverse N2 march flag > > > > > > From: Pavan Nikhilesh > > > > > > The -march flag of Neoverse N2 should be `armv9-a` when used along > > > with > > -mcpu=3Dneoverse-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 =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',= 'armv8.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 this fallback safe? >=20 > Yeah, looks like we need to have a fallback arch if compiler doesn't supp= ort a given march > Armv8.5-a in this case. >=20 > > I think just remove march from N2 part_number_config is OK. >=20 > I will remove the march from part number config for now. > But we should work on defining a fallback arch in future as there will al= ways be a > compiler support mismatch. Agree. Need to adapt this for v9-a. >=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