summaryrefslogtreecommitdiff
path: root/mm/debug.c
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2016-08-26 08:21:23 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-08-29 04:25:47 (GMT)
commita039b638592c8b967797d96f50bebfaa64964c3f (patch)
tree4e3ae5e29fb9aa58b0fc8785d8320da95dfcbc8e /mm/debug.c
parentc9c3321257e1b95be9b375f811fb250162af8d39 (diff)
downloadlinux-a039b638592c8b967797d96f50bebfaa64964c3f.tar.xz
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>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions