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 9A656A00E6 for ; Thu, 8 Aug 2019 17:08:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BCE2F1BE70; Thu, 8 Aug 2019 17:08:19 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40070.outbound.protection.outlook.com [40.107.4.70]) by dpdk.org (Postfix) with ESMTP id E48961BE1E for ; Thu, 8 Aug 2019 14:29:18 +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=annntqHQwzvJWSqUaFKP3mzNvUpEYAgve2bJ5rc2uAI=; b=GKqhPKeZHWRAxZGUOFN6wWxvPSm6uUXqQ+X1pyCzyJ+qi51oa8jd69JQvCR4x04qGpYHewIOYEifWi4QCZP9PVKPrFrZRE7xs0OG+xHZ1wzfQjD+GrV+IX2VQwmPLToOv4CRYb1a8UTXYKCczppPIbS4+txTpMCluKY/iqR0TPg= Received: from VI1PR08CA0266.eurprd08.prod.outlook.com (2603:10a6:803:dc::39) by AM5PR0802MB2594.eurprd08.prod.outlook.com (2603:10a6:203:99::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.17; Thu, 8 Aug 2019 12:29:16 +0000 Received: from DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::205) by VI1PR08CA0266.outlook.office365.com (2603:10a6:803:dc::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2157.14 via Frontend Transport; Thu, 8 Aug 2019 12:29:15 +0000 Authentication-Results: spf=temperror (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=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT061.mail.protection.outlook.com (10.152.21.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2052.18 via Frontend Transport; Thu, 8 Aug 2019 12:29:14 +0000 Received: ("Tessian outbound 40a263b748b4:v26"); Thu, 08 Aug 2019 12:29:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ac8a2883bf18e640 X-CR-MTA-TID: 64aa7808 Received: from 9402e165a829.1 (cr-mta-lb-1.cr-mta-net [104.47.8.57]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id C6AC34D9-5BFA-4C5F-B2FE-FDAD31E539C0.1; Thu, 08 Aug 2019 12:29:05 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03lp2057.outbound.protection.outlook.com [104.47.8.57]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9402e165a829.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384); Thu, 08 Aug 2019 12:29:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XGmKnUkLI1336cYu6Od6PdZEGHb9r/0qbQ/pjqCuKwQ1J7oASKPKH5cihE3vJL/m6LAQrxA2KlUnCyLBguDp2DDAbhg8/DW4Au6QwqKDzMr3CFIx55irOMHJ7xRe3dLpsgE0vngzDX0edvWSJzaSiigCIiR4LdizOfEr4G7rwgLPQIdYk2g8zQmzQFKkfaLKCYMsNObX5y7JpH7Tjb8uFhhEr1roSrCXOkqrYglsnbTyvVGsHwBJjCm0uLF5eWUEqXSY2a7tUFmWp+kq4ZRwlB+bM3dZoRytzcTaikwidj+zDjsLSPbdOcEZ//lYHVOAuBmXBpja/A4E9/0p26jq5w== 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=annntqHQwzvJWSqUaFKP3mzNvUpEYAgve2bJ5rc2uAI=; b=jNdc2ZxyM9r08BhtRq7Ki+HKWsKS54lRrN628nzUhROde1p5d8kobNneYBWO96G2DW243put3iL0q1nXP0Gzqws1V1tRUBhu4S6kK1ZMCvSdJZpae5SW/ZNSFgSRFWw+qrclUj0cXMeY9C97xJzEeqYQNeyt16Q13UeohV6EdVU/30yCdl6cLfJxLsqOR7y1oRm9129YFNbiwn9V5OJ2DuyhEnr5unESysqqLrVHy2Whv4k/lZo44VH2I/V4V4OjdDk4OBR5jpb6etDNiuvSSiyGhyg31kgmC1RqLIJl56MpCeWOj+DIh1LBCu+2qrYGDKAKbv3oP0mFmvsqjRbwAA== 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=annntqHQwzvJWSqUaFKP3mzNvUpEYAgve2bJ5rc2uAI=; b=GKqhPKeZHWRAxZGUOFN6wWxvPSm6uUXqQ+X1pyCzyJ+qi51oa8jd69JQvCR4x04qGpYHewIOYEifWi4QCZP9PVKPrFrZRE7xs0OG+xHZ1wzfQjD+GrV+IX2VQwmPLToOv4CRYb1a8UTXYKCczppPIbS4+txTpMCluKY/iqR0TPg= Received: from DB8PR08MB4105.eurprd08.prod.outlook.com (20.179.12.12) by DB8PR08MB5194.eurprd08.prod.outlook.com (10.255.18.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.18; Thu, 8 Aug 2019 12:29:03 +0000 Received: from DB8PR08MB4105.eurprd08.prod.outlook.com ([fe80::f558:a6c5:f71c:491]) by DB8PR08MB4105.eurprd08.prod.outlook.com ([fe80::f558:a6c5:f71c:491%5]) with mapi id 15.20.2136.010; Thu, 8 Aug 2019 12:29:03 +0000 From: Steve Capper To: "hemant.agrawal@nxp.com" CC: David Marchand , Honnappa Nagarahalli , "thomas@monjalon.net" , Gagandeep Singh , dev , "Burakov, Anatoly" , Olivier Matz , "Andrew Rybchenko" , "Nipun.gupta@nxp.com" , "jerinj@marvell.com" , "Gavin Hu (Arm Technology China)" , Bruce Richardson , nd Thread-Topic: [dpdk-dev] [PATCH] eal: change max hugepage sizes to 4 Thread-Index: AQHVTdVB3Y15RpZx1UWeDpcL4bSi5KbxLgyA Date: Thu, 8 Aug 2019 12:29:02 +0000 Message-ID: <20190808122900.GA8691@capper-ampere.manchester.arm.com> References: <20190807101204.21614-1-g.singh@nxp.com> <52183700.OczlixnxyG@xps> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mutt/1.10.1 (2018-07-13) x-originating-ip: [217.140.106.32] x-clientproxiedby: LO2P265CA0458.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::14) To DB8PR08MB4105.eurprd08.prod.outlook.com (2603:10a6:10:b0::12) Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Steve.Capper@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 2379c79c-4b24-4205-6044-08d71bfc0644 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam-Untrusted: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB8PR08MB5194; X-MS-TrafficTypeDiagnostic: DB8PR08MB5194:|AM5PR0802MB2594: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:261;OLM:261; x-forefront-prvs: 012349AD1C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(376002)(396003)(366004)(39860400002)(199004)(189003)(316002)(66066001)(486006)(11346002)(476003)(44832011)(2501003)(14454004)(446003)(7416002)(305945005)(186003)(2906002)(7736002)(71200400001)(8676002)(81156014)(4744005)(102836004)(6506007)(386003)(86362001)(5660300002)(1076003)(76176011)(26005)(52116002)(2351001)(54906003)(58126008)(66446008)(99286004)(81166006)(33656002)(66556008)(66946007)(64756008)(66476007)(6486002)(25786009)(4326008)(6916009)(5640700003)(256004)(6512007)(6116002)(3846002)(8936002)(6436002)(71190400001)(229853002)(53936002)(6246003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR08MB5194; H:DB8PR08MB4105.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: MlIHS2QJE7FMY482Q+zisEBrllrPJ8VpZXjnDsuhehp1hQwaJt6fi5ZpDoQNFpFirEXUGNVfOSVnywymo5uEw3ln+d1Du4GwPR1tOYgojjpmksAVFtO+hV0UF7SnSXALCN7WgzqrA5+Zuq5E4l0iq5TPmnsFjgFkTMreo/yLLg/rNAdK2PDC+5J8A9+U8dLI6VZsVJYGVYWpVd/gHliu377RQUMkaXy0dgnOs+1sbtdrWVzAh/9pHjon59ClIY0rOUSqVDY/GYfYhfmqdcqlZ/sYiiGj6kkGdZ+ZhTqINPxInKM8snlVAC/aUQWCuHh+HB7hIk3Np3nJmJSMuuFzJiFhQznWZ/PgjnEV4FMwqeU75HgzmZrYkc9NM+Ukj5b3Lpsk/c3ktJvBbZtqftgzysGOfkNjn1XDDFY6qGByBIk= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5194 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Steve.Capper@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT061.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(396003)(376002)(136003)(2980300002)(199004)(189003)(2906002)(446003)(58126008)(8746002)(50466002)(54906003)(102836004)(229853002)(356004)(23726003)(6116002)(3846002)(336012)(86362001)(99286004)(14454004)(46406003)(76176011)(22756006)(6246003)(26826003)(5660300002)(97756001)(1076003)(7736002)(4326008)(47776003)(6506007)(386003)(5640700003)(6512007)(76130400001)(33656002)(6486002)(25786009)(8936002)(2501003)(6862004)(126002)(81156014)(8676002)(486006)(81166006)(63350400001)(478600001)(186003)(11346002)(476003)(4744005)(63370400001)(26005)(305945005)(70586007)(70206006)(316002)(2351001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0802MB2594; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:TempError; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: abf73682-3503-485e-e8c2-08d71bfbff35 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(710020)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:AM5PR0802MB2594; NoDisclaimer: True X-Forefront-PRVS: 012349AD1C X-Microsoft-Antispam-Message-Info: fJv/WPKWiJvvWzt91DTutRXxISNNvWEd7KDhUpacHp7ydINnkaB/NXOBLUdzalFJ6asRCEiGfTfx3nK2sTzs7Fnntmv6iLtqQ+l1+Gf11/cMMco1OmlkTB8/YN4jylBF6RYmfLvrpp/znf6QhTucUgOr691K0NcONxP8xlTRH9zzA1G1xCxiXbJvtS+x2DRTaIXGJCZHq4e71b4M1hXcHZNANS3ztYNy5ZzQ6j3pVnNANmXJ8cnzvyQHvPMXG7z4bqpcUjWTYOxyrS3CuxZhubezYuXJGPk/e4EhATnKQ/pzPTpr+uAEqumTY+yHF0n8fJvZO6sAhPrD3SkrBFt18NdjFffEU0guQ/8yn7IlxHrMcLNPeJRATaanj2mkFJd9+dZOFdJglL2152rD9BaJI1/fWaavpAlqi3VKoIAwJCI= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2019 12:29:14.6537 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2379c79c-4b24-4205-6044-08d71bfc0644 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2594 X-Mailman-Approved-At: Thu, 08 Aug 2019 17:08:16 +0200 Subject: Re: [dpdk-dev] [PATCH] eal: change max hugepage sizes to 4 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, On Thu, Aug 08, 2019 at 10:37:20AM +0000, Hemant Agrawal wrote: > Hi David, >=20 > > > VPP usages in-memory option. So, VPP on ARM with kernel 5.2 wont' wor= k > > without this patch. > > > > >=20 > > I have been looking at the changes in the linux kernel. > > Can you pinpoint at the commit that changed this in 5.2? > >=20 > > I can see a change in the code, but in 5.0, or maybe something changed = in the > > configuration. >=20 > [Hemant] I am not aware of exact patch, which changed the behavior. May b= e Honnappa/Steve can help here. >=20 All the possible hugetlb sizes being advertised was added in v5.0 by: a21b0b78eaf7 arm64: hugetlb: Register hugepages during arch init (Some more recent patches changed the constants used but the logic remained the same). Cheers, --=20 Steve