summaryrefslogtreecommitdiffstats
path: root/tools/power/x86/turbostat/turbostat.c
diff options
context:
space:
mode:
authorXiaolong Wang <xiaolong.wang@linux.intel.com>2016-09-30 11:53:40 +0200
committerLen Brown <len.brown@intel.com>2016-12-01 07:33:19 +0100
commit5bbac26eae35065a9b2a5279118daad14f88eae9 (patch)
tree62d8938c46b8041c1073cd23c92bfaed84a85c96 /tools/power/x86/turbostat/turbostat.c
parenttools/power turbostat: use intel-family.h model strings (diff)
downloadlinux-5bbac26eae35065a9b2a5279118daad14f88eae9.tar.xz
linux-5bbac26eae35065a9b2a5279118daad14f88eae9.zip
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 '')
-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;