summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2023-09-09 07:28:07 +0200
committerZhang Rui <rui.zhang@intel.com>2023-10-24 07:38:09 +0200
commit5feab4a6b8a730438a0fe8758dfa0700f951edde (patch)
treea2632b2b8019d90e1864bb3d608aa43bef0d6076 /tools/power
parenttools/power/turbostat: Add MSR_CORE_C1_RES support for spr_features (diff)
downloadlinux-5feab4a6b8a730438a0fe8758dfa0700f951edde.tar.xz
linux-5feab4a6b8a730438a0fe8758dfa0700f951edde.zip
tools/power/turbostat: Add initial support for GraniteRapids
Add initial support for GraniteRapids. It shares the same features with SapphireRapids. Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/x86/turbostat/turbostat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index bbeeec02bf5b..981d39454b49 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -829,6 +829,7 @@ static const struct platform_data turbostat_pdata[] = {
{ INTEL_FAM6_TIGERLAKE, &cnl_features },
{ INTEL_FAM6_SAPPHIRERAPIDS_X, &spr_features },
{ INTEL_FAM6_EMERALDRAPIDS_X, &spr_features },
+ { INTEL_FAM6_GRANITERAPIDS_X, &spr_features },
{ INTEL_FAM6_LAKEFIELD, &cnl_features },
{ INTEL_FAM6_ALDERLAKE, &adl_features },
{ INTEL_FAM6_ALDERLAKE_L, &adl_features },