Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp825771pxb; Tue, 12 Apr 2022 14:31:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0PKYj33TUcquMKxeSypOkav76X7CKmrnwlGWqturHteo6ME1LW1en7xfCQfECmiGqSZMc X-Received: by 2002:a17:903:1105:b0:154:c850:860b with SMTP id n5-20020a170903110500b00154c850860bmr39423077plh.12.1649799114624; Tue, 12 Apr 2022 14:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649799114; cv=none; d=google.com; s=arc-20160816; b=BFEsnRNfUAzxGiiIy1VUSZySQQpU/hdyAm2oSLNQzmPt96uHMo0AaKCnjDZEdAxZiX emnzevaDgkF4ARrvaGnxCD8MImpA8rCE74zwRJ34Cf0A2mmNLklmZZYC38b0mqkkv2DS pMl0udsKoptA4y/EDxf5zUakzwt8wC5CEbDVUiY5SxTarbgxGlqMYCEnFSQjqeeXFn18 +6PTku8xZTEoS2pP/aq97zgwrqQrv1HhVH18/shje1Ga0dpaP7FwxNmAJO6krXLqkc5H ZR9Js6BWxXZ5cOHzFpMk+hbVVWcLBVGJljZmXp5cgsXzsZsll83X66RCsHnMuiRaUMFb Dkpg== 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=RbsAzZvTljYo+RBJswsnAR5lYXPWhOrtFUVWlHUhygc=; b=W7dSeND36ZQ098WBcieFRjX0/44GEGuec6A+gWZVMa7v5qRrnyuVXPAluW2zAMbumB KFdxUt5VP3vOqvlowCnWWy9S76UA4ZVyhK3dLAOJvcF+mrnhKJEulZ1PkQrNUpsWwfLF 7eQKktKYbEfCvFiCSaFaGtzjxmqC1b4hxv3AnwG87dVFk7Qyza1noNPspN+/0shNWX91 ym/yX8QrzzZscaj4UB3n78P9SYucU5vD/2mhhgfglG9oY99LF25yIveMU8ORsyTcpA8G rF9LyFnMi4MJlMv/qLOh0B0nkMtHeeDlZ7aUY17qE2lUiQBwR0QShxUCvwTQnnIVb+x1 e+vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aF5cMbJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i11-20020a655b8b000000b003816043f09fsi3786263pgr.660.2022.04.12.14.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:31:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aF5cMbJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 26D8464EB; Tue, 12 Apr 2022 13:38:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237443AbiDIBEp (ORCPT + 99 others); Fri, 8 Apr 2022 21:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbiDIBEn (ORCPT ); Fri, 8 Apr 2022 21:04:43 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D33F22CB3AA for ; Fri, 8 Apr 2022 18:02:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649466157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RbsAzZvTljYo+RBJswsnAR5lYXPWhOrtFUVWlHUhygc=; b=aF5cMbJ0KTGzUFcr8O6W6KQ1wtTwCTALG8AEJuMqHzfh5QttYw0QPDOZnasxsn0TeV8j7V DOsL7qazhKYMG4T6OjdNjFFPhIzAfIW2h0J83/72Vj3iBfaugRnPBdxMy3Dln/T7RZXcUU O7UdBrWV+FIljTvXt8ym1BgGwjEIYyQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-183-4QYPejBPMdmQgr3pUtPhmw-1; Fri, 08 Apr 2022 21:02:34 -0400 X-MC-Unique: 4QYPejBPMdmQgr3pUtPhmw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 44E792999B23; Sat, 9 Apr 2022 01:02:34 +0000 (UTC) Received: from localhost (ovpn-12-19.pek2.redhat.com [10.72.12.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAB83C44CC0; Sat, 9 Apr 2022 01:02:32 +0000 (UTC) Date: Sat, 9 Apr 2022 09:02:29 +0800 From: Baoquan He To: kernel test robot Cc: akpm@linux-foundation.org, willy@infradead.org, 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 Subject: Re: [PATCH v5 RESEND 1/3] vmcore: Convert copy_oldmem_page() to take an iov_iter Message-ID: References: <20220408090636.560886-2-bhe@redhat.com> <202204082128.JKXXDGpa-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202204082128.JKXXDGpa-lkp@intel.com> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On 04/08/22 at 09:17pm, kernel test robot wrote: > 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 Thanks for reporting this, do I need to try this on ppc system? I tried on x86_64 system, for the 1st step, I got this: [ ~]# wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross /root/bin/make.cross: No such file or directory What else should I do to proceed? Thanks Baoquan > 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 >