diff options
| author | Ajish Koshy <[email protected]> | 2021-09-06 22:34:02 +0530 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-09-14 22:29:11 -0400 |
| commit | b27a40534ef76a22628a5c12f98ea489823a8ba5 (patch) | |
| tree | 346426a6850a533dc7ced04bd2915066db22a678 /tools/perf/scripts/python/bin | |
| parent | 08d0a992131a4db7328b0c2f5a0259732e4d0d12 (diff) | |
scsi: pm80xx: Fix lockup in outbound queue management
Commit 1f02beff224e ("scsi: pm80xx: Remove global lock from outbound queue
processing") introduced a lock per outbound queue. Prior to that change the
driver was using a global lock for all outbound queues.
While processing the I/O responses and events the driver takes the outbound
queue spinlock and is supposed to release it in pm8001_ccb_task_free_done()
before calling command done(). Since the older code was using a global
lock, pm8001_ccb_task_free_done() was releasing the global spin lock. The
change that split the lock per outbound queue did not consider this and
pm8001_ccb_task_free_done() was still releasing the global lock.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 1f02beff224e ("scsi: pm80xx: Remove global lock from outbound queue processing")
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Ajish Koshy <[email protected]>
Signed-off-by: Viswas G <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions