All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@gmail.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: artem_mygaiev@epam.com, lars.kurth@citrix.com,
	andrii_anisov@epam.com, andrew.cooper3@citrix.com,
	dfaggioli@suse.com, julien.grall@arm.com, JBeulich@suse.com,
	xen-devel@lists.xen.org
Subject: Re: [PATCH v4 10/10] xen: add per-platform defaults for NR_CPUS
Date: Fri, 1 Jun 2018 03:49:17 +0100	[thread overview]
Message-ID: <CAF3u54CKgHtX9g+R6wYA4+VL4RHCjWvSKEjxTnnwSiN3P8CuSA@mail.gmail.com> (raw)
In-Reply-To: <1527803317-31750-10-git-send-email-sstabellini@kernel.org>


[-- Attachment #1.1: Type: text/plain, Size: 1566 bytes --]

Hi,

Sorry for the formatting. I am pretty sure you need to CC "THE REST" here.

On Thu, 31 May 2018, 22:50 Stefano Stabellini, <sstabellini@kernel.org>
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 <sstabellini@kernel.org>
> CC: JBeulich@suse.com
> CC: andrew.cooper3@citrix.com
> ---
>  xen/arch/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/xen/arch/Kconfig b/xen/arch/Kconfig
> index cf0acb7..d451eb8 100644
> --- a/xen/arch/Kconfig
> +++ b/xen/arch/Kconfig
> @@ -2,6 +2,9 @@
>  config NR_CPUS
>         int "Maximum number of physical CPUs"
>         range 1 4095
> +       default "8" if ARM && RCAR3
> +       default "4" if ARM && QEMU
> +       default "4" if ARM && MPSOC
>         default "256" if X86
>         default "128" if ARM
>         ---help---
>

IMHO, it would make sense to move this option in the arch/{arm,x86)/Kconfig.

But I am not sure how this will work as with this series you can select
multiple platforms in on Kconfig. What will be the end result?

Anyway, as I mention the way to go is a option list with only one possible
choice.

Cheers,


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

[-- Attachment #1.2: Type: text/html, Size: 2696 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

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

  reply	other threads:[~2018-06-01  2:49 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-31 21:48 [PATCH v4 0/10] arm: more kconfig configurability and small default configs Stefano Stabellini
2018-05-31 21:48 ` [PATCH v4 01/10] arm: remove the ARM HDLCD driver Stefano Stabellini
2018-05-31 21:48 ` [PATCH v4 02/10] arm: make it possible to disable HAS_GICV3 Stefano Stabellini
2018-05-31 21:48 ` [PATCH v4 03/10] arm: rename HAS_GICV3 to GICV3 Stefano Stabellini
2018-05-31 21:48 ` [PATCH v4 04/10] Make MEM_ACCESS configurable Stefano Stabellini
2018-06-01 10:52   ` Jan Beulich
2018-06-01 15:24     ` Stefano Stabellini
2018-06-01 15:42       ` Jan Beulich
2018-05-31 21:48 ` [PATCH v4 05/10] make it possible to enable/disable UART drivers Stefano Stabellini
2018-06-01 10:54   ` Jan Beulich
2018-06-01 15:28     ` Stefano Stabellini
2018-06-01 15:44       ` Jan Beulich
2018-05-31 21:48 ` [PATCH v4 06/10] arm: make it possible to disable the SMMU driver Stefano Stabellini
2018-05-31 21:48 ` [PATCH v4 07/10] arm: add a tiny kconfig configuration Stefano Stabellini
2018-06-01  2:39   ` Julien Grall
2018-06-01 20:51     ` Stefano Stabellini
2018-05-31 21:48 ` [PATCH v4 08/10] arm: add QEMU, Rcar3 and MPSoC configs Stefano Stabellini
2018-06-01  2:45   ` Julien Grall
2018-06-01 20:51     ` Stefano Stabellini
2018-06-04 15:58       ` Julien Grall
2018-06-01 11:38   ` Volodymyr Babchuk
2018-05-31 21:48 ` [PATCH v4 09/10] xen: add cloc target Stefano Stabellini
2018-06-01 10:57   ` Jan Beulich
2018-05-31 21:48 ` [PATCH v4 10/10] xen: add per-platform defaults for NR_CPUS Stefano Stabellini
2018-06-01  2:49   ` Julien Grall [this message]
2018-06-01 20:53     ` Stefano Stabellini
2018-06-04 16:07       ` Julien Grall
2018-06-01 10:59   ` Jan Beulich
2018-06-01 20:52     ` Stefano Stabellini
2018-06-01 19:17 ` [PATCH v4 0/10] arm: more kconfig configurability and small default configs Doug Goldstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF3u54CKgHtX9g+R6wYA4+VL4RHCjWvSKEjxTnnwSiN3P8CuSA@mail.gmail.com \
    --to=julien.grall@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=andrii_anisov@epam.com \
    --cc=artem_mygaiev@epam.com \
    --cc=dfaggioli@suse.com \
    --cc=julien.grall@arm.com \
    --cc=lars.kurth@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.