RE: [PATCH v2 1/3] scsi: ufs: Minor adjustments to error handling

2021-03-03 Thread Avri Altman
> > In error handling prepare stage, after SCSI requests are blocked, do a > down/up_write(clk_scaling_lock) to clean up the queuecommand() path. > Meanwhile, stop eeh_work in case it disturbs error recovery. Moreover, > reset ufshcd_state at the entrance of ufshcd_probe_hba(), since it may be > c

Re: [PATCH v2 1/3] scsi: ufs: Minor adjustments to error handling

2021-03-03 Thread Can Guo
On 2021-03-03 18:03, Can Guo wrote: Hi Avri, On 2021-03-03 15:22, Avri Altman wrote: In error handling prepare stage, after SCSI requests are blocked, do a down/up_write(clk_scaling_lock) to clean up the queuecommand() path. Meanwhile, stop eeh_work in case it disturbs error recovery. More

Re: [PATCH v2 1/3] scsi: ufs: Minor adjustments to error handling

2021-03-03 Thread Can Guo
Hi Avri, On 2021-03-03 15:22, Avri Altman wrote: In error handling prepare stage, after SCSI requests are blocked, do a down/up_write(clk_scaling_lock) to clean up the queuecommand() path. Meanwhile, stop eeh_work in case it disturbs error recovery. Moreover, reset ufshcd_state at the entrance

RE: [PATCH v2 1/3] scsi: ufs: Minor adjustments to error handling

2021-03-03 Thread Avri Altman
> > > In error handling prepare stage, after SCSI requests are blocked, do a > down/up_write(clk_scaling_lock) to clean up the queuecommand() path. > Meanwhile, stop eeh_work in case it disturbs error recovery. Moreover, > reset ufshcd_state at the entrance of ufshcd_probe_hba(), since it may be