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 29D7F42C58; Thu, 8 Jun 2023 07:25:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F078940A84; Thu, 8 Jun 2023 07:25:14 +0200 (CEST) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2067.outbound.protection.outlook.com [40.107.104.67]) by mails.dpdk.org (Postfix) with ESMTP id 5E7DE40042 for ; Thu, 8 Jun 2023 07:25:13 +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=PVT5KQJszz9J4kQfQjChOZQVn+uKDoWAdvhh2o8tTe8=; b=T3JzdhBjIR6MY/n2pFNgjhxtF4/eEC7yiVmi4hd/uLDRT+wIr5yMddoL7Es0jKSksuL5DCcL66+QpzyxrV5Pj5Jievu1GNXZC5f9T6yLo537LmG8bTw4KGox8cOy3Iy2+/Kax/j8S0KN/GJBxGNSfZP3SamD+ln5RPSxdULzqGc= Received: from AM0PR04CA0010.eurprd04.prod.outlook.com (2603:10a6:208:122::23) by AS8PR08MB6296.eurprd08.prod.outlook.com (2603:10a6:20b:29d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19; Thu, 8 Jun 2023 05:25:13 +0000 Received: from AM7EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:122:cafe::1e) by AM0PR04CA0010.outlook.office365.com (2603:10a6:208:122::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 05:25:10 +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 AM7EUR03FT054.mail.protection.outlook.com (100.127.140.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.25 via Frontend Transport; Thu, 8 Jun 2023 05:25:10 +0000 Received: ("Tessian outbound 5bb4c51d5a1f:v136"); Thu, 08 Jun 2023 05:25:10 +0000 X-CR-MTA-TID: 64aa7808 Received: from 659dc81dcd6d.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8E7DC497-F9AD-45AE-A01F-4C512839EB34.1; Thu, 08 Jun 2023 05:25:04 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 659dc81dcd6d.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 08 Jun 2023 05:25:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U+XuFkyp1mHNE0tqhl6/S+n08qGhwzSev3unduQlPCPsbNkCxvtDJfzNlsavVOUQhZaMkpPudsi/VFXdHPl/u2QT6jW7f4fmpYBGILUrmYFAFlrjTAY/qeVYuIbp3uAH7+0xuWQeUzrlYV92n5R82+5ySL7KwNGbxrD6yLIJ+9B8fsH5yp6hJXuf5Okxa6T0+Kc1n5Xsk/J4HsrTxyn/EOm15Fuhk43t724hm+EeQJcahSVGCTUgIB4TfNZR+tzTCZcrp1dbPYHmA/d+GIyf1Zzii1j6ZLUVwvBHOl/qCj05YHAen0Y54zINZnGZvYI+vUXRn04JPsTV1LSp+GEJ+g== 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=PVT5KQJszz9J4kQfQjChOZQVn+uKDoWAdvhh2o8tTe8=; b=X59dJblKJcubVZaJ0uYu/4TV0xcPBhv1bIKEVSp0mOzP14wwEuZTWwuxJniOmvgXRurJvIbk8k1nhyQPE6TAzK51Ni8pyZOCHmBbcF4qromF32ruqiforY/bo3CraC6twT2yDUzAwWLQARKSC5I7I75QWjuiYx1UJBpyMYZvW83qW0/GwWHou9sVVVHTDlQXKI+DeW604m8yUTpt8yCsbHu56lBGaBQk5YR/UG+26WENoDboWEZh/1Iw72h+AKWRnidJJ7TZR5RgW4JWX62j+drnAYODrHgG8qIBButmB1MXCOgMSj/WjFLTVg9EsRp4nk4Mv3P0pl8085k/1xWO/A== 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=PVT5KQJszz9J4kQfQjChOZQVn+uKDoWAdvhh2o8tTe8=; b=T3JzdhBjIR6MY/n2pFNgjhxtF4/eEC7yiVmi4hd/uLDRT+wIr5yMddoL7Es0jKSksuL5DCcL66+QpzyxrV5Pj5Jievu1GNXZC5f9T6yLo537LmG8bTw4KGox8cOy3Iy2+/Kax/j8S0KN/GJBxGNSfZP3SamD+ln5RPSxdULzqGc= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AM8PR08MB6612.eurprd08.prod.outlook.com (2603:10a6:20b:368::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 05:25:01 +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 05:25:01 +0000 From: Ruifeng Wang To: Pavan Nikhilesh Bhagavatula , "bruce.richardson@intel.com" CC: "dev@dpdk.org" , "jerinj@marvell.com" , Honnappa Nagarahalli , Feifei Wang , nd , 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: AQHZkfKSluPOxEMR4kCARjdPU6mnSq9/gOqAgADQdnCAAA/GgIAADZ4g Date: Thu, 8 Jun 2023 05:25:01 +0000 Message-ID: References: <20230529055751.3035712-1-ruifeng.wang@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: EBD5B065FEFE774AB91A356C440E4B84.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_|AM8PR08MB6612:EE_|AM7EUR03FT054:EE_|AS8PR08MB6296:EE_ X-MS-Office365-Filtering-Correlation-Id: e30cab10-5b48-460f-acf3-08db67e0bac5 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: CR99Kg0I3I8rjUqz7rv29sov4WObOtOSfF2TZltzo23Gs326N33Z2DyVOwM8AO0bEwY+4FSdduP5yKlC6hd0brorSxa8Fx1wlLfb5aZvYmt6072LEg0xNCS/Hk1FRNrjJeWbbaoH6/91Yh+aWSyczmvk3NM+CJ7l9pWDFvfRGif/6TMTntgipX+L9Xc0iOeCyDdw866XV6Aq/Jbpuzbsvy+aRfVAM9WsVSO5ahAGuLP+/9wmL80+BgxxkEkKqIxguukvJ+iWbB8t2TGHZN200ETpWg8LaIiDp7NcDtcYYbRGBSLlprodLEq53lxh0wqzEI3vaxqmWbNbbRDhzneUrF9jFHUBwHEsFb7QNzp85jj+1R98IU56e0Zxt/gCBr+o2api8LX4x7c2+bAMTREpA89HRJgmfdwa5oURvmPkmirOnScauJ5MWujXAnh+RIi/Jdyh5ipE7P/hMbhobUBQgu8BVSdYRVqUnM3XEhqEQmgKS8yAZ9NVpHdIla+doQRRSYvtRB2Rm0JnMqWUOiqdJ3SAwALTjNV6Xf+UIKPArFLWwKY/Y1PEvKru4lXI1KKu0YrngJAgZGa5sW8ZWBd3gH9/1aPtrGyftjVkhGtnbf0= 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)(15650500001)(54906003)(71200400001)(2906002)(19627235002)(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)(966005); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6612 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: AM7EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 9fe36032-9d98-4cd6-3787-08db67e0b575 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HVr98AKdEkajWcUtDpjH+Bw29/XMXZbgYufS1xonLVdIARdhdSIznRP/Qd2JCjDuNhAsgOEXsnci46HPaV3GuhyK4arGMxAg4YFtmcwEYQERWcH55EzQuhYW+ALtHLaoYfgLjxFOeJbERjGv96KCgDs2WAbx7CsEUQJU+uDenOrn4S0OT3n7zkh0KtLebcfXKqYUytdcIE8JFSwFn0lnQ2qE0xpVOEVe3h6cudX2/O+sBF9BsIOEMOBvr7p0DH04LchbRz9kI3W3gmTPdh2V6Ids0+gt5HNqtlyZLEZE0HIzSYNA6NUndiL01XmuvxvKsm522AnXdc+9KHvyCsk+uasHttxyAvWqoVM+IQFoA2j0L/nXEZLTFzYp23NNdBOvijoRK+/KV12Hhg6U8xu3b+jVmjWKagYIlUi/MAYPwcruHVYgPMApYp6TBxSWPCXt5yg8PLtGkg2ssU2N2Ib9WrgJ6nW9Q19XgfXBid4JDcLdn9uJ+uzpMq0gh/n+oOLu27U32rYpFBOMBAMbkDv6dcvl4tAXBQ4c5ofKNatPwVI9cgiM+X19o4/WzQtnFELwNqNkLF6JfUWIVhT1tfa55yV71Gcec/4b/RQ1qs3g0o/QAs6AyhCTH5vTfXvdGwuuR5LDGWN/oFHKOjLuDujZ6FaKdxh0eLI0YxG3OpZ6P9FtoC8BVk53KB5xzcyAWgd2vu3acG4sYN3WrosXbh9QMEMCxZZ/ZUJdUAEujymJcTk= 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)(396003)(136003)(346002)(39860400002)(376002)(451199021)(36840700001)(46966006)(40470700004)(15650500001)(2906002)(5660300002)(8936002)(8676002)(52536014)(41300700001)(70586007)(70206006)(316002)(4326008)(19627235002)(54906003)(110136005)(7696005)(36860700001)(82310400005)(478600001)(6506007)(9686003)(53546011)(26005)(966005)(40460700003)(86362001)(83380400001)(47076005)(336012)(186003)(82740400003)(40480700001)(33656002)(81166007)(356005)(55016003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2023 05:25:10.6440 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e30cab10-5b48-460f-acf3-08db67e0bac5 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: AM7EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6296 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 12:35 PM > To: Ruifeng Wang ; bruce.richardson@intel.com > Cc: dev@dpdk.org; jerinj@marvell.com; Honnappa Nagarahalli ; > Feifei Wang ; nd ; nd > Subject: RE: [EXT] [PATCH 1/2] config/arm: update config for Neoverse N2 >=20 >=20 >=20 > > -----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 > > > > > -----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 N2 > > > > > > > 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, > > > > Hi Pavan, > > > > > I see the following warning when compiling with GCC 12 > > > > > > cc1: warning: switch '-mcpu=3Dneoverse-n2' conflicts with > > > '-march=3Darmv8.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. > > > > 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. >=20 > I see, should I send a fix? Sure. Please go ahead. Thanks. >=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 > > > > > > > > > '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