summaryrefslogtreecommitdiffstats
path: root/include/xive.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-12-22 14:16:19 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-05 15:27:43 +1100
commit6466c77715c04e6758d18f3fe86a972d9aadd372 (patch)
treeef6a0278cae3683f2cdd140b2214d44c0a13531d /include/xive.h
parentac6ecde9e26b354edf907a9229b17d952ff09950 (diff)
downloadblackbird-skiboot-6466c77715c04e6758d18f3fe86a972d9aadd372.tar.gz
blackbird-skiboot-6466c77715c04e6758d18f3fe86a972d9aadd372.zip
xive: Add opal_xive_get_irq_info()
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, 4 insertions, 3 deletions
diff --git a/include/xive.h b/include/xive.h
index e35da6d8..ba486019 100644
--- a/include/xive.h
+++ b/include/xive.h
@@ -374,9 +374,10 @@ uint32_t xive_alloc_ipi_irqs(uint32_t chip_id, uint32_t count, uint32_t align);
uint64_t xive_get_notify_port(uint32_t chip_id, uint32_t ent);
uint32_t xive_get_notify_base(uint32_t girq);
-#define XIVE_SRC_EOI_PAGE1 0x00000001 /* EOI and trig. separate */
-#define XIVE_SRC_STORE_EOI 0x00000002 /* Store EOI (auto trigger) */
-#define XIVE_SRC_LSI 0x00000004 /* No Q bit, no retrigger */
+/* Old definitions, superseeded by OPAL_* ones */
+#define XIVE_SRC_EOI_PAGE1 OPAL_XIVE_IRQ_TRIGGER_PAGE
+#define XIVE_SRC_STORE_EOI OPAL_XIVE_IRQ_STORE_EOI
+#define XIVE_SRC_LSI OPAL_XIVE_IRQ_LSI
struct irq_source_ops;
void xive_register_hw_source(uint32_t base, uint32_t count, uint32_t shift,
OpenPOWER on IntegriCloud