diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-03-15 20:58:51 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-03-16 17:18:01 +1100 |
commit | 7980f5e49b4e43152b02cb60ba4742b10839c3f4 (patch) | |
tree | ea80dd83bb1f28e679be63131428bd1743c20d7c /include | |
parent | d569e3a93767b85bc03cca082ca9b3dca351c988 (diff) | |
download | talos-skiboot-7980f5e49b4e43152b02cb60ba4742b10839c3f4.tar.gz talos-skiboot-7980f5e49b4e43152b02cb60ba4742b10839c3f4.zip |
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/opal-api.h b/include/opal-api.h index b8140601..6adb564d 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, |