Patchwork [1/1] book3e/corenet64: increase CPU numbers by default

login
register
mail settings
Submitter Tiejun Chen
Date Feb. 26, 2013, 9:33 a.m.
Message ID <1361871198-942-1-git-send-email-tiejun.chen@windriver.com>
Download mbox | patch
Permalink /patch/223156/
State Superseded
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Tiejun Chen - Feb. 26, 2013, 9:33 a.m.
Currently we already support p5040ds which has 4 e5500 cores, but
twelve dual-threaded e6500 cores are also built on T4240, we can
change CONFIG_NR_CPUS with this value now.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
---
 arch/powerpc/configs/corenet64_smp_defconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Kumar Gala - March 8, 2013, 8:39 p.m.
On Feb 26, 2013, at 3:33 AM, Tiejun Chen wrote:

> Currently we already support p5040ds which has 4 e5500 cores, but
> twelve dual-threaded e6500 cores are also built on T4240, we can
> change CONFIG_NR_CPUS with this value now.
> 
> Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
> ---
> arch/powerpc/configs/corenet64_smp_defconfig |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

I've handled this as part of the T4 baseline support patchset.

- k

Patch

diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig
index 7375961..7b0dfe3 100644
--- a/arch/powerpc/configs/corenet64_smp_defconfig
+++ b/arch/powerpc/configs/corenet64_smp_defconfig
@@ -2,7 +2,7 @@  CONFIG_PPC64=y
 CONFIG_PPC_BOOK3E_64=y
 # CONFIG_VIRT_CPU_ACCOUNTING is not set
 CONFIG_SMP=y
-CONFIG_NR_CPUS=2
+CONFIG_NR_CPUS=24
 CONFIG_EXPERIMENTAL=y
 CONFIG_SYSVIPC=y
 CONFIG_BSD_PROCESS_ACCT=y