Hi Stefano,

On 07/07/18 00:14, Stefano Stabellini wrote:
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 <sstabell...@kernel.org>
Acked-by: Jan Beulich <jbeul...@suse.com>

Acked-by: Julien Grall <julien.gr...@arm.com>

Cheers,

CC: jbeul...@suse.com
CC: andrew.coop...@citrix.com

---

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 cf0acb7..1954d1c 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.


--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to