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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29F67C6FD1D for ; Mon, 20 Mar 2023 08:06:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9A9966B0074; Mon, 20 Mar 2023 04:06:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 90B736B0075; Mon, 20 Mar 2023 04:06:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 785726B0078; Mon, 20 Mar 2023 04:06:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 62E1B6B0074 for ; Mon, 20 Mar 2023 04:06:40 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 2CB4C1A01DE for ; Mon, 20 Mar 2023 08:06:40 +0000 (UTC) X-FDA: 80588544960.23.274A895 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf11.hostedemail.com (Postfix) with ESMTP id C90AA40013 for ; Mon, 20 Mar 2023 08:06:37 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=K0B86ypT; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 192.55.52.120 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1679299598; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=9zVfk/amdTChi4AB3tByAOt9ynGnikBehVbL6sR5a/I=; b=mScBbC7NAg4usUGvs9IWoVQZ7CUfZWeG2hHgYXzgcjElQw8iUekLuiXI7yt1Y2hqMKcLxG HjPI5JLTVffY+VpwzGYJzQu8V8MouWS8yiMS32YHn+CurWB4chC6ShDqkA956I74KAevr6 GTVG7juOqOOEhXRib1wa8TRp75f6aEY= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=K0B86ypT; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 192.55.52.120 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1679299598; a=rsa-sha256; cv=none; b=HdIE/6kdDr5dYtEFfVxMpSfKD56AaYD3HSFS1Al2gUfZmRwyNcSelaUneVxTh9nZSm/nAH izBjQOr/VLyOU9rZbWruyM9+TUYkv/WTtVIiDzbpbjdEty80ZU7kjZEiNBPfwIQGHD6SaZ ZvJJtdzn46tVP9qhDwqdOQOs3WUiFZg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679299597; x=1710835597; h=date:from:to:cc:subject:message-id:mime-version; bh=M2y660K73axQypapjTATVarVaazpbAj43NhTQoPtVkc=; b=K0B86ypTOmzc1/XLyoHVUXDq+23rX59MM4LPg9eSCjNNfwVqlytcJ7Oq X29WxV/hurLhG3oJKzWTLwckA66KJcfKpFtB2Dp5kR0qbJum+icUoZfCw 4hh7GGKL2Re3PHxaJWNLAH2ChULdRdKW5wh8VEw6s++31n19bOSXNhtyf WIoCQLCuYyNFWMD4HhLIb4wWUB5yEXEGjFmAa6jvgAgbQPKpAINzyGkvu O3VCz/RyUcy4cUvfxh1l8QzMquM0FxsJrUgIaP28wv9GOjXflQRqDWv1E o1QZ7wWRNm9zWDns0vRzY3HS7nRGXlKNEM6sU6sflhYwOXcZwSitbDgWI Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10654"; a="337316767" X-IronPort-AV: E=Sophos;i="5.98,274,1673942400"; d="scan'208";a="337316767" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 01:06:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10654"; a="711244695" X-IronPort-AV: E=Sophos;i="5.98,274,1673942400"; d="scan'208";a="711244695" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 20 Mar 2023 01:06:34 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1peAXJ-000AuA-39; Mon, 20 Mar 2023 08:06:33 +0000 Date: Mon, 20 Mar 2023 16:06:33 +0800 From: kernel test robot To: "Kirill A. Shutemov" Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 3778/4413] include/linux/mmzone.h:1749:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE Message-ID: <202303201615.Qfu18nWV-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: C90AA40013 X-Rspam-User: X-Stat-Signature: wo1o5i9qtsepx6bchtke8dot7uujbyhd X-HE-Tag: 1679299597-134112 X-HE-Meta: U2FsdGVkX1+6ctHhYnIMWJqeWA9kGtJAw/cCGh62MnxzA7niR+CHrHUhfAmmUsDZATkferPwBjD+PJ8CDEr2lIvIU7wFzHOMTXi/M7XjipyjGd9/FAzsJxU2mptfx6vDqva3zymT0NCBcqCqjiJgV+OPWw+7n4y3xqxzwAaA8LlDSDspmiZ6IndwSBdQmapA3JdUBgFNL21kynCsLcerkdJ9t0HdXm29SFmQ/udPAv5k0oy80NpFS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KCdv5vBPo5s3PcGy6gottT0YkDuyHsNHIzhh60+y2prWCS7bVItVMdtp2M4jKMr/9+0LglbnF+MWlKpmtkd8sThjiztoxMPPtPaLdrOHzv2+x8bANNl1bVzRHfMb0RbM2fY/99gXBChAxJMJzku3vfxxKzEtutLRIEpo4eVD3PagfCrziP1w2j1xDLIp6TJkEGy2zt8aIA/VoRKQWejDezI+C0JHJiqY= 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 73f2c2a7e1d2b31fdd5faa6dfa151c437a6c0a5a commit: af8daebdbc0833b8095767ccef7ddce55e9fdf32 [3778/4413] mm, treewide: redefine MAX_ORDER sanely config: loongarch-buildonly-randconfig-r003-20230320 (https://download.01.org/0day-ci/archive/20230320/202303201615.Qfu18nWV-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=af8daebdbc0833b8095767ccef7ddce55e9fdf32 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout af8daebdbc0833b8095767ccef7ddce55e9fdf32 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303201615.Qfu18nWV-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/gfp.h:7, from include/linux/mm.h:7, from arch/loongarch/kernel/asm-offsets.c:9: >> include/linux/mmzone.h:1749:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE 1749 | #error Allocator MAX_ORDER exceeds SECTION_SIZE | ^~~~~ arch/loongarch/kernel/asm-offsets.c:16:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes] 16 | void output_ptreg_defines(void) | ^~~~~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:63:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes] 63 | void output_task_defines(void) | ^~~~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:78:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes] 78 | void output_thread_info_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:94:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes] 94 | void output_thread_defines(void) | ^~~~~~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:137:6: warning: no previous prototype for 'output_thread_fpu_defines' [-Wmissing-prototypes] 137 | void output_thread_fpu_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:177:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes] 177 | void output_mm_defines(void) | ^~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:209:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes] 209 | void output_sc_defines(void) | ^~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:217:6: warning: no previous prototype for 'output_signal_defines' [-Wmissing-prototypes] 217 | void output_signal_defines(void) | ^~~~~~~~~~~~~~~~~~~~~ arch/loongarch/kernel/asm-offsets.c:255:6: warning: no previous prototype for 'output_smpboot_defines' [-Wmissing-prototypes] 255 | void output_smpboot_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:114: arch/loongarch/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:1287: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +1749 include/linux/mmzone.h d41dee369bff3b Andy Whitcroft 2005-06-23 1744 835c134ec4dd75 Mel Gorman 2007-10-16 1745 #define SECTION_BLOCKFLAGS_BITS \ d9c2340052278d Mel Gorman 2007-10-16 1746 ((1UL << (PFN_SECTION_SHIFT - pageblock_order)) * NR_PAGEBLOCK_BITS) 835c134ec4dd75 Mel Gorman 2007-10-16 1747 af8daebdbc0833 Kirill A. Shutemov 2023-03-15 1748 #if (MAX_ORDER + PAGE_SHIFT) > SECTION_SIZE_BITS d41dee369bff3b Andy Whitcroft 2005-06-23 @1749 #error Allocator MAX_ORDER exceeds SECTION_SIZE d41dee369bff3b Andy Whitcroft 2005-06-23 1750 #endif d41dee369bff3b Andy Whitcroft 2005-06-23 1751 :::::: The code at line 1749 was first introduced by commit :::::: d41dee369bff3b9dcb6328d4d822926c28cc2594 [PATCH] sparsemem memory model :::::: TO: Andy Whitcroft :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests