linux/drivers/scsi/hisi_sas
Xiaofei Tan 327f242fa8 scsi: hisi_sas: check IPTT is valid before using it for v3 hw
There is a bug of v3 hw development version. When AXI error happen, hw
may return an abnormal CQ that IPTT value is 0xffff.  This will cause
IPTT out-of-bounds reference.

This patch adds a check of IPTT in cq_tasklet_v3_hw() and discards
invalid slot. This workaround scheme is just to enhance fault-tolerance
of the driver. So, we will apply this scheme for all version of v3 hw,
although release version has fixed this SoC bug.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-04-18 19:32:51 -04:00
..
hisi_sas_main.c scsi: hisi_sas: consolidate command check in hisi_sas_get_ata_protocol() 2018-04-18 19:32:51 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Code cleanup and minor bug fixes 2018-03-12 21:55:25 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: delete timer when removing hisi_sas driver 2018-04-18 19:32:51 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: check IPTT is valid before using it for v3 hw 2018-04-18 19:32:51 -04:00
hisi_sas.h scsi: hisi_sas: remove unused variable hisi_sas_devices.running_req 2018-03-12 21:55:24 -04:00
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00