]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
ACPI/cpuidle: bump maximum number of power states we support
authorJan Beulich <jbeulich@suse.com>
Wed, 25 Sep 2019 13:53:35 +0000 (15:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Sep 2019 13:53:35 +0000 (15:53 +0200)
Commit 4c6cd64519 ("mwait_idle: Skylake Client Support") added a table
with 8 entries, which - together with C0 - rendered the current limit
too low. It should have been accompanied by an increase of the constant;
do this now. Don't bump by too much though, as there are a number of on-
stack arrays which are dimensioned by this constant.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/include/xen/cpuidle.h

index 13901e16dcc708a57e52bcb601f3238f79369f53..af50d37bb74c5609af5fdfe7eebbd006df83bd10 100644 (file)
@@ -29,7 +29,7 @@
 #include <xen/cpumask.h>
 #include <xen/spinlock.h>
 
-#define ACPI_PROCESSOR_MAX_POWER        8
+#define ACPI_PROCESSOR_MAX_POWER        12
 #define CPUIDLE_NAME_LEN                16
 
 #define ACPI_CSTATE_EM_NONE     0