Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp346385pxj; Thu, 24 Jun 2021 00:08:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiv612QCB/Xv1WwmSMFKC+qER3ORPyHoHG8UcAGewfuPetGKKDeDdnSqpS0qCvJbH4R9G7 X-Received: by 2002:a05:6e02:20c8:: with SMTP id 8mr2463926ilq.67.1624518489184; Thu, 24 Jun 2021 00:08:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624518489; cv=none; d=google.com; s=arc-20160816; b=uS0daRg7XhTxiyWP7IoVhPaBSRCl0kn310Df9KCLqR5iN/67tVoqzXjKzMwjX0vuqV B6ZtpHe9do3B9Fruyx3jf2Nd8Ub1cLMptCa3/CEYCiQa7ie+LBjctg8eQ/ngdep9HY/+ /ijunOpwGCWGlMq68zcu7ewKpaxeuEEP7T5DOb7+8qnxJ3vRi4gSET66e9JevAmhrsUf hrbkM2hlCmAkexyhbBwsdCBUMiP53fDpo1whcMtmvS6wTezgr0o+1fLdDdIzUWiXKQ6L kY8F0AwVEVFusjQYlfEaHzlUqDMWMroMDDj4htJll9Bggu+1yg7nMW80zeZvPO0BWFkY DTNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uyb2tZAPltFwu0/3f+8N1Whypmr/BCkiRPdpo/+aATQ=; b=S4LC39kzUjK9oYZ7JquV9xNJY+yGxLXuMbqK68ixu2M3uK4XufZohWnyqP258CTd4j evpzZGztH3lnfZi6fs93V/B5zVMkmLAWurM636k9aUV8erH+r6u0+2ZWg9F0QllK07IR FziSeMP08YxLXUgnAPNAwsrCFJoo5+DepRsFA1C+yRJNaXGuRCyC+KtLLwbLPECPIx19 GCJKRdSBLjUaFHfXISExBwRH6o2V3qdICpcBJmpFWrP+zg9BzHVuZc8Dyf78l+8yNPRQ qw+i41h41zO3GyxdGm9m4pVqO+LFpgoilm8wEYaVk7SzX6f4Cl05fAXLURXOlM0aHvm3 aViQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=1k4BwsVi; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si2363025ils.125.2021.06.24.00.07.57; Thu, 24 Jun 2021 00:08:09 -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=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=1k4BwsVi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231434AbhFXHIh (ORCPT + 99 others); Thu, 24 Jun 2021 03:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231436AbhFXHIB (ORCPT ); Thu, 24 Jun 2021 03:08:01 -0400 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18A8C061760 for ; Thu, 24 Jun 2021 00:05:41 -0700 (PDT) Received: by mail-qv1-xf2a.google.com with SMTP id m15so2787230qvc.9 for ; Thu, 24 Jun 2021 00:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uyb2tZAPltFwu0/3f+8N1Whypmr/BCkiRPdpo/+aATQ=; b=1k4BwsViMRanh9l3pCxYXbVk+Oyx377MNyaN+A7H1GoOF1uRYXQGng5Of4MMTa9UU3 vORjZS6xeUVPxvspcQ+l+7w1fTkM0/00RGXBi45WRT5KU/9WAV/KPULzqMKBijts9khK F/lF/vsX/G4rPWOQsLPLocaEyCyCWwzGBf8kLIPp+hHU3hyhLJl3VUbudhMPApe30AUw RCSulmDgTqH92L5VXwVSOkzK+czifbqwhrLaP/jTRp1bG/lKc1y127f3Ieh+WAUpA4nc IaehzvKKDdPzLdpQu/ioAXIcbwjbMwFLZwax+0y3VVLjhiGZ1wN5ESUfl8EJFlxVCzcG c9lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uyb2tZAPltFwu0/3f+8N1Whypmr/BCkiRPdpo/+aATQ=; b=s/iENe+B7xAOOlAwospt/43h7pjOZ0W/xuxOmOQPiRkXKljyCzOW6kgarvkoT53F9Q heITfvBfIVUfHTVhYXvlutkb7PD1yhKx3/AdN5tBeAiRSy+Muog+HbQgl0gPlNBGtwCJ DGJGN1cp4dw1O7hm1tceU8+v/knNOmC1SGQP15aAu7+zThU6pg7GkqyCZpOLZSCnrKwo iGz1hYK9Yidskl3EsVIz5u+XMmoheR4vePw28QkeWI5BbREhwGjx0OPWYIXVv+RTE0Wo jKr7TP5V5qETzl2G3g2hqHP/ma7D3KV5A177+omF6u52z1qDfG/Gn/ob835qg8CuHCSw kMOg== X-Gm-Message-State: AOAM533ADdIdDeTEDycc1OZ8SsCO5mWGZyAchU52rtZI8CBrulb6nNuv mMnkU3gSPYhdWO3V2Aw0svjvbb5F9TaylDIYszAzQQ== X-Received: by 2002:a05:6214:a0f:: with SMTP id dw15mr4071409qvb.10.1624518340902; Thu, 24 Jun 2021 00:05:40 -0700 (PDT) MIME-Version: 1.0 References: <20210624082911.5d013e8c@canb.auug.org.au> In-Reply-To: From: Marcin Wojtas Date: Thu, 24 Jun 2021 09:05:28 +0200 Message-ID: Subject: Re: linux-next: build failure after merge of the net-next tree To: Naresh Kamboju Cc: Stephen Rothwell , David Miller , Networking , Linux Kernel Mailing List , Linux Next Mailing List , Nathan Chancellor , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, czw., 24 cze 2021 o 08:13 Naresh Kamboju napisa= =C5=82(a): > > Hi Marcin, > > 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 nap= isa=C5=82(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: Ass= ertion `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 mi= i_bus *bus, > > > * This way, we don't have to keep compat bits around in driv= ers. > > > */ > > > > > > - return mdiobus_register(mdio); > > > + return mdiobus_register(bus); > > > } > > > #endif > > > > > > I'm curious if this is the case. Tomorrow I'll resubmit with above, s= o > > > 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 > > steps to reproduce, config and build log located here in this link, > https://builds.tuxbuild.com/1uNjGjPUAI4XwwcwKFr5FUxkwzy/ > Thank you for your reports. I'm currently trying to reproduce and come back with a fix asap. Best regards, Marcin > > # TuxMake is a command line tool and Python library that provides > # portable and repeatable Linux kernel builds across a variety of > # architectures, toolchains, kernel configurations, and make targets. > # > # TuxMake supports the concept of runtimes. > # See https://docs.tuxmake.org/runtimes/, for that to work it requires > # that you install podman or docker on your system. > # > # To install tuxmake on your system globally: > # sudo pip3 install -U tuxmake > # > # See https://docs.tuxmake.org/ for complete documentation. > > > tuxmake --runtime podman --target-arch mips --toolchain gcc-10 > --kconfig malta_defconfig > > > - Naresh