From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AC9CC433EF for ; Thu, 30 Sep 2021 19:38:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1CBBD615A2 for ; Thu, 30 Sep 2021 19:38:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344786AbhI3TkX (ORCPT ); Thu, 30 Sep 2021 15:40:23 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:41798 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229600AbhI3TkV (ORCPT ); Thu, 30 Sep 2021 15:40:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=w6t0kKZoMiYbydZxW60i6D+JDdmXM6i9cbCc5bRw9+A=; b=hFq5itmWQqlwT+7Y9DIGp1R+pc 9ATbmdlcdK4QCzOdhrKvuFSiXMmpZtxHtAaCwhC//v4GxJkgCiJ2cQD8wYqI50oMQdyrRA1EuI2Bp +z8/ubzqIHj1PwafUZqWOMrmP6BZxA1ejh8EVfhJg5yofN5TZlwYaofO2lVkQGLiQPIk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mW1su-008zyB-2t; Thu, 30 Sep 2021 21:38:24 +0200 Date: Thu, 30 Sep 2021 21:38:24 +0200 From: Andrew Lunn To: Saravana Kannan Cc: Vladimir Oltean , Greg Kroah-Hartman , "Rafael J. Wysocki" , Linus Walleij , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Len Brown , Alvin Sipraga , kernel-team@android.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v1 1/2] driver core: fw_devlink: Add support for FWNODE_FLAG_BROKEN_PARENT Message-ID: References: <20210831231804.zozyenear45ljemd@skbuf> <20210930134343.ztq3hgianm34dvqb@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Btw, do we have non-DSA networking devices where fw_devlink=on > delaying PHY probes is causing an issue? I don't know if issues have been reported, but the realtek driver has had problems in the past when the generic driver is used. Take a look at r8169_mdio_register(), it does something similar to DSA. What is going to make things interesting is that phy_attach_direct() is called in two different contexts. During the MAC drivers probe, it is O.K. to return EPROBE_DEFER, and let the MAC driver try again later, if we know there is a specific PHY driver for it. But when called during the MAC drivers open() op, -EPROBE_DEFER is not allowed. What to do then is an interesting question. Andrew