aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/plat-eznps/include/plat/ctop.h
diff options
context:
space:
mode:
authorElad Kanfi <eladkan@mellanox.com>2017-06-15 11:44:01 +0300
committerVineet Gupta <vgupta@synopsys.com>2017-08-28 15:17:36 -0700
commit3f9cd874dcc8705b53c03431f0ae46c94e572349 (patch)
treeb5a20f147f53b46dc3fd9e6f39f10686dceac152 /arch/arc/plat-eznps/include/plat/ctop.h
parentARC: [plat-eznps] Update the init sequence of aux regs per cpu. (diff)
downloadlinux-dev-3f9cd874dcc8705b53c03431f0ae46c94e572349.tar.xz
linux-dev-3f9cd874dcc8705b53c03431f0ae46c94e572349.zip
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>
Diffstat (limited to 'arch/arc/plat-eznps/include/plat/ctop.h')
-rw-r--r--arch/arc/plat-eznps/include/plat/ctop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/plat-eznps/include/plat/ctop.h b/arch/arc/plat-eznps/include/plat/ctop.h
index 7729d3d18300..0c7d11022d0f 100644
--- a/arch/arc/plat-eznps/include/plat/ctop.h
+++ b/arch/arc/plat-eznps/include/plat/ctop.h
@@ -39,6 +39,7 @@
#define CTOP_AUX_LOGIC_CORE_ID (CTOP_AUX_BASE + 0x018)
#define CTOP_AUX_MT_CTRL (CTOP_AUX_BASE + 0x020)
#define CTOP_AUX_HW_COMPLY (CTOP_AUX_BASE + 0x024)
+#define CTOP_AUX_DPC (CTOP_AUX_BASE + 0x02C)
#define CTOP_AUX_LPC (CTOP_AUX_BASE + 0x030)
#define CTOP_AUX_EFLAGS (CTOP_AUX_BASE + 0x080)
#define CTOP_AUX_IACK (CTOP_AUX_BASE + 0x088)