Skip to contentSkip to conversation

tools/power turbostat: Add Cometlake support

PATCH In review Zhang Rui 2 participants 2 messages Oct 31, 2019 – Nov 1, 2019 Turbostat utility

lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH 1/1 tools/power turbostat: Add Cometlake support

From: Chen Yu <[email protected]>

From a turbostat point of view, Cometlake is like Kabylake.

---
 tools/power/x86/turbostat/turbostat.c | 2 ++
 1 file changed, 2 insertions(+)
tools/power/x86/turbostat/turbostat.c +2 -0
index 5d0fddda842c..985e195f066b 100644
@@ -4610,6 +4610,8 @@ unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_SKYLAKE:
 	case INTEL_FAM6_KABYLAKE_L:
 	case INTEL_FAM6_KABYLAKE:
+	case INTEL_FAM6_COMETLAKE_L:
+	case INTEL_FAM6_COMETLAKE:
 		return INTEL_FAM6_SKYLAKE_L;
 
 	case INTEL_FAM6_ICELAKE_L:
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Applied -- thanks!

Quoted 27 lines · Zhang Rui

From: Chen Yu <[email protected]>

From a turbostat point of view, Cometlake is like Kabylake.

---
 tools/power/x86/turbostat/turbostat.c | 2 ++
 1 file changed, 2 insertions(+)
tools/power/x86/turbostat/turbostat.c +2 -1
index 5d0fddda842c..985e195f066b 100644
@@ -4610,6 +4610,8 @@ unsigned int intel_model_duplicates(unsigned int model)
        case INTEL_FAM6_SKYLAKE:
        case INTEL_FAM6_KABYLAKE_L:
        case INTEL_FAM6_KABYLAKE:
+       case INTEL_FAM6_COMETLAKE_L:
+       case INTEL_FAM6_COMETLAKE:
                return INTEL_FAM6_SKYLAKE_L;
 
        case INTEL_FAM6_ICELAKE_L:
--

2.17.1

Signature · 1 line
Len Brown, Intel Open Source Technology Center