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

Bruce Ashfield bruce.ashfield at windriver.com
Thu Nov 8 11:56:59 PST 2018


On 2018-11-07 9:05 p.m., Hongzhi.Song wrote:
> The maximum cpus are 64 on intel-x86-32.
> But intel-x86-64 support ranges from 1 to 8192.
> So we should move the config to intel-x86-64.cfg.

ok. This makes more sense, but two questions:

  - why limit to 256 on x86-64 ?
  - why not put 64 as the limit in intel-x86.cfg, since
    it now has no setting at all.

Bruce

> 
> 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
> 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