diff options
| author | peter chang <[email protected]> | 2020-11-02 22:25:25 +0530 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-11-04 22:55:38 -0500 |
| commit | 7640e1eb8c5de33dafa6c68fd4389214ff9ec1f9 (patch) | |
| tree | bec964f1858536b3c2d49cf2e892ddbf75270fc0 /tools/perf/scripts/python/bin | |
| parent | 94a0dfcf7d33ea96bf3eb0c33e4239942a4ff087 (diff) | |
scsi: pm80xx: Make mpi_build_cmd locking consistent
Driver submits all internal requests (like abort_task, event acknowledgment
etc.) through inbound queue 0. While submitting those, driver does not
acquire any lock and this may lead to a race when there is an I/O request
coming in on CPU0 and submitted through inbound queue 0. To avoid this,
lock acquisition has been moved to pm8001_mpi_build_cmd(). All command
submission will go through this path.
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Jack Wang <[email protected]>
Signed-off-by: peter chang <[email protected]>
Signed-off-by: Viswas G <[email protected]>
Signed-off-by: Ruksar Devadi <[email protected]>
Signed-off-by: Radha Ramachandran <[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