From: Jan Beulich Date: Wed, 25 Sep 2019 13:53:35 +0000 (+0200) Subject: ACPI/cpuidle: bump maximum number of power states we support X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~1470 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ff22a91b4c45f9310d0ec0d7ee070d84a373dd87;p=xen.git 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 --- 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