]> 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)
commit6667b0bf79681acb0190b343d3fc000be51c9cae
tree88870a863f14020b9c0c866a80a4d16067a1c35d
parent603a8b77729f93cba288fc5f027775e45e9ff556
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