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

[Xen-changelog] [xen master] xen: add per-platform defaults for NR_CPUS



commit a2ae81893ab7d5231052d96b84f70b5deb54a8ec
Author:     Stefano Stabellini <sstabellini@xxxxxxxxxx>
AuthorDate: Tue Jul 31 08:22:01 2018 -0700
Commit:     Julien Grall <julien.grall@xxxxxxx>
CommitDate: Thu Aug 2 12:27:30 2018 +0100

    xen: add per-platform defaults for NR_CPUS
    
    Add specific per-platform defaults for NR_CPUS. Note that the order of
    the defaults matter: they need to go first, otherwise the generic
    defaults will be applied.
    
    This is done so that Xen builds customized for a specific hardware
    platform can have the right NR_CPUS number.
    
    Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Julien Grall <julien.grall@xxxxxxx>
    CC: JBeulich@xxxxxxxx
    CC: andrew.cooper3@xxxxxxxxxx
    
    ---
    
    Changes in v6:
    - remove useless additional default for ALL
---
 xen/arch/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xen/arch/Kconfig b/xen/arch/Kconfig
index cf0acb7e89..1954d1c5c1 100644
--- a/xen/arch/Kconfig
+++ b/xen/arch/Kconfig
@@ -3,6 +3,9 @@ config NR_CPUS
        int "Maximum number of physical CPUs"
        range 1 4095
        default "256" if X86
+       default "8" if ARM && RCAR3
+       default "4" if ARM && QEMU
+       default "4" if ARM && MPSOC
        default "128" if ARM
        ---help---
          Specifies the maximum number of physical CPUs which Xen will support.
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
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®.