aboutsummaryrefslogtreecommitdiff
path: root/include/xive.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-03-09 11:45:37 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-09 13:36:35 +1100
commit47a90f165b105434e5a3ef15b00ad3a7867a991b (patch)
tree21f81ea22b4dc30faa265e3a58c17a10d699d5d6 /include/xive.h
parent790ad9fe07a1ba2b55293238e21872ea6d8c740a (diff)
downloadskiboot-47a90f165b105434e5a3ef15b00ad3a7867a991b.zip
skiboot-47a90f165b105434e5a3ef15b00ad3a7867a991b.tar.gz
skiboot-47a90f165b105434e5a3ef15b00ad3a7867a991b.tar.bz2
xive: Sync HW when moving interrupts around
For now sync all queues, ensure any interrupt routed at the old queue has reached memory. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/xive.h')
-rw-r--r--include/xive.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xive.h b/include/xive.h
index 58c4da9..06aad8b 100644
--- a/include/xive.h
+++ b/include/xive.h
@@ -180,6 +180,13 @@
#define X_VC_EQC_SCRUB_MASK 0x213
#define VC_EQC_SCRUB_MASK 0x918
#define X_VC_EQC_CWATCH_SPEC 0x215
+#define VC_EQC_CONFIG 0x920
+#define X_VC_EQC_CONFIG 0x214
+#define VC_EQC_CONF_SYNC_IPI PPC_BIT(32)
+#define VC_EQC_CONF_SYNC_HW PPC_BIT(33)
+#define VC_EQC_CONF_SYNC_ESC1 PPC_BIT(34)
+#define VC_EQC_CONF_SYNC_ESC2 PPC_BIT(35)
+#define VC_EQC_CONF_SYNC_REDI PPC_BIT(36)
#define VC_EQC_CWATCH_SPEC 0x928
#define VC_EQC_CWATCH_CONFLICT PPC_BIT(0)
#define VC_EQC_CWATCH_FULL PPC_BIT(8)