]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Set the BIST init value before enabling BIST
authorXiang Chen <chenxiang66@hisilicon.com>
Thu, 24 Oct 2019 14:08:09 +0000 (22:08 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2019 01:31:13 +0000 (21:31 -0400)
commit439c68aea98b5ee4e8ea157fbe06f507dff7ce9e
tree7293a4955b0799942f6b43611699a05626de598e
parentf4e27c392de3491767ab4555e2c1e1052140f802
scsi: hisi_sas: Set the BIST init value before enabling BIST

If set the BIST init value after enabling BIST, there may be still some few
error bits. According to the process, need to set the BIST init value
before enabling BIST.

Fixes: 8b76d0f153d3 ("scsi: hisi_sas: Add BIST support for phy loopback")
Link: https://lore.kernel.org/r/1571926105-74636-3-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.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_v3_hw.c