diff options
author | Bao D. Nguyen <[email protected]> | 2023-05-29 15:12:25 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-05-31 20:17:08 -0400 |
commit | 57d6ef4601c0b7975aab5144c7c3760846362e1c (patch) | |
tree | b73b513b6842210ef0f7a580f87a191467864bf0 /scripts/generate_rust_analyzer.py | |
parent | f1304d4420777f82a1d844c606db3d9eca841765 (diff) |
scsi: ufs: mcq: Use ufshcd_mcq_poll_cqe_lock() in MCQ mode
In preparation for adding MCQ error handler support, update the MCQ code to
use the ufshcd_mcq_poll_cqe_lock() in interrupt context instead of using
ufshcd_mcq_poll_cqe_nolock(). This is to keep synchronization between MCQ
interrupt and error handler contexts because both need to access the MCQ
hardware in separate contexts.
Signed-off-by: Bao D. Nguyen <[email protected]>
Link: https://lore.kernel.org/r/6ae727ad2a4040469b8f0632b55e0577d80da11b.1685396241.git.quic_nguyenb@quicinc.com
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Stanley Chu <[email protected]>
Tested-by: Stanley Chu <[email protected]>
Reviewed-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions