[arm64] Set NR_CPUS=256 to allow for multi-SoC systems

ThunderX1 has 48 cores and supports 2-way systems for 96 CPUs.
ThunderX2 has 54 cores and also supports 2-way systems for 108 CPUs.

X-Gene 3 "Skylark" is supposed to support 8-way systems with 32
cores each for 256 CPUs (I'm not sure if they're cache-coherent
beyond 2-way though.
This commit is contained in:
Ben Hutchings 2017-04-16 17:12:38 +01:00
parent 01f0df794d
commit b80acec65e
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -17,6 +17,7 @@ linux (4.9.18-2) UNRELEASED; urgency=medium
* [powerpc*/*64*] Enable CPUMASK_OFFSTACK to reduce stack usage
* [mips*el/loongson-3] Set NR_CPUS=16 to allow for Loongson 3B2000
* [mips*/octeon] Set NR_CPUS=64 to allow for Cavium CN7890
* [arm64] Set NR_CPUS=256 to allow for multi-SoC systems
[ Salvatore Bonaccorso ]
* ping: implement proper locking (CVE-2017-2671)

View File

@ -9,7 +9,7 @@ CONFIG_ARM64_ERRATUM_834220=y
CONFIG_ARM64_VA_BITS_48=y
## end choice
CONFIG_SCHED_MC=y
CONFIG_NR_CPUS=64
CONFIG_NR_CPUS=256
CONFIG_SECCOMP=y
CONFIG_KEXEC=y
CONFIG_XEN=y