]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: hisi_sas: Update v3 hw STP_LINK_TIMER setting
authorXingui Yang <yangxingui@huawei.com>
Tue, 8 Oct 2024 02:18:20 +0000 (10:18 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 16 Oct 2024 02:33:35 +0000 (22:33 -0400)
commit90f17e3431d9c643558c3c343407ee37783d5e43
tree9065b81926b80bcf5e890483664beaeaa6dbf001
parent3c62791322e42d1afd65acfdb5b3a371bde21ede
scsi: hisi_sas: Update v3 hw STP_LINK_TIMER setting

At present, it is found that some SATA HDD disks may continue to return
the HOLD primitive for more than 500ms when they are busy writing data,
which is more likely to trigger an STP link timeout exception. Now
Modify STP link timer from 500ms to the maximum value of 1.048575s.

Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Link: https://lore.kernel.org/r/20241008021822.2617339-12-liyihang9@huawei.com
Reviewed-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c