diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2017-04-10 23:29:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 12:00:14 (GMT) |
commit | a19718bd0b199c0431579d4cc9cf2b4e894d1831 (patch) | |
tree | 160c0fe629762be2dafd64ba1cf4abc5ad6fdc91 /arch/powerpc/include/asm | |
parent | 4f39fcce99d7acd5712347a0bde57352a5abc8a9 (diff) | |
download | linux-a19718bd0b199c0431579d4cc9cf2b4e894d1831.tar.xz |
cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
commit 4cca0457686e4ee1677d69469e4ddfd94d389a80 upstream.
The switch that conditionally sets CPUPOWER_CAP_HAS_TURBO_RATIO and
CPUPOWER_CAP_IS_SNB flags is missing a break, so all cores get both
flags set and an assumed base clock of 100 MHz for turbo values.
Reported-by: GSR <gsr.bugs@infernal-iceberg.com>
Tested-by: GSR <gsr.bugs@infernal-iceberg.com>
References: https://bugs.debian.org/859978
Fixes: 8fb2e440b223 (cpupower: Show Intel turbo ratio support via ...)
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/include/asm')
0 files changed, 0 insertions, 0 deletions