linux_dsm_epyc7002/drivers/net/ethernet/amd/xgbe
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
..
Makefile amd-xgbe: Add traffic class support 2014-07-30 18:46:53 -07:00
xgbe-common.h amd-xgbe: Check Rx queue fifos before stopping Rx DMA 2016-02-17 15:22:20 -05:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Check for successful buffer allocation before use 2015-10-05 23:30:51 -07:00
xgbe-desc.c amd-xgbe: Fix DMA API debug warning 2015-07-08 15:57:14 -07:00
xgbe-dev.c amd-xgbe: Mask auto-negotiation interrupts in ISR 2016-02-17 15:22:20 -05:00
xgbe-drv.c net: amd-xgbe: use correct format specifier 2016-08-01 13:32:51 -07:00
xgbe-ethtool.c amd-xgbe: Verify forced speed matches the active speedset 2016-02-17 15:22:19 -05:00
xgbe-main.c amd-xgbe: Reset running devices after resume from hibernate 2016-08-29 00:25:47 -04:00
xgbe-mdio.c amd-xgbe: Mask auto-negotiation interrupts in ISR 2016-02-17 15:22:20 -05:00
xgbe-ptp.c ptp: xgbe: convert to the 64 bit get/set time methods. 2015-03-31 12:01:16 -04:00
xgbe.h amd-xgbe: Mask auto-negotiation interrupts in ISR 2016-02-17 15:22:20 -05:00