Re: [PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-11-03 Thread Can Guo
On 2020-10-29 03:43, Jaegeuk Kim wrote: On 10/27, Can Guo wrote: On 2020-10-27 11:33, Jaegeuk Kim wrote: > On 10/27, Can Guo wrote: > > On 2020-10-27 03:51, Jaegeuk Kim wrote: > > > From: Jaegeuk Kim > > > > > > When giving a stress test which enables/disables clkgating, we hit > > > device >

Re: [PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-28 Thread Jaegeuk Kim
On 10/27, Can Guo wrote: > On 2020-10-27 11:33, Jaegeuk Kim wrote: > > On 10/27, Can Guo wrote: > > > On 2020-10-27 03:51, Jaegeuk Kim wrote: > > > > From: Jaegeuk Kim > > > > > > > > When giving a stress test which enables/disables clkgating, we hit > > > > device > > > > timeout sometimes. This

Re: [PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-26 Thread Can Guo
On 2020-10-27 11:33, Jaegeuk Kim wrote: On 10/27, Can Guo wrote: On 2020-10-27 03:51, Jaegeuk Kim wrote: > From: Jaegeuk Kim > > When giving a stress test which enables/disables clkgating, we hit > device > timeout sometimes. This patch avoids subtle racy condition to address > it. > > Note

Re: [PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-26 Thread Jaegeuk Kim
On 10/27, Can Guo wrote: > On 2020-10-27 03:51, Jaegeuk Kim wrote: > > From: Jaegeuk Kim > > > > When giving a stress test which enables/disables clkgating, we hit > > device > > timeout sometimes. This patch avoids subtle racy condition to address > > it. > > > > Note that, this requires a

Re: [PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-26 Thread Can Guo
On 2020-10-27 03:51, Jaegeuk Kim wrote: From: Jaegeuk Kim When giving a stress test which enables/disables clkgating, we hit device timeout sometimes. This patch avoids subtle racy condition to address it. Note that, this requires a patch to address the device stuck by REQ_CLKS_OFF in

[PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-26 Thread Jaegeuk Kim
From: Jaegeuk Kim When giving a stress test which enables/disables clkgating, we hit device timeout sometimes. This patch avoids subtle racy condition to address it. Note that, this requires a patch to address the device stuck by REQ_CLKS_OFF in __ufshcd_release(). The fix is "scsi: ufs: avoid