From: Artem Bityutskiy Date: Tue, 26 Jul 2022 15:29:35 +0000 (+0300) Subject: tools/power turbostat: do not decode ACC for ICX and SPR X-Git-Tag: v6.0-rc1~182^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6287e6f0fdd36be4bbde6f539df6ea85eb2476c2;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Len Brown --- diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 05e993674015b..4c23e1fb13e90 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; } }