aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2015-02-10 15:38:04 -0500
committerLen Brown <len.brown@intel.com>2015-02-10 15:59:53 -0500
commit48a0631c891ab581cc010b44655ad49ff6eb3325 (patch)
treeaf08613eb5aacce645457223ee7d6c8eea14cd3f /tools/power
parentd8af6f5f0fca7c5271539dab0d75942ccf09d65c (diff)
tools/power turbostat: support additional Broadwell model
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/x86/turbostat/turbostat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 3f5a9af34f47..2d089cac8580 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -1570,6 +1570,7 @@ int probe_nhm_msrs(unsigned int family, unsigned int model)
1570 case 0x45: /* HSW */ 1570 case 0x45: /* HSW */
1571 case 0x46: /* HSW */ 1571 case 0x46: /* HSW */
1572 case 0x3D: /* BDW */ 1572 case 0x3D: /* BDW */
1573 case 0x47: /* BDW */
1573 case 0x4F: /* BDX */ 1574 case 0x4F: /* BDX */
1574 case 0x56: /* BDX-DE */ 1575 case 0x56: /* BDX-DE */
1575 pkg_cstate_limits = hsw_pkg_cstate_limits; 1576 pkg_cstate_limits = hsw_pkg_cstate_limits;
@@ -1808,6 +1809,7 @@ void rapl_probe(unsigned int family, unsigned int model)
1808 case 0x45: /* HSW */ 1809 case 0x45: /* HSW */
1809 case 0x46: /* HSW */ 1810 case 0x46: /* HSW */
1810 case 0x3D: /* BDW */ 1811 case 0x3D: /* BDW */
1812 case 0x47: /* BDW */
1811 do_rapl = RAPL_PKG | RAPL_CORES | RAPL_CORE_POLICY | RAPL_GFX | RAPL_PKG_POWER_INFO; 1813 do_rapl = RAPL_PKG | RAPL_CORES | RAPL_CORE_POLICY | RAPL_GFX | RAPL_PKG_POWER_INFO;
1812 break; 1814 break;
1813 case 0x3F: /* HSX */ 1815 case 0x3F: /* HSX */
@@ -2085,6 +2087,7 @@ int has_snb_msrs(unsigned int family, unsigned int model)
2085 case 0x45: /* HSW */ 2087 case 0x45: /* HSW */
2086 case 0x46: /* HSW */ 2088 case 0x46: /* HSW */
2087 case 0x3D: /* BDW */ 2089 case 0x3D: /* BDW */
2090 case 0x47: /* BDW */
2088 case 0x4F: /* BDX */ 2091 case 0x4F: /* BDX */
2089 case 0x56: /* BDX-DE */ 2092 case 0x56: /* BDX-DE */
2090 return 1; 2093 return 1;
@@ -2631,7 +2634,7 @@ int get_and_dump_counters(void)
2631} 2634}
2632 2635
2633void print_version() { 2636void print_version() {
2634 fprintf(stderr, "turbostat version 4.0 10-Feb, 2015" 2637 fprintf(stderr, "turbostat version 4.1 10-Feb, 2015"
2635 " - Len Brown <lenb@kernel.org>\n"); 2638 " - Len Brown <lenb@kernel.org>\n");
2636} 2639}
2637 2640