Re: [PATCH v5 6/7] ufs: mcq: Use ufshcd_mcq_poll_cqe_lock() in mcq mode

From: Bart Van Assche
Date: Fri May 19 2023 - 18:59:32 EST


On 5/11/23 23:28, Bao D. Nguyen wrote:
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.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>