Skip to content

Commit 9008661

Browse files
SEO HOYOUNGmartinkpetersen
authored andcommitted
scsi: ufs: Modify Tactive time setting conditions
The Tactive time determines the waiting time before burst at hibern8 exit and is determined by hardware at linkup time. However, in the case of Samsung devices, increase host's Tactive time +100us for stability. If the HCI's Tactive time is equal or greater than the device, +100us should be set. Link: https://lore.kernel.org/r/20220106213924.186263-1-hy50.seo@samsung.com Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Acked-by: Avri Altman <Avri.Altman@wdc.com> Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 1aa7d97 commit 9008661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/ufs/ufshcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7815,7 +7815,7 @@ static int ufshcd_quirk_tune_host_pa_tactivate(struct ufs_hba *hba)
78157815
peer_pa_tactivate_us = peer_pa_tactivate *
78167816
gran_to_us_table[peer_granularity - 1];
78177817

7818-
if (pa_tactivate_us > peer_pa_tactivate_us) {
7818+
if (pa_tactivate_us >= peer_pa_tactivate_us) {
78197819
u32 new_peer_pa_tactivate;
78207820

78217821
new_peer_pa_tactivate = pa_tactivate_us /

0 commit comments

Comments
 (0)