]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Fix behavior of maxcpus=N
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 22 Apr 2016 11:25:35 +0000 (12:25 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 25 Apr 2016 14:14:09 +0000 (15:14 +0100)
commit1870de7afa5e60aa7946db23f9100e312e7d6a87
tree0a990758ac2815ab96efc04d7e0c00384f95fbdd
parent47190d7601b2b6486601461b7ded3383014c0d54
arm64: Fix behavior of maxcpus=N

maxcpu=n sets the number of CPUs activated at boot time to a max of n,
but allowing the remaining CPUs to be brought up later if the user
decides to do so. However, on arm64 due to various reasons, we disallowed
hotplugging CPUs beyond n, by marking them not present. Now that
we have checks in place to make sure the hotplugged CPUs have compatible
features with system and requires no new errata, relax the restriction.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/smp.c