Commit 200098e4 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Xin Li
Browse files

FROMLIST: scsi: ufs: atomic update for clkgating_enable

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 to call REQ_CLKS_OFF to CLKS_OFF".

Link: https://lore.kernel.org/linux-scsi/20201028194352.GA3060274@google.com/T/#m979bdb55500f3f63fa4e975524f8559c80697862


Signed-off-by: default avatarJaegeuk Kim <jaegeuk@google.com>
Change-Id: Ice47cbd199850aadd15166ac414fd97db3a79aad
parent e05d35f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment