ARC: mcip: update MCIP debug mask when the new cpu came online
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Fri, 23 Feb 2018 16:41:53 +0000 (19:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:07 +0000 (07:52 +0200)
commitf7f78191c910d741c5971094003dfe7233c29743
treeb9c39f765507ea86fa9ca42b82ecbfe431b48dba
parent50de7f4347cf0dbe7b9c28e273a8cf498067790e
ARC: mcip: update MCIP debug mask when the new cpu came online

[ Upstream commit f3205de98db2fc8083796dd5ad81b191e436fab8 ]

As of today we use hardcoded MCIP debug mask, so if we launch
kernel via debugger and kick fever cores than HW has all cpus
hang at the momemt of setup MCIP debug mask.

So update MCIP debug mask when the new cpu came online, instead of
use hardcoded 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/mcip.c
include/soc/arc/mcip.h