]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools/power/x86/intel-speed-select: Support more than 8 sockets.
authorFrank Ramsay <frank.ramsay@hpe.com>
Thu, 20 Jul 2023 16:08:03 +0000 (11:08 -0500)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tue, 8 Aug 2023 22:16:40 +0000 (15:16 -0700)
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>
tools/power/x86/intel-speed-select/isst.h

index 54fc21575d56dc023602262f9330f2f4e22225b0..8def22dec4a27e9df91a7dfc99335328b961cc2d 100644 (file)
@@ -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