summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authorXiaolong Wang <xiaolong.wang@linux.intel.com>2016-09-30 12:53:40 +0300
committerLen Brown <len.brown@intel.com>2016-12-01 09:33:19 +0300
commit5bbac26eae35065a9b2a5279118daad14f88eae9 (patch)
tree62d8938c46b8041c1073cd23c92bfaed84a85c96 /tools/power
parent869ce69e1e8ae7e6fa4a1a90887e5f94eac653eb (diff)
downloadlinux-5bbac26eae35065a9b2a5279118daad14f88eae9.tar.xz
tools/power turbostat: fix Denverton BCLK
Add Denverton to the group of SandyBridge and later processors, to let the bclk be recognized as 100MHz rather than 133MHz, then avoid the wrong value of the frequencies based on it, including Bzy_MHz, max efficiency freuency, base frequency, and turbo mode frequencies. Signed-off-by: Xiaolong Wang <xiaolong.wang@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/x86/turbostat/turbostat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 2056c148c684..89c31e90a85e 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -2938,6 +2938,7 @@ int has_snb_msrs(unsigned int family, unsigned int model)
case INTEL_FAM6_KABYLAKE_DESKTOP: /* KBL */
case INTEL_FAM6_SKYLAKE_X: /* SKX */
case INTEL_FAM6_ATOM_GOLDMONT: /* BXT */
+ case INTEL_FAM6_ATOM_DENVERTON: /* DNV */
return 1;
}
return 0;