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 04BB742C58; Thu, 8 Jun 2023 06:34:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C998C40A84; Thu, 8 Jun 2023 06:34:42 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 4359C40042 for ; Thu, 8 Jun 2023 06:34:41 +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 357LwAQt023531; Wed, 7 Jun 2023 21:34:37 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2108.outbound.protection.outlook.com [104.47.55.108]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r329c15uj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Jun 2023 21:34:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UNQv6I8eZiZASpnayrvGqMist1Pn4XPpR+s0bGdiZ2wc2r7JRVSWrGD+wH7jNdGZw5lf09eYy7epZXAAiP0b1OyMbbIh6E5NlKeHDauWQJJJNtCClj2rkdxdlBgrma1g6zOzKIOwGMcvtl/D6c9uDzlmqEwEgq2e5ozDDCaLJ86UOXZCWd7iW1EZ8eOLGFPHUuwIWCPlMImqpI2WVBXoALgCufH7US33XMdWKbC0fqtm95LsKH4hCpPe3fkoipDwj1fh/v8iL80SvzLYpWV7k/rdd8mUTQm8x+RRIYdnofnSnj3AFafoZ4snVm892Qqs2a52KGohrSlXsaJ3xZy9aA== 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=Oe/VRX5x6O0b4o/YZjYaWAZ8YtSYdKFOwvGEYt7AssI=; b=EVRyHr78uhltl3Me0P7D3kkefa4MmoXFA/kwgZglJMU1BvHTFK1Q/fVnGakE0Dn8Jz3MC/Hv64NxlxZSikIFW2rrLUEE8uyHyYY525fSkYMNyjCrxfpzLO0zMy6ZC6fDVXydqMr2Nos2NKW1vevQ7u1JYnoFyRI3WdKu1rC/9kCB/ttw90yKZtn7duSGHUcyHC3/EY/YPnjUUWE8GvssWX229AKe7WihJ/HY3EO8Thu86Hk+0BBl1EBucTiUyiYaImQTjh5+VHm+TLMzuqb+cYmoCPJYLqsbDvSFo1cC4tjkSzr9bGqZDDKKyw0KZsQbfuL2TBtzf1D3eer/enm1iA== 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=Oe/VRX5x6O0b4o/YZjYaWAZ8YtSYdKFOwvGEYt7AssI=; b=ZQIEkEpoJHqYpL6LdDA7N5LrhgbO5E5w+mTP4l13z4sSxUeZ7WqG6Ycn7XGXo6vUvQR1SNN192BI28a5a8bSmzw9DGetKNwfe6cYw9bZ7m/AYNghnrspe5ynJ4D2lfwxv3KTVwkPZxFU/DXJ9UEk9cWSeT2Nok4K1LydElQ5E3s= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by CO6PR18MB4465.namprd18.prod.outlook.com (2603:10b6:303:13b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.38; Thu, 8 Jun 2023 04:34:33 +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 04:34:33 +0000 From: Pavan Nikhilesh Bhagavatula To: Ruifeng Wang , "bruce.richardson@intel.com" CC: "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Honnappa Nagarahalli , Feifei Wang , nd , nd Subject: RE: [EXT] [PATCH 1/2] config/arm: update config for Neoverse N2 Thread-Topic: [EXT] [PATCH 1/2] config/arm: update config for Neoverse N2 Thread-Index: AQHZkfKNen7w1ACsrUCYYQQGaISLBK9/fqQwgADhB4CAAAFM8A== Date: Thu, 8 Jun 2023 04:34:33 +0000 Message-ID: References: <20230529055751.3035712-1-ruifeng.wang@arm.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+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNccGJoYWdhdmF0dWxhXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEyOWUzNWJcbXNnc1xtc2ctYzJjNDNkNWQtMDViNS0xMWVlLWI2Y2UtNGMwMzRmNWZhYTMyXGFtZS10ZXN0XGMyYzQzZDVmLTA1YjUtMTFlZS1iNmNlLTRjMDM0ZjVmYWEzMmJvZHkudHh0IiBzej0iMzIxNyIgdD0iMTMzMzA2NzI0NzE5OTk1MTMzIiBoPSJiUnM1THorcTZUamIzZmpZa0NzZkpiOVlXRmc9IiBpZD0iIiBibD0iMCIgYm89IjEiIGNpPSJjQUFBQUVSSFUxUlNSVUZOQ2dVQUFIQUFBQUQ5S0J1RndwblpBUndhUTVncmxIQkZIQnBEbUN1VWNFVUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBRUFBQUVCQUFBQVIveFhoZ0NBQVFBQUFBQUFBQUFBQUE9PSIvPjwvbWV0YT4= x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4086:EE_|CO6PR18MB4465:EE_ x-ms-office365-filtering-correlation-id: 39814bc6-45b0-4ef0-e4db-08db67d9a88a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9/sEIQzItbxvhGDSDz/uTJmNOGn3N+oEI3pSupcmrldfLlzCpgkzTvxC794lqwHDzuQic82Q1djbFi9Kqa8SAqZT55Ub9K96FAi+lPPhuTG2YoGP3F6PR7dDBqMmg4Gk+5bdZtQv5n3L2G7NPP4kUUt81Xu0wxML4lo9ZKdRFwpAxN5lhXE52Efc6KYC6DaAVjbRdYFQJwvw3bGbDen1CX4bTbQwUXH4wubq/pAlgpEafTrkgq9dGk/FiDrrKrWCH9+vmuZkw/Uuq/jnhN8ZhP+X///QfAMVCcDfO0oGzLzPmMzpQDeFdjLiOYGFlZep2sGQWFgjsrDhajEgB/HJHuLcl2lUMjgo5Qw4DceT3UU2Vk9vfaHVEkY40UjvfEcB4SpfihcazZhCGnp8vmaA086viX4j0n5fpWJetjMk/EZ3IjjQY7OQqGKaMPqpSBiA22vBTQmnT4IKru3Ucsbd+ivnWnyOYPDbWKQYg1E6NDCIcW4RJb06X57fFqklLe/cg/L7bu/ecybKWbKRiDQJAeuCG+auUIFVaJ0qJlkhKpriVHGhBdo+IE13rNSi6uJocmd0TUL4DqfuIuEtNmG2LjLkEDaoFe7TBOAK8ZORTwU= 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)(136003)(376002)(396003)(39860400002)(346002)(366004)(451199021)(66946007)(66476007)(66446008)(64756008)(66556008)(76116006)(478600001)(19627235002)(110136005)(54906003)(8676002)(8936002)(52536014)(5660300002)(71200400001)(4326008)(316002)(966005)(41300700001)(7696005)(38100700002)(122000001)(9686003)(53546011)(38070700005)(186003)(26005)(6506007)(83380400001)(55016003)(86362001)(15650500001)(33656002)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3Vr+kbhS3i1WKlxUmwlC9aS6luwXqc6SknOmZh0lB6/pc7LFi6KIm73jeB0d?= =?us-ascii?Q?IQlDCThAmS3xq0AJ92a6DJFNQZ2bF79UOmBirAizD9Vqm0Th//Qv7Ds54td7?= =?us-ascii?Q?CcUfgkc0XI2v+Jam2LyjFM2a+5B+JHMLHMda1njZgPCTgsWYSUiP02hlt19u?= =?us-ascii?Q?0sXnxaNYVSgocOwYcD0/EfSBhuSnOYr2Gy5bIm6ewKFVaghRfyLvYepd6k8+?= =?us-ascii?Q?hYc1PLVYJzR1bC48j3bWHXZBFpRrUwIgaAhTySZbx0fz4d2fqOVgie69QBLl?= =?us-ascii?Q?cKP0hbGhxu337awjmc7nwPBCtWHW+WUtCz+9qlXeIpISfusklAVD/ylOd5wv?= =?us-ascii?Q?AK1bwsEr3DWgwRtXA+pck7RgD+3cy+Gd305chF2CaBf8MGEPkuT8n+gc5qnU?= =?us-ascii?Q?cGq/Tz8SKfxWv80KZpha9GCq7IbZu4LPmAeu2s2hHVkFUCyyB4/GqY2MysLx?= =?us-ascii?Q?IXO8TCZ9FjJ1icZjCWxHjPkdgNVSW8aZDzoX7yzgq20LiAljr3WPI8kFB/Xu?= =?us-ascii?Q?7Ws8ykCsyMAOtOihYvmReUTiF5E5q9A2Ov5NMbok6LObYK4yBFIqAK8hrQNj?= =?us-ascii?Q?LcCQKUimCZI8NrNgTH2X08tR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IbtBwlTLjYZnCbsGAuXFyTSUENumXDsKwvwDpNu4g/1I3Fu5RUBLs?= =?us-ascii?Q?GGMmx60VFAkit5LKIruQXoAxEbhABtonoTjgtZK8?= Content-Type: text/plain; charset="us-ascii" 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: 39814bc6-45b0-4ef0-e4db-08db67d9a88a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 04:34:33.5938 (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: GMps2/pfUayD/9DrMH7QKsD5KxzJaftB00GV8W3Nfntzes90vmfI3mSxLcmhq5wFTy69ScL2yVksnXWlRlyVxdvdKvR4HQj5sAgeFaypZIk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4465 X-Proofpoint-GUID: LxqPnFAIlBTC3sLCSxZ-DOPinA59koTX X-Proofpoint-ORIG-GUID: LxqPnFAIlBTC3sLCSxZ-DOPinA59koTX 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_02,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 > -----Original Message----- > From: Ruifeng Wang > Sent: Thursday, June 8, 2023 9:59 AM > To: Pavan Nikhilesh Bhagavatula ; > bruce.richardson@intel.com > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > Honnappa Nagarahalli ; Feifei Wang > ; nd ; nd > Subject: RE: [EXT] [PATCH 1/2] config/arm: update config for Neoverse N2 >=20 > > -----Original Message----- > > From: Pavan Nikhilesh Bhagavatula > > Sent: Wednesday, June 7, 2023 11:12 PM > > To: Ruifeng Wang ; bruce.richardson@intel.com > > Cc: dev@dpdk.org; jerinj@marvell.com; Honnappa Nagarahalli > ; > > Feifei Wang ; nd > > Subject: RE: [EXT] [PATCH 1/2] config/arm: update config for Neoverse N= 2 > > > > > Updated maximum number of lcores and numa nodes to support > platforms > > > with multiple numa nodes. > > > Added mcpu compiler option. > > > > > > Signed-off-by: Ruifeng Wang > > > Reviewed-by: Feifei Wang > > > --- > > > config/arm/meson.build | 5 +++-- > > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > > > diff --git a/config/arm/meson.build b/config/arm/meson.build index > > > 5213434ca4..9e55e9f2a4 100644 > > > --- a/config/arm/meson.build > > > +++ b/config/arm/meson.build > > > @@ -91,11 +91,12 @@ part_number_config_arm =3D { > > > '0xd49': { > > > 'march': 'armv8.5-a', > > > 'march_features': ['sve2'], > > > + 'compiler_options': ['-mcpu=3Dneoverse-n2'], > > > > Hi Ruifeng, >=20 > Hi Pavan, >=20 > > I see the following warning when compiling with GCC 12 > > > > cc1: warning: switch '-mcpu=3Dneoverse-n2' conflicts with '-march=3Darm= v8.5- > a+sve2+crypto' > > switch > > > > Removing 'armv8.5-a' from the list makes the warning go away but what's > the correct march > > for neoverse-n2? > > Armv9.0-a is not a supported march flag in GCC. >=20 > Thanks for pointing this out. > Neoverse-n2 is v9.0-a. The corresponding march flag in GCC is 'armv9-a' [= 1]. > 'armv8.5-a' should be removed from the list. It was used when armv9- > a/neoverse-n2 is not available in compilers. I see, should I send a fix?=20 >=20 > [1] https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > 3A__gcc.gnu.org_onlinedocs_gcc-2D12.3.0_gcc_AArch64- > 2DOptions.html&d=3DDwIFAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DE3SgYMjtKCM > VsB-fmvgGV3o- > g_fjLhk5Pupi9ijohpc&m=3Dv0RqCjWj9zEynw7pgt6ghZX4BNI5Vnk0UxA4sYAxRr > RtO8lLHUhKYCNTniy2Jb5L&s=3DtEj1y2WPKFeatDFYUFqX49tv- > 2rG2wx0UiWklOYUvhY&e=3D >=20 > > > > > 'flags': [ > > > ['RTE_MACHINE', '"neoverse-n2"'], > > > ['RTE_ARM_FEATURE_ATOMICS', true], > > > - ['RTE_MAX_LCORE', 64], > > > - ['RTE_MAX_NUMA_NODES', 1] > > > + ['RTE_MAX_LCORE', 128], > > > + ['RTE_MAX_NUMA_NODES', 2] > > > ] > > > } > > > } > > > -- > > > 2.25.1