aboutsummaryrefslogtreecommitdiff
path: root/doc/opal-api
diff options
context:
space:
mode:
authorNageswara R Sastry <rnsastry@linux.vnet.ibm.com>2016-08-11 16:47:38 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-30 14:38:51 +1000
commitc293edaeeb1c73c8dfe25fefb4fa5b49aa24457e (patch)
tree6e099ed61c379402d6e33659d097ed964360af7a /doc/opal-api
parent9ffc4ee8bb7c2dfd6457bb13d3487c322285b50e (diff)
downloadskiboot-c293edaeeb1c73c8dfe25fefb4fa5b49aa24457e.zip
skiboot-c293edaeeb1c73c8dfe25fefb4fa5b49aa24457e.tar.gz
skiboot-c293edaeeb1c73c8dfe25fefb4fa5b49aa24457e.tar.bz2
doc/opal-api: Documentation for OPAL_GET_XIVE_SOURCE
Documentation for OPAL_GET_XIVE_SOURCE 38 Signed-off-by: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com> Reviewed-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc/opal-api')
-rw-r--r--doc/opal-api/opal-get-xive-source-38.rst32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/opal-api/opal-get-xive-source-38.rst b/doc/opal-api/opal-get-xive-source-38.rst
new file mode 100644
index 0000000..2989c80
--- /dev/null
+++ b/doc/opal-api/opal-get-xive-source-38.rst
@@ -0,0 +1,32 @@
+OPAL_GET_XIVE_SOURCE
+====================
+::
+
+ This function validates the given ``xive_num`` and sets the
+ ``interrupt_source_number``. Then returns the proper return code.
+
+Parameters
+----------
+
+``phb_id``
+ The ``phb_id`` parameter is the value from the PHB node ``ibm,opal-phbid``
+ property.
+
+``xive_num``
+ The ``xive_num`` is the index of an XIVE that corresponds to a particular
+ interrupt.
+
+``interrupt_source_number``
+ The ``interrupt_source_number`` is a value formed by the combination of the
+ device tree MSI property base BUID and ``xive_num``
+
+Return Codes
+------------
+``OPAL_PARAMETER``
+ The indicated ``phb_id`` not found
+
+``OPAL_UNSUPPORTED``
+ Presence retrieval not supported on the ``phb_id``
+
+``OPAL_SUCCESS``
+ Indicates Success!