summaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion
diff options
context:
space:
mode:
authorXiaofei Tan2018-05-02 17:56:34 +0200
committerMartin K. Petersen2018-05-08 07:10:44 +0200
commitf70c1251deb5ab17dec70119c03f2428288ebada (patch)
tree770c1e46c705f0c3efc3af125df3010defb91ba2 /drivers/message/fusion
parentscsi: hisi_sas: add readl poll timeout helper wrappers (diff)
downloadkernel-qcow2-linux-f70c1251deb5ab17dec70119c03f2428288ebada.tar.gz
kernel-qcow2-linux-f70c1251deb5ab17dec70119c03f2428288ebada.tar.xz
kernel-qcow2-linux-f70c1251deb5ab17dec70119c03f2428288ebada.zip
scsi: hisi_sas: workaround a v3 hw hilink bug
There is an SoC bug of v3 hw development version. When hot- unplugging a directly attached disk, the PHY down interrupt may not happen. It is very easy to appear on some boards. When this issue occurs, the controller will receive many invalid dword frames, and the "alos" fields of register HILINK_ERR_DFX can indicate that disk was unplugged. As an workaround solution, this patch detects this issue in the channel interrupt, and workaround it by following steps: - Disable the PHY - Clear error code and interrupt - Enable the PHY Then the HW will reissue PHY down interrupt. 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>
Diffstat (limited to 'drivers/message/fusion')
0 files changed, 0 insertions, 0 deletions