scsi: hisi_sas: handle PHY UP+DOWN simultaneous irq
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 22 Mar 2017 17:25:33 +0000 (01:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 15:12:02 +0000 (11:12 -0400)
commit981843c6c4ecfa9f6bc2589e66849cde11ef820e
tree88870a863f14020b9c0c866a80a4d16067a1c35d
parentf1dc751876e115a65e49e7fd016e52136572e6d5
scsi: hisi_sas: handle PHY UP+DOWN simultaneous irq

Handle the situation that PHY UP and DOWN irq happen simultaneously.
There is no mechanism of SoC HW to ensure this situation will never
happen. So, we add this handle just in case.

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>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c