Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1481835rwd; Thu, 15 Jun 2023 11:04:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7n8HTsmeFS7/rSHxxWEHxOopQEFh+Nj8FVuJe+KyH6Y/8jwOphjzRKxwCE9iXmNr8nRuib X-Received: by 2002:a17:907:1689:b0:977:d8bf:58e2 with SMTP id hc9-20020a170907168900b00977d8bf58e2mr5317599ejc.37.1686852293430; Thu, 15 Jun 2023 11:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686852293; cv=none; d=google.com; s=arc-20160816; b=l28hxXwnwIp00Dka2rl03rUwhXw1K5WiK2JD74bVldouznauBQojKcFuXWTfqVexBU RV9P25yONg1aNxlaxxj9/GcCFOMTAXJAbgcxKdumDPJY/92mdTYGcy8zxoWswj+d4S6h 1vmrmsSUoy75rzI2TfcsOW4ke5ODX6ilqndWp3N/FPBGqKjPHIfMadqHfXIjbc1ShLP7 4b3zxi1+jIuRuh6ittBewLe6EX+MLziVC6mgUomK8VOdl13U9rLG29JFPVdBzK7/m2nO 2DOiiJ5iStjr+MV3bC1xTwg6yF0qS8B1i8SF5Xrd2r/pKc3sI+ur2+K5HOViiQdbEvNO KONQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jUrWITJ047IYtzlCedpemZGqljmG2UbkC25InEptVf8=; b=HWaky6BDHEioEXeSV5P+daW6vbCt+J6uExdtVhug+zNlnX5QpbxLA6+b6kbjFE6lsX 5nGJ+4nmMQaAET9xqAtEOAkqiJHnUEbO5lsFz0oXN65LoQ4+6E+OrNEFkU7/7LvsNCnc 1rTuK2lmSDiJ88eAuTWmS+bUQnv6xlfnDUOkSs/qu4cwU6xFyaVd04uY5a6qqTmjrxr4 hQx9IENABD74olQOdHeeGasbpALaEAeHV1qXZ7vDFkggjxS0BvkJDsdXQPlDANDmThFx CybCrGd7OXEFc/D+Jz59DxbuIjODusKcaeHiczSdfM43phTI4Fo86jK92Qb7rDPF0pYl OIhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nvaPhnwI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020a170906851200b00982be583633si644447ejx.687.2023.06.15.11.04.27; Thu, 15 Jun 2023 11:04:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nvaPhnwI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236131AbjFORmr (ORCPT + 99 others); Thu, 15 Jun 2023 13:42:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230166AbjFORmq (ORCPT ); Thu, 15 Jun 2023 13:42:46 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ED9B2711 for ; Thu, 15 Jun 2023 10:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686850965; x=1718386965; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4h2LkdjJA/Ksz2W4qrcAM5sBKclK3bSACHuZzufQkO0=; b=nvaPhnwIdWrJ52W0bcBMQf2xQZxSLuziXeBYdtwxFWO4Cat1nNOPyBIa 6flAdswb80a7zCAkFCaTJZ4/lrMudT6z2kjylmpr3YnA2DgWlzr1/pre1 dxBY7JByaT3rKQnp1J2Y8fVeO/nO6VE1lQpWXUjD+WPqXsnpPyWdGvd6Q svzxSYBW3MElhIoWyPG0B76xSasLFmPmY+DkfoA0nLxW4DSCzv+lQ6DS/ 6/dnlBemYBWXcUlPhixbwwP0igeCgehEp9khcs2JWr5FDWYgUlr1Lnzve 65ILhx26XnSjuXLnxGEJ9zZu9unpyNYpVHTXlAULHfZ+dPpqc7PIhWYXG Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="348700098" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="348700098" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 10:42:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10742"; a="802499096" X-IronPort-AV: E=Sophos;i="6.00,245,1681196400"; d="scan'208";a="802499096" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 15 Jun 2023 10:42:42 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1q9qzZ-0000EJ-2m; Thu, 15 Jun 2023 17:42:41 +0000 Date: Fri, 16 Jun 2023 01:42:24 +0800 From: kernel test robot To: Yajun Deng , akpm@linux-foundation.org, rppt@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yajun Deng Subject: Re: [PATCH] mm: pass nid to reserve_bootmem_region() Message-ID: <202306160145.juJMr3Bi-lkp@intel.com> References: <20230615110355.1694461-1-yajun.deng@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230615110355.1694461-1-yajun.deng@linux.dev> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yajun, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Yajun-Deng/mm-pass-nid-to-reserve_bootmem_region/20230615-190631 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20230615110355.1694461-1-yajun.deng%40linux.dev patch subject: [PATCH] mm: pass nid to reserve_bootmem_region() config: arm-randconfig-r023-20230614 (https://download.01.org/0day-ci/archive/20230616/202306160145.juJMr3Bi-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch akpm-mm mm-everything git checkout akpm-mm/mm-everything b4 shazam https://lore.kernel.org/r/20230615110355.1694461-1-yajun.deng@linux.dev # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306160145.juJMr3Bi-lkp@intel.com/ All errors (new ones prefixed by >>): >> mm/memblock.c:2098:18: error: no member named 'nid' in 'struct memblock_region' nid = region->nid; ~~~~~~ ^ 1 error generated. vim +2098 mm/memblock.c 2080 2081 static void __init memmap_init_reserved_pages(void) 2082 { 2083 struct memblock_region *region; 2084 phys_addr_t start, end; 2085 int nid; 2086 u64 i; 2087 2088 /* initialize struct pages for the reserved regions */ 2089 __for_each_mem_range(i, &memblock.reserved, NULL, NUMA_NO_NODE, 2090 MEMBLOCK_NONE, &start, &end, &nid) 2091 reserve_bootmem_region(start, end, nid); 2092 2093 /* and also treat struct pages for the NOMAP regions as PageReserved */ 2094 for_each_mem_region(region) { 2095 if (memblock_is_nomap(region)) { 2096 start = region->base; 2097 end = start + region->size; > 2098 nid = region->nid; 2099 reserve_bootmem_region(start, end, nid); 2100 } 2101 } 2102 } 2103 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki