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 18950A00E6 for ; Thu, 8 Aug 2019 14:37:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D4801BE1F; Thu, 8 Aug 2019 14:37:46 +0200 (CEST) Received: from mail-vk1-f193.google.com (mail-vk1-f193.google.com [209.85.221.193]) by dpdk.org (Postfix) with ESMTP id 837401BE2B for ; Thu, 8 Aug 2019 14:37:44 +0200 (CEST) Received: by mail-vk1-f193.google.com with SMTP id w186so10302639vkd.11 for ; Thu, 08 Aug 2019 05:37:44 -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=XzR/qp2Iu7zQbihpk5jXjGN0PObb2Z89kaCTrfuKS9s=; b=YqN4Inw+10KJaCa52scETWen2fFN0GOTDvObZ4HMfSNg9A32cv8KCZg+uE9r7XOFOj aSz4nXvy6TqkLToopa+KX+tgMU9RRLQb41IwWh1ZYkFi0BOqd9BWVskU7WfinWl4F4mw xRLtvqDCZTLf6OpTWNXL8vo5Pc+7MJsCr1osrX5ME1l2txmw/mDFrb2QF2WzK10r2/ok ttVHQjuczQexRk17ipYwhMHlBUVy5CERXJv+sZlfDLTU0HktPtIm6VS/6onO0NyJBca/ 6g12CLCUeWM5AGlRzY6enkCsBm/GNuk1cw5X9W/M6YhG9TaVZiVQsumndYsQ+L8o9TIy sjWg== X-Gm-Message-State: APjAAAVlFATg+pLrnjxlM5c1NhGo1K1rrCCGW7KXmUmYdzarMHr0OQUu oy/IVKcei2DbPf2/o9NaKh0Uj1lkl2Y8fdRmlqkp/w== X-Google-Smtp-Source: APXvYqyo9C3m2PrxQAgHj11SHrpdJ4ZM1hlLoROHOs1VFuab9WUmZy8hdKNXcvzYHOMQGoFspFOYaW4YL24qUXjghw8= X-Received: by 2002:a1f:1185:: with SMTP id 127mr5523828vkr.85.1565267863518; Thu, 08 Aug 2019 05:37:43 -0700 (PDT) MIME-Version: 1.0 References: <20190807101204.21614-1-g.singh@nxp.com> <20190808121320.12253-1-g.singh@nxp.com> In-Reply-To: <20190808121320.12253-1-g.singh@nxp.com> From: David Marchand Date: Thu, 8 Aug 2019 14:37:32 +0200 Message-ID: To: Gagandeep Singh Cc: dev , Thomas Monjalon , "Burakov, Anatoly" , Olivier Matz , Andrew Rybchenko , dpdk stable , Nipun Gupta Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH v2] eal: change max hugepage sizes to 4 for ARM platforms X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, Aug 8, 2019 at 2:27 PM Gagandeep Singh wrote: > > ARM is supporting maximum 4 hugepage sizes (64K, 2M, 32M > and 1G) when granule is 4KB since very long and DPDK > support maximum 3 hugepage sizes. > > With all 4 hugepage sizes enabled, applications and some > stacks like VPP which are working over DPDK and using > "in-memory" eal option, or using separate mount points > on ARM based platform, fails at huge page initialization, > reporting error messages from eal: > > EAL: FATAL: Cannot get hugepage information. > EAL: Cannot get hugepage information. > EAL: Error - exiting with code: 1 > > This issue is visible on kernel 5.2 (stable rel), where > kernel is by default creating directories for each supported > hugepage size in /sys/kernel/mm/hugepages/ Yes, any supported hugepage size is announced in sysfs. > On earlier Stable Kernel LTR's, the directories visible in > /sys/kernel/mm/hugepages/ were dependent upon what hugepage > sizes are configured at boot time. The change is in kernel 5.0 with: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a21b0b78 where all supported sizes are now registered. > > This change increases the maximum supported mount points > to 4 for ARM based platforms. > > Cc: stable@dpdk.org > > Signed-off-by: Gagandeep Singh > Signed-off-by: Nipun Gupta > --- > > Changes in V2: > - restricted this change specific to ARM > - commit message updated > - stable added to cc Please keep me Cc:. -- David Marchand