2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-13 08:04:45 +08:00
linux-next/drivers/scsi/hisi_sas
Luo Jiaxing f873b66119 scsi: hisi_sas: Record the phy down event in debugfs
The number of phy down reflects the quality of the link between SAS
controller and disk. In order to allow the user to confirm the link quality
of the system, we record the number of phy down for each phy.

The user can check the current phy down count by reading the debugfs file
corresponding to the specific phy, or clear the phy down count by writing 0
to the debugfs file.

Link: https://lore.kernel.org/r/1571926105-74636-19-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-10-24 21:31:15 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Record the phy down event in debugfs 2019-10-24 21:31:15 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: use wait_for_completion_timeout() when clearing ITCT 2019-10-24 21:31:13 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: use wait_for_completion_timeout() when clearing ITCT 2019-10-24 21:31:13 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Record the phy down event in debugfs 2019-10-24 21:31:15 -04:00
hisi_sas.h scsi: hisi_sas: Record the phy down event in debugfs 2019-10-24 21:31:15 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00