Skip to content

Commit e16ea66

Browse files
committed
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 <[email protected]>
1 parent aa8b650 commit e16ea66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/power/x86/intel-speed-select/isst-config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static FILE *outf;
2525
static int cpu_model;
2626
static int cpu_stepping;
2727

28-
#define MAX_CPUS_IN_ONE_REQ 64
28+
#define MAX_CPUS_IN_ONE_REQ 256
2929
static short max_target_cpus;
3030
static unsigned short target_cpus[MAX_CPUS_IN_ONE_REQ];
3131

0 commit comments

Comments
 (0)