+7
−0
Loading
Merge Pull Request from: @leoliu-oc The ahci spec mentions that PhyRdy Change Interrupt and Link Power Management (LPM) do not coexist. However, before enabling LPM, the driver did not check whether the host supports LPM, but directly disabled PhyRdy Change Interrupt. Increase the judgment on the actual support of LPM, and disable PhyRdy Change Interrupt only when it is supported. ### Issue https://gitee.com/openeuler/kernel/issues/I8WYN1 ### Test Pass: Because the BIOS only turned off the slumber function of the link power management feature, the partial function was still enabled. Without importing the patch, the link power status was 0x631, which is not supported. With the patch imported, the link power status was 0x231 or 0x133, which is expected. Link:https://gitee.com/openeuler/kernel/pulls/3171 Reviewed-by:zhangyi (F) <yi.zhang@huawei.com> Signed-off-by:
Xie XiuQi <xiexiuqi@huawei.com>