Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1307164pxf; Fri, 19 Mar 2021 04:23:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqXc0i0ABGtP3XsfOX0KcJy/42bRWRbnWPKQbFszYKWTRLeNP2UxkStYEd6poZx7E17cS0 X-Received: by 2002:a50:fa04:: with SMTP id b4mr9053848edq.293.1616152989652; Fri, 19 Mar 2021 04:23:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616152989; cv=none; d=google.com; s=arc-20160816; b=vT/6Nr9hbDrUr82xz75fuVcjuSZU3jHL85CEDVNDeRxDlMzVFMUeCnohXRzOx4/Yga 4m6SkBXkDhSZVsQOVlG8kZpuf+9nObNOdX/3bAJVBXTYwoom9cx5n5luceDO4OYRxNfO E2A4ApgAdr69Rg1DTrKU+zwl+nAH9VN7FipsrGNbEQ3X7NdSAbq96Qdep3ugbQz9fRzO rLboxh2gx/UC+PK4gqq22fPKdXYB+nHWUIZV6uznXOj1fpBaoj+kPNd/2RNi83gLpswX OC+N/QHx/oQg9MOYo93C2A+lC0E3rTRMru6Y2xMrLE+So9APi1ouOoS8airmvXaXE0tp X5nA== 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=hjse9me5EBzPjRR/0KqYMdrF6LbwsKwBIB7UB53FeVU=; b=IynAnVaCvxf2KSDjx6ONd5RWvvBRgWmh9SaskivTN/y6KZMRZMG/gEfzDYBxyuu6nQ 165OkagD0U03IN6AmE9Min/YeBVZMhDHKCYpyC9Wa4VOBFIUex2rkwiF9WzQKsbBOHsr RQWKnHpLcQ3bgGLK0r84e7/8LP1R/N7aq05PBpxKMFvvySxztxEVKHGT4Y2sXicKjeyf aKISyaEKY6JrGIkJgYs+czij1Xbmz+mFDNY3KVydhGVbsTT0FGQXH6Z7vqr/b8Qt6x05 of8fyPpiQLyBxe5wKpHr+p5zxny/59Um9AbwFi1/S6rsdmL6u98h6KP0Iz+mZS10nY// MqvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x7cZcVlh; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si3874126ejx.737.2021.03.19.04.22.46; Fri, 19 Mar 2021 04:23: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=@linaro.org header.s=google header.b=x7cZcVlh; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229979AbhCSLVl (ORCPT + 99 others); Fri, 19 Mar 2021 07:21:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230008AbhCSLVT (ORCPT ); Fri, 19 Mar 2021 07:21:19 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 283FFC061760 for ; Fri, 19 Mar 2021 04:21:19 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id l4so9075914ejc.10 for ; Fri, 19 Mar 2021 04:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=hjse9me5EBzPjRR/0KqYMdrF6LbwsKwBIB7UB53FeVU=; b=x7cZcVlhbYRJtM1CCIcUKRw3fN6CknZ27cbVQzKE/+sARUnDiEX+WfxT7jWWAQB014 Yk4hjeXlJTdAIzK1HpfKBzbOYtW9QsV3FQm9s4rtHisUBTf2iXaCcDjPXm1txNZ7r8jX ckKL2qr5EU3c2BE4FA1HZU2wxLoy2q6r7D3ax5klfLiJSXPLh4Y81o45RYiezX6ZVWqW 3DFJ2fM+joCAL/Vc3P2I/qAOTaE5nkS8dIojw7r0xI1W8ed1oH5D/Cwdq8Jrin5R7Hmh 1dDQGWkWYbV7KW996TMNxIaiGxznUiihKaPSgPJbaeN/BScbFA1Emtfdih7mSol33HPS S1uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=hjse9me5EBzPjRR/0KqYMdrF6LbwsKwBIB7UB53FeVU=; b=MvS9xUlf+kpXH5621YjoDqb9bcJVABWbsywrRV2fTQIW2WYSXPrFQpvdiF4P7JF9jm U+QT+EFD+a/sztTzOedn9hSuAyReq8C/HTu4ZXfGBX2p6ok1EsXw+1kwANrnMdy8olry 3c4P1OpaT+wb131CFbvAX5/xY9scQ3ex5ruY/mB9ABJDUOeU6Z9j2JW59nUOockGEBh2 h3u6mxcRnAZi1ZLY04WOflWn9Qh+IvYEfbZPtPYqA2o92rlkm/gcxaij909hyZhxKLCo xo5v/UCDjwxvnIeMUeuzitRDLO6Jl6jq0AaBQ+bP/9IUA3s3QQcac+C1MJ1E3SEKK4bi ElQA== X-Gm-Message-State: AOAM531aedxQEzIhiorufKbeq78UyHADeTNSwVfP1H00tmpk2qWQulab WnzHseju/j88xiy1sJCi748hdw== X-Received: by 2002:a17:906:9be1:: with SMTP id de33mr3872655ejc.320.1616152877828; Fri, 19 Mar 2021 04:21:17 -0700 (PDT) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id fi11sm3459083ejb.73.2021.03.19.04.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 04:21:17 -0700 (PDT) Date: Fri, 19 Mar 2021 11:21:15 +0000 From: Daniel Thompson To: Calvin Johnson Cc: Grant Likely , "Rafael J . Wysocki" , Jeremy Linton , Andrew Lunn , Andy Shevchenko , Florian Fainelli , Russell King - ARM Linux admin , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , Heikki Krogerus , Marcin Wojtas , Pieter Jansen Van Vuuren , Jon , Saravana Kannan , Randy Dunlap , linux-arm-kernel@lists.infradead.org, Diana Madalina Craciun , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux.cj@gmail.com, netdev@vger.kernel.org, Laurentiu Tudor , "David S. Miller" , Heiner Kallweit , Jakub Kicinski Subject: Re: [net-next PATCH v7 04/16] of: mdio: Refactor of_phy_find_device() Message-ID: <20210319112115.7l46p3mtptxgjvsf@maple.lan> References: <20210311062011.8054-1-calvin.johnson@oss.nxp.com> <20210311062011.8054-5-calvin.johnson@oss.nxp.com> <20210316191719.d7nxgywwhczo7tyg@holly.lan> <20210317084433.GA21433@lsv03152.swis.in-blr01.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210317084433.GA21433@lsv03152.swis.in-blr01.nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 17, 2021 at 02:15:20PM +0530, Calvin Johnson wrote: > Hi Daniel, > > On Tue, Mar 16, 2021 at 07:17:19PM +0000, Daniel Thompson wrote: > > On Thu, Mar 11, 2021 at 11:49:59AM +0530, Calvin Johnson wrote: > > > Refactor of_phy_find_device() to use fwnode_phy_find_device(). > > > > > > Signed-off-by: Calvin Johnson > > > > This patch series is provoking depmod dependency cycles for me and > > it bisected down to this patch (although I think later patches in > > the series add further cycles). > > > > The problems emerge when running modules_install either directly or > > indirectly via packaging rules such as bindeb-pkg. > > > > ~~~ > > make -j16 INSTALL_MOD_PATH=$PWD/modules modules_install > > ... > > INSTALL sound/usb/misc/snd-ua101.ko > > INSTALL sound/usb/snd-usb-audio.ko > > INSTALL sound/usb/snd-usbmidi-lib.ko > > INSTALL sound/xen/snd_xen_front.ko > > DEPMOD 5.12.0-rc3-00009-g1fda33bf463d > > depmod: ERROR: Cycle detected: fwnode_mdio -> of_mdio -> fwnode_mdio > > depmod: ERROR: Found 2 modules in dependency cycles! > > ~~~ > > > > Kconfig can be found here: > > https://gist.github.com/daniel-thompson/6a7d224f3d3950ffa3f63f979b636474 > > > > This Kconfig file is for a highly modular kernel derived from the Debian > > 5.10 arm64 kernel config. I was not able to reproduce using the defconfig > > kernel for arm64. > > > Thanks for catching this. I'm able to reproduce the issue and will fix it. > > By the way, is there any integration tool/mechanism out there to which I can > submit the patch series and build for various possible configs like these? Not sure which autotester would be most likely to pick this up. This issue is slightly unusual because it broke the install rather then the build... and lots of people (including me) primarily run build tests ;-) . Anyhow, I guess the best way to pick up module problems like this is going to be an `allmodconfig` build followed up with `rm -rf modtest; make modules_install INSTALL_MOD_PATH=$PWD/modtest`. Daniel.