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)
commite281f42f41db2820b079543fffb64c50b903215b
tree0d1b4b03bf5189895260af1c4dd3417b24282dbd
parentd3c4dd4e3dc52a7a8ae4cfd91fedffdeeb6e003b
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