From ff22a91b4c45f9310d0ec0d7ee070d84a373dd87 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 25 Sep 2019 15:53:35 +0200 Subject: [PATCH] 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 Reviewed-by: Wei Liu Release-acked-by: Juergen Gross --- xen/include/xen/cpuidle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/cpuidle.h b/xen/include/xen/cpuidle.h index 13901e16dc..af50d37bb7 100644 --- a/xen/include/xen/cpuidle.h +++ b/xen/include/xen/cpuidle.h @@ -29,7 +29,7 @@ #include #include -#define ACPI_PROCESSOR_MAX_POWER 8 +#define ACPI_PROCESSOR_MAX_POWER 12 #define CPUIDLE_NAME_LEN 16 #define ACPI_CSTATE_EM_NONE 0 -- 2.30.2