aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-03-15 20:58:51 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-03-16 17:18:01 +1100
commit7980f5e49b4e43152b02cb60ba4742b10839c3f4 (patch)
treeea80dd83bb1f28e679be63131428bd1743c20d7c /include
parentd569e3a93767b85bc03cca082ca9b3dca351c988 (diff)
downloadskiboot-7980f5e49b4e43152b02cb60ba4742b10839c3f4.zip
skiboot-7980f5e49b4e43152b02cb60ba4742b10839c3f4.tar.gz
skiboot-7980f5e49b4e43152b02cb60ba4742b10839c3f4.tar.bz2
xive: Add opal_xive_sync() to sync IRQ sources and queues
For now support two sync options, source and target queue, we'll add sync'ing the presentation layer later. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal-api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/opal-api.h b/include/opal-api.h
index b814060..6adb564 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -1128,6 +1128,13 @@ enum {
OPAL_XIVE_ANY_CHIP = 0xffffffff,
};
+/* Xive sync options */
+enum {
+ /* This bits are cumulative, arg is a girq */
+ XIVE_SYNC_EAS = 0x00000001, /* Sync irq source */
+ XIVE_SYNC_QUEUE = 0x00000002, /* Sync irq target */
+};
+
/* Dump options */
enum {
XIVE_DUMP_TM_HYP = 0,