From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1743BA04E7; Tue, 3 Nov 2020 20:45:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7DF5E5A8C; Tue, 3 Nov 2020 20:45:21 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60063.outbound.protection.outlook.com [40.107.6.63]) by dpdk.org (Postfix) with ESMTP id C8B725A0F for ; Tue, 3 Nov 2020 20:45:19 +0100 (CET) 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=Hiq0HPknEN55xaz2oknHKjmCghW/xqgmxeaeTzlxGsQ=; b=6QbfY4REK0BRSHlwe4WvWiwU/PELu7B3k2Yy9JvwGcx1AWSJFuBi1eHJPSkGoPTExV+pEIohZFMKCJZK0hbCYj6GU+5oOZyGib2tMBd3gzInuzsPBUGPw+3EOhW9VjIj5d5fU1jWGOWF0o7JOqSh/fERZQUYs3MV5O1hmhDDIT4= Received: from AM6PR01CA0045.eurprd01.prod.exchangelabs.com (2603:10a6:20b:e0::22) by AS8PR08MB5893.eurprd08.prod.outlook.com (2603:10a6:20b:23e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Tue, 3 Nov 2020 19:45:17 +0000 Received: from AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:e0:cafe::9d) by AM6PR01CA0045.outlook.office365.com (2603:10a6:20b:e0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Tue, 3 Nov 2020 19:45:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT063.mail.protection.outlook.com (10.152.16.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Tue, 3 Nov 2020 19:45:16 +0000 Received: ("Tessian outbound 7c188528bfe0:v64"); Tue, 03 Nov 2020 19:45:16 +0000 X-CR-MTA-TID: 64aa7808 Received: from 8573d932287e.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 966E37DF-A89B-4D1A-8804-D5E38757B3D7.1; Tue, 03 Nov 2020 19:45:11 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8573d932287e.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 03 Nov 2020 19:45:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cXf7kUdx00TJjNoiflhcjcBv2p9D5ryFEgyku+6WKo84atNl+kB08nl/8lFwd1D7dfSaxq4S3O54TN1+0/sjENQFyYwpA0jRMgANYUYajXVIngf+n0IW0SPBCLx4iYS97HmUv+TZbuTVb1ttOdJkeuAWbupm1fYdsCF8NWECVWCtdKA8COpBENik3XmfEHgP8QEIhJh3LkkUT5s/mdw9cjEYPpqSsUM7BagxAhf6cxC734Bc9S3GoRs5cr5TqEfs+hpeZ7AxU7W3+2qIXlyRdCHEwDzcJ8Ebh7K8wZ4HttaS0KdK58rBD+QINRAy4/EaIymvO4c9IQsYEDL+aThLeQ== 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-SenderADCheck; bh=Hiq0HPknEN55xaz2oknHKjmCghW/xqgmxeaeTzlxGsQ=; b=F8ca0NgV27bRB9QLFdwlVsxaLPh+2/BNP30/jTnTGcstoDzCrdzJgQbxjJjQjqyyBsROruS0YzhmUmJ3hM2PnPpq+X8h7hG7bqwfXZtHXWJ+bt7iioeIB9MwEyGUOTJjFR9ws6ZMS3QxGO8600uXEUDKKu0AY7O3WsS+0eJyV6DUfPDR1RWWWTMD5T1zOIiQ0X+8wWlnNg55HC6MAIRmdhtGtalbQB57MO8hDYv7dyyhNanJzyH0kMKCUvPdYv+fs0+IpgA/qVH8lGixfVrOdHKvvq1fibprgDfw2gPU8fN39dYH0qJKkJLhEji9UeF5n8iH4JxAkFPeslsnjJFQ/g== 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=Hiq0HPknEN55xaz2oknHKjmCghW/xqgmxeaeTzlxGsQ=; b=6QbfY4REK0BRSHlwe4WvWiwU/PELu7B3k2Yy9JvwGcx1AWSJFuBi1eHJPSkGoPTExV+pEIohZFMKCJZK0hbCYj6GU+5oOZyGib2tMBd3gzInuzsPBUGPw+3EOhW9VjIj5d5fU1jWGOWF0o7JOqSh/fERZQUYs3MV5O1hmhDDIT4= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB8PR08MB4955.eurprd08.prod.outlook.com (2603:10a6:10:38::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Tue, 3 Nov 2020 19:45:09 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::7814:9c1:781f:475d]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::7814:9c1:781f:475d%4]) with mapi id 15.20.3499.032; Tue, 3 Nov 2020 19:45:09 +0000 From: Honnappa Nagarahalli To: Vimal Chungath , "dev@dpdk.org" CC: Dharmik Thakkar , "alisaidi@amazon.com" , "bruce.richardson@intel.com" , "hemant.agrawal@nxp.com" , "jerinj@marvell.com" , "jerinjacobk@gmail.com" , "juraj.linkes@pantheon.tech" , nd , "thomas@monjalon.net" , Honnappa Nagarahalli , nd Thread-Topic: [PATCH v3 1/1] build: add Graviton2(arm64) meson configuration Thread-Index: AQHWsg0xete10XePHU6XKOmeb02vwqm2z2RA Date: Tue, 3 Nov 2020 19:45:09 +0000 Message-ID: References: <20200909011109.2048-1-vcchunga@amazon.com> <20201103180645.34467-1-vcchunga@amazon.com> <20201103180645.34467-2-vcchunga@amazon.com> In-Reply-To: <20201103180645.34467-2-vcchunga@amazon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 5D2CE0AB0443E84E853233912C9E7547.0 x-checkrecipientchecked: true Authentication-Results-Original: amazon.com; dkim=none (message not signed) header.d=none;amazon.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [217.140.110.7] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4428e21e-c09e-43a1-8a1a-08d88030fd4e x-ms-traffictypediagnostic: DB8PR08MB4955:|AS8PR08MB5893: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: eGYCTHcXi93K+oyDBBzlttZHqvtUqGBSV+cK+7zPFmqO92m4rEEorbFfn54vs7ynyydQBeXeXBnH42ytPIPMXCwA3gx9qOgU5m1Qdd43bPqcb4JZc/rp+ApmfiSp7EiRKHtORto9AlbkQ9AvhcV4QZcYZXzARjZ0uqAo686qSDc2Vsa4Fe1ibTFwat8EgZ7QSIzb0KCEJsxt9K1jWW1+eCa8R13xhoTHmyYiL2ExLt9dxHKRUIzUv0f2vseykLqoONeSdWIPG5nay7Jm7HQS1TuBzAB64n9Y5FU8E3oWyt8N7nReOahHjLC5LeCOhGQeE/KqsY5ubbtDL3V398VieyCHCH8eUnjjL4CGE3a/dc4F/mDVLly83MsTD/RW1bT6uLsjM7CtsZ9pXNJZNh7kNg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(346002)(366004)(396003)(136003)(83380400001)(26005)(86362001)(186003)(4326008)(55016002)(478600001)(53546011)(6506007)(5660300002)(2906002)(33656002)(7696005)(76116006)(8936002)(9686003)(66946007)(316002)(66556008)(66476007)(64756008)(52536014)(66446008)(966005)(110136005)(54906003)(8676002)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: LPMBGDfBJzCHZbwjipeN4k6x72Mp4Dfeht72FG585u5fYSGa8LqAd/mGSbJsruFK4DP2yRiFLtWN44tMslyt0B+5aZpX6IeMI1N2N0CIOKwaXI/smgggad8EFmXccWOPFbJeewGIj5aesbFs1+/+8GRPFZ3kDTP8ESP1HK2fkCHSBFNs5geet+F8vY3JGjMK1Bw2Ly6Df88GF1dAohA3i/eLNkJTRzaeDUjec8Z7pv8j6EDMJndAcs594EcHqlV/eUS+005u+v0Gw6+Xd6AE70Xu/Z4NS7HMjPGSZS06UICMVWQ0BiuE9KGpk5X50csOiJ1HIHaPy+EWg34HeSc2mCyUpfvPL3gTguStGMIpuFi7VUulx5178jKolGR7FOstAtef88Ziwgkx2QfUNBQKXmeSPqL2f2yIaV6yjz1Kzf/RvGpn1GfPeCTlVzjZMx/xyowBymGLQusqVHWsbzbfoDRtS5uuz0a3owkWPVSfiEh+qaXE4NuZWLxBu2/jQFyMTKg2PSQYcC8vN5F1qyymx2FQ3jI7Ryoz9ezywZ5+MroCzdNUdLPDYYEnQaTp0QhA+S1mBcLxRBEGGPbXZGI+K2YVkVWvp38pbPCZHnef1n65qa81Np//ifCpP+uRnBpbTgf+AwL1fcbvGDgJeD1S/Q== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4955 Original-Authentication-Results: amazon.com; dkim=none (message not signed) header.d=none;amazon.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ff385fc3-e661-4030-8dee-08d88030f91d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VfUWkMSnXP0XnWTB6cGERbgaXoNDN8FdbIuqGnVYkb3rnFaqLTWQ3XIBmSJowj1e1ex51lArBuc+RHixDBKpy6TO5oERPa4KxnfsxCtKNemzULrbULyzsJhg30ApSRgEp5XHw2uwWYkftZRxTLxKctuxlb6nFdd4Ok9gV8ogdpBMtegl6Xzmi+KHL/82OtUUDqiGdcXd+koP1Ebc230b1c1CcSIY6E2sHEbCZ4nl0U6CtL5i87YsBjHQWd3UFnIeEAc8W0LVngRD4q03TKdr93xdDB+Gvp2/vnMYFXoi2+EpVBIjpNmPSoOGgACmW7FloowbfbOtp6jFwEmP+CKVZtp8pZk5a4a7C4Ji6odRbM4lxQM2uspZge2sKP9+FBk+HmlbksKGt3CHd5vYU4MFVbaonEzznLY/jhUPSdggC1W4xNjA4k6dKC2tNEVBHGamQ6w6gBZi/ug70MCFINKCPIJwsBZDEPfHa5QqyXBM5B8= 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:(4636009)(39860400002)(396003)(376002)(346002)(136003)(46966005)(47076004)(86362001)(81166007)(36906005)(110136005)(54906003)(70586007)(186003)(8676002)(82740400003)(336012)(26005)(2906002)(70206006)(966005)(316002)(55016002)(9686003)(8936002)(52536014)(6506007)(356005)(53546011)(478600001)(5660300002)(83380400001)(33656002)(7696005)(82310400003)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2020 19:45:16.8904 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4428e21e-c09e-43a1-8a1a-08d88030fd4e 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: AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB5893 Subject: Re: [dpdk-dev] [PATCH v3 1/1] build: add Graviton2(arm64) meson configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Vimal Chungath > Sent: Tuesday, November 3, 2020 12:07 PM > To: dev@dpdk.org > Cc: Honnappa Nagarahalli ; Dharmik > Thakkar ; alisaidi@amazon.com; > bruce.richardson@intel.com; hemant.agrawal@nxp.com; > jerinj@marvell.com; jerinjacobk@gmail.com; juraj.linkes@pantheon.tech; > nd ; thomas@monjalon.net > Subject: [PATCH v3 1/1] build: add Graviton2(arm64) meson configuration >=20 > Add meson build configuration for Graviton2 platform with 64-bit Arm > Neoverse N1 cores. This patch makes the following changes to generic > Neoverse N1 config: >=20 > 1. increase lcore limit to 64 > 2. increase memory support to 1TB > 3. remove +crc from -march as that is default when setting armv8.2 >=20 > For more information about Graviton2 platform, refer to: > https://aws.amazon.com/ec2/graviton/ >=20 > Signed-off-by: Vimal Chungath Reviewed-by: Honnappa Nagarahalli > --- > config/arm/arm64_graviton2_linux_gcc | 17 +++++++++++++++++ > config/arm/meson.build | 18 +++++++++++------- > 2 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 > config/arm/arm64_graviton2_linux_gcc >=20 > diff --git a/config/arm/arm64_graviton2_linux_gcc > b/config/arm/arm64_graviton2_linux_gcc > new file mode 100644 > index 000000000..022e06303 > --- /dev/null > +++ b/config/arm/arm64_graviton2_linux_gcc > @@ -0,0 +1,17 @@ > +[binaries] > +c =3D 'aarch64-linux-gnu-gcc' > +cpp =3D 'aarch64-linux-gnu-cpp' > +ar =3D 'aarch64-linux-gnu-gcc-ar' > +strip =3D 'aarch64-linux-gnu-strip' > +pkgconfig =3D 'aarch64-linux-gnu-pkg-config' > +pcap-config =3D '' > + > +[host_machine] > +system =3D 'linux' > +cpu_family =3D 'aarch64' > +cpu =3D 'armv8-a' > +endian =3D 'little' > + > +[properties] > +implementor_id =3D '0x41' > +implementor_pn =3D '0xd0c' > diff --git a/config/arm/meson.build b/config/arm/meson.build index > b49203fa8..073b4afc0 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -63,12 +63,6 @@ flags_armada =3D [ > ['RTE_MAX_LCORE', 16]] >=20 > flags_default_extra =3D [] > -flags_n1sdp_extra =3D [ > - ['RTE_MACHINE', '"n1sdp"'], > - ['RTE_MAX_NUMA_NODES', 1], > - ['RTE_MAX_LCORE', 4], > - ['RTE_EAL_NUMA_AWARE_HUGEPAGES', false], > - ['RTE_LIBRTE_VHOST_NUMA', false]] > flags_thunderx_extra =3D [ > ['RTE_MACHINE', '"thunderx"'], > ['RTE_USE_C11_MEM_MODEL', false]] > @@ -86,6 +80,16 @@ flags_octeontx2_extra =3D [ > ['RTE_ARM_FEATURE_ATOMICS', true], > ['RTE_EAL_IGB_UIO', false], > ['RTE_USE_C11_MEM_MODEL', true]] > +flags_n1generic_extra =3D [ > + ['RTE_MACHINE', '"neoverse-n1"'], > + ['RTE_MAX_LCORE', 64], > + ['RTE_CACHE_LINE_SIZE', 64], > + ['RTE_ARM_FEATURE_ATOMICS', true], > + ['RTE_USE_C11_MEM_MODEL', true], > + ['RTE_MAX_MEM_MB', 1048576], > + ['RTE_MAX_NUMA_NODES', 1], > + ['RTE_EAL_NUMA_AWARE_HUGEPAGES', false], > + ['RTE_LIBRTE_VHOST_NUMA', false]] >=20 > machine_args_generic =3D [ > ['default', ['-march=3Darmv8-a+crc', '-moutline-atomics']], @@ -97,7 > +101,7 @@ machine_args_generic =3D [ > ['0xd09', ['-mcpu=3Dcortex-a73']], > ['0xd0a', ['-mcpu=3Dcortex-a75']], > ['0xd0b', ['-mcpu=3Dcortex-a76']], > - ['0xd0c', ['-march=3Darmv8.2-a+crc+crypto', '-mcpu=3Dneoverse-n1'], > flags_n1sdp_extra]] > + ['0xd0c', ['-march=3Darmv8.2-a+crypto', '-mcpu=3Dneoverse-n1'], > +flags_n1generic_extra]] >=20 > machine_args_cavium =3D [ > ['default', ['-march=3Darmv8-a+crc+crypto','-mcpu=3Dthunderx']], > -- > 2.16.6