scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command
authorXiaofei Tan <tanxiaofei@huawei.com>
Mon, 21 May 2018 10:09:22 +0000 (18:09 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 May 2018 02:40:32 +0000 (22:40 -0400)
commitb09fcd09e9767f81187aa4036fb16d14e2f2fc79
treebd625816c71499a436c744cfd30ab4080c1b2d43
parent78bd2b4f6e7c0522cc8bc8ad651f20813ae06f6c
scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command

This patch adds a force PHY function for internal ATA command for v2 hw.

Because there is an SoC bug in v2 hw, and need send an IO through each PHY
of a port to work around a bug which occurs after a controller reset.

This force PHY function will be used in the later patch.

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>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c