[Skiboot] [PATCH] cpu: Add OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED

Stewart Smith stewart at linux.vnet.ibm.com
Wed Oct 18 08:57:55 AEDT 2017


Michael Ellerman <mpe at ellerman.id.au> writes:
> 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 at ellerman.id.au>
> ---
>  core/cpu.c                           | 10 ++++++++++
>  doc/opal-api/opal-reinit-cpus-70.rst |  8 ++++++++
>  include/opal-api.h                   |  2 ++
>  3 files changed, 20 insertions(+)

Thanks, merged to master as of 39ffacb9691a3a4e5fe543787dfe4e671b6979b8
and in 5.9-rc3.

If we end up using it or not, at least we have the bit defined and can
jump off that cliff later.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list