diff options
author | Srinivas Pandruvada | 2020-05-15 12:46:37 -0700 |
---|---|---|
committer | Srinivas Pandruvada | 2020-05-22 11:18:15 -0700 |
commit | e16ea66365e43d5e3b338ba8d406dec38c6c3d39 (patch) | |
tree | 736644ca5d0d7383ce24c2907e74c82d08e73766 /tools/power | |
parent | aa8b650b1aa2cb3cc9869795eac0ba8ffe4ea524 (diff) |
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.c | 2 |
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]; |