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 38E76C25B74 for ; Sat, 25 May 2024 02:39:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BF81B6B0093; Fri, 24 May 2024 22:39:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BA7D06B0095; Fri, 24 May 2024 22:39:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A6FC96B0096; Fri, 24 May 2024 22:39:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 8A2406B0093 for ; Fri, 24 May 2024 22:39:27 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 0E193A0C2E for ; Sat, 25 May 2024 02:39:27 +0000 (UTC) X-FDA: 82155361974.22.4F20016 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by imf16.hostedemail.com (Postfix) with ESMTP id 4D2DB180002 for ; Sat, 25 May 2024 02:39:24 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=UUnsWz+p; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1716604765; 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:in-reply-to:references:references:dkim-signature; bh=cnpxka9Jic6nPf8Q3ZPZ3S60NnRiyDQTsNGGVbNLITk=; b=RRmn+apqIVZjyZaVMVRW7PMdaH0rvr7jHzoEVD2IB1MiQYXnF+I3aeh3mTYZ72ZmsWC1RO Q/seDlauNvH9rWcJyXxhII/g6DdWXQboSKN0F5JYBm3sRcgLJnAIEdQGpSIZKmnD+q8hzf H1dbZbDbPT0LqJBGV1e40wTGQzRLVt8= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=UUnsWz+p; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1716604765; a=rsa-sha256; cv=none; b=SWhDDvjJoB2VZOvUiqv3IOJl2ebyGjN16CF/hLhz+eWNcij8qhwsonZ5htpJU7QoFvVwn8 1ZMoXv0OX7SDqZQQ5Z871FQX9oyC97kESxrCoT0wvGY6v2Q5zu4WIwGLtLoHqg/M4tRJya jBaZVEo2kYpYoqJJKY9BezeQpelFOzE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716604764; x=1748140764; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rkOH6L+W7aZnSSaSuMD+3YpBPBhp6pBQvLG8T6pSwuM=; b=UUnsWz+pIUn2SviMBcF0bRwdwpWmW3e0Pm87ZyOP7mtg87vzm3n4l4ZL i9eLihRF+OREEcR7OGJT3YyHqCEiXyTRo1cxmP7YegsfJ5YJHWEkovTMT Sm/cr9Hbey29XQP9rPKUPThjne3wBVXGrCu+t/uvQDt+LNdnytVd0ef0N 68zWyt2bMTVq4KclCnwiePMjjsq7Xq0G0KVExUEWjcAClnv4FQC16Vcrr TPkk9q3EaekFXbaG0b5s5c/iblvpYumn5SpAUAHgInJf0u6YFALCwxOyn unu8pvxqgWPi+amWpgEe4BuLk6qLBSeCMJjXcrNvcmrcqoEtmjDR41nTg w==; X-CSE-ConnectionGUID: mlE7mjOOTfWzinXDX2qbMg== X-CSE-MsgGUID: BRzwO7DsQUae7WCHeNA8Ig== X-IronPort-AV: E=McAfee;i="6600,9927,11082"; a="30528695" X-IronPort-AV: E=Sophos;i="6.08,187,1712646000"; d="scan'208";a="30528695" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2024 19:39:22 -0700 X-CSE-ConnectionGUID: NZrcuIz0SDGNS4WCv5LMJQ== X-CSE-MsgGUID: PRuO5gB3SiCkY3R4WW3hnw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,187,1712646000"; d="scan'208";a="39181932" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa004.jf.intel.com with ESMTP; 24 May 2024 19:39:20 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sAhJV-0006Nn-1W; Sat, 25 May 2024 02:39:17 +0000 Date: Sat, 25 May 2024 10:39:09 +0800 From: kernel test robot To: Miaohe Lin , akpm@linux-foundation.org, tony.luck@intel.com, bp@alien8.de Cc: oe-kbuild-all@lists.linux.dev, nao.horiguchi@gmail.com, linmiaohe@huawei.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org Subject: Re: [PATCH 10/13] mm/memory-failure: move some function declarations into internal.h Message-ID: <202405251049.hxjwX7zO-lkp@intel.com> References: <20240524091310.1430048-11-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240524091310.1430048-11-linmiaohe@huawei.com> X-Rspamd-Queue-Id: 4D2DB180002 X-Stat-Signature: yjehmwy1en5z8r77f4e8x1o3zg1auydm X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag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Cc73Cq8zt1CcKG64s/9BV1ZZ/Kn4CoiC2kfuVAJGp20KT/zHq4xFQpglgy8GBjf5oSp85ozSRwHUILltPTkExPpARoQ/CvUxNqN8VeTutf6keXlFGhQOaZskqknN+ZBr7PYe09p+ID1NDjC5EQaSGoHBN2Wl1gXrYZ3I/gsoOcbIgLGHvk+iONskyFl5F5OaaVw9j1yofYmTRpfG01M8zklmsGyDVVz9Ruq9ixAJ5vI79wnWzEiOggDALl4I+Zcsdpernolf0xufQMU8Kh9OaT8GwqiuCqTRz5Ia0fPuwxEQHVs8GLo6cCLbQy/8cXuiw/+fkeUJpvwRoi7KyQEl0tY6O9s2JKF6qod4IbHBSYNiboqzKO3eOG1qazRT9VSNHBLZw= 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: List-Subscribe: List-Unsubscribe: Hi Miaohe, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master next-20240523] [cannot apply to v6.9] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Miaohe-Lin/mm-memory-failure-simplify-put_ref_page/20240524-171903 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240524091310.1430048-11-linmiaohe%40huawei.com patch subject: [PATCH 10/13] mm/memory-failure: move some function declarations into internal.h config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20240525/202405251049.hxjwX7zO-lkp@intel.com/config) compiler: powerpc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240525/202405251049.hxjwX7zO-lkp@intel.com/reproduce) 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/202405251049.hxjwX7zO-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_page_is_contained': >> drivers/vfio/vfio_iommu_spapr_tce.c:195:16: error: implicit declaration of function 'page_shift'; did you mean 'page_size'? [-Werror=implicit-function-declaration] 195 | return page_shift(compound_head(page)) >= it_page_shift; | ^~~~~~~~~~ | page_size cc1: some warnings being treated as errors -- arch/powerpc/mm/book3s64/iommu_api.c: In function 'mm_iommu_do_alloc': >> arch/powerpc/mm/book3s64/iommu_api.c:155:45: error: implicit declaration of function 'page_shift'; did you mean 'page_size'? [-Werror=implicit-function-declaration] 155 | pageshift = page_shift(compound_head(page)); | ^~~~~~~~~~ | page_size cc1: some warnings being treated as errors -- drivers/net/ethernet/ibm/ehea/ehea_qmr.c: In function 'ehea_is_hugepage': >> drivers/net/ethernet/ibm/ehea/ehea_qmr.c:676:13: error: implicit declaration of function 'page_shift'; did you mean 'page_size'? [-Werror=implicit-function-declaration] 676 | if (page_shift(pfn_to_page(pfn)) != EHEA_HUGEPAGESHIFT) | ^~~~~~~~~~ | page_size cc1: some warnings being treated as errors vim +195 drivers/vfio/vfio_iommu_spapr_tce.c 2157e7b82f3b81 Alexey Kardashevskiy 2015-06-05 179 c10c21efa4bcca Alexey Kardashevskiy 2018-12-19 180 static bool tce_page_is_contained(struct mm_struct *mm, unsigned long hpa, 94ad9338109fe9 Matthew Wilcox (Oracle 2019-09-23 181) unsigned int it_page_shift) e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 182 { c10c21efa4bcca Alexey Kardashevskiy 2018-12-19 183 struct page *page; c10c21efa4bcca Alexey Kardashevskiy 2018-12-19 184 unsigned long size = 0; c10c21efa4bcca Alexey Kardashevskiy 2018-12-19 185 94ad9338109fe9 Matthew Wilcox (Oracle 2019-09-23 186) if (mm_iommu_is_devmem(mm, hpa, it_page_shift, &size)) 94ad9338109fe9 Matthew Wilcox (Oracle 2019-09-23 187) return size == (1UL << it_page_shift); c10c21efa4bcca Alexey Kardashevskiy 2018-12-19 188 c10c21efa4bcca Alexey Kardashevskiy 2018-12-19 189 page = pfn_to_page(hpa >> PAGE_SHIFT); e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 190 /* e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 191 * Check that the TCE table granularity is not bigger than the size of e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 192 * a page we just found. Otherwise the hardware can get access to e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 193 * a bigger memory chunk that it should. e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 194 */ 94ad9338109fe9 Matthew Wilcox (Oracle 2019-09-23 @195) return page_shift(compound_head(page)) >= it_page_shift; e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 196 } e432bc7e15d802 Alexey Kardashevskiy 2015-06-05 197 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki