Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp373717pxv; Thu, 24 Jun 2021 09:44:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd6D2I6pcDS8W1D0rHuwh9AwIsqR8vuvSOAMJ+HYXQSXYLbr0S107MHRGwssixYSrl+x7J X-Received: by 2002:a17:906:7012:: with SMTP id n18mr6296400ejj.236.1624553050387; Thu, 24 Jun 2021 09:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624553050; cv=none; d=google.com; s=arc-20160816; b=OPIVa6/B2czZ9zM0/dkbSIp2fLepW8w+4X6j4b1Fy6heJL2DLyPcgkF1/xEfLQ9p0v vib4j+2eBYktA1nmZXn0t34PBgVbfAe71nY5F8C1zED29JAo4QLUSCOux7nVeuyEpWGA MRG3nFgWhsa64deyUlex6zKGP6O7WpRzWRHKv5QnHqkWtp3vx5aXIe1JvgtQgyEvaZ8l bqTVciVUu3f0+BRPgJOb+wSJBI+5Ck6BYgO9Enp8JbsykfJPBRCenFtmmTGUEMjp8nET iaJCU/B0aQybNXEQOGK3SwFZZirbXse8gpsFzlRVF6RBI/08RMmdKvVfwuZVZ151j7w4 ELxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=DIbyQ2PgeLf837dwobYrA/CiUXZq49TZoXZjRwFZ6o0=; b=Z4eiRi6B41O28CPmdHVyZjnV3K/CqrxnW0y8ztWX4mTc7gDQU3DprUwSDlFDrmubjW PNGYxdKZ4SmXGgemyk9fC/2aZ4h9fArz2InWsJ8D5/0DaUNmdZKAZCKR0ejqFTLr9wrS 5D4x5tpAYFIwHN3+cBS/SMIUr3dASS0JG7WNbJU95saHtkUY9afcHd6EnuQZpck8p95W YJDpxs8gN5V4NzfstEgt/ZH7ZDw0jf3ATeJjR7nn9lrcnG6lnPRaBbdDCfnp3MfR7m91 DvQRT2HQmyhFWQ/XIenclMYob/1JgOEE3oQdNB9PN7ik8w6VCQDl+XMm+ZhUDqQfLXLd 4B2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YTvqcNLd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz1si3243193ejc.700.2021.06.24.09.43.46; Thu, 24 Jun 2021 09:44:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YTvqcNLd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231621AbhFXQma (ORCPT + 99 others); Thu, 24 Jun 2021 12:42:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:43354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbhFXQm3 (ORCPT ); Thu, 24 Jun 2021 12:42:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E903F613CA; Thu, 24 Jun 2021 16:40:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624552810; bh=lJTybvnfd2Dl4R3uXC3jF8lbmzNbn81U7eS8WWOTCEg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=YTvqcNLd570mrY4dCrXUXRSK4l/MRHXMtYDEDucJucojPYRInb+tgsrIhfB6DUJ7w Gxph2m8AAZqhJnVycJzP0B4pqLOxTXebq/quL9g/CZYIeRIJQQ3bmPBmftGgSLJkkp 2+rLtA6nTs3FqOhIEkCh73SEP1aDrEGwabsMKFNs3oaylaZzaCR6WUBt3ljfCbnhk+ Wg42sTwmWtw/aCiAx+ZkDtwKijd9ZpZE3WiWorGUoFLbOM814jGV1HTn6UhjDgWYHy LbMYNWJOufe5Hb8dGENk1DmbZDcaIYjf7HuQuh5k4VcHhz0Y7jzYKduZl3c9qzY4LK C04Oi0lijykig== Subject: Re: linux-next: build failure after merge of the net-next tree To: Marcin Wojtas , Stephen Rothwell Cc: Naresh Kamboju , David Miller , Networking , Linux Kernel Mailing List , Linux Next Mailing List , lkft-triage@lists.linaro.org References: <20210624082911.5d013e8c@canb.auug.org.au> <20210624185430.692d4b60@canb.auug.org.au> From: Nathan Chancellor Message-ID: <3d6ea68a-9654-6def-9533-56640ceae69f@kernel.org> Date: Thu, 24 Jun 2021 09:40:08 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marcin, On 6/24/2021 7:25 AM, Marcin Wojtas wrote: > Hi Stephen, > > czw., 24 cze 2021 o 10:54 Stephen Rothwell napisał(a): >> >> Hi all, >> >> On Thu, 24 Jun 2021 11:43:14 +0530 Naresh Kamboju wrote: >>> >>> On Thu, 24 Jun 2021 at 07:59, Nathan Chancellor wrote: >>>> >>>> On Thu, Jun 24, 2021 at 12:46:48AM +0200, Marcin Wojtas wrote: >>>>> Hi Stephen, >>>>> >>>>> czw., 24 cze 2021 o 00:29 Stephen Rothwell napisał(a): >>>>>> >>>>>> Hi all, >>>>>> >>>>>> Today's linux-next build (x86_64 modules_install) failed like this: >>>>>> >>>>>> depmod: ../tools/depmod.c:1792: depmod_report_cycles_from_root: Assertion `is < stack_size' failed. >>> >>> LKFT test farm found this build error. >>> >>> Regressions found on mips: >>> >>> - build/gcc-9-malta_defconfig >>> - build/gcc-10-malta_defconfig >>> - build/gcc-8-malta_defconfig >>> >>> depmod: ERROR: Cycle detected: fwnode_mdio -> of_mdio -> fwnode_mdio >>> depmod: ERROR: Found 2 modules in dependency cycles! >>> make[1]: *** [/builds/linux/Makefile:1875: modules_install] Error 1 >>> >>>>> Thank you for letting us know. Not sure if related, but I just found >>>>> out that this code won't compile for the !CONFIG_FWNODE_MDIO. Below >>>>> one-liner fixes it: >>>>> >>>>> --- a/include/linux/fwnode_mdio.h >>>>> +++ b/include/linux/fwnode_mdio.h >>>>> @@ -40,7 +40,7 @@ static inline int fwnode_mdiobus_register(struct mii_bus *bus, >>>>> * This way, we don't have to keep compat bits around in drivers. >>>>> */ >>>>> >>>>> - return mdiobus_register(mdio); >>>>> + return mdiobus_register(bus); >>>>> } >>>>> #endif >>>>> >>>>> I'm curious if this is the case. Tomorrow I'll resubmit with above, so >>>>> I'd appreciate recheck. >>> >>> This proposed fix did not work. >>> >>>> Reverting all the patches in that series fixes the issue for me. >>> >>> Yes. >>> Reverting all the (6) patches in that series fixed this build problem. >>> >>> git log --oneline | head >>> 3752a7bfe73e Revert "Documentation: ACPI: DSD: describe additional MAC >>> configuration" >>> da53528ed548 Revert "net: mdiobus: Introduce fwnode_mdbiobus_register()" >>> 479b72ae8b68 Revert "net/fsl: switch to fwnode_mdiobus_register" >>> 92f85677aff4 Revert "net: mvmdio: add ACPI support" >>> 3d725ff0f271 Revert "net: mvpp2: enable using phylink with ACPI" >>> ffa8c267d44e Revert "net: mvpp2: remove unused 'has_phy' field" >>> d61c8b66c840 Add linux-next specific files for 20210623 >> >> So I have reverted the merge of that topic branch from linux-next for >> today. > > Just to understand correctly - you reverted merge from the local > branch (I still see the commits on Dave M's net-next/master). I see a > quick solution, but I'm wondering how I should proceed. Submit a > correction patch to the mailing lists against the net-next? Or the > branch is going to be reverted and I should resubmit everything as v4? As far as I am aware, net and net-next are not rebased so you would need to submit a fixup patch against the current net-next with a proper Fixes: tag. Cheers, Nathan