summaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorJane Chu <jane.chu@oracle.com>2017-05-25 13:51:20 -0600
committerDavid S. Miller <davem@davemloft.net>2017-05-26 11:51:22 -0700
commit7485af89a6fd48f7e6fab2505d2364d1817723e6 (patch)
treeaf976e5c51df4aae6a7f8cf11ed43eb370ffbb83 /arch/sparc/Kconfig
parentbe941bf2e6a32605935865972df7abf74087944f (diff)
downloadblackbird-op-linux-7485af89a6fd48f7e6fab2505d2364d1817723e6.tar.gz
blackbird-op-linux-7485af89a6fd48f7e6fab2505d2364d1817723e6.zip
arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5
SPARC M6-32 platform has (2^5) NUMA nodes, so need to bump up the CONFIG_NODES_SHIFT to 5. Orabug: 25577754 Signed-off-by: Jane Chu <jane.chu@oracle.com> Reviewed-by: Bob Picco <bob.picco@oracle.com> Reviewed-by: Atish Patra <atish.patra@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 58243b0d21c0..e544ac12737e 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -295,9 +295,13 @@ config NUMA
depends on SPARC64 && SMP
config NODES_SHIFT
- int
- default "4"
+ int "Maximum NUMA Nodes (as a power of 2)"
+ range 4 5 if SPARC64
+ default "5"
depends on NEED_MULTIPLE_NODES
+ help
+ Specify the maximum number of NUMA Nodes available on the target
+ system. Increases memory reserved to accommodate various tables.
# Some NUMA nodes have memory ranges that span
# other nodes. Even though a pfn is valid and
OpenPOWER on IntegriCloud