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 25353A04DD; Wed, 28 Oct 2020 05:29:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 53EA26A12; Wed, 28 Oct 2020 05:29:03 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50084.outbound.protection.outlook.com [40.107.5.84]) by dpdk.org (Postfix) with ESMTP id C1FB469F8 for ; Wed, 28 Oct 2020 05:29:01 +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=hoSyQuSUYs4omLavsXwLVI5MtyomlCPOdqvdE9Y0P6c=; b=WJUdzv4wndOkko9uI5HNyI5KtDXYoxblt0hWG0mV12mcCX3rtqPGTVQgx/Oyz82HinD+cPg5dGGUprwYAQxV8MoDGu1UP1uonNtO4L50URg+HTQVonF78zLpr8726BOg58TUlN1IJEy0OUWLdqFvsYIizNBV9JZUjpGmSEg84gI= Received: from DB8PR03CA0021.eurprd03.prod.outlook.com (2603:10a6:10:be::34) by VI1PR08MB3823.eurprd08.prod.outlook.com (2603:10a6:803:c2::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.23; Wed, 28 Oct 2020 04:28:58 +0000 Received: from DB5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::96) by DB8PR03CA0021.outlook.office365.com (2603:10a6:10:be::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Wed, 28 Oct 2020 04:28:58 +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 DB5EUR03FT021.mail.protection.outlook.com (10.152.20.238) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Wed, 28 Oct 2020 04:28:58 +0000 Received: ("Tessian outbound c189680f801b:v64"); Wed, 28 Oct 2020 04:28:58 +0000 X-CR-MTA-TID: 64aa7808 Received: from a98d0f76e54d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BA52D4DB-5F07-4305-A35F-1EB478E92814.1; Wed, 28 Oct 2020 04:28:53 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a98d0f76e54d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 28 Oct 2020 04:28:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BG+vUmgtjx6uX6BkkNK9aYumMJWc4+IzyHTCQuwbAdctmE1O1fdzxSu5eN48JOoj0QEDq6oSCvjMURAZA0/FKRNblCvLQfZ2++Wt3141wT1PhP3iD8Scsk1JzVpCcDE7YWFvCpv5rPwgSPz6t8VcJz34uAZMfMis/H/W4BVq+elKb1ksZRZm2mWJgZoDFM8MCg+fwLBac90KQ/gRBNSwmoLebuFdRPdVUbKpok2Nx9ZO5qVGtesAP79m1ZcTrUjNuH6W7euwXAZG3LOJIT2ZuWi9ab9X6nGr/31EaLFUWEFp6GEYc/cmKbdYDEt0JgWSAA72Bz3DtL6Fd9hrUWi1Sw== 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=hoSyQuSUYs4omLavsXwLVI5MtyomlCPOdqvdE9Y0P6c=; b=eQqYc9XA88VTFBAz2PP+X3dFsddsb7tqS4Frt5TD3Mg3v2cEgGUibP27nAqASDeYD3oEhXBVbw/oul3tvq1+b6rCQ708dcMjrztPR4c+3XUQzt9VSgmiLYE6jSBky1be2K0ljytdspJV0/eaTIiZNyiUZH/OuqHNmaN/XWLP7pVnog71y5P0YDXpjLzejheY9HITjDIB4DCLTEdeBy2NNq9I/pPVOv5HQDmU6X4EzBLmJOQHEReOdPrSIWsJbY5WnCAGHHnYRlX54P376ee8wNshjJrjhsrgKR0RCfxTs5thUrZLFeqIj4oW20l74zc8U/D+jJqKqe6y3oUsTcwozw== 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=hoSyQuSUYs4omLavsXwLVI5MtyomlCPOdqvdE9Y0P6c=; b=WJUdzv4wndOkko9uI5HNyI5KtDXYoxblt0hWG0mV12mcCX3rtqPGTVQgx/Oyz82HinD+cPg5dGGUprwYAQxV8MoDGu1UP1uonNtO4L50URg+HTQVonF78zLpr8726BOg58TUlN1IJEy0OUWLdqFvsYIizNBV9JZUjpGmSEg84gI= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB6PR0802MB2422.eurprd08.prod.outlook.com (2603:10a6:4:9f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.25; Wed, 28 Oct 2020 04:28:50 +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.018; Wed, 28 Oct 2020 04:28:45 +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" , Ruifeng Wang , Feifei Wang , nd Thread-Topic: [PATCH v2 1/1] build: add Graviton2(arm64) meson configuration Thread-Index: AQHWrJ8Xx9d3PfH7EUKjK4bLg3fPnamsao/A Date: Wed, 28 Oct 2020 04:28:45 +0000 Message-ID: References: <20200909011109.2048-1-vcchunga@amazon.com> <20201027201733.14206-1-vcchunga@amazon.com> <20201027201733.14206-2-vcchunga@amazon.com> In-Reply-To: <20201027201733.14206-2-vcchunga@amazon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 777E08FFBAA3084EAAC6098F13CB7225.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: [107.77.219.18] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 99ec6147-081a-4ae5-0790-08d87af9fd0b x-ms-traffictypediagnostic: DB6PR0802MB2422:|VI1PR08MB3823: 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:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: DwtbprK8/B2nawz8VxdilowX9Zeoc/+DKxAa4/ff8F+FHEY33FEWz+SXaSypvTM6ZRuibYPWmPlcuFBI76ui0byL/Shf9yZaOl7cQiS7xlpH/Pjm2wJMRh6/gP8u4U6aHdj57geFM0+fwB4qAejdDo7zxXHpWDR0AbbJFGoC+1lHlcoqki3bnj2culw5RwFxL5/4vcFlYAp7d1yDqX7ybKs+BgWJNPscdGW8tTvQUE5Nb5hOK8/ttqzNlxh7n7DdgdephJNJWNQmRbDIsLyt5c9lSTzDHkHLjKD7U9AfDvtOFlecv7DYJSf5TT6NECNHPT4MbbRRIJi55Y6U7ROh0AGkiMTukX31m1IObkxblbi6k1qNOd4E58Ofpt8U4o98BvOe4ayml1L78sug1brKtg== 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)(376002)(346002)(39860400002)(396003)(136003)(366004)(66476007)(64756008)(8936002)(8676002)(66556008)(53546011)(26005)(52536014)(6506007)(316002)(7696005)(5660300002)(4326008)(83380400001)(76116006)(9686003)(33656002)(966005)(110136005)(54906003)(478600001)(66446008)(66946007)(186003)(71200400001)(2906002)(55016002)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 5bbhH0cCQXTljZBhnQt6MVSqg2zWbkDljqXz72doY60psQtSVqqWR7Hfjy4vJkVcX9XYahM6DMcV9d2o/PUpYpUzISBPlwydq/K9fsyDkjxCFozgaRrbB1eUJiC29/lw+ZnSNGHVkPxdG7G7sY7HzJaSSn3icocK2XkTb1IrCllou9fOSPJ1RoHKiB4Q7l1uxUlQXI2mQSidpss2guhhT8wPjHOhimsGLyCzk4/xQh43KzBcFVtPF7ItrzJup76LY1edLO+IXgcGrP/FCwSKPPhKmnFM/eX8ltkRk/J/JBqiw6mjVZQxZ9OGHD/RJnaoIJmujXVhC+W2UhOkkIWZ5BC4f3Qx+fJXcUI5UPkAeW1Gt5PrAz9kwdy/5axApCbxlmbRzL7ywQkncJRKUyA+LYdAe/sVNbNBJIceiuKrcXTCMD06DDvvY+NQ289Hp2j2z9j5D0KLBtno5HvUnOhv2GiLnVCt2b1wgNF6y5a8teYqIdMVYq2jIHIeLhOsowSkF2v61NdGTDyqBE55XMXtMl/YdmkEx3gc0KFaGLDAs9Heyg/hEMFpaIQqx4uXFMLN6ANE7FvyrIKTURGJyTzMijv3T09wG6+arHcFXdQA6AoDAB8cWWzbh6Uyk4x/V9IM8Qjjt/6KFCsiRvpQL9lY/A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2422 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: DB5EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: b03e8852-1024-4c0c-05cc-08d87af9f54d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ILCpKx+i17+W8xFLhlA3CImAgMVlZdxLCMS4zPkscQSaW5pKCrJC76Sal8yqVL17cWq9HzDYVK9GskCzOia4scYvtG1Yf6zCL5cm2uKuElUfCITAX2nOEhxuLRN2z2Mi3hVFkyRv55Ziy6Zls/m1kL0vzkLnsSCCv9QmY+7AHNxi3reMZQY6r8YxNpKFrdydxF6i3uGBuLmKrZAo+maUISfBNXw9HUfmgsBfU8FZ8iHstk3NdPmdWt228DC1U1rTydMC4yWalpUvltKP1oyE9lOBMRZFSbpuFDAevVSMqiBr/alSAL0ClVfzqJTh9rST6FtcnqfLSAzoLY3UnKec4jZiFMWlsyNK1KE2G4RP/y2EzUA4RqoCMIDWOZxGhfZGLAEuPyS/cCTcnAHo8oySIkvk01ZJtDu2YFrNZ13IIF5IthLaS1pQh1yiqtZSL7qJZz6TFoJt5dGfpdpGoqri/VRWal+kXdbYu6tTBgmgIq0= 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)(346002)(376002)(136003)(396003)(46966005)(5660300002)(316002)(336012)(33656002)(82740400003)(356005)(83380400001)(110136005)(81166007)(54906003)(8936002)(26005)(55016002)(6506007)(8676002)(53546011)(2906002)(478600001)(47076004)(86362001)(9686003)(52536014)(186003)(7696005)(70586007)(70206006)(4326008)(82310400003)(966005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2020 04:28:58.3589 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 99ec6147-081a-4ae5-0790-08d87af9fd0b 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: DB5EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3823 Subject: Re: [dpdk-dev] [PATCH v2 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" Hello, IMO, Juraj's patch for meson build rework for Arm platforms will need some= time. Keeping the RC2 deadline in mind, it makes sense to accept this patc= h and target Juraj's patch for 21.02. Any opinions? > -----Original Message----- > From: Vimal Chungath > Sent: Tuesday, October 27, 2020 3:18 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 v2 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 | 12 +++++++++++- > 2 files changed, 28 insertions(+), 1 deletion(-) 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..0e7124843 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -86,6 +86,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 > +107,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