On Wed, May 01, 2019 at 10:14:21PM +0200, Heiner Kallweit wrote:
> I got an interesting report [0] that after resuming from hibernation
> the link has 100Mbps instead of 1Gbps. Reason is that another OS has
> been used whilst Linux was hibernated. And this OS speeds down the link
> due to WoL. Therefore, when resuming, we shouldn't expect that what
> the PHY advertises is what it did when hibernating.
> Easiest way to do this is removing state PHY_RESUMING. Instead always
> go via PHY_UP that configures PHY advertisement.

Hi Heiner

Going via PHY_UP is reasonable. I'm doing the same in my WIP cable
test code, to restore the PHY after it finishes the test.

Reviewed-by: Andrew Lunn <and...@lunn.ch>

    Andrew

Reply via email to