aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2021-01-29 15:00:40 +0200
committerGreg Kroah-Hartman <[email protected]>2021-01-29 14:16:51 +0100
commit1174d44906d517ddb4f98bbe58a44d4554d0ef90 (patch)
tree09cc9be07e5e24e4b5cefb4b8c595826a0b42deb /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent9ebf300078584bec2309464fbb249be62b339a2a (diff)
xhci: handle stop endpoint command completion with endpoint in running state.
Handle race where a stop endpoint command fails with "context state error" as hardware hasn't actually started the ring yet after a previous urb cancellation completed and restarted the endpoint. Flushing the doorbell write that restart the endpoint reduced these cases, but didn't completely resolve them. Check if the ring is running in the stop endpoint completion handler, and issue a new stop endpoint command in this case. Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions