]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite57dca9d2972599852b5366654689816fd419698
tree88870a863f14020b9c0c866a80a4d16067a1c35d
parent9dd9476698265e2355da1badd77e817108b3a77f
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