]> Git Repo - linux.git/commit
cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
authorBen Hutchings <[email protected]>
Mon, 10 Apr 2017 23:29:44 +0000 (00:29 +0100)
committerRafael J. Wysocki <[email protected]>
Thu, 13 Apr 2017 12:51:10 +0000 (14:51 +0200)
commit4cca0457686e4ee1677d69469e4ddfd94d389a80
treeee614f63444bee524de51295f9a0b78a0a85e6d0
parentad0d9c3bca6722824284c0243708d7f7d511465c
cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores

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 <[email protected]>
Tested-by: GSR <[email protected]>
References: https://bugs.debian.org/859978
Fixes: 8fb2e440b223 (cpupower: Show Intel turbo ratio support via ...)
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
tools/power/cpupower/utils/helpers/cpuid.c
This page took 0.053018 seconds and 4 git commands to generate.