Commit 02392c67 authored by Ben Hutchings's avatar Ben Hutchings Committed by Greg Kroah-Hartman
Browse files

cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores



commit 4cca0457 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: default avatarGSR <gsr.bugs@infernal-iceberg.com>
Tested-by: default avatarGSR <gsr.bugs@infernal-iceberg.com>
References: https://bugs.debian.org/859978


Fixes: 8fb2e440 (cpupower: Show Intel turbo ratio support via ...)
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cfd1a7c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment