ACPI/cpuidle: bump maximum number of power states we support

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>
This commit is contained in:
Jan Beulich committed 2019-09-25 15:53:35 +02:00
1 parent b6656e6aa4
commit ff22a91b4c
1 file changed
+1 -1
+1 -1
View 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.