[linux-yocto] [PATCH] smp: Adds config X86_BIGSMP since its needed when NR_CPUS > 8

Bruce Ashfield bruce.ashfield at windriver.com
Mon May 22 19:44:46 PDT 2017


merged.

SRCREV updates will follow shortly.

Bruce

On 2017-05-17 11:18 AM, Alejandro Hernandez wrote:
> When we set NR_CPUS to something > than 8, we also need to set X86_BIGSMP
> according to Kconfig:
>
> config X86_BIGSMP
>         bool "Support for big SMP systems with more than 8 CPUs"
>
> otherwise NR_CPU will end up being reset to 8
>
> [YOCTO #10362]
>
> Signed-off-by: Alejandro Hernandez <alejandro.hernandez at linux.intel.com>
> ---
>  cfg/smp.cfg | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/cfg/smp.cfg b/cfg/smp.cfg
> index 22047746..bf7348cb 100644
> --- a/cfg/smp.cfg
> +++ b/cfg/smp.cfg
> @@ -3,3 +3,7 @@ CONFIG_SCHED_SMT=y
>  # Increase default NR_CPUS from 8 to 64 so that platform with
>  # more than 8 processors can be all activated at boot time
>  CONFIG_NR_CPUS=64
> +# The following is nedded when setting NR_CPUS to something
> +# greater than 8 on x86 architectures, it should be automatically
> +# disregarded by Kconfig when using a different arch
> +CONFIG_X86_BIGSMP=y
>



More information about the linux-yocto mailing list