]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: controller reset for multi-bits ECC and AXI fatal errors
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 10 Apr 2017 13:22:01 +0000 (21:22 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Apr 2017 02:01:04 +0000 (22:01 -0400)
commit22b9a46cadfc1836506353e490b4546588db381d
tree0d1b4b03bf5189895260af1c4dd3417b24282dbd
parent340a3f68c5edf7e6cf12baf642ab1cd8328f576c
scsi: hisi_sas: controller reset for multi-bits ECC and AXI fatal errors

For 1 bit ECC errors, those errors can be recovered by hw. But for
multi-bits ECC and AXI errors, there are something wrong with whole
module or system, so try reset the controller to recover those errors
instead of calling panic().

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_v2_hw.c