scsi: hisi_sas: add v2 hw support for ECC and AXI bus fatal error
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 7 Nov 2016 12:48:30 +0000 (20:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Nov 2016 14:54:39 +0000 (09:54 -0500)
commitd3b688d3c69d318177c104f451b9064831da42b9
treeb7238352ae3ba08c4616cc8aac5590bf3c025d69
parent2d76a2478bb8c54d241b23a699d55f90b7efd036
scsi: hisi_sas: add v2 hw support for ECC and AXI bus fatal error

For ECC 1bit error, logic can recover it, so we only print
a warning.
For ECC multi-bit and AXI bus fatal error, we panic.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c