Skip to content

Commit 3c62791

Browse files
Xingui Yangmartinkpetersen
authored andcommitted
scsi: hisi_sas: Add time interval between two H2D FIS following soft reset spec
Spec says at least 5us between two H2D FIS when do soft reset, but be generous and sleep for about 1ms. Signed-off-by: Xingui Yang <yangxingui@huawei.com> Link: https://lore.kernel.org/r/20241008021822.2617339-11-liyihang9@huawei.com Reviewed-by: Yihang Li <liyihang9@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 90b2485 commit 3c62791

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/scsi/hisi_sas/hisi_sas_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,7 @@ static int hisi_sas_softreset_ata_disk(struct domain_device *device)
13211321
}
13221322

13231323
if (rc == TMF_RESP_FUNC_COMPLETE) {
1324+
usleep_range(900, 1000);
13241325
ata_for_each_link(link, ap, EDGE) {
13251326
int pmp = sata_srst_pmp(link);
13261327

0 commit comments

Comments
 (0)