Re: [PATCH net-next 0/3] net: make PHY PM ops a no-op if MAC driver manages PHY PM

2021-04-09 Thread Jakub Kicinski
On Wed, 7 Apr 2021 17:50:46 +0200 Heiner Kallweit wrote: > Resume callback of the PHY driver is called after the one for the MAC > driver. The PHY driver resume callback calls phy_init_hw(), and this is > potentially problematic if the MAC driver calls phy_start() in its resume > callback. One issu

Re: [PATCH net-next 0/3] net: make PHY PM ops a no-op if MAC driver manages PHY PM

2021-04-09 Thread Heiner Kallweit
On 07.04.2021 17:50, Heiner Kallweit wrote: > Resume callback of the PHY driver is called after the one for the MAC > driver. The PHY driver resume callback calls phy_init_hw(), and this is > potentially problematic if the MAC driver calls phy_start() in its resume > callback. One issue was reporte

Re: [PATCH net-next 0/3] net: make PHY PM ops a no-op if MAC driver manages PHY PM

2021-04-08 Thread Heiner Kallweit
--Original Message- >> From: Heiner Kallweit >> Sent: 2021年4月7日 23:51 >> To: Andrew Lunn ; Russell King - ARM Linux >> ; Jakub Kicinski ; David Miller >> ; Fugang Duan >> Cc: netdev@vger.kernel.org; Joakim Zhang >> Subject: [PATCH net-next 0/3] net

RE: [PATCH net-next 0/3] net: make PHY PM ops a no-op if MAC driver manages PHY PM

2021-04-07 Thread Joakim Zhang
; David Miller > ; Fugang Duan > Cc: netdev@vger.kernel.org; Joakim Zhang > Subject: [PATCH net-next 0/3] net: make PHY PM ops a no-op if MAC driver > manages PHY PM > > Resume callback of the PHY driver is called after the one for the MAC driver. > The PHY driver resume callb

[PATCH net-next 0/3] net: make PHY PM ops a no-op if MAC driver manages PHY PM

2021-04-07 Thread Heiner Kallweit
Resume callback of the PHY driver is called after the one for the MAC driver. The PHY driver resume callback calls phy_init_hw(), and this is potentially problematic if the MAC driver calls phy_start() in its resume callback. One issue was reported with the fec driver and a KSZ8081 PHY which seems