diff options
| author | Thomas Renninger <[email protected]> | 2015-10-22 15:17:07 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2015-11-02 01:28:59 +0000 |
| commit | 19c9fb896f54ade387676f134ce1de9bcd3cd478 (patch) | |
| tree | 97ac2ed1338d42516dcb0757a2d872603709b52f /drivers/acpi/cppc_acpi.c | |
| parent | cpupower: Remove debug message when using cpupower idle-set -D switch (diff) | |
| download | kernel-19c9fb896f54ade387676f134ce1de9bcd3cd478.tar.gz kernel-19c9fb896f54ade387676f134ce1de9bcd3cd478.zip | |
cpupower: Enable disabled Cstates if they are below max latency
cpupower idle-set -D <latency>
currently only disables all C-states that have a higher latency than the
specified <latency>. But if deep sleep states were already disabled and
have a lower latency, they should get enabled again.
For example:
This call:
cpupower idle-set -D 30
disables all C-states with a higher or equal latency than 30.
If one then calls:
cpupower idle-set -D 100
C-states with a latency between 30-99 will get enabled again with this patch
now. It is ensured that only C-states with a latency of 100 and higher are
disabled.
Signed-off-by: Thomas Renninger <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
