[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1466095702-5537-3-git-send-email-jacob.jun.pan@linux.intel.com>
Date: Thu, 16 Jun 2016 09:48:21 -0700
From: Jacob Pan <jacob.jun.pan@...ux.intel.com>
To: Len Brown <lenb@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>,
Rafael Wysocki <rafael.j.wysocki@...el.com>
Cc: Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: [PATCH 2/3] 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@...ux.intel.com>
---
tools/power/x86/turbostat/turbostat.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 26566e6..d219c4f 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -2218,6 +2218,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:
@@ -3315,6 +3316,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:
--
1.9.1
Powered by blists - more mailing lists