Commit 7bf39571 authored by LeoLiu-oc's avatar LeoLiu-oc Committed by leoliuoc
Browse files

Add support for disabling PhyRdy Change Interrupt based on actual LPM capability

zhaoxin inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I54V27


CVE: NA

----------------------------------------------------------------

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.

Signed-off-by: default avatarLeoLiu-oc <LeoLiu-oc@zhaoxin.com>
parent b8db4a27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment