linux-stable/drivers/scsi/hisi_sas
Yihang Li d4560c11c3 scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
[ Upstream commit ce26497c74 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-05 20:12:52 +00:00
..
hisi_sas.h
hisi_sas_main.c scsi: hisi_sas: Replace with standard error code return value 2024-01-25 15:27:28 -08:00
hisi_sas_v1_hw.c
hisi_sas_v2_hw.c scsi: hisi_sas: Fix normally completed I/O analysed as failed 2023-09-13 09:42:50 +02:00
hisi_sas_v3_hw.c scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM 2024-02-05 20:12:52 +00:00
Kconfig
Makefile