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 921F1C25B08 for ; Sat, 20 Aug 2022 04:05:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CBE6B8D0002; Sat, 20 Aug 2022 00:05:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C6DA26B0074; Sat, 20 Aug 2022 00:05:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B350F8D0002; Sat, 20 Aug 2022 00:05:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id A44F96B0073 for ; Sat, 20 Aug 2022 00:05:51 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 73479A0546 for ; Sat, 20 Aug 2022 04:05:51 +0000 (UTC) X-FDA: 79818632502.02.62C027A Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf23.hostedemail.com (Postfix) with ESMTP id 96314140062 for ; Sat, 20 Aug 2022 04:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660968268; x=1692504268; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=cBvMddEtt4UQqHMg0rq14ho6Xv1Ko3mJzB2RdT3ptPQ=; b=GZWUCn5q2mPrXC0jOFdmmL6PXzrrDyZWkgsNuFv0g6bCZEX0F7RHK2M3 KTPcwEsYT4lMmTH0w/WAnk8QF23Kc5UwR4G0G5J9isuotDGF5dVfhYC40 /iqBlf4nVXMRmaoMu2SqvsWvipW5oq21LTYYIvsbRHQ3ZV8yJNcFG8Gom p+raROJjQWtvaHPf0z2dsMHFJW8mRlE6CSRaTvXGyhLLMi8NP+ONHvSlA 2HoII+RHS2EtEx3vsgDTt+Zow5w3T4KlEdbHUhljewlh8JFMV+UVxFej5 9+2pPL9/8cyMLkbTi5av7KBo3KaVm7tMxptWJ3sJrZMGn/ioZt1E5kjQm Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10444"; a="291893370" X-IronPort-AV: E=Sophos;i="5.93,250,1654585200"; d="scan'208";a="291893370" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2022 21:04:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,250,1654585200"; d="scan'208";a="641468410" Received: from lkp-server01.sh.intel.com (HELO 44b6dac04a33) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 19 Aug 2022 21:04:24 -0700 Received: from kbuild by 44b6dac04a33 with local (Exim 4.96) (envelope-from ) id 1oPFih-00027Q-16; Sat, 20 Aug 2022 04:04:23 +0000 Date: Sat, 20 Aug 2022 12:03:25 +0800 From: kernel test robot To: Baoquan He , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, linux-mm@kvack.org, akpm@linux-foundation.org, hch@infradead.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, linux-arm-kernel@lists.infradead.org, Baoquan He , "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org Subject: Re: [PATCH v2 08/11] parisc: mm: Convert to GENERIC_IOREMAP Message-ID: <202208201135.YyN9CXsu-lkp@intel.com> References: <20220820003125.353570-9-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220820003125.353570-9-bhe@redhat.com> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660968269; a=rsa-sha256; cv=none; b=Kw2jVFwlGrze1xtLL+jxgC/2pKRNvFD2m027Hgp460sTqj6jQCLAl69GYApPeATgKfj56K ud+KvddwJWtELfLz9wD9vr9FWrGOzbh+mw+qQ+UDXFHOE+YTrmU0k/MHm9uHVXWWJgzRtM 3DA62eJd68RiY9Kh6ktf5g3tCyHwwak= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=GZWUCn5q; spf=pass (imf23.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=1660968269; 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=kFIe8op8yjrLKL4Bt4ncSmIHNvclnkCIIZ1iJY3PlPo=; b=EeKNweA6L5lIh3neqqjpQVcyw782NOnTioaBBImIRLfSHkH75z67UWIpxnp9TuEhb7TCDm OWU+nJGV0gRCna1MRZ+6V/LvS//0FbQa+HwnLpaxZUnprgN4Jzqbrs41BGutr5ziaICC9p ZBNKVaIqGu+UN332cHqKJ/kzZl2Q/fA= X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 96314140062 X-Rspam-User: X-Stat-Signature: zkjir5ngujbtqttyneq1guskmfojyx3x Authentication-Results: imf23.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=GZWUCn5q; spf=pass (imf23.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 X-HE-Tag: 1660968268-223256 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: Hi Baoquan, I love your patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Baoquan-He/mm-ioremap-Convert-architectures-to-take-GENERIC_IOREMAP-way/20220820-083435 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: parisc-randconfig-r005-20220820 (https://download.01.org/0day-ci/archive/20220820/202208201135.YyN9CXsu-lkp@intel.com/config) compiler: hppa-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://github.com/intel-lab-lkp/linux/commit/570f2a3347cc83c9ea71d3dbbebfad8ea085ecc6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Baoquan-He/mm-ioremap-Convert-architectures-to-take-GENERIC_IOREMAP-way/20220820-083435 git checkout 570f2a3347cc83c9ea71d3dbbebfad8ea085ecc6 # 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=parisc prepare If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): In file included from arch/parisc/include/asm/io.h:315, from include/linux/io.h:13, from include/linux/irq.h:20, from arch/parisc/include/asm/hardirq.h:13, from include/linux/hardirq.h:11, from arch/parisc/kernel/asm-offsets.c:21: >> include/asm-generic/iomap.h:97: warning: "ioremap_wc" redefined 97 | #define ioremap_wc ioremap | arch/parisc/include/asm/io.h:135: note: this is the location of the previous definition 135 | #define ioremap_wc(addr, size) \ | include/linux/io.h: In function 'pci_remap_cfgspace': >> include/linux/io.h:89:44: error: implicit declaration of function 'ioremap'; did you mean 'ioremap_np'? [-Werror=implicit-function-declaration] 89 | return ioremap_np(offset, size) ?: ioremap(offset, size); | ^~~~~~~ | ioremap_np >> include/linux/io.h:89:42: warning: pointer/integer type mismatch in conditional expression 89 | return ioremap_np(offset, size) ?: ioremap(offset, size); | ^ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:117: arch/parisc/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1207: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:222: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +89 include/linux/io.h 7d3dcf26a6559f Christoph Hellwig 2015-08-10 72 cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 73 #ifdef CONFIG_PCI cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 74 /* cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 75 * The PCI specifications (Rev 3.0, 3.2.5 "Transaction Ordering and b10eb2d50911f9 Hector Martin 2021-03-25 76 * Posting") mandate non-posted configuration transactions. This default b10eb2d50911f9 Hector Martin 2021-03-25 77 * implementation attempts to use the ioremap_np() API to provide this b10eb2d50911f9 Hector Martin 2021-03-25 78 * on arches that support it, and falls back to ioremap() on those that b10eb2d50911f9 Hector Martin 2021-03-25 79 * don't. Overriding this function is deprecated; arches that properly b10eb2d50911f9 Hector Martin 2021-03-25 80 * support non-posted accesses should implement ioremap_np() instead, which b10eb2d50911f9 Hector Martin 2021-03-25 81 * this default implementation can then use to return mappings compliant with b10eb2d50911f9 Hector Martin 2021-03-25 82 * the PCI specification. cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 83 */ cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 84 #ifndef pci_remap_cfgspace cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 85 #define pci_remap_cfgspace pci_remap_cfgspace cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 86 static inline void __iomem *pci_remap_cfgspace(phys_addr_t offset, cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 87 size_t size) cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 88 { b10eb2d50911f9 Hector Martin 2021-03-25 @89 return ioremap_np(offset, size) ?: ioremap(offset, size); cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 90 } cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 91 #endif cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 92 #endif cf9ea8ca4a0bea Lorenzo Pieralisi 2017-04-19 93 -- 0-DAY CI Kernel Test Service https://01.org/lkp