]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: us start_phy in PHY_FUNC_LINK_RESET
authorXiang Chen <chenxiang66@hisilicon.com>
Tue, 24 Oct 2017 15:51:36 +0000 (23:51 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 25 Oct 2017 12:21:04 +0000 (08:21 -0400)
commitfcc9dd8a4cf234ac203da97438ebe3f14be51b92
tree97191c50613b345e622e42aaf8629f9f58247fe7
parenta936a7892338c5c891923a1c33085e34b78fef75
scsi: hisi_sas: us start_phy in PHY_FUNC_LINK_RESET

When a PHY_FUNC_LINK_RESET is issued, we need to fill the transport
identify_frame to SAS controller before the PHYs are enabled.

Without this, we may find that if a PHY which belonged to a wideport
before the reset may generate a new port id.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c