Re: [PATCH net-next 0/2] net: phy: improve PM handling of PHY/MDIO

2018-06-05 Thread David Miller
From: Heiner Kallweit Date: Sat, 2 Jun 2018 22:33:36 +0200 > Current implementation of MDIO bus PM ops doesn't actually implement > bus-specific PM ops but just calls PM ops defined on a device level > what doesn't seem to be fully in line with the core PM model. > > When looking e.g. at __devic

Re: [PATCH net-next 0/2] net: phy: improve PM handling of PHY/MDIO

2018-06-04 Thread Heiner Kallweit
On 04.06.2018 23:48, Andrew Lunn wrote: > On Sat, Jun 02, 2018 at 10:33:36PM +0200, Heiner Kallweit wrote: >> Current implementation of MDIO bus PM ops doesn't actually implement >> bus-specific PM ops but just calls PM ops defined on a device level >> what doesn't seem to be fully in line with the

Re: [PATCH net-next 0/2] net: phy: improve PM handling of PHY/MDIO

2018-06-04 Thread Florian Fainelli
On 06/04/2018 02:48 PM, Andrew Lunn wrote: > On Sat, Jun 02, 2018 at 10:33:36PM +0200, Heiner Kallweit wrote: >> Current implementation of MDIO bus PM ops doesn't actually implement >> bus-specific PM ops but just calls PM ops defined on a device level >> what doesn't seem to be fully in line with

Re: [PATCH net-next 0/2] net: phy: improve PM handling of PHY/MDIO

2018-06-04 Thread Andrew Lunn
On Sat, Jun 02, 2018 at 10:33:36PM +0200, Heiner Kallweit wrote: > Current implementation of MDIO bus PM ops doesn't actually implement > bus-specific PM ops but just calls PM ops defined on a device level > what doesn't seem to be fully in line with the core PM model. > > When looking e.g. at __d

Re: [PATCH net-next 0/2] net: phy: improve PM handling of PHY/MDIO

2018-06-04 Thread David Miller
From: Heiner Kallweit Date: Sat, 2 Jun 2018 22:33:36 +0200 > Current implementation of MDIO bus PM ops doesn't actually implement > bus-specific PM ops but just calls PM ops defined on a device level > what doesn't seem to be fully in line with the core PM model. > > When looking e.g. at __devic

[PATCH net-next 0/2] net: phy: improve PM handling of PHY/MDIO

2018-06-02 Thread Heiner Kallweit
Current implementation of MDIO bus PM ops doesn't actually implement bus-specific PM ops but just calls PM ops defined on a device level what doesn't seem to be fully in line with the core PM model. When looking e.g. at __device_suspend() the PM core looks for PM ops of a device in a specific orde