scsi: ufs: Stop using the clock scaling lock in the error handler
[ Upstream commit 5675c381 ] Instead of locking and unlocking the clock scaling lock, surround the command queueing code with an RCU reader lock and call synchronize_rcu(). This patch prepares for removal of the clock scaling lock. Link: https://lore.kernel.org/r/20211203231950.193369-16-bvanassche@acm.org Tested-by:Bean Huo <beanhuo@micron.com> Reviewed-by:
Adrian Hunter <adrian.hunter@intel.com> Reviewed-by:
Bean Huo <beanhuo@micron.com> Signed-off-by:
Bart Van Assche <bvanassche@acm.org> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Stable-dep-of: 1a5665fc ("scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment