]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: special-case ibm,suspend-me RTAS call
authorDave C Boutcher <sleddog@us.ibm.com>
Sat, 14 Jan 2006 00:39:24 +0000 (18:39 -0600)
committerPaul Mackerras <paulus@samba.org>
Sat, 14 Jan 2006 01:04:25 +0000 (12:04 +1100)
commit91dc182ca6e25ee8b648ed2fb2a41859ead34903
treed668133a2a3abd8345a5a2509c2da185dd180af8
parent91f62a2491f45b5d46ebe5aca1fac3477355c9c1
[PATCH] powerpc: special-case ibm,suspend-me RTAS call

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: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas.c