Skip to content

Commit

Permalink
tools/power turbostat: support additional Broadwell model
Browse files Browse the repository at this point in the history
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed Feb 10, 2015
1 parent d8af6f5 commit 48a0631
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/power/x86/turbostat/turbostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,7 @@ int probe_nhm_msrs(unsigned int family, unsigned int model)
case 0x45: /* HSW */
case 0x46: /* HSW */
case 0x3D: /* BDW */
case 0x47: /* BDW */
case 0x4F: /* BDX */
case 0x56: /* BDX-DE */
pkg_cstate_limits = hsw_pkg_cstate_limits;
Expand Down Expand Up @@ -1808,6 +1809,7 @@ void rapl_probe(unsigned int family, unsigned int model)
case 0x45: /* HSW */
case 0x46: /* HSW */
case 0x3D: /* BDW */
case 0x47: /* BDW */
do_rapl = RAPL_PKG | RAPL_CORES | RAPL_CORE_POLICY | RAPL_GFX | RAPL_PKG_POWER_INFO;
break;
case 0x3F: /* HSX */
Expand Down Expand Up @@ -2085,6 +2087,7 @@ int has_snb_msrs(unsigned int family, unsigned int model)
case 0x45: /* HSW */
case 0x46: /* HSW */
case 0x3D: /* BDW */
case 0x47: /* BDW */
case 0x4F: /* BDX */
case 0x56: /* BDX-DE */
return 1;
Expand Down Expand Up @@ -2631,7 +2634,7 @@ int get_and_dump_counters(void)
}

void print_version() {
fprintf(stderr, "turbostat version 4.0 10-Feb, 2015"
fprintf(stderr, "turbostat version 4.1 10-Feb, 2015"
" - Len Brown <lenb@kernel.org>\n");
}

Expand Down

0 comments on commit 48a0631

Please sign in to comment.