aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPawel Laszczak <[email protected]>2021-09-07 08:26:19 +0200
committerGreg Kroah-Hartman <[email protected]>2021-09-14 10:32:41 +0200
commitb69ec50b3e55c4b2a85c8bc46763eaf330605847 (patch)
tree34db91b982bec653060f528574ab7c740dfd1708 /tools/perf/scripts/python/flamegraph.py
parent17956b53ebff6a490baf580a836cbd3eae94892b (diff)
usb: cdns3: fix race condition before setting doorbell
For DEV_VER_V3 version there exist race condition between clearing ep_sts.EP_STS_TRBERR and setting ep_cmd.EP_CMD_DRDY bit. Setting EP_CMD_DRDY will be ignored by controller when EP_STS_TRBERR is set. So, between these two instructions we have a small time gap in which the EP_STSS_TRBERR can be set. In such case the transfer will not start after setting doorbell. Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver") cc: <[email protected]> # 5.12.x Tested-by: Aswath Govindraju <[email protected]> Reviewed-by: Aswath Govindraju <[email protected]> Signed-off-by: Pawel Laszczak <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions