Re: [PATCH] [4.7] arm64: Honor nosmp kernel command line option

2016-07-21 Thread Catalin Marinas
On Thu, Jul 21, 2016 at 11:15:27AM +0100, Suzuki K. Poulose wrote: > Passing "nosmp" should boot the kernel with a single processor, without > provision to enable secondary CPUs even if they are present. "nosmp" is > implemented by setting maxcpus=0. At the moment we still mark the secondary >

Re: [PATCH] [4.7] arm64: Honor nosmp kernel command line option

2016-07-21 Thread Catalin Marinas
On Thu, Jul 21, 2016 at 11:15:27AM +0100, Suzuki K. Poulose wrote: > Passing "nosmp" should boot the kernel with a single processor, without > provision to enable secondary CPUs even if they are present. "nosmp" is > implemented by setting maxcpus=0. At the moment we still mark the secondary >

Re: [PATCH] [4.7] arm64: Honor nosmp kernel command line option

2016-07-21 Thread Mark Rutland
On Thu, Jul 21, 2016 at 11:15:27AM +0100, Suzuki K Poulose wrote: > Passing "nosmp" should boot the kernel with a single processor, without > provision to enable secondary CPUs even if they are present. "nosmp" is > implemented by setting maxcpus=0. At the moment we still mark the secondary > CPUs

Re: [PATCH] [4.7] arm64: Honor nosmp kernel command line option

2016-07-21 Thread Mark Rutland
On Thu, Jul 21, 2016 at 11:15:27AM +0100, Suzuki K Poulose wrote: > Passing "nosmp" should boot the kernel with a single processor, without > provision to enable secondary CPUs even if they are present. "nosmp" is > implemented by setting maxcpus=0. At the moment we still mark the secondary > CPUs

[PATCH] [4.7] arm64: Honor nosmp kernel command line option

2016-07-21 Thread Suzuki K Poulose
Passing "nosmp" should boot the kernel with a single processor, without provision to enable secondary CPUs even if they are present. "nosmp" is implemented by setting maxcpus=0. At the moment we still mark the secondary CPUs present even with nosmp, which allows the userspace to bring them up.

[PATCH] [4.7] arm64: Honor nosmp kernel command line option

2016-07-21 Thread Suzuki K Poulose
Passing "nosmp" should boot the kernel with a single processor, without provision to enable secondary CPUs even if they are present. "nosmp" is implemented by setting maxcpus=0. At the moment we still mark the secondary CPUs present even with nosmp, which allows the userspace to bring them up.