Commit 4f319f63 authored by Bao D. Nguyen's avatar Bao D. Nguyen Committed by Carlos Llamas
Browse files

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: default avatarBao D. Nguyen <quic_nguyenb@quicinc.com>
Reviewed-by: default avatarBart 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: default avatarSEO HOYOUNG <hy50.seo@samsung.com>
Signed-off-by: default avatarSandeep Dhavale <dhavale@google.com>
parent e3d62e38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment