linux_dsm_epyc7002/drivers/net/ethernet/amd
James Morse a039b63859 amd-xgbe: Reset running devices after resume from hibernate
After resume from hibernate on arm64, any amd-xgbe devices that were
running when we hibernated are reported as down, even when it is not.

Re-plugging the cables does not cause the interface to come back, the
link must be marked as down then up via 'ip set link' using the serial
console.

This happens because the device has been power-cycled and possibly
re-initialised by firmware, whereas the driver's memory structures have
been restored from the hibernate image and the two do not agree.

Schedule a restart of the device after powerup in case the world changed
while we were asleep.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-29 00:25:47 -04:00
..
xgbe amd-xgbe: Reset running devices after resume from hibernate 2016-08-29 00:25:47 -04:00
7990.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
7990.h net/7990: Make lance_private.name const 2013-12-29 00:46:38 -05:00
a2065.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
a2065.h
am79c961a.c net: am79c961a: avoid %? in inline assembly 2016-02-16 15:06:54 -05:00
am79c961a.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
amd8111e.c ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
amd8111e.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
ariadne.c net/ariadne: delete unneeded call to netdev_priv 2014-05-15 16:57:47 -04:00
ariadne.h
atarilance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
au1000_eth.c net: ethernet: amd: au1000_eth: use phy_ethtool_{get|set}_link_ksettings 2016-07-15 16:41:35 -07:00
au1000_eth.h net: ethernet: amd: au1000_eth: use phydev from struct net_device 2016-07-15 16:41:35 -07:00
declance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
hplance.c hplance: fix ram size in comment 2014-06-05 15:14:21 -07:00
hplance.h
Kconfig net: hplance: Allow modular build 2015-09-29 21:11:13 -07:00
lance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
Makefile amd-xgbe: Configuration and build support 2014-06-05 15:26:51 -07:00
mvme147.c mvme147: fix ram size in comment 2014-06-05 15:14:21 -07:00
ni65.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
ni65.h
nmclan_cs.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
pcnet32.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
sun3lance.c ethernet: amd: remove deprecated IRQF_DISABLED 2013-09-12 23:27:09 -04:00
sunlance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00