]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: setup cpu possible mask according to possible-cpus dts property
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Fri, 23 Feb 2018 16:41:54 +0000 (19:41 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 28 Feb 2018 18:45:32 +0000 (10:45 -0800)
commitf6f38df1a1717b78ea3bee22cd00b3b048664aed
treea0f2e427d851e14630a39b864a6553fcc09006d8
parent5b4b455f0cba1241e800b3fd5c092ae7a914a0e9
ARC: setup cpu possible mask according to possible-cpus dts property

As we have option in u-boot to set CPU mask for running linux,
we want to pass information to kernel about CPU cores should
be brought up. So we patch kernel dtb in u-boot to set
possible-cpus property.

This also allows us to have correctly setuped MCIP debug mask.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/smp.c