Skip to contentSkip to conversation

tools/power/turbostat: add Denverton to has_snb_msr()

PATCH Applied Xiaolong Wang 2 participants 2 messages Sep 30, 2016 – Dec 1, 2016 Turbostat utility

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/power/turbostat: add Denverton to has_snb_msr()

Add Denverton to the group of SandyBridge and later processors, to let the bclk be recognized as 100MHz rather than 133MHz, then avoid the wrong value of the frequencies based on it, including Bzy_MHz, max efficiency freuency, base frequency, and turbo mode frequencies.

---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
index aabc79c..1f09154 100644
@@ -2938,6 +2938,7 @@ int has_snb_msrs(unsigned int family, unsigned int model)
 	case INTEL_FAM6_KABYLAKE_DESKTOP:	/* KBL */
 	case INTEL_FAM6_SKYLAKE_X:	/* SKX */
 	case INTEL_FAM6_ATOM_GOLDMONT:	/* BXT */
+	case INTEL_FAM6_ATOM_DENVERTON:	/* DNV */
 		return 1;
 	}
 	return 0;
Signature · 1 line
1.8.3.1
maintainer Applied
#1 lore raw

Applied.

thanks!

Len Brown, Intel Open Source Technology Center