[PATCH 2/3] powerpc prod all processors after ibm,suspend-me

Dave C Boutcher boutcher at cs.umn.edu
Fri Feb 3 18:18:39 EST 2006


We need to prod everyone here since this is the only CPU that is
guaranteed to be running after the ibm,suspend-me RTAS call returns.

Signed-off-by: Dave Boutcher <sleddog at us.ibm.com>

---

 arch/powerpc/kernel/rtas.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

9d615a50c077f82926732c8b9f366bebe50a4660
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index 107bd86..4038ac1 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -565,6 +565,7 @@ static int ibm_suspend_me_token = RTAS_U
 #ifdef CONFIG_PPC_PSERIES
 static void rtas_percpu_suspend_me(void *info)
 {
+	int i;
 	long rc;
 	long flags;
 	struct rtas_suspend_me_data *data =
@@ -589,6 +590,8 @@ static void rtas_percpu_suspend_me(void 
 		data->waiting = 0;
 		data->args->args[data->args->nargs] =
 			rtas_call(ibm_suspend_me_token, 0, 1, NULL);
+		for_each_cpu(i)
+			plpar_hcall_norets(H_PROD,i);
 	} else {
 		data->waiting = -EBUSY;
 		printk(KERN_ERR "Error on H_Join hypervisor call\n");
-- 
1.1.4.g7310




More information about the Linuxppc64-dev mailing list