• Y
    Revert "scsi: hisi_sas: Disable SATA disk phy for severe I_T nexus reset failure" · afa6401d
    Yihang Li 提交于
    driver inclusion
    category: bugfix
    bugzilla: https://gitee.com/openeuler/kernel/issues/I6NX2M
    CVE: NA
    
    ----------------------------------------------------------------------
    
    In that commit, if the softreset fails upon certain conditions, just
    disable the PHY associated with the disk. The user needs to restore the
    PHY.
    
    SATA disks do not support simultaneous connection of multiple hosts.
    Therefore, when multiple controllers are connected to a SATA disk at the
    same time, the controller which is connected later failed to issue an ATA
    softreset to the SATA disk. As a result, the PHY associated with the disk
    is disabled and cannot be automatically recovered.
    
    Now that, we will not focus on the execution result of softreset. No
    matter whether the execution is successful or not, we will directly carry
    out I_T_nexus_reset.
    
    Fixes: c723ada8 ("scsi: hisi_sas: Disable SATA disk phy for severe I_T nexus reset failure")
    Signed-off-by: NYihang Li <liyihang9@huawei.com>
    Signed-off-by: Nxiabing <xiabing12@h-partners.com>
    afa6401d
hisi_sas_main.c 75.7 KB