FROMLIST: 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> Reviewed-by:
Bart Van Assche <bvanassche@acm.org> Exported the ufshcd_mcq_poll_cqe_nolock() again as it is previously exported and part of other ABI lists. Bug: 285631559 Link: https://lore.kernel.org/linux-scsi/6ae727ad2a4040469b8f0632b55e0577d80da11b.1685396241.git.quic_nguyenb@quicinc.com/ Change-Id: I02bf672c113401d8273c98bedc1ecf7fadaf15c9 Signed-off-by:
SEO HOYOUNG <hy50.seo@samsung.com> Signed-off-by:
Sandeep Dhavale <dhavale@google.com>
Loading
Please sign in to comment