Use med_power_with_dipm SATA LPM to save more power for mobile platforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In order to let CPU Package gets deeper C-state, we need to use power-saving SATA LPM to achieve that.
This commit introduce a new config, SATA_MOBILE_
commit ebb82e3c79d2a95
Author: Hans de Goede <email address hidden>
Date: Mon Dec 11 17:52:16 2017 +0100
ahci: Allow setting a default LPM policy for mobile chipsets
On many laptops setting a different LPM policy then unknown /
max_performance can lead to power-savings of 1.0 - 1.5 Watts (when idle).
Modern ultrabooks idle around 6W (at 50% screen brightness), 1.0 - 1.5W
is a significant chunk of this.
There are some performance / latency costs to enabling LPM by default,
so it is desirable to make it possible to set a different LPM policy
for mobile / laptop variants of chipsets / "South Bridges" vs their
desktop / server counterparts. Also enabling LPM by default is not
entirely without risk of regressions. At least min_power is known to
cause issues with some disks, including some reports of data corruption.
This commits adds a new ahci.mobile_
which defaults to a new SATA_MOBILE_
Linux distributions can choose to set a LPM policy for mobile chipsets
by default.
The reason to have both a kernel cmdline option and a Kconfig default
value for it, is to allow easy overriding of the default to allow
trouble-
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Tejun Heo <email address hidden>
"3 => Medium power with Device Initiated PM enable" is a well-balanced that can let Package enters deeper C-state.
Also, Fedora already set SATA_MOBILE_
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
summary: |
- Use med_with_dipm SATA LPM to save more power for mobile platforms + Use med_power_with_dipm SATA LPM to save more power for mobile platforms |
tags: |
added: kernel-fixup-verification-needed-bionic removed: verification-needed-bionic |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1759547
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.