aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-11-21 20:32:23 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-28 20:39:07 -0600
commitd7e26801905f40d807ce60bc99ed511e91549f1e (patch)
tree856716595f019ad0312f2902973324193f960212 /doc
parent9ce34f369ce2412cb68052717e457d1e78eedb75 (diff)
downloadskiboot-d7e26801905f40d807ce60bc99ed511e91549f1e.zip
skiboot-d7e26801905f40d807ce60bc99ed511e91549f1e.tar.gz
skiboot-d7e26801905f40d807ce60bc99ed511e91549f1e.tar.bz2
xive: When disabling an EQ, wipe all of its settings
This avoids having configuration bits left over Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/xive.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/xive.rst b/doc/xive.rst
index c4f4950..85fe111 100644
--- a/doc/xive.rst
+++ b/doc/xive.rst
@@ -565,14 +565,18 @@ and priority and adjust the behaviour of the queue via flags.
.. note:: This call will reset the generation bit to 1 and the queue
production pointer to 0.
- .. note:: The PQ bits of the escalation interrupts will be set to 00
- when OPAL_XIVE_EQ_ENABLED is set, and to 01 (masked) when
- disabling it.
+ .. note:: The PQ bits of the escalation interrupts and of the queue
+ notification will be set to 00 when OPAL_XIVE_EQ_ENABLED is
+ set, and to 01 (masked) when disabling it.
.. note:: This must be called at least once on a queue with the flag
OPAL_XIVE_EQ_ENABLED in order to enable it after it has been
allocated (along with its owner VP).
+ .. note:: When the queue is disabled (flag OPAL_XIVE_EQ_ENABLED cleared)
+ all other flags and arguments are ignored and the queue
+ configuration is wiped.
+
OPAL_XIVE_DONATE_PAGE
^^^^^^^^^^^^^^^^^^^^^
.. code-block:: c