Re: [PATCH V1] ufs: core: Fix interrupt handling for MCQ Mode in ufshcd_intr
From: Bart Van Assche
Date: Tue Jul 29 2025 - 12:25:15 EST
On 7/29/25 7:37 AM, Nitin Rawat wrote:
I reviewed your patch and test it locally—it resolves the issue.
Thanks!
The patch looks good. Since this path handles only UIC, TM, and error
conditions with no IO for MCQ, we still check for outstanding_reqs and
UTP_TRANSFER_REQ_COMPL for the error case within ufshcd_threaded_intr in
the patch. In my opinion, we can skip these additional checks.
We can only skip the outstanding_reqs check if MCQ is enabled. André
Draszik is working on a patch that will cause ufshcd_intr() to be called
again for legacy mode so I prefer to keep the outstanding_reqs check.
Bart.