linux/drivers/scsi/hisi_sas
Xiaofei Tan a669bdbf49 scsi: hisi_sas: optimise port id refresh function
Currently refreshing the PHY port id after reset is done in the rescan
topology function, which is quite late in the reset process. It could be moved
earlier in the process, as the port id can be refreshed once the PHYs become
ready.

In addition to this, we should set the hisi_sas_dev port id to 0xff (invalid
port id) if all PHYs of this port remain down for the same device.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-12-14 21:25:02 -05:00
..
hisi_sas_main.c scsi: hisi_sas: optimise port id refresh function 2017-12-14 21:25:02 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
hisi_sas.h scsi: hisi_sas: relocate clearing ITCT and freeing device 2017-12-14 21:25:02 -05:00
Kconfig scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00