Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9304498rwd; Wed, 21 Jun 2023 05:57:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5mP3o/tVK6Tp5qZ63K8XZbje0DpaNXa35JC/pC34RobREaeEtzchjInw6WbnDPoh4CF/mM X-Received: by 2002:a17:902:eb4d:b0:1b1:7362:9a18 with SMTP id i13-20020a170902eb4d00b001b173629a18mr9540806pli.27.1687352225917; Wed, 21 Jun 2023 05:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687352225; cv=none; d=google.com; s=arc-20160816; b=Hf6khz0wKry7VOdeOIoPLYEr91QrE/LZGa8xXSLV0tempMFUJTFbQOMGOnRo0mL+H4 qeYWZogNikMhg1J46ByyarCjMgp1XzvSsrLmZRnfpXPEclwuswedTIOuaZshAoehontN pIWcenHKyL5wE3G5Te4SriyDbzPHxDWm9y5Bqj56f678bExCFFQHX4StXTqOLRF0CRqV LnA3ApaZTTnYn3lIZbhj4GaLQ8Q55pvMB5C7BAage6MpNvQZy1oxD/kEwk8gYGjoTP+2 ssBgzANiQLsQDk0XEaM2M2N0uGaX/gMxo7lE8RTY8fpC9UxST6Lvy72IMIPuRosVaurb Iosg== 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=n4FUwLJcL1htm1V0XvcfIuDkTDbaQ1j4Zy2vj0dhjns=; b=kfkysf/CAAeay4Tiuk0OND0UQ95L4PNhj8aafDkDzeMTDXe2T8UdY46k4VtjBMV7Wi vOitab5LIVrYFIUn+XRIQ7piwmg3jGwgeDEF7FnewtrEEKrgis6lhLibGk0z1KF0v0B1 DG7r2Lm2Z7+uj4p57cZq9z4sHsfX5KU9pRGgFYz6+guQplnwEO+bbYmhfSGoOw8qYiQE lGpSorvZBXhI0C2X6yeq+3ocjxBIJamkUJYRFgVRzDSTR2fru3PgcyjD3jXVKIfURf/G s/VNL4p3bjuMJcjclDx/bK1kpJMDhvNR4ax8rMsoZChKZvJASvr3z+x1hvOVSCdZ1V4p rtyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cpoIhcYN; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a17-20020a170902ecd100b001b025685062si4444834plh.574.2023.06.21.05.56.52; Wed, 21 Jun 2023 05:57:05 -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=@microchip.com header.s=mchp header.b=cpoIhcYN; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230144AbjFULpG (ORCPT + 99 others); Wed, 21 Jun 2023 07:45:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231259AbjFULpE (ORCPT ); Wed, 21 Jun 2023 07:45:04 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31A7DE65; Wed, 21 Jun 2023 04:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1687347903; x=1718883903; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=dqCF3GfDpG27kGoS0tVLvifXd0cUJHAq0oMXHt6Pows=; b=cpoIhcYN4qbDVW0Yqv1NFj8HUabHIn55H7n5eBciPYhe2cXW1uJyCCGp vLsGhJyzm+dXZDT5nVyZImPe8TVLbDp3eAK+5Q5oVpLjkxrXHmR7GuP+K kazGTLEQC+3lKDImORjObkuv56O7V/EMA4oMrCDrliXhEpEj2UJO0BcXO QPMG7QCeQF/jcU7xQyclcxbBsUmIVyqjbLuVRdI7XJ0z7pwI5SdDXgcul l8vk8XV25tz39pKjXID3D/rzd6JPk0xchlua5cH32eDqqP9F7NRHz/bsn Hvq1Kukj1v9AVWe5QA27b9g+HcO9CF3hTN2gmUBPLTbyiNWZPg0YZpdnE Q==; X-IronPort-AV: E=Sophos;i="6.00,260,1681196400"; d="asc'?scan'208";a="216987650" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 21 Jun 2023 04:45:02 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 21 Jun 2023 04:44:34 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Wed, 21 Jun 2023 04:44:31 -0700 Date: Wed, 21 Jun 2023 12:44:04 +0100 From: Conor Dooley To: Minda Chen CC: kernel test robot , Emil Renner Berthing , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Roger Quadros , , , , , , Paul Walmsley , Palmer Dabbelt , Albert Ou , Mason Huo Subject: Re: [PATCH v7 4/5] phy: starfive: Add JH7110 PCIE 2.0 PHY driver Message-ID: <20230621-duckbill-scarf-fa79744cd42d@wendy> References: <20230619094759.21013-5-minda.chen@starfivetech.com> <202306192215.TvQco9m6-lkp@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tRw/601YCUT+ci1y" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 --tRw/601YCUT+ci1y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, On Wed, Jun 21, 2023 at 05:29:34PM +0800, Minda Chen wrote: > On 2023/6/19 22:45, kernel test robot wrote: > > kernel test robot noticed the following build errors: > >=20 > > [auto build test ERROR on robh/for-next] > > [also build test ERROR on linus/master v6.4-rc7 next-20230619] > > [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] > >=20 > > url: https://github.com/intel-lab-lkp/linux/commits/Minda-Chen/dt-bi= ndings-phy-Add-StarFive-JH7110-PCIe-PHY/20230619-184756 > > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git = for-next > > patch link: https://lore.kernel.org/r/20230619094759.21013-5-minda.c= hen%40starfivetech.com > > patch subject: [PATCH v7 4/5] phy: starfive: Add JH7110 PCIE 2.0 PHY dr= iver > > config: s390-allmodconfig (https://download.01.org/0day-ci/archive/2023= 0619/202306192215.TvQco9m6-lkp@intel.com/config) > > compiler: s390-linux-gcc (GCC) 12.3.0 > > reproduce: (https://download.01.org/0day-ci/archive/20230619/2023061922= 15.TvQco9m6-lkp@intel.com/reproduce) > >=20 > > If you fix the issue in a separate patch/commit (i.e. not just a new ve= rsion of > > the same patch/commit), kindly add following tags > > | Reported-by: kernel test robot > > | Closes: https://lore.kernel.org/oe-kbuild-all/202306192215.TvQco9m6-l= kp@intel.com/ > >=20 > > All errors (new ones prefixed by >>, old ones prefixed by <<): > >=20 > >>> ERROR: modpost: "devm_platform_ioremap_resource" [drivers/phy/starfiv= e/phy-jh7110-pcie.ko] undefined! > I can not find this error. devm_platform_ioremap_resource is an exported = symbol I asked Arnd about this since the error confused me too. Arnd pointed out that this "allmodconfig" isn't really allmodconfig as PCI is disabled. On s390, CONFIG_HAS_IOMEM depends on PCI and thus none of this devres stuff is usable without it. He suggested that you make the driver depend on USB_SUPPORT, which in turn depends on HAS_IOMEM. Cheers, Conor. > > ERROR: modpost: "devm_ioremap_resource" [drivers/dma/qcom/hdma.ko] unde= fined! > > ERROR: modpost: "devm_platform_ioremap_resource" [drivers/dma/fsl-edma.= ko] undefined! > > ERROR: modpost: "devm_platform_ioremap_resource" [drivers/dma/idma64.ko= ] undefined! > > ERROR: modpost: "iounmap" [drivers/tty/ipwireless/ipwireless.ko] undefi= ned! > > ERROR: modpost: "ioremap" [drivers/tty/ipwireless/ipwireless.ko] undefi= ned! > > ERROR: modpost: "devm_platform_ioremap_resource" [drivers/char/xillybus= /xillybus_of.ko] undefined! > > ERROR: modpost: "devm_memremap" [drivers/misc/open-dice.ko] undefined! > > ERROR: modpost: "devm_memunmap" [drivers/misc/open-dice.ko] undefined! > > ERROR: modpost: "iounmap" [drivers/net/ethernet/8390/pcnet_cs.ko] undef= ined! > > WARNING: modpost: suppressed 19 unresolved symbol warnings because ther= e were too many) > >> Kconfig warnings: (for reference only) > > WARNING: unmet direct dependencies detected for USB_PHY > > Depends on [n]: USB_SUPPORT [=3Dn] > > Selected by [m]: > > - PHY_STARFIVE_JH7110_PCIE [=3Dm] > >=20 > I will fix it. --tRw/601YCUT+ci1y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJLihAAKCRB4tDGHoIJi 0vj8AP9kJjPUKKeK5Ikb1Vd6nWoEl8ogTNFNE5HjZqKwMcYd4wD+MdHtCtk1hVIG mTwN9gzq2iJiK6QVTmkspy3bwM3HLgQ= =7ieo -----END PGP SIGNATURE----- --tRw/601YCUT+ci1y--