[PATCH v2] scsi: ufs: Fix possible infinite loop in ufshcd_hold

Stanley Chu stanley.chu at mediatek.com
Thu Aug 6 20:39:17 EDT 2020


Hi Avri,


On Tue, 2020-08-04 at 06:10 +0000, Avri Altman wrote:
> > Hi Avri,
> > 
> > Would you have any suggestions for this patch?
> > 
> > We need this patch to enable UFSHCD_CAP_HIBERN8_WITH_CLK_GATING in
> > MediaTek platform.
> > 
> > Thanks a lot,
> > 
> > Stanley Chu
> Let's use it for now as a short-term WA.
> Please work with Can on a proper fix that will utilize his idea to remove ufshcd_hold/release
> From ufshcd_send_uic_cmd, as you are both in agreement that this should work as the long term solution.
> 
> 
> > > > >
> > > > >>
> > > > >> > Signed-off-by: Stanley Chu <stanley.chu at mediatek.com>
> > > > >> > Signed-off-by: Andy Teng <andy.teng at mediatek.com>
> Reviewed-by: Avri Altman <avri.altman at wdc.com>

Thanks!

I will continue with the long term solution with Can.

BTW, this mail seems not showing up in LKML or Patchwork, just reply
this mail with removing "[SPAM]" keyword in title.

Thanks,
Stanley Chu



More information about the linux-arm-kernel mailing list