aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-10-12 21:17:58 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-16 21:51:28 -0500
commit39ffacb9691a3a4e5fe543787dfe4e671b6979b8 (patch)
tree26259a9021e2ed00cee6dec51606319983a1375f /doc
parent073cbf6bb0a1ceddf3c7974d04608ca10062951e (diff)
downloadskiboot-39ffacb9691a3a4e5fe543787dfe4e671b6979b8.zip
skiboot-39ffacb9691a3a4e5fe543787dfe4e671b6979b8.tar.gz
skiboot-39ffacb9691a3a4e5fe543787dfe4e671b6979b8.tar.bz2
cpu: Add OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED
Add a new CPU reinit flag, "TM Suspend Disabled", which requests that CPUs be configured so that TM (Transactional Memory) suspend mode is disabled. Currently this always fails, because skiboot has no way to query the state. A future hostboot change will add a mechanism for skiboot to determine the status and return an appropriate error code. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/opal-api/opal-reinit-cpus-70.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/opal-api/opal-reinit-cpus-70.rst b/doc/opal-api/opal-reinit-cpus-70.rst
index 0eb6704..bee350d 100644
--- a/doc/opal-api/opal-reinit-cpus-70.rst
+++ b/doc/opal-api/opal-reinit-cpus-70.rst
@@ -17,6 +17,7 @@ Currently, possible flags are: ::
OPAL_REINIT_CPUS_HILE_LE = (1 << 1),
OPAL_REINIT_CPUS_MMU_HASH = (1 << 2),
OPAL_REINIT_CPUS_MMU_RADIX = (1 << 3),
+ OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED = (1 << 4),
};
Extra flags may be added in the future, so other bits *must* be 0.
@@ -30,6 +31,13 @@ are support and other bits *MUST NOT* be set.
On POWER9 CPUs, all options including OPAL_REINIT_CPUS_MMU_HASH and
OPAL_REINIT_CPUS_MMU_RADIX.
+OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+This flag requests that CPUs be configured with TM (Transactional Memory)
+suspend mode disabled. This may only be supported on some CPU versions.
+
+
Returns
-------