Commit 06bbebdb authored by Frank Ramsay's avatar Frank Ramsay Committed by Srinivas Pandruvada

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: default avatarFrank Ramsay <frank.ramsay@hpe.com>
Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
parent 7a4ab2f4
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
#define DISP_FREQ_MULTIPLIER 100 #define DISP_FREQ_MULTIPLIER 100
#define MAX_PACKAGE_COUNT 8 #define MAX_PACKAGE_COUNT 32
#define MAX_DIE_PER_PACKAGE 2 #define MAX_DIE_PER_PACKAGE 2
#define MAX_PUNIT_PER_DIE 8 #define MAX_PUNIT_PER_DIE 8
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment