Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp157883pxf; Wed, 17 Mar 2021 01:47:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTUZFpyJBBFzCpL0Q/0anB43Dgd0iQyW76g9aaMb1YxZU7A4scxELzovEjF7oirwbwcA// X-Received: by 2002:a17:906:1444:: with SMTP id q4mr34119127ejc.343.1615970832067; Wed, 17 Mar 2021 01:47:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1615970832; cv=pass; d=google.com; s=arc-20160816; b=ADX9REmJO0gc1N6TxtFpXlgzwA8TkZ1/wi2PSyR5j4MrGjAPuRbGspMZV4806OmXqZ kSkH7qlCRPgRRAjXqkL/4pvjKzHv6bIUZ6wrDfFJ4kYD9oB8nR753nHGYSGuqquifp74 id5C3PR058tPZ+fedxYBQlig+5obAa83uXFdlTkP1N6zGLa7NXreP3TY5XhmLdEQJrEw E8sCu6jXy9ryW5b2AY6rpCjP//j4NbKV38EB+W/44QeYnG41Noik9ihAOaSGz5tWJG3E 3Rlo5ownu5g/efqHPtA91TjYL+jzAfSthuJV5DlYYPB2CwVtSjtgrhDBJK0asTTtKbv9 z+Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-disposition:references:message-id:subject:cc:to:from:date :dkim-signature; bh=eLvukkUxnZefbzho6SbIBs3oOzjyo1+hCeJyL3sWfWI=; b=0dAfBnzfwmVk2SJzYd8zkwllrxI4olTfR+d41YXBrZb9xndkZ/6taWgAzcpzjqQB72 DJRLTxaAeMQ1uCcTk/y6Xd/d3uIYIWfFkiS/0NnYlIW9R1ksQwgd+rTL2e0O0W0Em5Ek 4FvRh2xJU9+dwsXyVsuVzRxlNPv+H//C8NAuPfnOGeAzycLnDV7RCS12kvEQsIvgZ13P fMQtLBfe4KAezypDypk4vUpK+a5cXAAVuKZJYDLIPtxC2uzWhWhDBWXaj5/5h0Jm3ia5 W2C4imEFC826vXqheiMfWVVHQVt6Ic2nx+mnNNDwYHe1zHzXKJPS97qRQ9Vh3sf1J3bw tN8g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=DvyFAfLx; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ss27si16468708ejb.322.2021.03.17.01.46.49; Wed, 17 Mar 2021 01:47:12 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=DvyFAfLx; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229540AbhCQIpy (ORCPT + 99 others); Wed, 17 Mar 2021 04:45:54 -0400 Received: from mail-vi1eur05on2056.outbound.protection.outlook.com ([40.107.21.56]:14176 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229508AbhCQIpw (ORCPT ); Wed, 17 Mar 2021 04:45:52 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eUchZsUX69TLoHA0tuNrKwm2yPtYLer5+1j8wxmF26S0T+6H+Q8mOlTJHkmuUSa5+gODpvOjcifunjMV2ahsHF8LUR98se2ZNusU66+zlOmAFwlJ7GkOLvMoTGlTphhAMMgFQtkx6LF3hwmxXTb2nfMHftWYBiUtlRPs6kFl9q4DSDR2CqjpXSbBo2O5C8bOGme9sFoP5Cw/1h0KlSrZtBbhB7rEX0nD1FLVLEhMJ2aCFuWQRIVZTvDw+RvAQQFBpBnROKXzCqwj2Nm3qb/9pfYECxb4JN073VS7onHMZGtvt6q7eEnRSYQW6ePCDo8vr0lm+GS0UPSXHee/L4y/NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eLvukkUxnZefbzho6SbIBs3oOzjyo1+hCeJyL3sWfWI=; b=fLBHJQLeByuCwQfioLl+EHjvjiOxIGXqAsfmXZ6WixWW/OzBcFhuIxP5HLyQHCr9wh/WHskj7dbKDGdiAzAmqtIG/X8S0NplgK/oZCWQMACYGiDZi0T4D2PUMNJgNmjph4XQYeRkvEdEZROuM03cJBkri0B8tnMRdt3i+QTA2btaRMk/M3i89cH/LfEtLCOJKbNCwDGtx1PGJfI2dwCDtarWATx5W1cEOvmn5U/dAlBOZeFtMddQohWPLewGn2C0LPLG8fPZpHxByjOUQQ4AnUUO/RxSe0sHChMwnFXX8Xpa2MwUOhv87tVDN3nhGLxYAOEwHtcDkFWHU1eVTzSrFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eLvukkUxnZefbzho6SbIBs3oOzjyo1+hCeJyL3sWfWI=; b=DvyFAfLxTzxSs6Y9vG9CmCgHinLPjgvFiRL9qEWovqZofixBFh8YB5V5Eltgna8nnD976ZfMiD0AH2FrHV1QELNrc3sVp54GMzeIVAdYYTwEarnwfk6cCiJj4cnDl50S3Lq16QUr1YRYtRuFaBjqTJ6v6BBgPCdRI9SBx6eq6zc= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=oss.nxp.com; Received: from AM0PR04MB5636.eurprd04.prod.outlook.com (2603:10a6:208:130::22) by AM0PR04MB6963.eurprd04.prod.outlook.com (2603:10a6:208:18b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Wed, 17 Mar 2021 08:45:47 +0000 Received: from AM0PR04MB5636.eurprd04.prod.outlook.com ([fe80::1cd:7101:5570:cd79]) by AM0PR04MB5636.eurprd04.prod.outlook.com ([fe80::1cd:7101:5570:cd79%7]) with mapi id 15.20.3955.018; Wed, 17 Mar 2021 08:45:47 +0000 Date: Wed, 17 Mar 2021 14:15:20 +0530 From: Calvin Johnson To: Daniel Thompson 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: <20210317084433.GA21433@lsv03152.swis.in-blr01.nxp.com> References: <20210311062011.8054-1-calvin.johnson@oss.nxp.com> <20210311062011.8054-5-calvin.johnson@oss.nxp.com> <20210316191719.d7nxgywwhczo7tyg@holly.lan> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210316191719.d7nxgywwhczo7tyg@holly.lan> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [14.142.151.118] X-ClientProxiedBy: HKAPR04CA0018.apcprd04.prod.outlook.com (2603:1096:203:d0::28) To AM0PR04MB5636.eurprd04.prod.outlook.com (2603:10a6:208:130::22) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv03152.swis.in-blr01.nxp.com (14.142.151.118) by HKAPR04CA0018.apcprd04.prod.outlook.com (2603:1096:203:d0::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18 via Frontend Transport; Wed, 17 Mar 2021 08:45:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 22374e8b-9ee5-4b02-bab3-08d8e9210ea6 X-MS-TrafficTypeDiagnostic: AM0PR04MB6963: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jTiCFy26MX5C5wnIgkhj4GD/BY4NtVZeUob0CXPbgS3T3swPAM+J+DlGnyltisEJJqJw19Xj53AA2BhBMpypdB+vECqqXyx9BhYjDgHWZpYi3QzYVs5KFS+2Q0rHvaBxauI1vzXjo4W+2xPbwRj2PSoAEFZMx+zSwVOx9vmNqT3CoZ2nEuanYBvAGoU6cKC84Gi2l/cD70bDHXJVqt8nMXLkaQqTcNVdmuGyUk1NupXZ4+CX+/RObkVPro2MKpa8SZQ5TdgxxAVwU1aSeoFIKxPPimC6XssYIfLfCexSEpvsKDBwHgxVmw3wFa7z3P3HRqAggahnDTupDr9zKko+AJ2QN3grBpAI4DowFc07JBJBOTVjXjevGVBIlLDFhu7DbaGo2X+ffchQhADXugc8Vil3A1fMv/Zw7AlzJsLXnj03i8+RRdOxwvDaaOTsIwy+Kk8IBHaZ08176hH6mtlhAhq1y2GuCqHH9X0P1H2NDeGnmykMa85sl8aC8BreaJG0F8yusbjMZfG4YrousJHCHlMErypf4xIWW2Jo7n30BhwoOx6qJSuMHt1ERxWPydWlX/i7MN7IEXjs5/gM3cxFLya4Fmiy+VgpBH+/kmrounL6UJMKqWuuA3hSc+f/HYi8vRRcvrirFTVkpNBJjpsUcQNCHtKHAndgLl9cRbzvWQXRg07RvchSplpFxOrRx5iC X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB5636.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(83380400001)(66476007)(498600001)(66556008)(2906002)(6506007)(186003)(6666004)(33656002)(16526019)(1006002)(7416002)(6916009)(9686003)(1076003)(966005)(52116002)(5660300002)(55236004)(4326008)(86362001)(26005)(8676002)(55016002)(8936002)(66946007)(54906003)(44832011)(7696005)(956004)(110426009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?+Z6bTfvR8aqw2SrBFXZHWN/OB3APRnZEEz7G3rUjHLQBLNmDXoUqv2lBbDIM?= =?us-ascii?Q?uECLWEuzRkQAG87s9uqEmLuOHbSLGPweSy40EfRGPW2r7FVwxzH1WJ1ekN2i?= =?us-ascii?Q?D8CVzsmVzArh8zMhSEI7Dn5reVht+REjy6fSx2ba9SB3XekoLk8LSUZucvYJ?= =?us-ascii?Q?Ut7UCd5r9bAu7Na2g0KISNDxOXHQpCM5oPraqosgH2XaJooDzcU1F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Ie0uk4dc0/mdxX6IZySg1FVUoTq6zwIm9LLDu21XSxCU?= =?us-ascii?Q?VQq4V3sQUmlslUYNn4Tmqma5MoIwDjk3ibc76QtiEA0bPvS5KMfXQKCAVGoS?= =?us-ascii?Q?p66Rgo3NS7B+eu5NjazQXcRlCQ2tO9upHLt3FMpvbWdicxgJAzgK1Tkyqa4/?= =?us-ascii?Q?yqate4iEFE0u5C9fKdTB6+s9xATD8rb1NiuinciRyITSTOlPekJiyNwMFY4J?= =?us-ascii?Q?+BExNYt/S6E+MNVZGaJNrY8z?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22374e8b-9ee5-4b02-bab3-08d8e9210ea6 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB5636.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2021 08:45:47.5847 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5TLwj+nKQilMqa1235DQPLWEqJP+7fMZCAh/56O6TC9G4cdMR3dAFC/tLfIO71PXbNGDckcMjRCfLnrmNBrIuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6963 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks Calvin