linux-kernel-test/tools/power
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
..
acpi ACPICA: iASL: General cleanup of the file suffix #defines 2015-10-22 02:01:12 +02:00
cpupower cpupower: fix how "cpupower frequency-info" interprets latency 2015-12-03 02:30:30 +01:00
x86 tools/power turbostat: use new name for MSR_PLATFORM_INFO 2015-11-13 23:27:13 +01:00