Skip to contentSkip to conversation

Add more CPUs support in turbostat

PATCH New Chen Yu 1 participant 3 messages Feb 3, 2021 Turbostat utility

lore
Share & tools
lore

Chen Yu

author
#0 lore raw

cover Add more CPUs support in turbostat

Alder Lake P and Ice Lake D are added in this patch set.

Chen Yu (2):
tools/power turbostat: Support Alder Lake Mobile tools/power turbostat: Support Ice Lake D

 tools/power/x86/turbostat/turbostat.c | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 1/2 tools/power turbostat: Support Alder Lake P

Share the code between Alder Lake P and Alder Lake S.

---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
index 389ea5209a83..34628e3e7099 100644
@@ -4986,6 +4986,7 @@ unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_ROCKETLAKE:
 	case INTEL_FAM6_LAKEFIELD:
 	case INTEL_FAM6_ALDERLAKE:
+	case INTEL_FAM6_ALDERLAKE_L:
 		return INTEL_FAM6_CANNONLAKE_L;
 
 	case INTEL_FAM6_ATOM_TREMONT_L:
Signature · 1 line
2.25.1
author
#2 lore raw

PATCH 2/2 tools/power turbostat: Support Ice Lake D

In reply to Chen Yu

Ice Lake D is low-end server version of Ice Lake X, reuse the code accordingly.

---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
index 34628e3e7099..d3c2ef91ac49 100644
@@ -4993,6 +4993,7 @@ unsigned int intel_model_duplicates(unsigned int model)
 		return INTEL_FAM6_ATOM_TREMONT;
 
 	case INTEL_FAM6_ICELAKE_X:
+	case INTEL_FAM6_ICELAKE_D:
 	case INTEL_FAM6_SAPPHIRERAPIDS_X:
 		return INTEL_FAM6_SKYLAKE_X;
 	}
Signature · 1 line
2.25.1