linux-sg2042/tools/power/cpupower/utils
Jacob Tanenbaum e98f033f94 cpupower: fix how "cpupower frequency-info" interprets latency
the intel-pstate driver does not support the ondemand governor and does not
have a valid value in
/sys/devices/system/cpu/cpu[x]/cpufreq/cpuinfo_transition_latency. The
intel-pstate driver sets cpuinfo_transition_latency to CPUFREQ_ETERNAL (-1),
the value written into cpuinfo_transition_latency is defind as an unsigned
int so checking the read value against max unsigned int will determine if the
value is valid.

Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
Signed-off-by: Thomas Renninger <trenn@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2015-12-03 02:30:30 +01:00
..
helpers cpupower: Fix precedence issue 2015-12-03 02:30:29 +01:00
idle_monitor cpupower: cpupower monitor reports uninitialized values for offline cpus 2015-11-02 02:28:59 +01:00
builtin.h cpupower: Introduce idle-set subcommand and C-state enabling/disabling 2013-07-05 01:52:19 +02:00
cpufreq-info.c cpupower: fix how "cpupower frequency-info" interprets latency 2015-12-03 02:30:30 +01:00
cpufreq-set.c Creating a common structure initialization pattern for struct option 2015-11-02 02:28:59 +01:00
cpuidle-info.c cpupower: Do not analyse offlined cpus 2015-12-03 02:30:30 +01:00
cpuidle-set.c Creating a common structure initialization pattern for struct option 2015-11-02 02:28:59 +01:00
cpupower-info.c cpupower: Do not analyse offlined cpus 2015-12-03 02:30:30 +01:00
cpupower-set.c cpupower: Do not analyse offlined cpus 2015-12-03 02:30:30 +01:00
cpupower.c tools / cpupower: Correctly detect if running as root 2014-12-19 23:01:03 +01:00
version-gen.sh cpupowerutils: use kernel version-derived version string 2011-07-29 18:35:39 +02:00