Re: [PATCH v2] scsi: ufs: core: Fix ufshcd_inc_sq_tail function bug

From: Stanley Chu
Date: Thu Jun 01 2023 - 11:19:20 EST


On Thu, Jun 1, 2023 at 8:57 PM Zhang Hui <masonzhang.xiaomi@xxxxxxxxx> wrote:
>
> From: zhanghui <zhanghui31@xxxxxxxxxx>
>
> When qdepth is not power of 2, not every bit of the mask is 1, so
> sq_tail_slot some bits will be cleared unexpected.
>
> Signed-off-by: zhanghui <zhanghui31@xxxxxxxxxx>

Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>