Repository navigation
Commit f24098f
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>1 parent 22c0ef6 commit f24098f
2 files changed
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
859 | 858 | | |
860 | 859 | | |
861 | 860 | | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
| 861 | + | |
866 | 862 | | |
867 | 863 | | |
868 | 864 | | |
| |||
897 | 893 | | |
898 | 894 | | |
899 | 895 | | |
900 | | - | |
901 | 896 | | |
902 | 897 | | |
903 | 898 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
| 311 | + | |
318 | 312 | | |
319 | 313 | | |
320 | 314 | | |
| |||
324 | 318 | | |
325 | 319 | | |
326 | 320 | | |
327 | | - | |
328 | 321 | | |
329 | 322 | | |
330 | 323 | | |
| |||
0 commit comments