summaryrefslogtreecommitdiff
path: root/tools/power/x86
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2016-06-16 19:48:21 +0300
committerLen Brown <len.brown@intel.com>2016-12-01 09:33:18 +0300
commit2c48c990ea330ae8079488fdf1d156620c6f9d0c (patch)
tree805a96179e038a835448fbee50bff352d6e2308f /tools/power/x86
parent9148494c59f53bb6c9233df07447777dc533db33 (diff)
downloadlinux-2c48c990ea330ae8079488fdf1d156620c6f9d0c.tar.xz
tools/power/turbostat: Add Denverton support
Denverton is an Atom based micro server which shares the same Goldmont architecture as Broxton. The available C-states on Denverton is a subset of Broxton with only C1, C1e, and C6. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86')
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 3a80f949e5ba..16ccada7e439 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -2204,6 +2204,7 @@ int probe_nhm_msrs(unsigned int family, unsigned int model)
pkg_cstate_limits = phi_pkg_cstate_limits;
break;
case 0x5C: /* BXT */
+ case 0x5F: /* DNV */
pkg_cstate_limits = bxt_pkg_cstate_limits;
break;
default:
@@ -3301,6 +3302,7 @@ void process_cpuid()
crystal_hz = 25000000; /* 25.0 MHz */
break;
case 0x5C: /* BXT */
+ case 0x5F: /* DNV */
crystal_hz = 19200000; /* 19.2 MHz */
break;
default: