OpenCloudOS-Kernel/drivers/scsi/hisi_sas
Xiang Chen 640acc9a96 scsi: hisi_sas: service interrupt ITCT_CLR interrupt in v2 hw
This patch is a fix related to freeing a device in v2 hw driver.

Before, we polled to ITCT CLR interrupt to check if a device is free.

This was error prone, as if the interrupt doesn't occur in 10us, we miss
processing it.

To avoid this situation, service this interrupt and sync the event with
a completion.

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>
2017-08-10 20:15:02 -04:00
..
Kconfig scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
hisi_sas.h scsi: hisi_sas: service interrupt ITCT_CLR interrupt in v2 hw 2017-08-10 20:15:02 -04:00
hisi_sas_main.c scsi: hisi_sas: remove repeated device config in v2 hw 2017-08-10 20:15:02 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: optimise DMA slot memory 2017-07-01 17:06:56 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: service interrupt ITCT_CLR interrupt in v2 hw 2017-08-10 20:15:02 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: remove repeated device config in v2 hw 2017-08-10 20:15:02 -04:00