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 7DD6E42C5E; Thu, 8 Jun 2023 14:58:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57F44406B5; Thu, 8 Jun 2023 14:58:52 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1892F40042 for ; Thu, 8 Jun 2023 14:58:49 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35887BJ8023585; Thu, 8 Jun 2023 05:58:46 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2106.outbound.protection.outlook.com [104.47.55.106]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r329c2rqq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Jun 2023 05:58:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VZQuehDULVz8yYDcI2Yr9qgsYYnc/gtBRYYa4Srj5hssV6Vzv8H5tSXLggAI8ZzcLvEPk79myikdDDHbt034dNOsmllQEiL3OJNcNYll1pHdiziaG/MNZvSDMuLwfXilPxyohCo28Ie0XU3Z55yyeq5eI+25E4emh6N8p8qP5lLyUO+aFGgPZu/PbJBqPteOyHNnDEGdqBvyU3gYgEcMYl48oDgTBGxY52sjN+AMUL0WwwWEueiHACnLziefAHFCfUXel6V6V/bSJd3BjR/Rq922i5BI1O5FrfRRc+uUe64a7UsDg0HgIyppucuxj2m8ySO6TannjZjj5dgGaCWiig== 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=XvQ9jkeIRVjOYy7J5oypJ2G2c0+JsMp6Jbs9rNWhEK0=; b=bkhIfVenHbTG2FjKnzvUEwFZIcZfe49PYhcZim/VYCmVb4s5h3X71z2un7vlT9WFSMHigICRnD1tBloqkc7ttLUWOny2S0dI2Y0e5BMEVZ67o6/f7AchKyZKhN6dCMDbA6fP9DLBqXihiw0cKp9tTdO1N//WV2ifLg3KvBL3DAwxm2dHCcdWI0YwgHqIFh14zqbMWHuUYMLb5XckdoHBf3W9Hdsli3L5MqkOT81nKpbY19zgjAbUSKtIlsqKUHVZvQN9CB6vIheBL//h/LZKPpW1tAXYANrWR2s1t/Fa/d3RKw3yFNEQz4vj9R0N24lfmC0dZKTaqHzpT4tq7BT68w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XvQ9jkeIRVjOYy7J5oypJ2G2c0+JsMp6Jbs9rNWhEK0=; b=X1CibThigzBXRxAXmj/ZhfbgtaONpVds6BQYtK5iphD4IRjcPmggC3X2iKV0So63r6N5vwQhcIIWq/wWn+d+KkjuCVws0OBfw4giVsqUQL2qQmxIcrBmkT0dvQq7KLlc/77wG/mLzsN/HkrQS9EmK2zHzVRCxR/j5qb9Ga+70Is= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by PH8PR18MB5383.namprd18.prod.outlook.com (2603:10b6:510:256::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.39; Thu, 8 Jun 2023 12:58:42 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::600f:e50f:8159:d89%6]) with mapi id 15.20.6455.030; Thu, 8 Jun 2023 12:58:42 +0000 From: Pavan Nikhilesh Bhagavatula To: Ruifeng Wang , Jerin Jacob Kollanukkaran , 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: AQHZmdrMoungk7UjdEWd796c0iSUBq+At/0AgAAi8NA= Date: Thu, 8 Jun 2023 12:58:42 +0000 Message-ID: References: <20230608072757.9513-1-pbhagavatula@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNccGJoYWdhdmF0dWxhXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEyOWUzNWJcbXNnc1xtc2ctMzA0Y2IyOGYtMDVmYy0xMWVlLWI2Y2UtNGMwMzRmNWZhYTMyXGFtZS10ZXN0XDMwNGNiMjkxLTA1ZmMtMTFlZS1iNmNlLTRjMDM0ZjVmYWEzMmJvZHkudHh0IiBzej0iMjkzOCIgdD0iMTMzMzA3MDI3MjA1NDE0NDk1IiBoPSJmQ1ZpdGgvUW90a1VEL0lEc2FhOGtOWmpaWTg9IiBpZD0iIiBibD0iMCIgYm89IjEiLz48L21ldGE+ x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4086:EE_|PH8PR18MB5383:EE_ x-ms-office365-filtering-correlation-id: aa3ee48a-4ea3-40e2-ba98-08db68201618 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bLCRJyllFSWt7OQaIF5GhPvUJlGGhIbYbHtWu9nDsGo/VBHvWPROIa0Z6OFQeAKB89dG1ia192dThW8j0mUzZdDUf+T/EC5x0v2254wo90F+BOJZJT/n7/JYESv0bpm2+Oyqeq7g/AAl3gGHhSvp50w8akyef5sLbPb8/YUDZR/qg514CaTHcXH1kzpCS0QS2whPqY31Uwo5kXM9T8qZ64veCASWrVfcAFaGHtUKd5RppHoTGvf85AWngUO5LKl7/yvha29uH06vEg49fznl8cNhtTa+IbpZz6YD/MLNojSqLKoEGNlTLntO+HVyXzjncGM98izxwFDvLXqT7rvvu19URr/M0pkUJBR2ryNxDSz+xeuG/ZcE49rhNakXsYsYWsKKUDHA7V6VqFLN35JIfzttMzf/G0aWb0dQRqDudRzkXNVBmgz3mUfRDacnc4oEfkVHE86gyHnSl0uwVvHAhpkgksa9Y9pl4OCjiaBuXv+JBENbBtCU6qtj8H08QFsSwLzILgtI4h2DlZOPeb7mUnXLi3LFnbCQ7Woglg+gsY9qkl/ds8Sb+QnpCzmgKGoN87XYnzzTkeDlQgsZU5JlkhZ3vg1i4bwYiLJI7GT3rhUdpSvFafy6IpKDVf95i+Wp x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4086.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(39860400002)(376002)(396003)(346002)(136003)(451199021)(83380400001)(110136005)(54906003)(55016003)(478600001)(33656002)(8676002)(8936002)(41300700001)(38070700005)(316002)(76116006)(66946007)(66476007)(66556008)(52536014)(66446008)(122000001)(64756008)(4326008)(5660300002)(38100700002)(86362001)(7696005)(71200400001)(2906002)(186003)(26005)(6506007)(53546011)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chun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?iso-8859-2?Q?vuYs6ZopmqVN/e3LXI/shsDuAXgTqi7Nfe3drQBo5BmLEapQS8JxwFAltw?= =?iso-8859-2?Q?Qk6lE7btDkp4lTqCJi41I9U+DI8gMs9lz/QmOohUuVPrggewm4x1LF3AZn?= =?iso-8859-2?Q?bJnZI/bS0T0CqzyA1GTRg7/oCLaJkVLm2MUbWgsPMrHgkftoB6Pfoh0jxT?= =?iso-8859-2?Q?g7HleFU6PvdA4GVATEocrbAViFqR8/ImHzy2S4BmgGd3noOlOVZUm2vsfS?= =?iso-8859-2?Q?VynHHykL7SW2UcpKQG+hCAtpLMlDwaY4bxWyjykteMbTKFR+2t574s/Qqv?= =?iso-8859-2?Q?icgwcT9xbH93LfBAQBGdm34BTVAbah44qKrBuX2vnXavwi8/MR5jgZRwcG?= =?iso-8859-2?Q?/+cULqzrAAqB6K4WNNvEVQK11scRCt0Amg0g00FyEpuxK9U6IfhU4KXI+1?= =?iso-8859-2?Q?rTfRSy5eKKCijxfMqPpY4MWLKrorNDreeoxiBtW2Y2wP6ilyJ3M08OWvZ+?= =?iso-8859-2?Q?y/CkltD9G/0q85QSYpACW2bT1n4W+vDecwJhbBDZehtfNJROAx6Bd+lNyc?= =?iso-8859-2?Q?tPXlF5SS3uStzar8I9/C7VT+NPH3y+O1DuMhe/HTgFgVH5dgD/8kJkdBoK?= =?iso-8859-2?Q?j22thqdeY6dRpOHkTfWMv49vMGHzlwqDDw8OTwnnivUIWO8LAdLN8hyN7S?= =?iso-8859-2?Q?X9vA8xUp9EZX+jAcQOvZE81r0ZajzeAJzSOb5/dzsWrHAx03zVdWc95FIH?= =?iso-8859-2?Q?m1EgjbLAN/eEhe1Y3k4qfkCLY5JMA807IZolEDSVIICBWieuV6VH//F95y?= =?iso-8859-2?Q?b0idOByQQiBu8CQRtP+4Pj1qJ4lokDUPIq?= Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4086.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa3ee48a-4ea3-40e2-ba98-08db68201618 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 12:58:42.1564 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ufWyOIxNb1+df1U2KvtJ1qrF8JJBj4b5J2NsXQf4NMaRJYIhJCieBXvtWYP7EggdIAEUq8QsjG5hLmeG08ZMX9MYEeicYqpIMoF/fzx1dkg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR18MB5383 X-Proofpoint-GUID: VUxiaKT5ce2l9VzPctPDCcfWfHr2RXPV X-Proofpoint-ORIG-GUID: VUxiaKT5ce2l9VzPctPDCcfWfHr2RXPV 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_09,2023-06-08_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 > -----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 >=20 > External Email >=20 > ---------------------------------------------------------------------- > > -----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', >=20 > march may fallback to armv8.6-a if compiler doesn't support armv9-a. Is t= his > fallback safe? Yeah, looks like we need to have a fallback arch if compiler doesn't suppor= t a given march Armv8.5-a in this case. > I think just remove march from N2 part_number_config is OK. 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 alwa= ys be a compiler support mismatch. >=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