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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:07 +0000 (07:52 +0200)
commit738310e1dbc98cacd89f9b5241e6f4f6e343dd17
tree62b0518f517b6acfb274723c30dd1be89eb14bbe
parentf7f78191c910d741c5971094003dfe7233c29743
ARC: setup cpu possible mask according to possible-cpus dts property

[ Upstream commit a29a25275452c97fe35815f1eb9564f2a07a1965 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/kernel/smp.c