ata: ahci: Support state with min power but Partial low power state
Currently when min_power policy is selected, the partial low power state is not entered and link will try aggressively enter to only slumber state. Add a new policy which still enable DEVSLP but also try to enter partial low power state. This policy is presented as "min_power_with_partial". For information the difference between partial and slumber Partial – PHY logic is powered up, and in a reduced power state. The link PM exit latency to active state maximum is 10 ns. Slumber – PHY logic is powered up, and in a reduced power state. The link PM exit latency to active state maximum is 10 ms. Devslp – PHY logic is powered down. The link PM exit latency from this state to active state maximum is 20 ms, unless otherwise specified by DETO. Suggested-and-reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:

committed by
Tejun Heo

parent
04ba948819
commit
a5ec5a7bfd
@@ -522,7 +522,8 @@ enum ata_lpm_policy {
|
||||
ATA_LPM_MAX_POWER,
|
||||
ATA_LPM_MED_POWER,
|
||||
ATA_LPM_MED_POWER_WITH_DIPM, /* Med power + DIPM as win IRST does */
|
||||
ATA_LPM_MIN_POWER,
|
||||
ATA_LPM_MIN_POWER_WITH_PARTIAL, /* Min Power + partial and slumber */
|
||||
ATA_LPM_MIN_POWER, /* Min power + no partial (slumber only) */
|
||||
};
|
||||
|
||||
enum ata_lpm_hints {
|
||||
|
Reference in New Issue
Block a user