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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C220AC433EF for ; Tue, 9 Nov 2021 13:08:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 275BA61130 for ; Tue, 9 Nov 2021 13:08:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 275BA61130 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baidu.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 6FE5A6B00AC; Tue, 9 Nov 2021 08:08:17 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6ACEE6B00AD; Tue, 9 Nov 2021 08:08:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 59B596B00AF; Tue, 9 Nov 2021 08:08:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0043.hostedemail.com [216.40.44.43]) by kanga.kvack.org (Postfix) with ESMTP id 4A36B6B00AC for ; Tue, 9 Nov 2021 08:08:17 -0500 (EST) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 092757D8AF for ; Tue, 9 Nov 2021 13:08:17 +0000 (UTC) X-FDA: 78789420234.12.6B253FE Received: from baidu.com (mx24.baidu.com [111.206.215.185]) by imf20.hostedemail.com (Postfix) with ESMTP id 29348D0000BC for ; Tue, 9 Nov 2021 13:08:01 +0000 (UTC) Received: from BJHW-Mail-Ex12.internal.baidu.com (unknown [10.127.64.35]) by Forcepoint Email with ESMTPS id D9738B8379FE6702EBCA; Tue, 9 Nov 2021 21:02:41 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BJHW-Mail-Ex12.internal.baidu.com (10.127.64.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 9 Nov 2021 21:02:41 +0800 Received: from localhost (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 9 Nov 2021 21:02:41 +0800 Date: Tue, 9 Nov 2021 21:02:41 +0800 From: Cai Huoqing To: Miquel Raynal CC: kernel test robot , , "Linux Memory Management List" Subject: Re: [linux-next:master 1194/13432] denali_dt.c:undefined reference to `devm_platform_ioremap_resource_byname' Message-ID: <20211109130241.GA69@LAPTOP-UKSR4ENP.internal.baidu.com> References: <202111081308.Dxim8kDL-lkp@intel.com> <20211109113056.181b444e@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <20211109113056.181b444e@xps13> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex14.internal.baidu.com (172.31.51.54) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) X-Baidu-BdMsfe-DateCheck: 1_BJHW-Mail-Ex12_2021-11-09 21:02:41:874 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 29348D0000BC X-Stat-Signature: z8pafmmghxg8ws5bjcx6hrjuyuku671i Authentication-Results: imf20.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf20.hostedemail.com: domain of caihuoqing@baidu.com designates 111.206.215.185 as permitted sender) smtp.mailfrom=caihuoqing@baidu.com X-HE-Tag: 1636463281-392332 Content-Transfer-Encoding: quoted-printable 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 09 11=E6=9C=88 21 11:30:56, Miquel Raynal wrote: > Hi Cai, >=20 > lkp@intel.com wrote on Mon, 8 Nov 2021 13:53:16 +0800: >=20 > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git master > > head: e844ee04dee0cf1b6d97183c12266c7726d73636 > > commit: 5f14a8ca1b493a3c633ff549fb7d494887d7804a [1194/13432] mtd: ra= wnand: denali: Make use of the helper function devm_platform_ioremap_reso= urce_byname() > > config: s390-randconfig-c004-20211101 (attached as .config) > > compiler: s390-linux-gcc (GCC) 11.2.0 > > reproduce (this is a W=3D1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master= /sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-= next.git/commit/?id=3D5f14a8ca1b493a3c633ff549fb7d494887d7804a > > git remote add linux-next https://git.kernel.org/pub/scm/linu= x/kernel/git/next/linux-next.git > > git fetch --no-tags linux-next master > > git checkout 5f14a8ca1b493a3c633ff549fb7d494887d7804a > > # save the attached .config to linux build tree > > mkdir build_dir > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make= .cross O=3Dbuild_dir ARCH=3Ds390 SHELL=3D/bin/bash > >=20 > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > >=20 > > All errors (new ones prefixed by >>): > >=20 > > s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_i= nit_dt': > > irq-al-fic.c:(.init.text+0x48): undefined reference to `of_iomap' > > s390-linux-ld: irq-al-fic.c:(.init.text+0x280): undefined referenc= e to `iounmap' > > s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `x= illy_drv_probe': > > xillybus_of.c:(.text+0x13c): undefined reference to `devm_platform= _ioremap_resource' > > s390-linux-ld: drivers/mtd/nand/raw/denali_dt.o: in function `dena= li_dt_probe': > > >> denali_dt.c:(.text+0x140): undefined reference to `devm_platform_i= oremap_resource_byname' > > >> s390-linux-ld: denali_dt.c:(.text+0x162): undefined reference to `= devm_platform_ioremap_resource_byname' =20 >=20 > Can you please look into it? Hi, fix here https://lore.kernel.org/all/20211109125457.213-1-caihuoqing@baidu.com/ but so many iomap related issue, S390 may not select HAS_IOMEM. >=20 > > s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map': > > cistpl.c:(.text+0x230): undefined reference to `iounmap' > > s390-linux-ld: cistpl.c:(.text+0x242): undefined reference to `ior= emap' > > s390-linux-ld: cistpl.c:(.text+0x2a2): undefined reference to `ior= emap' > > s390-linux-ld: cistpl.c:(.text+0x2bc): undefined reference to `iou= nmap' > > s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_m= em': > > cistpl.c:(.text+0xd72): undefined reference to `iounmap' > > s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_= of_init': > > timer-of.c:(.init.text+0x96): undefined reference to `of_iomap' > > s390-linux-ld: timer-of.c:(.init.text+0x34e): undefined reference = to `iounmap' > > s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_= of_cleanup': > > timer-of.c:(.init.text+0x3ec): undefined reference to `iounmap' > > s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in fu= nction `mchp_pit64b_dt_init_timer': > > timer-microchip-pit64b.c:(.init.text+0xda): undefined reference to= `of_iomap' > > s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x4e2): undefi= ned reference to `iounmap' > >=20 > > --- > > 0-DAY CI Kernel Test Service, Intel Corporation > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org >=20 > Thanks, > Miqu=C3=A8l