summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2020-05-15 12:46:37 -0700
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2020-05-22 11:18:15 -0700
commite16ea66365e43d5e3b338ba8d406dec38c6c3d39 (patch)
tree736644ca5d0d7383ce24c2907e74c82d08e73766 /tools/power
parentaa8b650b1aa2cb3cc9869795eac0ba8ffe4ea524 (diff)
downloadlinux-e16ea66365e43d5e3b338ba8d406dec38c6c3d39.tar.gz
linux-e16ea66365e43d5e3b338ba8d406dec38c6c3d39.tar.bz2
linux-e16ea66365e43d5e3b338ba8d406dec38c6c3d39.zip
tools/power/x86/intel-speed-select: Increase CPU count
Increase CPU count so that more than 64 is supported in one request. For example: sudo ./intel-speed-select -d --cpu 0-66 core-power assoc -clos 0 The above command stops at 63. With this change, it can support more CPU numbers from 0-255. 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-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/intel-speed-select/isst-config.c b/tools/power/x86/intel-speed-select/isst-config.c
index 4cccabb226db..8b99e403e68c 100644
--- a/tools/power/x86/intel-speed-select/isst-config.c
+++ b/tools/power/x86/intel-speed-select/isst-config.c
@@ -25,7 +25,7 @@ static FILE *outf;
static int cpu_model;
static int cpu_stepping;
-#define MAX_CPUS_IN_ONE_REQ 64
+#define MAX_CPUS_IN_ONE_REQ 256
static short max_target_cpus;
static unsigned short target_cpus[MAX_CPUS_IN_ONE_REQ];