[Skiboot] [PATCH 16/28] cpu: Fix problem calling time_wait with lock held

Stewart Smith stewart at linux.vnet.ibm.com
Thu Jul 14 17:18:55 AEST 2016


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> Also make the locking around re-init safer, properly block the
> OS from restarting a thread that was caught for re-init.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  core/cpu.c    | 24 +++++++++++++++++-------
>  include/cpu.h |  1 +
>  2 files changed, 18 insertions(+), 7 deletions(-)

Series up to here merged as of ee8d135aa92de252d3f79034f829e3579e6a122f.

I've also documented OPAL_REINIT_CPUS (and changed the slw_reinit() to
only be called on P8) and documented OPAL_RETURN_CPU.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list