ARC: [plat-eznps] avoid toggling of DPC register
authorElad Kanfi <eladkan@mellanox.com>
Thu, 15 Jun 2017 08:44:01 +0000 (11:44 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 28 Aug 2017 22:17:36 +0000 (15:17 -0700)
commit3f9cd874dcc8705b53c03431f0ae46c94e572349
treeb5a20f147f53b46dc3fd9e6f39f10686dceac152
parentabd8926bff32df82d0fb8322b9fe382774f630b5
ARC: [plat-eznps] avoid toggling of DPC register

HW bug description: in case of HW thread context switch
the dpc configuration of the exiting thread is dragged
one cycle into the next thread.
In order to avoid the consequences of this bug, the DPC register
is set to an initial value, and not changed afterwards.

Signed-off-by: Elad Kanfi <eladkan@mellanox.com>
Signed-off-by: Noam Camus <noamca@mellanox.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/plat-eznps/include/plat/ctop.h
arch/arc/plat-eznps/mtm.c