[linux-yocto] [PATCH] intel-x86-64: Move 'CONFIG_NR_CPUS=256' to intel-x86-64.cfg

Bruce Ashfield bruce.ashfield at windriver.com
Wed Nov 7 14:02:28 PST 2018


On 2018-11-06 9:06 p.m., Hongzhi.Song wrote:
> The maximum cpus are 64 on intel-x86-32.
> But intel-x86-64 can support 8192.
> 
> Signed-off-by: Hongzhi.Song <hongzhi.song at windriver.com>
> ---
>   bsp/intel-x86/intel-x86-64.cfg | 3 +++
>   bsp/intel-x86/intel-x86.cfg    | 1 -
>   2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/bsp/intel-x86/intel-x86-64.cfg b/bsp/intel-x86/intel-x86-64.cfg
> index 4e8a4d7..215c0f0 100644
> --- a/bsp/intel-x86/intel-x86-64.cfg
> +++ b/bsp/intel-x86/intel-x86-64.cfg
> @@ -49,3 +49,6 @@ CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=m
>   
>   # Intel Resource Director Technology support
>   CONFIG_INTEL_RDT=y
> +
> +# Processor type and features
> +CONFIG_NR_CPUS=256

The change seems to be doing the opposite of your
commit message.

You are setting 64 bit to NR_CPUS=256, but in the
commit message, you indicate in can support 8192.

Can you clarify ?

Bruce

> diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg
> index 6919179..080bca1 100644
> --- a/bsp/intel-x86/intel-x86.cfg
> +++ b/bsp/intel-x86/intel-x86.cfg
> @@ -17,7 +17,6 @@
>   CONFIG_MCORE2=y
>   CONFIG_SMP=y
>   CONFIG_SCHED_SMT=y
> -CONFIG_NR_CPUS=256
>   
>   CONFIG_NUMA=y
>   CONFIG_ACPI_NUMA=y
> 



More information about the linux-yocto mailing list