summaryrefslogtreecommitdiffstats
path: root/tools/power/x86/turbostat/turbostat.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2022-07-26 18:29:35 +0300
committerLen Brown <len.brown@intel.com>2022-07-28 14:37:41 -0400
commit6287e6f0fdd36be4bbde6f539df6ea85eb2476c2 (patch)
tree7f260eafa73258208ef253f96e48be057817421a /tools/power/x86/turbostat/turbostat.c
parent0e4d42af81471ab801e059e1feac8e27547230cf (diff)
downloadlinux-6287e6f0fdd36be4bbde6f539df6ea85eb2476c2.tar.gz
linux-6287e6f0fdd36be4bbde6f539df6ea85eb2476c2.tar.bz2
linux-6287e6f0fdd36be4bbde6f539df6ea85eb2476c2.zip
tools/power turbostat: do not decode ACC for ICX and SPR
The ACC (automatic C-state conversion) feature was available on Sky Lake and Cascade Lake Xeons (SKX and CLX), but it is not available on Ice Lake and Sapphire Rapids Xeons (ICX and SPR). Therefore, stop decoding it for ICX and SPR. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/turbostat.c')
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 05e993674015..4c23e1fb13e9 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4822,8 +4822,6 @@ void automatic_cstate_conversion_probe(unsigned int family, unsigned int model)
switch (model) {
case INTEL_FAM6_BROADWELL_X:
case INTEL_FAM6_SKYLAKE_X:
- case INTEL_FAM6_ICELAKE_X:
- case INTEL_FAM6_SAPPHIRERAPIDS_X:
has_automatic_cstate_conversion = 1;
}
}