aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-05-31 16:13:48 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:20:00 +1000
commit05cf82f958f27971a39ddd1f229c448166b390fc (patch)
treec06203785f86b157d6468f92d2d3e798fd88a6e6 /doc
parentcdc7a00a054132d0a14cb2ee3f77d77fd255bf46 (diff)
downloadskiboot-05cf82f958f27971a39ddd1f229c448166b390fc.zip
skiboot-05cf82f958f27971a39ddd1f229c448166b390fc.tar.gz
skiboot-05cf82f958f27971a39ddd1f229c448166b390fc.tar.bz2
doc: skeleton OPAL_PCI_EEH_FREEZE_SET docs
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/opal-api/opal-pci-eeh-freeze-set-97.rst29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/opal-api/opal-pci-eeh-freeze-set-97.rst b/doc/opal-api/opal-pci-eeh-freeze-set-97.rst
new file mode 100644
index 0000000..b601ef6
--- /dev/null
+++ b/doc/opal-api/opal-pci-eeh-freeze-set-97.rst
@@ -0,0 +1,29 @@
+.. _OPAL_PCI_EEH_FREEZE_SET:
+
+OPAL_PCI_EEH_FREEZE_SET
+=======================
+
+.. code-block:: c
+
+ #define OPAL_PCI_EEH_FREEZE_SET 97
+
+ enum OpalEehFreezeActionToken {
+ OPAL_EEH_ACTION_CLEAR_FREEZE_MMIO = 1,
+ OPAL_EEH_ACTION_CLEAR_FREEZE_DMA = 2,
+ OPAL_EEH_ACTION_CLEAR_FREEZE_ALL = 3,
+
+ OPAL_EEH_ACTION_SET_FREEZE_MMIO = 1,
+ OPAL_EEH_ACTION_SET_FREEZE_DMA = 2,
+ OPAL_EEH_ACTION_SET_FREEZE_ALL = 3
+ };
+
+ int64_t opal_pci_eeh_freeze_set(uint64_t phb_id, uint64_t pe_number, uint64_t eeh_action_token);
+
+Returns
+-------
+:ref:`OPAL_PARAMETER`
+ Invalid parameter.
+:ref:`OPAL_UNSUPPORTED`
+ Unsupported operation
+:ref:`OPAL_HARDWARE`
+ Hardware in a bad state.