Re: [PATCH v3 4/4] scsi: ufs: Fix up and simplify error recovery mechanism

2020-07-19 Thread Can Guo
Hi Avri, On 2020-07-19 16:41, Avri Altman wrote: Hi, Current UFS error recovery mechanism has two major problems, and neither of them is rare. - Error recovery can be invoked from multiple paths, including hibern8 enter/exit, some vendor vops, ufshcd_eh_host_reset_handler(), resume and

RE: [PATCH v3 4/4] scsi: ufs: Fix up and simplify error recovery mechanism

2020-07-19 Thread Avri Altman
Hi, > > Current UFS error recovery mechanism has two major problems, and neither > of > them is rare. > > - Error recovery can be invoked from multiple paths, including hibern8 > enter/exit, some vendor vops, ufshcd_eh_host_reset_handler(), resume and > eh_work scheduled from IRQ context. U

[PATCH v3 4/4] scsi: ufs: Fix up and simplify error recovery mechanism

2020-07-17 Thread Can Guo
Current UFS error recovery mechanism has two major problems, and neither of them is rare. - Error recovery can be invoked from multiple paths, including hibern8 enter/exit, some vendor vops, ufshcd_eh_host_reset_handler(), resume and eh_work scheduled from IRQ context. Ultimately, these paths