[PATCH v1] ufs: core: Avoid IRQ thread wakeup during active UIC command
Peter Wang (王信友)
peter.wang at mediatek.com
Thu Mar 5 19:49:59 PST 2026
On Thu, 2026-03-05 at 06:17 -0600, Bart Van Assche wrote:
> Spending 500 ms in interrupts without giving the CPU a chance to run
> is
> excessive, isn't it? Anyway, if you really need this patch, please
> mention the above information in the patch description and combine
> the
> two if-statements into a single if-statement, e.g. as follows:
>
> if ((!hba->mcq_enabled || !hba->mcq_esi_enabled) &&
> !hba->active_uic_cmd)
> ...
>
> Thanks,
>
> Bart.
>
Yes, I will add more description in the next version.
Thanks
Peter
More information about the Linux-mediatek
mailing list