scsi: hisi_sas: avoid potential v2 hw interrupt issue
authorXiang Chen <chenxiang66@hisilicon.com>
Thu, 10 Aug 2017 16:09:27 +0000 (00:09 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 11 Aug 2017 00:15:01 +0000 (20:15 -0400)
commitc16db736653f5319d1d9b0d176f1f80394bd2614
tree0099303fe3b33492b013b1d1d018f4a360ceea82
parent917d3bdaf8f2ab3bace2bd60b78d83a2b3096d98
scsi: hisi_sas: avoid potential v2 hw interrupt issue

When some interrupts happen together, we need to process every interrupt
one-by-one, and should not return immediately when one interrupt process
is finished being processed.

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