]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 19:13:32 +0000 (15:13 -0400)
commit8aca6d4f5343355b72e559b8d4b186ff34d57dd9
tree2d4ae634c808b6c8dfbcb0d2f2df343f72cc03f0
parent9a98d728b09d4592c42a558ae6387ce98f94aec6
scsi: hisi_sas: Add v2 hw force PHY function for internal ATA command

BugLink: https://bugs.launchpad.net/bugs/1774466
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>
(cherry picked from commit b09fcd09e9767f81187aa4036fb16d14e2f2fc79 linux-next)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c