aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorQiang Yu <[email protected]>2023-12-11 14:42:52 +0800
committerManivannan Sadhasivam <[email protected]>2023-12-16 10:54:29 +0530
commit01bd694ac2f682fb8017e16148b928482bc8fa4b (patch)
tree1247cd426e4cee168210732d0a2b983ab21ccbd5 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentb89b6a863dd53bc70d8e52d50f9cfaef8ef5e9c9 (diff)
bus: mhi: host: Drop chan lock before queuing buffers
Ensure read and write locks for the channel are not taken in succession by dropping the read lock from parse_xfer_event() such that a callback given to client can potentially queue buffers and acquire the write lock in that process. Any queueing of buffers should be done without channel read lock acquired as it can result in multiple locks and a soft lockup. Cc: <[email protected]> # 5.7 Fixes: 1d3173a3bae7 ("bus: mhi: core: Add support for processing events from client device") Signed-off-by: Qiang Yu <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Tested-by: Jeffrey Hugo <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mani: added fixes tag and cc'ed stable] Signed-off-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions