aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sonypi.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-05-01 22:14:21 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-04 00:50:58 -0400
commitf24098f80748ea95d53603a7bb7954a41bb3ca1b (patch)
tree733bf5965d56e916e3d8cc57a56fc016b061b5e4 /include/linux/sonypi.h
parentnet: phy: improve pause handling (diff)
downloadlinux-dev-f24098f80748ea95d53603a7bb7954a41bb3ca1b.tar.xz
linux-dev-f24098f80748ea95d53603a7bb7954a41bb3ca1b.zip
net: phy: improve resuming from hibernation
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. [0] https://bugzilla.kernel.org/show_bug.cgi?id=202851 Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sonypi.h')
0 files changed, 0 insertions, 0 deletions