[PATCH v2] tools/power turbostat: Add rugged Panther Lake support

From: Kuppuswamy Sathyanarayanan

Date: Thu Oct 01 2026 - 13:41:36 EST


Add CPU model for rugged Panther Lake to the platform and perf model
tables. It uses the same cores as Panther Lake, so use the same settings.

Co-developed-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx>
---
Changes since v1:
* Add rugged Panther Lake to the perf model table (turbostat_perf_model_support[])
as suggested by Len Brown.

v1: https://lore.kernel.org/all/20260819174154.1184393-1-sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx/

tools/power/x86/turbostat/turbostat.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 920694c3c1ec..1a2b8cc469cd 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -1229,6 +1229,7 @@ static const struct platform_data turbostat_pdata[] = {
{ INTEL_ARROWLAKE, &adl_features },
{ INTEL_LUNARLAKE_M, &lnl_features },
{ INTEL_PANTHERLAKE_L, &lnl_features },
+ { INTEL_PANTHERLAKE_R, &lnl_features },
{ INTEL_NOVALAKE, &lnl_features },
{ INTEL_NOVALAKE_L, &lnl_features },
{ INTEL_WILDCATLAKE_L, &lnl_features },
@@ -1327,6 +1328,7 @@ static struct perf_model_support turbostat_perf_model_support[] = {
{ INTEL_ARROWLAKE, { PCE(0x00, 0xFF), PCE(0x00, 0x5F)}, { PCE(0x00, 0x07), PCE(0x00, 0x02)}, {} },

{ INTEL_PANTHERLAKE_L, { PCE(0x00, 0xFF), PCE(0x00, 0x5F)}, { PCE(0x01, 0xFF), PCE(0x01, 0xBF)}, {} },
+ { INTEL_PANTHERLAKE_R, { PCE(0x00, 0xFF), PCE(0x00, 0x5F)}, { PCE(0x01, 0xFF), PCE(0x01, 0xBF)}, {} },
{ INTEL_WILDCATLAKE_L, { PCE(0x00, 0xFF), PCE(0x00, 0x5F)}, { PCE(0x01, 0xFF), PCE(0x01, 0xBF)}, {} },

{ INTEL_NOVALAKE, { PCE(0x00, 0xFF), PCE(0x00, 0x5F)}, { PCE(0x01, 0xFF), PCE(0x01, 0xBF)}, {} },

base-commit: 93f51579e7df248780214094418f205253383cc5
--
2.43.0