]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: core: Increase fDeviceInit poll frequency
authorKonstantin Vyshetsky <vkon@google.com>
Thu, 21 Apr 2022 00:24:29 +0000 (17:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:23:01 +0000 (23:23 -0400)
commit4429254dd3c75fb370eafe43f3e7cb1d2aeb7035
treec73a6674b409ebfa8a0e2ae7572ff15c35d0055c
parent1a01fc2e69efa9d59b6259f3f564af87f33fd87e
scsi: ufs: core: Increase fDeviceInit poll frequency

UFS devices are expected to clear fDeviceInit flag in single digit
milliseconds. Current values of 5 to 10 millisecond sleep add to increased
latency during the initialization and resume path. This CL lowers the sleep
range to 500 to 1000 microseconds.

Link: https://lore.kernel.org/r/20220421002429.3136933-1-bvanassche@acm.org
Acked-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c