From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 24332A00E6
	for <public@inbox.dpdk.org>; Thu,  8 Aug 2019 14:40:00 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 676AD1BE32;
	Thu,  8 Aug 2019 14:39:59 +0200 (CEST)
Received: from mail-vk1-f195.google.com (mail-vk1-f195.google.com
 [209.85.221.195]) by dpdk.org (Postfix) with ESMTP id 748031BE2B
 for <dev@dpdk.org>; Thu,  8 Aug 2019 14:39:57 +0200 (CEST)
Received: by mail-vk1-f195.google.com with SMTP id v68so15002006vkd.1
 for <dev@dpdk.org>; Thu, 08 Aug 2019 05:39:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=FNVEhrO0vmtm5GJmyUoPWpX6c8u5Rw57CkIF7+9h4Co=;
 b=HuEaUhfksbAc+TYHCWMeupOlotvBLePzapGSZl35lCQnCdXUJxZYMJgFXmejU0sS8y
 74kMjizvBh9hxw5hAlSSICF6Y1dYRjUe36iJSaazklUzxNblhc9YF/Nj4XRh50j0qucL
 xD+L/Rokt4Xgwqrf8bGdDFZPYJL243MfUoKNI4UIRKAsW1qgn2odPIERJrq/uKIibNaC
 ufks/btYAWoTsTrGCgkEmmvfrrRPs3BA9QlYpDJKcDYRg5V7zn+97nWx9To/1a6PUID5
 d860iNp2gO6YVXmyBLgfX48juVY+MGbJjfsRondQBhjf60URzYLLJMQkOhv6V5jg7Cl4
 uwRg==
X-Gm-Message-State: APjAAAWJurZsLGF6Vl06RJcwXW2eY5x1PKZ/TDFqNNyvf9oKQOLIyg2u
 ZmefTufRsZn6Z+YSCqwT6mvloe3fAnGMpsknbBjvog==
X-Google-Smtp-Source: APXvYqx3aYubyxQskFIkMJ7hduijl7oIn5j0KhGxO/XjceM6VvRxFJrRS/dBhsRqSZIDiqeV1sJ63KdeOpzUUIWQgmc=
X-Received: by 2002:a1f:c18e:: with SMTP id r136mr5500190vkf.53.1565267996824; 
 Thu, 08 Aug 2019 05:39:56 -0700 (PDT)
MIME-Version: 1.0
References: <20190807101204.21614-1-g.singh@nxp.com>
 <CAJFAV8wQ1qKRU=t3XGDZWWDaTCPwKx_DearV_rqAp-CKErW_Tg@mail.gmail.com>
 <52183700.OczlixnxyG@xps>
 <VI1PR0401MB25416710B44AAD881BED4D1389D40@VI1PR0401MB2541.eurprd04.prod.outlook.com>
 <CAJFAV8zQmeJf8kCJzo7d0eOsY5nzE4vibAGCOiBTGR8hWFDX-Q@mail.gmail.com>
 <VI1PR0401MB25416AD055B5CA2CA8B4A65689D70@VI1PR0401MB2541.eurprd04.prod.outlook.com>
 <20190808122900.GA8691@capper-ampere.manchester.arm.com>
In-Reply-To: <20190808122900.GA8691@capper-ampere.manchester.arm.com>
From: David Marchand <david.marchand@redhat.com>
Date: Thu, 8 Aug 2019 14:39:45 +0200
Message-ID: <CAJFAV8xoXTCSCTbPaDSbxEHCdODngEPAT+zKc20kp=_n-Rx5ig@mail.gmail.com>
To: Steve Capper <Steve.Capper@arm.com>
Cc: "hemant.agrawal@nxp.com" <hemant.agrawal@nxp.com>, 
 Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>,
 "thomas@monjalon.net" <thomas@monjalon.net>, 
 Gagandeep Singh <G.Singh@nxp.com>, dev <dev@dpdk.org>, 
 "Burakov, Anatoly" <anatoly.burakov@intel.com>,
 Olivier Matz <olivier.matz@6wind.com>, 
 Andrew Rybchenko <arybchenko@solarflare.com>,
 "Nipun.gupta@nxp.com" <nipun.gupta@nxp.com>, 
 "jerinj@marvell.com" <jerinj@marvell.com>,
 "Gavin Hu (Arm Technology China)" <Gavin.Hu@arm.com>, 
 Bruce Richardson <bruce.richardson@intel.com>, nd <nd@arm.com>
Content-Type: text/plain; charset="UTF-8"
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Thu, Aug 8, 2019 at 2:29 PM Steve Capper <Steve.Capper@arm.com> wrote:
>
> Hello,
>
> On Thu, Aug 08, 2019 at 10:37:20AM +0000, Hemant Agrawal wrote:
> > Hi David,
> >
> > > > VPP usages in-memory option. So, VPP on ARM with kernel 5.2 wont' work
> > > without this patch.
> > > >
> > >
> > > I have been looking at the changes in the linux kernel.
> > > Can you pinpoint at the commit that changed this in 5.2?
> > >
> > > I can see a change in the code, but in 5.0, or maybe something changed in the
> > > configuration.
> >
> > [Hemant] I am not aware of exact patch, which changed the behavior. May be Honnappa/Steve can help here.
> >
>
> 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).

Ah, thanks for confirming :-).


-- 
David Marchand