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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 534E6C433EF for ; Thu, 16 Jun 2022 10:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FOG3Q4/yEoFQxYDoRysedigSkwZZPZtT22AQ6LzgFa8=; b=g85+jzGkA/tccI v70lu0KRnBaaXtCOr1YcKsDMr0q3/xuwJr7KOQieA90wG4VNpEi9HPoE7vAfs4q3p1d0RypVGuUdk gWMunUL+ubzr1Iy6ftZ/Sn9H7EeX4lnvNGxc5039BL2ikjudqcbB99JUGs2YAf4j8vKUf/PZGJhlG 0YAkEZi9xJDqH9tn1iaVLMRl4BbTha9HgswoHLY0fV+jrBX604OZcRzgmMzLQ1+2/15AtanpClkin Qg+THRT6AckqyjpYFYJh9x8thTUZlYBb5YRRL6QxvEysKaa07Tl+FZsmE53pe5ykInXbcyjii6bnP cu1/DvblZ0I4ORGtlmWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1n5h-001wo3-0Y; Thu, 16 Jun 2022 10:51:09 +0000 Received: from mga06b.intel.com ([134.134.136.31] helo=mga06.intel.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1n5e-001wlf-33 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jun 2022 10:51:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655376666; x=1686912666; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=dea6+J/lzTy4mTQTAX5+OHD7W4Cv1JGiuyOOmO/Pki8=; b=OpHNJQ70bpjFkjyZZVoPFOCCwLdMoohgJkCF75Z5vn5aDwRGVnzFJmTo Fk6FURck8qbr7yzrtKNCksjFOkEeZUNR95orH5LwOlCvHHe/DJKlGNdei sGgHU2Mr8P/faNQsz2dEAFyJVd7oDe5dW8ip0BSOrDErGoaECPAJ0/jDx F+1/qXiCWNbRDyHJhf4MeBCpn7ImqDOQpSE0Ec56gyRDrrw5qJeNLi5id LeIXPntoNCErbXbEBRzYUncx6B7NbrJYU46E6f2efmNYrtvPTv0BqC4kw IiDXCoJNYejVi4nO19xJSmNNJV7VPdRAcR7U7muaayz/lzRBEzEBQBEGr g==; X-IronPort-AV: E=McAfee;i="6400,9594,10379"; a="340876249" X-IronPort-AV: E=Sophos;i="5.91,304,1647327600"; d="scan'208";a="340876249" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 03:50:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,304,1647327600"; d="scan'208";a="687769188" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 16 Jun 2022 03:50:56 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o1n5U-000OJ0-73; Thu, 16 Jun 2022 10:50:56 +0000 Date: Thu, 16 Jun 2022 18:50:20 +0800 From: kernel test robot To: Baolin Wang , mike.kravetz@oracle.com Cc: 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: <202206161848.w1bWqr7O-lkp@intel.com> References: <7256dbe078d7231f45b0f47c2c52a3bd3aa10da7.1655350193.git.baolin.wang@linux.alibaba.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7256dbe078d7231f45b0f47c2c52a3bd3aa10da7.1655350193.git.baolin.wang@linux.alibaba.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220616_035106_216622_374263E1 X-CRM114-Status: GOOD ( 11.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Baolin, I love your patch! Yet something to improve: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on linus/master v5.19-rc2 next-20220616] [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-buildonly-randconfig-r001-20220616 (https://download.01.org/0day-ci/archive/20220616/202206161848.w1bWqr7O-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.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/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=gcc-11.3.0 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 errors (new ones prefixed by >>): arch/arm64/mm/hugetlbpage.c:371:15: warning: no previous prototype for 'hugetlb_mask_last_hp' [-Wmissing-prototypes] 371 | unsigned long hugetlb_mask_last_hp(struct hstate *h) | ^~~~~~~~~~~~~~~~~~~~ arch/arm64/mm/hugetlbpage.c: In function 'hugetlb_mask_last_hp': >> arch/arm64/mm/hugetlbpage.c:380:9: error: duplicate case value 380 | case PMD_SIZE: | ^~~~ arch/arm64/mm/hugetlbpage.c:376:9: note: previously used here 376 | case PUD_SIZE: | ^~~~ vim +380 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel