Skip to contentSkip to conversation

tools/power turbostat: add support for RPL-S

PATCH New Zhang Rui 1 participant 1 message Aug 31, 2022 Turbostat utility

lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH 1/1 tools/power turbostat: add support for RPL-S

Add turbostat support for RAPTORLAKE_S platform, which behaves the same as RAPTORLAKE and RAPTORLAKE_P platforms.

RPL-S 601/801 have different CPU ID than the Hybrid ADL-S platforms.

---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
tools/power/x86/turbostat/turbostat.c +1 -0
index 831dc32d45fa..df040d87edd8 100644
@@ -5447,6 +5447,7 @@ unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_ALDERLAKE_N:
 	case INTEL_FAM6_RAPTORLAKE:
 	case INTEL_FAM6_RAPTORLAKE_P:
+	case INTEL_FAM6_RAPTORLAKE_S:
 		return INTEL_FAM6_CANNONLAKE_L;
 
 	case INTEL_FAM6_ATOM_TREMONT_L:
Signature · 1 line
2.25.1