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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B79B3C433F5 for ; Mon, 10 Oct 2022 10:38:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EE1386B0071; Mon, 10 Oct 2022 06:38:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E9122900003; Mon, 10 Oct 2022 06:38:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D5888900002; Mon, 10 Oct 2022 06:38:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id C0C3B6B0071 for ; Mon, 10 Oct 2022 06:38:33 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 63353A0931 for ; Mon, 10 Oct 2022 10:38:33 +0000 (UTC) X-FDA: 80004690906.07.1272131 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf25.hostedemail.com (Postfix) with ESMTP id 40BDFA001E for ; Mon, 10 Oct 2022 10:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665398311; 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=DL9xknkq9GbX5scABEl0mcBFqkXoG2Cj1WzZ+9BRArmDBrvmJxCeZsngAq2e07DRGeblXr tqfpqeCOia+IPGPKCpMchHv4EGvejrBleyc2Io1kmUz/l8d/DDqkz1HS+PwdAIe1fI2sRO XseAUsJMxkj50ADpgYJlxQOE036oDsQ= 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 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665398312; a=rsa-sha256; cv=none; b=dNRFk0BARTANoXwokM7yCmKmxQKGRC1Z8Wqp8mwszliorsvRntE3ysClEmRapVTvF0pNE5 l2tkn00bmkWYb0s9mBbB2p7psbQ5KwqUWgWdOr3fM/dvDU8kfDzhquUgwWpg1xcCXPgewZ 9r23Fl9JoHu/UjTsBFhZf26sAEP65Xw= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=DL9xknkq; spf=pass (imf25.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665398312; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=hK9Fcz441oIKG5a7FgR5S+4f/f2VUnED47PafWI5itI=; b=YHBBdJTjHkm49pVxQnjqcE+qPKzv3zkpCTlHCCiowqC3nwBqnbvLJh22m/5ZXjIlkVfr8J M/O9A861jCesNVNG2z4onI59y0ArStm8SUifylqa0k9dZrSATw/GhZs2CWGjEjfB4lLsfx MDRL9x3DQJwE0zJCdYGAmrOdHr/ZWHQ= Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=DL9xknkq; spf=pass (imf25.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Stat-Signature: zu8frrxbaoq31wqgjz3h8d3hip1fj7nh X-Rspamd-Queue-Id: 40BDFA001E X-Rspam-User: X-Rspamd-Server: rspam05 X-HE-Tag: 1665398312-100865 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 ......