Skip to contentSkip to conversation

tools/power turbostat: introduce support for RaptorLake

PATCH RESEND New Zhang Rui 1 participant 2 messages May 13, 2022 Turbostat utility

lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH RESEND 1/2 tools/power turbostat: introduce support for RaptorLake

Add support for RaptorLake processor.

---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
index ede31a4287a0..ab45a2e1a70a 100644
@@ -5361,6 +5361,7 @@ unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_LAKEFIELD:
 	case INTEL_FAM6_ALDERLAKE:
 	case INTEL_FAM6_ALDERLAKE_L:
+	case INTEL_FAM6_RAPTORLAKE:
 		return INTEL_FAM6_CANNONLAKE_L;
 
 	case INTEL_FAM6_ATOM_TREMONT_L:
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 tools/power turbostat: add support for ALDERLAKE_N

Add support for ALDERLAKE_N platform.

---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
index ab45a2e1a70a..98171b3d7a16 100644
@@ -5361,6 +5361,7 @@ unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_LAKEFIELD:
 	case INTEL_FAM6_ALDERLAKE:
 	case INTEL_FAM6_ALDERLAKE_L:
+	case INTEL_FAM6_ALDERLAKE_N:
 	case INTEL_FAM6_RAPTORLAKE:
 		return INTEL_FAM6_CANNONLAKE_L;
 
Signature · 1 line
2.17.1