Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp618770iog; Fri, 17 Jun 2022 09:49:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uUCnjVv0c6EMA1J4FdCONOyPeyDjupi8qECkVw+UDPR/TON261cB133bxp5otw0cXLyI// X-Received: by 2002:a63:ff19:0:b0:403:7c60:ae96 with SMTP id k25-20020a63ff19000000b004037c60ae96mr9528393pgi.466.1655484596482; Fri, 17 Jun 2022 09:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655484596; cv=none; d=google.com; s=arc-20160816; b=DDfeoG00Hsv9rdIc67EJo5v03FpmeWuf+yG2PUiZ8Owx36gA6+731dtBKK6e+gbBkF GokRQ0N8Im9xFJYugO8ZPRVypSVQ8+gDC51sUaWSQFoQuoMKPKJxU8X2WCaWDDkf/05k r2qiYDjTDFVvyzYxvrtTToK070rzCvm7XNSeyPvAql9AVCLnrdQGL5ATeio0b6ExhmyW BjPcSDaVqovmQ3ReDjjhxYqJuJzleKcSBy+hGnTwB9lvQ3oATYeYuqdl4ByuXX4o6s/c ofqpGpqlxu3iLcFhYTDi6GILVJZB7iDMXO/TOtfLAQtw948LePfCRzNBbITyJMeXCndH woPA== 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=daZ4Ii+Pdo9aJ5ikbsbaHmOpPNH3g4lrV035Cc13VJI=; b=M7Z5GoNy7OSJq1aIzGaPnkE9A0PRynJvSr3hSNPjERz+O+SU/QqyDJRK1TFDtwAQZ9 /Oc5XmFhLPXuk48Y9WTAvB7OmxirrGdHu4F1SWLEyY0a0Dk3qimzBq1FvUlD8Ck9MbmM FFl+9vcQZ/D6UGJmYevTJTfkEDMs4HXuE8W8nnTjUpFc+OgiSK8d33WvXnkEzp/ErNyt rmBIGQot1OaQwg+5s7a8rat8PVNwvX11mIYIIh/IvIL8xMpG5Iy54wcepEz32YnAHgNh TwOJ22hPc5603qMeuY5LsXmce152CHWRGDFHyyk+ArVp4VVAYZpUHtPm6yGHeGFuHBvF CdVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MOXms13h; 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 o17-20020a056a0015d100b00519099107ddsi7752841pfu.234.2022.06.17.09.49.44; Fri, 17 Jun 2022 09:49:56 -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=MOXms13h; 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 S1382793AbiFQQsu (ORCPT + 99 others); Fri, 17 Jun 2022 12:48:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383405AbiFQQsY (ORCPT ); Fri, 17 Jun 2022 12:48:24 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA9C112D35 for ; Fri, 17 Jun 2022 09:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655484502; x=1687020502; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Tz/jD2Salb21vnVNTIoALhjVotJpZYYZiJs32UY8QMI=; b=MOXms13hnV3f3HDTw4FKoTUVru6w5i0K8hLChXA02Z9V0jltRzxaEApj zmGofuenrB3MVNUJENvrbHB3PJa+2W92R/7SA4HTkjlNQZLZHARRXWw0Q MIFaW+GJBOpHGCFINYb+byG7SvLUd/9SaN4KSgc9GD6vHXRtyqK8Pl3LY HwE6CpZBSMQFVqFpWaVS6SkJJBktFftdbThU06DCDTD90a4eHXRij6Ota weV9g9sUSBF+A0U0dDwsXE4iZmejoNnFyE9P/041MmxQta9jGH9CRzkhJ M6kIFFAxQkMqyQsnsL4zLBGGdRYz9Xadwk2bejaruf3aDHS9Yk9D+R2sG A==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="259329840" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="259329840" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2022 05:17:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="584013616" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 17 Jun 2022 05:17:41 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o2Auz-000PRE-6l; Fri, 17 Jun 2022 12:17:41 +0000 Date: Fri, 17 Jun 2022 20:17:30 +0800 From: kernel test robot To: Baolin Wang , mike.kravetz@oracle.com Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, songmuchun@bytedance.com, akpm@linux-foundation.org, catalin.marinas@arm.com, will@kernel.org, anshuman.khandual@arm.com, baolin.wang@linux.alibaba.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] arm64/hugetlb: Implement arm64 specific hugetlb_mask_last_hp Message-ID: <202206172000.6Fwmo99P-lkp@intel.com> References: <7256dbe078d7231f45b0f47c2c52a3bd3aa10da7.1655350193.git.baolin.wang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7256dbe078d7231f45b0f47c2c52a3bd3aa10da7.1655350193.git.baolin.wang@linux.alibaba.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 Baolin, I love your patch! Perhaps something to improve: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on linus/master v5.19-rc2 next-20220617] [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/intel-lab-lkp/linux/commits/Baolin-Wang/arm64-hugetlb-Implement-arm64-specific-hugetlb_mask_last_hp/20220616-113640 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: arm64-randconfig-r011-20220616 (https://download.01.org/0day-ci/archive/20220617/202206172000.6Fwmo99P-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d568000046eebf3712ab542979d6) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/f1309dfbc2b70ec5dd72ac38e95a49b7be42b9b6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Baolin-Wang/arm64-hugetlb-Implement-arm64-specific-hugetlb_mask_last_hp/20220616-113640 git checkout f1309dfbc2b70ec5dd72ac38e95a49b7be42b9b6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/mm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm64/mm/hugetlbpage.c:371:15: warning: no previous prototype for function 'hugetlb_mask_last_hp' [-Wmissing-prototypes] unsigned long hugetlb_mask_last_hp(struct hstate *h) ^ arch/arm64/mm/hugetlbpage.c:371:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned long hugetlb_mask_last_hp(struct hstate *h) ^ static 1 warning generated. vim +/hugetlb_mask_last_hp +371 arch/arm64/mm/hugetlbpage.c 370 > 371 unsigned long hugetlb_mask_last_hp(struct hstate *h) 372 { 373 unsigned long hp_size = huge_page_size(h); 374 375 switch (hp_size) { 376 case PUD_SIZE: 377 return PGDIR_SIZE - PUD_SIZE; 378 case CONT_PMD_SIZE: 379 return PUD_SIZE - CONT_PMD_SIZE; 380 case PMD_SIZE: 381 return PUD_SIZE - PMD_SIZE; 382 case CONT_PTE_SIZE: 383 return PMD_SIZE - CONT_PTE_SIZE; 384 default: 385 break; 386 } 387 388 return ~0UL; 389 } 390 -- 0-DAY CI Kernel Test Service https://01.org/lkp