Re: [PATCH] scsi: ufs: fix livelock on ufshcd_clear_ua_wlun

2020-12-16 Thread Jaegeuk Kim
On 12/17, Stanley Chu wrote: > Hi Jaegeuk, > > On Wed, 2020-12-16 at 11:02 -0800, Jaegeuk Kim wrote: > > From: Jaegeuk Kim > > > > This fixes the below livelock which is caused by calling a scsi command > > before > > ufshcd_scsi_unblock_requests() in ufshcd_ungate_work(). > > > > Workqueue: u

Re: [PATCH] scsi: ufs: fix livelock on ufshcd_clear_ua_wlun

2020-12-16 Thread Stanley Chu
Hi Jaegeuk, On Wed, 2020-12-16 at 11:02 -0800, Jaegeuk Kim wrote: > From: Jaegeuk Kim > > This fixes the below livelock which is caused by calling a scsi command before > ufshcd_scsi_unblock_requests() in ufshcd_ungate_work(). > > Workqueue: ufs_clk_gating_0 ufshcd_ungate_work > Call trace: >

[PATCH] scsi: ufs: fix livelock on ufshcd_clear_ua_wlun

2020-12-16 Thread Jaegeuk Kim
From: Jaegeuk Kim This fixes the below livelock which is caused by calling a scsi command before ufshcd_scsi_unblock_requests() in ufshcd_ungate_work(). Workqueue: ufs_clk_gating_0 ufshcd_ungate_work Call trace: __switch_to+0x298/0x2bc __schedule+0x59c/0x760 schedule+0xac/0xf0 schedule_timeo