aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorJacob Tanenbaum <[email protected]>2015-12-01 16:14:17 +0000
committerRafael J. Wysocki <[email protected]>2015-12-03 01:30:30 +0000
commite98f033f94f385a9cf498d4e9f2ac1e6198b545a (patch)
treeb461a9ef90be234d203f29cf935a72d91064e5f1 /net/tipc
parentcpupower: rework the "cpupower frequency-info" command (diff)
downloadkernel-e98f033f94f385a9cf498d4e9f2ac1e6198b545a.tar.gz
kernel-e98f033f94f385a9cf498d4e9f2ac1e6198b545a.zip
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 <[email protected]> Signed-off-by: Thomas Renninger <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions