aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoakim Zhang <[email protected]>2021-12-14 18:50:46 +0800
committerDavid S. Miller <[email protected]>2021-12-15 10:30:25 +0000
commit0b6f65c707e5ec5e33916820e2a4a628e2b4576c (patch)
tree8f03f6855719c17bde09bdca734e738b8428f79f /tools/perf/scripts/python
parent843869951258f38dc3d9702a19df7c4c79911aee (diff)
net: fec: fix system hang during suspend/resume
1. During normal suspend (WoL not enabled) process, system has posibility to hang. The root cause is TXF interrupt coming after clocks disabled, system hang when accessing registers from interrupt handler. To fix this issue, disable all interrupts when system suspend. 2. System also has posibility to hang with WoL enabled during suspend, after entering stop mode, then magic pattern coming after clocks disabled, system will be waked up, and interrupt handler will be called, system hang when access registers. To fix this issue, disable wakeup irq in .suspend(), and enable it in .resume(). Signed-off-by: Joakim Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions