diff options
author | Yihang Li <liyihang9@huawei.com> | 2023-12-14 06:45:12 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-12-14 07:24:54 +0300 |
commit | ce26497c745d0541aec930d5211b431a1c26af97 (patch) | |
tree | 22e5fe2e01c001cc15051bbcf3a4ea1e47bb3924 /scripts/gdb/linux/tasks.py | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
download | linux-ce26497c745d0541aec930d5211b431a1c26af97.tar.xz |
scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
Currently in directly attached scenario, the phyup event
HISI_PHYE_PHY_UP_PM is notified before .phy_attached is set - this may
cause the phyup work hisi_sas_bytes_dmaed() execution failed and the
attached device will not be found.
To fix it, set .phy_attached before notifing phyup event.
Signed-off-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1702525516-51258-2-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions