Loading
scsi: hisi_sas: Reset PHY again if phyup timeout
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB5FF2 CVE: NA --------------------------------------------------------------------- In commit 89954f02 ("scsi: hisi_sas: Ensure all enabled PHYs up during controller reset"), we enable PHYs in parallel through async operations and wait for PHYs come up. However, for some directly attached SATA disks, the PHY not come up after a timeout period and the hardware is not ready. At this time, we should get the latest PHY hardware state, if the new PHY state is not ready but the old PHY state is ready, call work HISI_PHYE_LINK_RESET to give it another chance to phyup. Fixes: 89954f02 ("scsi: hisi_sas: Ensure all enabled PHYs up during controller reset") Signed-off-by:Yihang Li <liyihang9@huawei.com> Link: https://lore.kernel.org/r/20241008021822.2617339-6-liyihang9@huawei.com Reviewed-by:
Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Bing Xia <xiabing12@h-partners.com>