summaryrefslogtreecommitdiffstats
path: root/drivers/dio
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2019-02-28 15:50:59 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-03-07 01:26:46 +0100
commitaaeb82323d12f3b61015878e035d74600e1f2c85 (patch)
tree840ed2cff889d8e34a1d3fcdf5f71dc8b9d6590f /drivers/dio
parentscsi: hisi_sas: Fix a timeout race of driver internal and SMP IO (diff)
downloadlinux-aaeb82323d12f3b61015878e035d74600e1f2c85.tar.xz
linux-aaeb82323d12f3b61015878e035d74600e1f2c85.zip
scsi: hisi_sas: print PHY RX errors count for later revision of v3 hw
The later revision of v3 hw has added an function of interrupt coalesce according to time for PHY RX errors. We set the coalesce time to 1s. Then we print PHY RX errors count when PHY RX errors happen, and don't need to worry that there may be too much log prints. Besides, we use hisi_sas_phy.lock to protect error count value. Because we update them by calling phy_get_events_v3_hw(), which is also used by core driver (for get PHY events function). We relocate phy_get_events_v3_hw() to avoid a further declaration. 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/dio')
0 files changed, 0 insertions, 0 deletions