[PATCH v1] ufs: core: fix racing issue between ufshcd_mcq_abort and ISR

Peter Wang (王信友) peter.wang at mediatek.com
Sun Nov 5 23:34:14 PST 2023


On Fri, 2023-11-03 at 07:57 -0700, Bart Van Assche wrote:
>  	 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>  On 10/27/23 01:43, peter.wang at mediatek.com wrote:
> > If command timeout happen and cq complete irq raise at the same
> time,
> > ufshcd_mcq_abort null the lprb->cmd and NULL poiner KE in ISR.
> 
> Please add a Fixes: tag. Otherwise this patch looks good to me.
> 
> Thanks,
> 
> Bart.

Hi Bart,

Thank you for review, will add fixes tag next version.

Thanks.
Peter



More information about the Linux-mediatek mailing list