From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next v2 0/2] net: phy: improve PHY suspend/resume Date: Wed, 30 May 2018 22:35:12 +0200 Message-ID: <20180530203512.GA16286@lunn.ch> References: <8fe93623-9d05-6182-fe5f-da0bd32bae0b@gmail.com> <20180523220418.GB5128@lunn.ch> <5b9eceab-35b4-922c-7410-d8968d8364c7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Florian Fainelli , David Miller , "netdev@vger.kernel.org" To: Heiner Kallweit Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:50053 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932162AbeE3UfR (ORCPT ); Wed, 30 May 2018 16:35:17 -0400 Content-Disposition: inline In-Reply-To: <5b9eceab-35b4-922c-7410-d8968d8364c7@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: > I think we need a better solution than spending the effort needed > to make the MDIO ops runtime-pm-aware. In general there seems to be > just one network driver using both phylib and runtime pm, so most > drivers aren't affected (yet). > > I will spend few more thoughts on a solution .. Hi Heiner Please keep in mind that MDIO is a generic bus. Many Ethernet switches are connected via MDIO. Some of those switches have MDIO busses of their own. Also, some Broadcom devices have USB-PHYs controlled over MDIO, etc. So you need a generic solution here. Andrew