aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-11-14 13:06:14 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-15 15:06:02 +1100
commitbd4eaedc2dda6e7b365eb5e104c07c5d114528e6 (patch)
tree6f2b4faa02d5d3b483de26b796f026368412bb95 /include
parent5ca6fcd9103008472dcb04e87a469e11b4443124 (diff)
downloadskiboot-bd4eaedc2dda6e7b365eb5e104c07c5d114528e6.zip
skiboot-bd4eaedc2dda6e7b365eb5e104c07c5d114528e6.tar.gz
skiboot-bd4eaedc2dda6e7b365eb5e104c07c5d114528e6.tar.bz2
xive: Add helper to retrieve an IPI trigger port
To be used by such things as VAS 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/xive.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xive.h b/include/xive.h
index 775ddd7..367daec 100644
--- a/include/xive.h
+++ b/include/xive.h
@@ -382,4 +382,9 @@ void xive_register_source(uint32_t base, uint32_t count, uint32_t shift,
void xive_cpu_callin(struct cpu_thread *cpu);
+/* Get the trigger page address for an interrupt allocated with
+ * xive_alloc_ipi_irqs()
+ */
+void *xive_get_trigger_port(uint32_t girq);
+
#endif /* __XIVE_H__ */