]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools/power turbostat: do not decode ACC for ICX and SPR
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 26 Jul 2022 15:29:35 +0000 (18:29 +0300)
committerLen Brown <len.brown@intel.com>
Thu, 28 Jul 2022 18:37:41 +0000 (14:37 -0400)
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>
tools/power/x86/turbostat/turbostat.c

index 05e993674015bc9906c5fe976fac57a7e8723fde..4c23e1fb13e9092b92e73afbf30febc1a5d24f73 100644 (file)
@@ -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;
        }
 }