From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB551C433DB for ; Tue, 2 Mar 2021 04:01:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 72A1264DDD for ; Tue, 2 Mar 2021 04:01:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72A1264DDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 11AC98D00D8; Mon, 1 Mar 2021 23:01:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0C93D8D0063; Mon, 1 Mar 2021 23:01:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 005B88D00D8; Mon, 1 Mar 2021 23:01:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0110.hostedemail.com [216.40.44.110]) by kanga.kvack.org (Postfix) with ESMTP id DEFDD8D0063 for ; Mon, 1 Mar 2021 23:01:02 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 9F20162FF for ; Tue, 2 Mar 2021 04:01:02 +0000 (UTC) X-FDA: 77873583564.22.03BA5C1 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf28.hostedemail.com (Postfix) with ESMTP id 6090B20003B2 for ; Tue, 2 Mar 2021 04:01:00 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4931BED1; Mon, 1 Mar 2021 20:00:59 -0800 (PST) Received: from [10.163.67.84] (unknown [10.163.67.84]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 287403F73B; Mon, 1 Mar 2021 20:00:55 -0800 (PST) Subject: Re: [PATCH] mm: Generalize HUGETLB_PAGE_SIZE_VARIABLE To: kernel test robot , linux-mm@kvack.org Cc: kbuild-all@lists.01.org, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Andrew Morton , Christoph Hellwig , linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <1614577853-7452-1-git-send-email-anshuman.khandual@arm.com> <202103011736.uYkOLJKy-lkp@intel.com> From: Anshuman Khandual Message-ID: Date: Tue, 2 Mar 2021 09:31:29 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <202103011736.uYkOLJKy-lkp@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Stat-Signature: 3wuqeqkfy4pgpo6z6k1grkr8o5uigcct X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 6090B20003B2 Received-SPF: none (arm.com>: No applicable sender policy available) receiver=imf28; identity=mailfrom; envelope-from=""; helo=foss.arm.com; client-ip=217.140.110.172 X-HE-DKIM-Result: none/none X-HE-Tag: 1614657660-66563 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 3/1/21 3:22 PM, kernel test robot wrote: > Hi Anshuman, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on powerpc/next] > [also build test ERROR on linus/master v5.12-rc1 next-20210301] > [cannot apply to hnaz-linux-mm/master] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/mm-Generalize-HUGETLB_PAGE_SIZE_VARIABLE/20210301-135205 > base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next > config: ia64-randconfig-r003-20210301 (attached as .config) > compiler: ia64-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/fe78e3508e5221ac13aa288136e2a6506211be68 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Anshuman-Khandual/mm-Generalize-HUGETLB_PAGE_SIZE_VARIABLE/20210301-135205 > git checkout fe78e3508e5221ac13aa288136e2a6506211be68 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from arch/ia64/include/asm/pgtable.h:154, > from include/linux/pgtable.h:6, > from include/linux/mm.h:33, > from mm/page_alloc.c:19: > arch/ia64/include/asm/mmu_context.h: In function 'reload_context': > arch/ia64/include/asm/mmu_context.h:127:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable] > 127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4; > | ^~~~~~~ > In file included from include/linux/kconfig.h:7, > from : > mm/page_alloc.c: At top level: >>> ./include/generated/autoconf.h:269:36: error: expected identifier or '(' before numeric constant > 269 | #define CONFIG_FORCE_MAX_ZONEORDER 11 > | ^~ > include/linux/mmzone.h:29:19: note: in expansion of macro 'CONFIG_FORCE_MAX_ZONEORDER' > 29 | #define MAX_ORDER CONFIG_FORCE_MAX_ZONEORDER > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/pageblock-flags.h:48:27: note: in expansion of macro 'MAX_ORDER' > 48 | #define pageblock_order (MAX_ORDER-1) > | ^~~~~~~~~ > mm/page_alloc.c:250:14: note: in expansion of macro 'pageblock_order' > 250 | unsigned int pageblock_order __read_mostly; > | ^~~~~~~~~~~~~~~ > mm/page_alloc.c:2618:5: warning: no previous prototype for 'find_suitable_fallback' [-Wmissing-prototypes] > 2618 | int find_suitable_fallback(struct free_area *area, unsigned int order, > | ^~~~~~~~~~~~~~~~~~~~~~ > mm/page_alloc.c:3596:15: warning: no previous prototype for 'should_fail_alloc_page' [-Wmissing-prototypes] > 3596 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) > | ^~~~~~~~~~~~~~~~~~~~~~ > mm/page_alloc.c:6257:23: warning: no previous prototype for 'memmap_init' [-Wmissing-prototypes] > 6257 | void __meminit __weak memmap_init(unsigned long size, int nid, > | ^~~~~~~~~~~ > mm/page_alloc.c: In function 'set_pageblock_order': >>> mm/page_alloc.c:6798:6: error: 'HPAGE_SHIFT' undeclared (first use in this function); did you mean 'PAGE_SHIFT'? > 6798 | if (HPAGE_SHIFT > PAGE_SHIFT) > | ^~~~~~~~~~~ > | PAGE_SHIFT > mm/page_alloc.c:6798:6: note: each undeclared identifier is reported only once for each function it appears in >>> mm/page_alloc.c:6799:11: error: 'HUGETLB_PAGE_ORDER' undeclared (first use in this function) > 6799 | order = HUGETLB_PAGE_ORDER; > | ^~~~~~~~~~~~~~~~~~ >>> mm/page_alloc.c:6808:18: error: lvalue required as left operand of assignment > 6808 | pageblock_order = order; > | ^ > > Kconfig warnings: (for reference only) > WARNING: unmet direct dependencies detected for HUGETLB_PAGE_SIZE_VARIABLE > Depends on HUGETLB_PAGE > Selected by > - IA64 This shows that HUGETLB_PAGE_SIZE_VARIABLE could be selected without HUGETLB_PAGE being enabled, which was not intended. The dependency on HUGETLB_PAGE need to be explicit for HUGETLB_PAGE_SIZE_VARIABLE.