linux/drivers/scsi/hisi_sas
Xiaofei Tan aaeb82323d 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>
2019-03-06 19:26:46 -05:00
..
hisi_sas_main.c scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO 2019-03-06 19:26:46 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: Issue internal abort on all relevant queues 2019-02-08 18:08:22 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Use pci_irq_get_affinity() for v3 hw as experimental 2019-02-08 18:08:22 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: print PHY RX errors count for later revision of v3 hw 2019-03-06 19:26:46 -05:00
hisi_sas.h scsi: hisi_sas: print PHY RX errors count for later revision of v3 hw 2019-03-06 19:26:46 -05:00
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00