Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp560862rwi; Mon, 10 Oct 2022 04:27:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4V5DZaf0TffEAFJqbwbSBhtk0PtjhhR37Fi19hscbSH3U5yjUs5Q3ksOh9Q+F+OnbKtFcI X-Received: by 2002:a05:6402:36b:b0:458:5ac2:8d56 with SMTP id s11-20020a056402036b00b004585ac28d56mr17752579edw.25.1665401255724; Mon, 10 Oct 2022 04:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665401255; cv=none; d=google.com; s=arc-20160816; b=yVoBYNvBzltv/uEbHnBw+D5ntxnhljs4CAXipnJLPIqYffgznsvUWHmdSKH5te5p0G iPkLGinVgsMYSm0MSeve9I1h7aAMWDFzZY+gaiVCh+ECOLegwvu3H12TbJbnzGBUEOOR 83zhR5qt1nBREnIxNXg9Lx8tNFKD5FE6R/2+mVYh7cMxmRatQSxtnKIfmuV607hh6H0g bDrrNmnhbR3TKNeRIeDFqh4yzllceiUBqaqPWdlPQefkSlV80nTbRTrum7nHWr6YRLz6 fzEps1m6HHUGq9SzxuTuy77hL9SfFuaXMwaFKPNYbUAZPPaA12rnGSRTI8u3lg741yPi LFVQ== 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=hK9Fcz441oIKG5a7FgR5S+4f/f2VUnED47PafWI5itI=; b=jtZKUcIOr7BsbGRfVsAT9duX2G5U3jXTnjPjxBPf+RtGUb+PKr/s7lHAYqH3i8Z+R6 WBavEz1IsaYY5DuuXLC4UQAn9HCtVF9RxVHXXjWCvvaoiWcOPIBMPPgdSfkLsy/S7loG vHTA0TxMqzumqiiuNQrtQNYI+oGIZZN/+/Qw46rTQPDhJsoUGARrmWZ+V9ae0XqFqmB0 fNDLBdTDiaCCo6oMIxQYMkNf30/g/utZkBoewFJETNn4GWFEyJSHk8uQLAv+rbWEsg0J ZzqUmcts8TJn0RVRlU83QSoOMXtiVPG8yxJpZuvvdVPD8nI9l5QZ01KUunIjh+wMTN6n h7TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gZyldS+q; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a056402248900b0045c3f6adb7csi929297eda.215.2022.10.10.04.26.46; Mon, 10 Oct 2022 04:27:35 -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=@redhat.com header.s=mimecast20190719 header.b=gZyldS+q; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231420AbiJJKiv (ORCPT + 99 others); Mon, 10 Oct 2022 06:38:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231961AbiJJKic (ORCPT ); Mon, 10 Oct 2022 06:38:32 -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 ESMTPS id 546565B06E for ; Mon, 10 Oct 2022 03:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665398309; 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=hK9Fcz441oIKG5a7FgR5S+4f/f2VUnED47PafWI5itI=; b=gZyldS+qlP+NqRfwOm2/Bf2SoeNrTl/Eza9OX7Xh0mA2jRKLl+gIcieZaBXpo19QGyjngt qAyDvMg8ppJWRUfKVMVv8pdKfHGXR3+PQL9OU26YadVQt5Z4EP7eCv3oQ/SoMTHz8NOo/D OciMBwgQWb0oLGx/txBUAkJ8sI3pNig= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-271-hB7w2ShsPN64vv_SH-7tsw-1; Mon, 10 Oct 2022 06:38:26 -0400 X-MC-Unique: hB7w2ShsPN64vv_SH-7tsw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5D04D85A5A6; Mon, 10 Oct 2022 10:38:25 +0000 (UTC) Received: from localhost (ovpn-12-34.pek2.redhat.com [10.72.12.34]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7DBA9215CDC3; Mon, 10 Oct 2022 10:38:24 +0000 (UTC) Date: Mon, 10 Oct 2022 18:38:20 +0800 From: Baoquan He To: kernel test robot , Niklas Schnelle Cc: linux-kernel@vger.kernel.org, kbuild-all@lists.01.org, linux-mm@kvack.org, akpm@linux-foundation.org, hch@infradead.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, christophe.leroy@csgroup.eu, schnelle@linux.ibm.com, David.Laight@aculab.com, shorne@gmail.com, Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , linux-s390@vger.kernel.org Subject: Re: [PATCH v3 09/11] s390: mm: Convert to GENERIC_IOREMAP Message-ID: References: <20221009103114.149036-10-bhe@redhat.com> <202210092100.mfRPyPqR-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202210092100.mfRPyPqR-lkp@intel.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 10/09/22 at 09:54pm, kernel test robot wrote: > Hi Baoquan, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on next-20221007] > [cannot apply to akpm-mm/mm-everything openrisc/for-next deller-parisc/for-next s390/features v6.0] > [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#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Baoquan-He/mm-ioremap-Convert-architectures-to-take-GENERIC_IOREMAP-way/20221009-183524 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a6afa4199d3d038fbfdff5511f7523b0e30cb774 > config: s390-buildonly-randconfig-r006-20221009 > compiler: s390-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/intel-lab-lkp/linux/commit/69f65149d2e87de076edbb2b4dd9532f8f57dd8b > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Baoquan-He/mm-ioremap-Convert-architectures-to-take-GENERIC_IOREMAP-way/20221009-183524 > git checkout 69f65149d2e87de076edbb2b4dd9532f8f57dd8b > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > s390-linux-ld: mm/ioremap.o: in function `ioremap_prot': > >> ioremap.c:(.text+0x9a): undefined reference to `arch_ioremap' > s390-linux-ld: mm/ioremap.o: in function `iounmap': > >> ioremap.c:(.text+0x234): undefined reference to `arch_iounmap' > s390-linux-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe': > hidma.c:(.text+0x4b46): undefined reference to `devm_ioremap_resource' > s390-linux-ld: hidma.c:(.text+0x4b9e): undefined reference to `devm_ioremap_resource' The above compiling errors are caused by unsetting CONFIG_PCI in s390-buildonly-randconfig-r006-20221009 attached. I keep the items for reference. Because s390 puts io mem functions in arch/s390/pci/pci.c. While building arch/s390/pci/pci.c in needs CONFIG_PCI enabled. I don't think disabling CONFIG_PCI in s390x makes sense in reality, except of the randconfig testing. Hi Niklas, lkp What do you think about this? We can just ignore this building error with randconfig in lkp? > > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp > # > # Automatically generated file; DO NOT EDIT. > # Linux/s390 6.0.0 Kernel Configuration > # ...... > # end of General setup > > CONFIG_MMU=y ...... > # Device Drivers > # > CONFIG_HAVE_PCI=y > # CONFIG_PCI is not set ......