[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] ACPI/cpuidle: bump maximum number of power states we support



commit ff22a91b4c45f9310d0ec0d7ee070d84a373dd87
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Wed Sep 25 15:53:35 2019 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Sep 25 15:53:35 2019 +0200

    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@xxxxxxxx>
    Reviewed-by: Wei Liu <wl@xxxxxxx>
    Release-acked-by: Juergen Gross <jgross@xxxxxxxx>
---
 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 <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
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.