diff mbox series

[4/4] turbostat: do not decode ACC for ICX and SPR

Message ID 20220726152935.3183492-4-dedekind1@gmail.com
State New
Headers show
Series [1/4] turbostat: separate SPR from ICX | expand

Commit Message

Artem Bityutskiy July 26, 2022, 3:29 p.m. UTC
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

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>
---
 tools/power/x86/turbostat/turbostat.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index e089b8b41b12..d8870476fe5f 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4767,8 +4767,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;
 	}
 }