linux/drivers/scsi/hisi_sas
Luo Jiaxing e8a4d0daae scsi: hisi_sas: Speed up error handling when internal abort timeout occurs
If an internal task abort timeout occurs, the controller has developed a
fault, and needs to be reset to be recovered.

When this occurs during error handling, the current policy is to allow
error handling to continue, and the inevitable nexus ha reset will handle
the required reset.

However various steps of error handling need to taken before this happens.
These also involve some level of HW interaction, which will also fail with
various timeouts.

Speed up this process by recording a HW fault bit for an internal abort
timeout - when this is set, just automatically error any HW interaction,
and essentially go straight to clear nexus ha (to reset the controller).

Link: https://lore.kernel.org/r/1623058179-80434-6-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>
2021-06-09 23:21:52 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Speed up error handling when internal abort timeout occurs 2021-06-09 23:21:52 -04:00
hisi_sas_v1_hw.c scsi: libsas: Introduce more SAM status code aliases in enum exec_status 2021-06-02 16:10:46 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Include HZ in timer macros 2021-06-09 23:21:51 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Include HZ in timer macros 2021-06-09 23:21:51 -04:00
hisi_sas.h scsi: hisi_sas: Speed up error handling when internal abort timeout occurs 2021-06-09 23:21:52 -04:00
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00