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)
commita29a25275452c97fe35815f1eb9564f2a07a1965
treea0f2e427d851e14630a39b864a6553fcc09006d8
parentf3205de98db2fc8083796dd5ad81b191e436fab8
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