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 F0B0FC433EF for ; Mon, 23 May 2022 22:18:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 725AF6B0072; Mon, 23 May 2022 18:18:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6ADAC6B0073; Mon, 23 May 2022 18:18:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 548E16B0074; Mon, 23 May 2022 18:18:26 -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 3C8676B0072 for ; Mon, 23 May 2022 18:18:26 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id 09F908110E for ; Mon, 23 May 2022 22:18:26 +0000 (UTC) X-FDA: 79498422612.21.3522458 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by imf25.hostedemail.com (Postfix) with ESMTP id 599AAA002A for ; Mon, 23 May 2022 22:17:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653344303; x=1684880303; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=op0Iwek8NGbwkxNZpnj8NsKU2hi/WA+IMvCT2cWJKuU=; b=ikhUT2kKHzR7+0LX9b3bTQ8wlNlIqwcfiW0eK4EYqUHmwFyidw7QN/WT XXjOsrhRmUysA6Dbezv6bmZ1yOi4yOqOAobfC2wCzbg0mnZ70Td3XNob8 W35z8w/IRqCSHbshlnsiVnYBHuVBjfrWLVmRs7gEZK1FVpd+MNim+XGWI qty/HslxTnJlXhCXE1RW1sruxgZVBNIjFjgcOGiHd7HhYUJ1tF64pGe0H qleZ9N4bsvIWWr1fpW8Gv3s8fNfu83ouXc6FNKWK93BnDCgg8rwjznIGf FOZzcTIEUwRJJUUyY3vxT7ANYpqvLE1CnpFvYu6BsF9eeUF4h6FotZCAN g==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="273488220" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="273488220" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 15:18:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="716917439" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 23 May 2022 15:18:04 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1ntGNH-0001U8-OY; Mon, 23 May 2022 22:18:03 +0000 Date: Tue, 24 May 2022 06:17:17 +0800 From: kernel test robot To: Kefeng Wang , catalin.marinas@arm.com, will@kernel.org, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, linux-mm@kvack.org, hch@infradead.org, arnd@arndb.de, anshuman.khandual@arm.com, Kefeng Wang Subject: Re: [PATCH v3 4/6] mm: ioremap: Add arch_ioremap/iounmap() Message-ID: <202205240657.BXxrhbgp-lkp@intel.com> References: <20220519082552.117736-5-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220519082552.117736-5-wangkefeng.wang@huawei.com> Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ikhUT2kK; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf25.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.115) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 599AAA002A X-Stat-Signature: k8iog13e9jpa9jgzcxumubscphimtg4i X-HE-Tag: 1653344276-319149 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 Kefeng, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on arnd-asm-generic/master akpm-mm/mm-everything linus/master v5.18 next-20220523] [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/Kefeng-Wang/arm64-Cleanup-ioremap-and-support-ioremap_prot/20220519-161853 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: csky-randconfig-s032-20220522 (https://download.01.org/0day-ci/archive/20220524/202205240657.BXxrhbgp-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 11.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/intel-lab-lkp/linux/commit/eb83d30756d3b279ca58791d343dc821291818d0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kefeng-Wang/arm64-Cleanup-ioremap-and-support-ioremap_prot/20220519-161853 git checkout eb83d30756d3b279ca58791d343dc821291818d0 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=csky SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> mm/ioremap.c:59:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __iomem *vaddr @@ mm/ioremap.c:59:16: sparse: expected void const *addr mm/ioremap.c:59:16: sparse: got void [noderef] __iomem *vaddr vim +59 mm/ioremap.c 51 52 void iounmap(volatile void __iomem *addr) 53 { 54 void __iomem *vaddr = (void __iomem *)((unsigned long)addr & PAGE_MASK); 55 56 if (arch_iounmap(vaddr)) 57 return; 58 > 59 vunmap(vaddr); -- 0-DAY CI Kernel Test Service https://01.org/lkp