OpenCloudOS-Kernel/drivers/scsi/hisi_sas
Xiaofei Tan 057c3d1f07 scsi: hisi_sas: do link reset for some CHL_INT2 ints
We should do link reset of PHY when identify timeout or STP link timeout. They
are internal events of SOC and are notified to driver through interrupts of
CHL_INT2.

Besides, we should add an delay work to do link reset as it needs sleep. So,
this patch add an new PHY event HISI_PHYE_LINK_RESET for this.

Notes: v2 HW doesn't report the event of STP link timeout.  So, we only need
to handle event of identify timeout for v2 HW.

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:03 -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
hisi_sas.h scsi: hisi_sas: do link reset for some CHL_INT2 ints 2017-12-14 21:25:03 -05:00
hisi_sas_main.c scsi: hisi_sas: do link reset for some CHL_INT2 ints 2017-12-14 21:25:03 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: use an general way to delay PHY work 2017-12-14 21:25:03 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: do link reset for some CHL_INT2 ints 2017-12-14 21:25:03 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: do link reset for some CHL_INT2 ints 2017-12-14 21:25:03 -05:00