]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Undo RPM resume for failed notify phy event for v3 HW
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 6 May 2022 12:25:39 +0000 (20:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 May 2022 01:47:55 +0000 (21:47 -0400)
commit014fc0c6531867902c076a5c9066d2d246237267
tree03eab2abb39845839be626f2b04d1054e0fc3241
parent8e5b9e4a685d3f680fb5c47e374c365504980e5b
scsi: hisi_sas: Undo RPM resume for failed notify phy event for v3 HW

If we fail to notify the phy up event then undo the RPM resume, as the phy
up notify event handling pairs with that RPM resume.

Link: https://lore.kernel.org/r/1651839939-101188-1-git-send-email-john.garry@huawei.com
Reported-by: Yihang Li <liyihang6@hisilicon.com>
Tested-by: Yihang Li <liyihang6@hisilicon.com>
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_v3_hw.c