aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorPeter Wang <peter.wang@mediatek.com>2024-03-29 09:50:36 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2024-04-01 21:24:16 -0400
commit6bc5e70b1c792b31b497e48b4668a9a2909aca0d (patch)
tree260562f6efc58c41c0581eec297734becf7eff73 /tools/perf/scripts/python/net_dropmonitor.py
parent1197c5b2099f716b3de327437fb50900a0b936c9 (diff)
scsi: ufs: core: WLUN suspend dev/link state error recovery
When wl suspend error occurs, for example BKOP or SSU timeout, the host triggers an error handler and returns -EBUSY to break the wl suspend process. However, it is possible for the runtime PM to enter wl suspend again before the error handler has finished, and return -EINVAL because the device is in an error state. To address this, ensure that the rumtime PM waits for the error handler to finish, or trigger the error handler in such cases, because returning -EINVAL can cause the I/O to hang. Signed-off-by: Peter Wang <peter.wang@mediatek.com> Link: https://lore.kernel.org/r/20240329015036.15707-1-peter.wang@mediatek.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions