linux/drivers/ufs/core
Bao D. Nguyen 57d6ef4601 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 <quic_nguyenb@quicinc.com>
Link: https://lore.kernel.org/r/6ae727ad2a4040469b8f0632b55e0577d80da11b.1685396241.git.quic_nguyenb@quicinc.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Tested-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-05-31 20:17:08 -04:00
..
Kconfig
Makefile scsi: ufs: core: mcq: Add support to allocate multiple queues 2023-01-13 21:03:36 -05:00
ufs_bsg.c scsi: ufs: core: bsg: Fix sometimes-uninitialized warnings 2023-01-11 22:16:59 -05:00
ufs_bsg.h
ufs-debugfs.c
ufs-debugfs.h
ufs-fault-injection.c
ufs-fault-injection.h
ufs-hwmon.c
ufs-mcq.c scsi: ufs: mcq: Use ufshcd_mcq_poll_cqe_lock() in MCQ mode 2023-05-31 20:17:08 -04:00
ufs-sysfs.c scsi: ufs: core: Use is_visible to control UFS unit descriptor sysfs nodes 2022-10-27 02:20:50 +00:00
ufs-sysfs.h
ufshcd-crypto.c
ufshcd-crypto.h
ufshcd-priv.h scsi: ufs: mcq: Use ufshcd_mcq_poll_cqe_lock() in MCQ mode 2023-05-31 20:17:08 -04:00
ufshcd.c scsi: ufs: mcq: Use ufshcd_mcq_poll_cqe_lock() in MCQ mode 2023-05-31 20:17:08 -04:00
ufshpb.c Merge patch series "scsi: ufs: core: Always read the descriptors with max length" 2022-12-30 21:48:47 +00:00
ufshpb.h