linux/drivers/scsi/hisi_sas
Xiaofei Tan 0e3231fc93 scsi: hisi_sas: check PHY state in get_wideport_bitmap_v3_hw()
We should check register PHY_STATE when getting the bitmap of a
wideport, as, if the PHY is not ready, the value of register
PHY_PORT_NUM_MA is not valid.

V2 hw has done this check, and v3 hw should do this check too.

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-10-31 12:27:58 -04:00
..
hisi_sas_main.c scsi: hisi_sas: fix the risk of freeing slot twice 2017-10-25 08:21:04 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: us start_phy in PHY_FUNC_LINK_RESET 2017-10-25 08:21:04 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: use array for v2 hw AXI errors 2017-10-25 08:21:04 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: check PHY state in get_wideport_bitmap_v3_hw() 2017-10-31 12:27:58 -04:00
hisi_sas.h scsi: hisi_sas: use array for v2 hw AXI errors 2017-10-25 08:21:04 -04: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