summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authorFrank Ramsay <frank.ramsay@hpe.com>2023-07-20 11:08:03 -0500
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2023-08-08 15:16:40 -0700
commit06bbebdb6da5e816f206c09ce20321237e5910e9 (patch)
tree6a8040868d58b5fcd2aefbc06e6ca1e0b0c41ab3 /tools/power
parent7a4ab2f4795bfa7cfe10330ce4a2452748f31b68 (diff)
tools/power/x86/intel-speed-select: Support more than 8 sockets.
MAX_PACKAGE_COUNT limits the intel-speed-select to systems with 8 sockets or fewer. On a system with more than 8 sockets intel-speed-select silently ignores everything beyond the 8th socket, rendering the tool useless for those systems. Increase MAX_PACKAGE_COUNT to support systems with up to 32 sockets. Signed-off-by: Frank Ramsay <frank.ramsay@hpe.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r--tools/power/x86/intel-speed-select/isst.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/intel-speed-select/isst.h b/tools/power/x86/intel-speed-select/isst.h
index 54fc21575d56..8def22dec4a2 100644
--- a/tools/power/x86/intel-speed-select/isst.h
+++ b/tools/power/x86/intel-speed-select/isst.h
@@ -79,7 +79,7 @@
#define DISP_FREQ_MULTIPLIER 100
-#define MAX_PACKAGE_COUNT 8
+#define MAX_PACKAGE_COUNT 32
#define MAX_DIE_PER_PACKAGE 2
#define MAX_PUNIT_PER_DIE 8