linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: linux-pm@vger.kernel.org
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>,
	Len Brown <len.brown@intel.com>
Subject: [PATCH 07/17] tools/power/turbostat: Add Denverton support
Date: Sat, 24 Dec 2016 15:53:35 -0500	[thread overview]
Message-ID: <2c48c990ea330ae8079488fdf1d156620c6f9d0c.1482612381.git.len.brown@intel.com> (raw)
In-Reply-To: <20161224205345.29129-1-lenb@kernel.org>
In-Reply-To: <e975db5d528abf5c42adfc50a6b0384993b6280b.1482612381.git.len.brown@intel.com>

From: Jacob Pan <jacob.jun.pan@linux.intel.com>

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>
---
 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 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:
-- 
2.11.0.161.g6610af872


  parent reply	other threads:[~2016-12-24 20:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-24 20:53 [PATCH 0/17] turbostat for 4.10 merge Len Brown
2016-12-24 20:53 ` [PATCH 01/17] tools/power turbostat: tidy up output on Joule counter overflow Len Brown
2016-12-24 20:53   ` [PATCH 02/17] tools/power turbostat: Gracefully handle ACPI S3 Len Brown
2016-12-24 20:53   ` [PATCH 03/17] tools/power turbostat: switch to tab delimited output Len Brown
2016-12-24 20:53   ` [PATCH 04/17] tools/power turbostat: Allocate correct amount of fd and irq entries Len Brown
2016-12-24 20:53   ` [PATCH 05/17] tools/power turbostat: fix error case overflow read of slm_freq_table[] Len Brown
2016-12-24 20:53   ` [PATCH 06/17] tools/power/turbostat: split core MSR support into status + limit Len Brown
2016-12-24 20:53   ` Len Brown [this message]
2016-12-24 20:53   ` [PATCH 08/17] tools/power/turbostat: Add Denverton RAPL support Len Brown
2016-12-24 20:53   ` [PATCH 09/17] tools/power turbostat: use intel-family.h model strings Len Brown
2016-12-24 20:53   ` [PATCH 10/17] tools/power turbostat: fix Denverton BCLK Len Brown
2016-12-24 20:53   ` [PATCH 11/17] tools/power turbostat: Display HWP OOB status Len Brown
2016-12-24 20:53   ` [PATCH 12/17] tools/power turbostat: Support Knights Mill (KNM) Len Brown
2016-12-24 20:53   ` [PATCH 13/17] tools/power turbostat: fix SKX PKG_CSTATE_LIMIT decoding Len Brown
2016-12-24 20:53   ` [PATCH 14/17] tools/power turbostat: line up headers when -M is used Len Brown
2016-12-24 20:53   ` [PATCH 15/17] tools/power turbostat: Denverton uses a 25 MHz crystal, not 19.2 MHz Len Brown
2016-12-24 20:53   ` [PATCH 16/17] tools/power turbostat: Make extensible via the --add parameter Len Brown
2016-12-24 20:53   ` [PATCH 17/17] tools/power turbostat: remove obsolete -M, -m, -C, -c options Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c48c990ea330ae8079488fdf1d156620c6f9d0c.1482612381.git.len.brown@intel.com \
    --to=lenb@kernel.org \
    --cc=jacob.jun.pan@linux.intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).