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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3719C433F5 for ; Mon, 23 May 2022 22:18:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbiEWWSM (ORCPT ); Mon, 23 May 2022 18:18:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiEWWSI (ORCPT ); Mon, 23 May 2022 18:18:08 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30A977980A for ; Mon, 23 May 2022 15:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653344287; x=1684880287; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=op0Iwek8NGbwkxNZpnj8NsKU2hi/WA+IMvCT2cWJKuU=; b=ff2x3bwsSogAuGu1P1K2Bb+Mwchu0Qyqp09NWjzmYANu5yZtQcb8sbdv HMPs1kHd5BU06E4WuGvQ/+HTBZGfTrJhaYc5lMCJI12JuaD5fl+ysIUWJ LyAqtPUIRL+SL9DIrwvYU6Pns7dvO4XL6NDN7uYMXrwex5JT80selD87r mf5frSxd4Fu/g+bz7+qUrIOu32+4EWFofiY2FevE9g4aImEtY6RBkUjhk HzAjcHPqysphccrEbKMlL51BEjNxXfUhaVYDI01en0Li7T2FiphRvdlkG 8bpYlgKYwCELct4f5xbYGrSbxanh+kfpOccYgUe1NOPCVsfQPfq1NNme4 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="359769660" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="359769660" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 7BF98C433F5 for ; Mon, 23 May 2022 22:19:46 +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=rwS8bQ78crAoT9lkZzlr7OHLtaywSEg2umGAviy6i90=; b=caDW7knDpnaRLG OEi8rIqLYEC99fqSn1g6obO6VgAbqi+mR+nWvTP12FH/BgvZm63jrYvugArEbyle+zo6p2WlqNv0L /TSlsAYfajn0L4Kc5vSmKrsLnNKy44hU6sx6DBxcKD4enz/pJzRmSGZhnsU3oLjDxG9lb3hnXkl42 h0Fd0T0iyha04Wh1MVikzFdZrnhKuTvep/8rn/akDDWRUUjbem27O45n4dlsY7AOhGXPZqZq/2pox 6Dh8Hcu25L82oPC4P13C897hcYdM6axGfmyB7di4V0InoJ+/rLiFsD8Io6KR8e6AuWON7DVrkOEsu N5p0+THYmN0WwC/5VSAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntGNg-005zRK-Ul; Mon, 23 May 2022 22:18:29 +0000 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntGNe-005zQF-D1 for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 22:18:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653344306; x=1684880306; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=op0Iwek8NGbwkxNZpnj8NsKU2hi/WA+IMvCT2cWJKuU=; b=Ro4LPCpbMpxFw6217VSL3kVC1buC05qFL00xmUUJ1vzCxbCnzbqPPzuZ sBQpWMabWhLAflzU7kahIDu3vyk32iJSogCfIuhIRpmbxDTZg1FV0rUaa n/XiW+o+3wo4JQLK/2wRaBmvmpzSgV+GNOdTpnkTTjPER1tXLO+xsTazV 0hnYO/rH3S2QEISiY6C5RcJESSVX3IC6xe9FDE1cMjsWpJwviPAhm6Wlt WVLJZoiKrLg98A4yw26r9I1VGI3biXN3JlxNyNuBp4Om3P+s/+kVCGwL0 yN9SadN1cmzEasnulrRH0x9D2NfsaaAgFlofWb+I/+7MEWzNq9NqkOGBj Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="273488221" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="273488221" 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-Disposition: inline In-Reply-To: <20220519082552.117736-5-wangkefeng.wang@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220523_151826_501697_6838B6CC X-CRM114-Status: GOOD ( 13.25 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel