Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp525242pxw; Fri, 8 Apr 2022 13:49:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaV0mmE3iXbTTyssAl3+CSdar/pvXCMj1FqHf/OulLwehhi+6CuraJM/8kFjZNDaSi5OZN X-Received: by 2002:a17:907:96a6:b0:6e3:9c1b:f403 with SMTP id hd38-20020a17090796a600b006e39c1bf403mr19999811ejc.524.1649450950155; Fri, 08 Apr 2022 13:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649450950; cv=none; d=google.com; s=arc-20160816; b=uHpZUkcD3dI2XfLDAZ6AAqawnG3kanMkGKdP57uM7u1QWoT7125yZe9MSXeFdfVRyA PTblim1Lgko0VDkJcVy8ssZOAIk500hpdOcikh0fyoUa8ZhT4NuHmKBok8fYxHFvnuwn OefTcHOKRJic35ZsjbWhRQjvhjTvt4X555tJAQ934nguRIo9BlNdUC0aWi4m2cLsZHT3 ycq4b3CbfUou4eKzYuIwkS6WzLxzM3TTGs0JoLEvvwhClh3GJv5K1OfXqKlWp1WW3qrV L9jU36Zs5y4wvdx3oBpjdQ2rlQw6K4xFonVOnU6PDKkT5SiCSkGnqpc992DagEbtfVkh eScg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=S1w2jFL6BtgUS/VLExmhSEpExM9GDh9c1Ho6EiQprrk=; b=y0aVzLmBM+lxgHR1C3ZuRdoxpj78eYUl0IEPzFC6GCKsw1RnfrDXAZmi3ylWlujbJd 4C1txl2eXx4E4V9XFvWfHYjMgU457JAT+GMk+hJpsW7v9EiZkX2RHkhTyqVDmGT5Pjn9 2LvkmJytI71l8rXO03iA0iPAf4j0xKxUp4q9UKX+rwU4aDApyjxZBiW/+Xlq2G+pINHG Q3ddXAh3p1Ko9MJ75L6yBNFYYtdrb5HUxLUrZFVtbY7d0OOpzW/+unZCG9i6CFTbz7j7 6NVvUk4K0RW1Qy75LQNStYbPDRjvMqR0X+Mc9sP3STtTmv3w+WELrDNYcZNhRH8OdINh OTJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SahQEznn; 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 y16-20020a056402271000b0041d38202363si2251418edd.500.2022.04.08.13.48.42; Fri, 08 Apr 2022 13:49:10 -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=SahQEznn; 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 S236182AbiDHNUf (ORCPT + 99 others); Fri, 8 Apr 2022 09:20:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236149AbiDHNUc (ORCPT ); Fri, 8 Apr 2022 09:20:32 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5855ECC5E; Fri, 8 Apr 2022 06:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649423908; x=1680959908; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=v11wVOUBXjF91c7/a49xOWZxnE+WntSYIN4gsgCmFPE=; b=SahQEznnpXn7SU6+7w5Gl25KsiyCrJSaNLPpch0lbrD1gcXH0I9Y5rTN rWzYIesX0S/nHAuSCQ6bCgTV+nl22zFP/rpzPHq2+S9E7KSoqBl/F3o6T ttdYrmaubql3eyubVMTfZFVtCGqUmOoV2j+xHiIp9ZOoUXhllN6AKvyh0 tOWZxMyLsZ2kx2OqGjaYqQDDsTPqxaDmWzwu0gJO12Pp0x60Zj0zsLRGW Pc2S4yOUJeARXp1tCOYf3r7d6VAOtIlmJ5Ky/qLmE+jJwt4Y9a3fc9W9T k6fTz5V89oVySBwB70G+zWNuoWNYyHb4MiPmXV+p5HtXV3MqmQGbshjfI g==; X-IronPort-AV: E=McAfee;i="6400,9594,10310"; a="286578786" X-IronPort-AV: E=Sophos;i="5.90,245,1643702400"; d="scan'208";a="286578786" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2022 06:18:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,245,1643702400"; d="scan'208";a="795089080" Received: from lkp-server02.sh.intel.com (HELO 7e80bc2a00a0) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 08 Apr 2022 06:18:25 -0700 Received: from kbuild by 7e80bc2a00a0 with local (Exim 4.95) (envelope-from ) id 1ncoVN-0000Hk-2Q; Fri, 08 Apr 2022 13:18:25 +0000 Date: Fri, 8 Apr 2022 21:17:51 +0800 From: kernel test robot To: Baoquan He , akpm@linux-foundation.org, willy@infradead.org Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, hch@lst.de, yangtiezhu@loongson.cn, amit.kachhap@arm.com, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, bhe@redhat.com Subject: Re: [PATCH v5 RESEND 1/3] vmcore: Convert copy_oldmem_page() to take an iov_iter Message-ID: <202204082128.JKXXDGpa-lkp@intel.com> References: <20220408090636.560886-2-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220408090636.560886-2-bhe@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Baoquan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on s390/features linus/master v5.18-rc1 next-20220408] [cannot apply to tip/x86/core hnaz-mm/master arm64/for-next/core] [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/Baoquan-He/Convert-vmcore-to-use-an-iov_iter/20220408-170846 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: sh-randconfig-s032-20220408 (https://download.01.org/0day-ci/archive/20220408/202204082128.JKXXDGpa-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 11.2.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/a5e42962f5c0bea73aa382a2415094b4bd6c6c73 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Baoquan-He/Convert-vmcore-to-use-an-iov_iter/20220408-170846 git checkout a5e42962f5c0bea73aa382a2415094b4bd6c6c73 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sh SHELL=/bin/bash arch/sh/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> arch/sh/kernel/crash_dump.c:23:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __iomem * @@ arch/sh/kernel/crash_dump.c:23:36: sparse: expected void const *addr arch/sh/kernel/crash_dump.c:23:36: sparse: got void [noderef] __iomem * vim +23 arch/sh/kernel/crash_dump.c 13 14 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, 15 size_t csize, unsigned long offset) 16 { 17 void __iomem *vaddr; 18 19 if (!csize) 20 return 0; 21 22 vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE); > 23 csize = copy_to_iter(vaddr + offset, csize, iter); -- 0-DAY CI Kernel Test Service https://01.org/lkp