!185 [openEuler-1.0-LTS] Add support sata lpm for Zhaoxin CPUs
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. AHCI Spec shows that the PxSCTL.IPM field in each port must be programmed to disallow device initiated LPM requests when HBA can not support transitions to the LPM state. The current LPM driver has no restrictions on LPM transitions when enabling device initiated LPM. ### Issue #I54V27:[openEuler-1.0-LTS] Adding support for PxSCT.LPM setting based on actual LPM circumstances [openEuler-1.0-LTS] Add support for PxSCT.LPM set based on actual LPM circumstances https://e.gitee.com/open_euler/dashboard?issue=I54V2K ### Test Plugout will have a log prompt. After a period of time, the drive letter will disappear. Then, plug in again. The disk can be identified normally. Repeat plugout / in several times, and the disk can be displayed normally. ### Known Issue N/A Default config change N/A Link:https://gitee.com/openeuler/kernel/pulls/185 Reviewed-by: Laibin Qiu <qiulaibin@huawei.com> Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录