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 E6C82C43334 for ; Mon, 6 Jun 2022 18:02:25 +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=6/qyUwJjcSflOdgB+GQQDMk2ahQfhBnROICX5DAfSVI=; b=K77UHj5FXWf5jB mG7qRpJw78Zvg4U3k5Qq0ao9BS3k0QUK9Y2SFV6069jfvvajDwZIYgxDa0SP3lL8vJLMijEP5UNly Y3beKnkNHobpUJTUu3q+9nJD731IGVxWfkN0ID14eYku+mwLE6iXfqbvXtL5Jkd09oJrra3F9x5mm GkMD2tZCVYXLbrECVO7taGwRVxfoyE1OUNK8K8+cIwTTROU01cyhmjLy0URoBQcGiOBwTmc57ATKk kRH49Eq90SQBMcf6yeYfmiIfq1fUXQJkdjeQzBrXvmZPA5gBY1xhTZEajXQTFRICvuEF2WizBXXeK 1eiR5YDI6b5eHfaUhvMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyH2O-002H18-8Z; Mon, 06 Jun 2022 18:01:12 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyH2I-002GzY-Ok for linux-arm-kernel@lists.infradead.org; Mon, 06 Jun 2022 18:01:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654538466; x=1686074466; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1JJNR8/oQ5jmHfP9vYMlYc7K16smz9PpCKSG7Hi97W8=; b=cJbfB2WqDZ2fd8MLG1LxXBqiW1bt7RkZuu9NBWRiN7dVUaaeSL0LXvRU bsDIeqsBo5gEgjIlz60ipHSpgwsPP7/8WdQgN9ThiMYUr3rOFRiRtaAdx vwvXIM/m3HfN7hNAGfXVNNYsuITBpD5qyXA4RqqHts37LAL7KDMPLzlYN cZP0N5GDUxAmrkF7ETP7ci9YLa8qsOExuRKjm6tpvjEUBC+qA5Z7f55IE JmvmcohsbQGn3ohHmS2KckPe96Ms/LljbkyXg/Fx+z1zD/Z2RAZA3L3Tb 9sU5igycng4hl/2A/nfXdG15RrG8LZwSst2VxeKYAD4aoPMU6I5auEE3s w==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="277087453" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="277087453" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 10:42:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="565015877" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 06 Jun 2022 10:42:25 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyGkC-000CwT-G6; Mon, 06 Jun 2022 17:42:24 +0000 Date: Tue, 7 Jun 2022 01:41:35 +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 v4 5/6] arm64: mm: Convert to GENERIC_IOREMAP Message-ID: <202206070159.mnbdPS9W-lkp@intel.com> References: <20220606074815.139265-6-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220606074815.139265-6-wangkefeng.wang@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220606_110106_964134_F7E20107 X-CRM114-Status: GOOD ( 13.63 ) 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 linus/master] [also build test WARNING on v5.19-rc1 next-20220606] [cannot apply to arm64/for-next/core arnd-asm-generic/master akpm-mm/mm-everything] [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/20220606-154131 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f2906aa863381afb0015a9eb7fefad885d4e5a56 config: arm64-randconfig-s032-20220605 (https://download.01.org/0day-ci/archive/20220607/202206070159.mnbdPS9W-lkp@intel.com/config) compiler: aarch64-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-18-g56afb504-dirty # https://github.com/intel-lab-lkp/linux/commit/3fd9e961045f81f0ee188501228f8425c3d868a8 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/20220606-154131 git checkout 3fd9e961045f81f0ee188501228f8425c3d868a8 # 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=arm64 SHELL=/bin/bash arch/arm64/mm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> arch/arm64/mm/ioremap.c:28:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *x @@ got void [noderef] __iomem *addr @@ arch/arm64/mm/ioremap.c:28:32: sparse: expected void const *x arch/arm64/mm/ioremap.c:28:32: sparse: got void [noderef] __iomem *addr vim +28 arch/arm64/mm/ioremap.c 21 22 int iounmap_allowed(void __iomem *addr) 23 { 24 /* 25 * We could get an address outside vmalloc range in case 26 * of ioremap_cache() reusing a RAM mapping. 27 */ > 28 return is_vmalloc_addr(addr) ? 0 : -EINVAL; 29 } 30 -- 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