kernel-hacking-2024-linux-s.../tools
Thomas Renninger 19c9fb896f 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 <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-11-02 02:28:59 +01:00
..
arch
build tools build: Add test for presence of __get_cpuid() gcc builtin 2015-09-17 13:14:35 -03:00
cgroup
firewire
hv
iio
include
laptop/freefall
lguest
lib tools lib traceevent: Fix string handling in heterogeneous arch environments 2015-09-22 11:57:04 -03:00
net
nfsd
perf perf tools: Fix build break on powerpc due to sample_reg_masks 2015-10-07 10:20:08 -03:00
power cpupower: Enable disabled Cstates if they are below max latency 2015-11-02 02:28:59 +01:00
scripts
testing selftests/powerpc: Fix build failure of load_unaligned_zeropad test 2015-10-13 15:08:37 +11:00
thermal/tmon
time
usb
virtio tools/virtio: propagate V=X to kernel build 2015-09-16 12:48:07 +03:00
vm pagemap: add mmap-exclusive bit for marking pages mapped only here 2015-09-08 15:35:28 -07:00
Makefile