All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mips: octeon: unselect NR_CPUS_DEFAULT_16
@ 2016-02-20  0:09 ` Yang Shi
  0 siblings, 0 replies; 4+ messages in thread
From: Yang Shi @ 2016-02-20  0:09 UTC (permalink / raw)
  To: david.daney, ralf; +Cc: linux-kernel, linux-mips

In the octeon defconfig, NR_CPUS is 32. And, some model of OCTEON II do have
> 16 cores. Given the typical memory size equipped by Octeon boards, it sounds
like not a big deal to set a bigger NR_CPUS value as default.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
 arch/mips/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ab433d3..a885156 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -885,7 +885,6 @@ config CAVIUM_OCTEON_SOC
 	select USE_OF
 	select ARCH_SPARSEMEM_ENABLE
 	select SYS_SUPPORTS_SMP
-	select NR_CPUS_DEFAULT_16
 	select BUILTIN_DTB
 	select MTD_COMPLEX_MAPPINGS
 	help
-- 
2.0.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] mips: octeon: unselect NR_CPUS_DEFAULT_16
@ 2016-02-20  0:09 ` Yang Shi
  0 siblings, 0 replies; 4+ messages in thread
From: Yang Shi @ 2016-02-20  0:09 UTC (permalink / raw)
  To: david.daney, ralf; +Cc: linux-kernel, linux-mips

In the octeon defconfig, NR_CPUS is 32. And, some model of OCTEON II do have
> 16 cores. Given the typical memory size equipped by Octeon boards, it sounds
like not a big deal to set a bigger NR_CPUS value as default.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
 arch/mips/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ab433d3..a885156 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -885,7 +885,6 @@ config CAVIUM_OCTEON_SOC
 	select USE_OF
 	select ARCH_SPARSEMEM_ENABLE
 	select SYS_SUPPORTS_SMP
-	select NR_CPUS_DEFAULT_16
 	select BUILTIN_DTB
 	select MTD_COMPLEX_MAPPINGS
 	help
-- 
2.0.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mips: octeon: unselect NR_CPUS_DEFAULT_16
  2016-02-20  0:09 ` Yang Shi
  (?)
@ 2017-08-04 13:27 ` James Hogan
  2017-08-04 16:41   ` David Daney
  -1 siblings, 1 reply; 4+ messages in thread
From: James Hogan @ 2017-08-04 13:27 UTC (permalink / raw)
  To: Yang Shi; +Cc: david.daney, ralf, linux-kernel, linux-mips

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

On Sat, Feb 20, 2016 at 12:09:28AM +0000, Yang Shi wrote:
> In the octeon defconfig, NR_CPUS is 32. And, some model of OCTEON II do have
> > 16 cores. Given the typical memory size equipped by Octeon boards, it sounds
> like not a big deal to set a bigger NR_CPUS value as default.
> 
> Signed-off-by: Yang Shi <yang.shi@windriver.com>
> ---
>  arch/mips/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index ab433d3..a885156 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -885,7 +885,6 @@ config CAVIUM_OCTEON_SOC
>         select USE_OF
>         select ARCH_SPARSEMEM_ENABLE
>         select SYS_SUPPORTS_SMP
> -       select NR_CPUS_DEFAULT_16

So should this select NR_CPUS_DEFAULT_32 instead?

Cheers
James

>         select BUILTIN_DTB
>         select MTD_COMPLEX_MAPPINGS
>         help
> --
> 2.0.2
> 
> 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mips: octeon: unselect NR_CPUS_DEFAULT_16
  2017-08-04 13:27 ` James Hogan
@ 2017-08-04 16:41   ` David Daney
  0 siblings, 0 replies; 4+ messages in thread
From: David Daney @ 2017-08-04 16:41 UTC (permalink / raw)
  To: James Hogan, Yang Shi; +Cc: david.daney, ralf, linux-kernel, linux-mips

On 08/04/2017 06:27 AM, James Hogan wrote:
> On Sat, Feb 20, 2016 at 12:09:28AM +0000, Yang Shi wrote:
>> In the octeon defconfig, NR_CPUS is 32. And, some model of OCTEON II do have
>>> 16 cores. Given the typical memory size equipped by Octeon boards, it sounds
>> like not a big deal to set a bigger NR_CPUS value as default.
>>
>> Signed-off-by: Yang Shi <yang.shi@windriver.com>
>> ---
>>   arch/mips/Kconfig | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
>> index ab433d3..a885156 100644
>> --- a/arch/mips/Kconfig
>> +++ b/arch/mips/Kconfig
>> @@ -885,7 +885,6 @@ config CAVIUM_OCTEON_SOC
>>          select USE_OF
>>          select ARCH_SPARSEMEM_ENABLE
>>          select SYS_SUPPORTS_SMP
>> -       select NR_CPUS_DEFAULT_16
> 
> So should this select NR_CPUS_DEFAULT_32 instead?


There are OCTEON systems today with 96 CPUs, so something 96 or greater 
would let us avoid changing this more than once.

David Daney


> 
> Cheers
> James
> 
>>          select BUILTIN_DTB
>>          select MTD_COMPLEX_MAPPINGS
>>          help
>> --
>> 2.0.2
>>
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-04 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-20  0:09 [PATCH] mips: octeon: unselect NR_CPUS_DEFAULT_16 Yang Shi
2016-02-20  0:09 ` Yang Shi
2017-08-04 13:27 ` James Hogan
2017-08-04 16:41   ` David Daney

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.