Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2421935ioo; Mon, 23 May 2022 19:03:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtwJpQKr+AUOEMB2OPEwMZYupXGY8M3fHtEVT5M0Dvs4/QAIoR9sXwOB2sfhWbhoYNAC8O X-Received: by 2002:a17:907:d29:b0:6f4:87d4:ecad with SMTP id gn41-20020a1709070d2900b006f487d4ecadmr21403926ejc.166.1653357827585; Mon, 23 May 2022 19:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653357827; cv=none; d=google.com; s=arc-20160816; b=VpbnyfXggetugG6OCfyA+HsOTrk/ZBMGoyfPK19rsjrQqGTpmoNv3/6pNn38yvm64I uGyvKeEEd13rlXqUUW2D9a93Ics2ycIGJmbzN7U1I/tPZh34PMYjF305KYLNjayoi/L7 WnQc4hAC19cTKwPiULQqOm+Ar1gbgRvjNs3bd97zUcJsoGb8aY+XJ2rYm3JyWJTF+ul0 HvP7A0bGwcaKcwpIDW1qVXji6kkJAlhig2zX79W/BjeDWzIN8CkfYrvPz9oQaYbwKCmP ggUNxo8t+iFI7aADvF6+hXPBiPzugdgPVsu2VsIQzlCbVh2ycotJp7A1hyg9wxpebzwD MyNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tUCGKkdJBrEllX4OMEABcGkgNlgopbgwDWtTyv7BqhY=; b=fpUhDB1WfQ9JSrthwExQbtcghf1vABSbEVVtiD0tk82eYKvTWvuCUEMrZUXlx5+hvD 4I3wwfpnFCJCM74IsPg2p0BkHap6DH0sUFIz9Pe2SmKFD/zClCPxHp2It2DbnKu5w3ju jdE5l8Z01hoDASc/HcRJ+cpApoFPmhNY7cA/z5RYpPtADGUjc0zDaFqJyEPkN21x+CSX 5K8w7JauVs1QkP7i9f8c3OJoEdjAxsSq+bLukAwFC8kY/YZnCjcuvvYGiRzx6q0ec5pu 336pgdWhrwY25qStcEUpOP9CmRvj5NFJau41RJ6clkR3+8UV7k6FmdowFUTbEIvUUrMu Wxxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ff2x3bws; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds4-20020a170907724400b006fe1c07f390si17723134ejc.116.2022.05.23.19.03.21; Mon, 23 May 2022 19:03:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ff2x3bws; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbiEWWSK (ORCPT + 99 others); Mon, 23 May 2022 18:18:10 -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> X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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