• Dave C Boutcher's avatar
    [PATCH] powerpc: special-case ibm,suspend-me RTAS call · 91dc182c
    Dave C Boutcher authored
    Handle the ibm,suspend-me RTAS call specially.  It needs
    to be wrapped in a set of synchronization hypervisor calls
    (H_Join).  When the H_Join calls are made on all CPUs, the
    intent is that only one will return with H_Continue, meaning
    that he is the "last man standing".  That CPU then issues the
    ibm,suspend-me call.  What is interesting, of course, is that
    the CPU running when the rtas syscall is made, may NOT be the
    CPU that ultimately executes the ibm,suspend-me rtas call.
    Signed-off-by: default avatarDave Boutcher <sleddog@us.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    91dc182c
rtas.c 18.4 KB