[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <45586EB5.40409@in.ibm.com>
Date: Mon, 13 Nov 2006 18:40:13 +0530
From: Srinivasa Ds <srinivasa@...ibm.com>
To: anton@....ibm.com, paulus@...ba.org
CC: linux-kernel@...r.kernel.org
Subject: [RFC] [PATCH] cpu_hotplug on IBM JS20 system
Hi
when I tried to hot plug a cpu on IBM bladecentre JS20 system,it dropped
in to xmon. On analyzing the problem,I found out that "self-stop" token
is not exported
to the OS through rtas(Could be verified by looking in to
/proc/device-tree/rtas file).
1:mon> e
cpu 0x1: Vector: 700 (Program Check) at [c00000000ff1bab0]
pc: c00000000001b144: .rtas_stop_self+0x34/0x70
lr: c0000000000439c0: .pSeries_mach_cpu_die+0x34/0x40
sp: c00000000ff1bd30
msr: 8000000000021032
current = 0xc00000000ff050b0
paca = 0xc0000000005ec500
pid = 0, comm = swapper
kernel BUG in rtas_stop_self at arch/powerpc/kernel/rtas.c:829!
===========================================
void rtas_stop_self(void)
{
struct rtas_args *rtas_args = &rtas_stop_self_args;
local_irq_disable();
BUG_ON(rtas_args->token == RTAS_UNKNOWN_SERVICE);
===================================================
#ifdef CONFIG_HOTPLUG_CPU
rtas_stop_self_args.token = rtas_token("stop-self");
#endif /* CONFIG_HOTPLUG_CPU */
#ifdef CONFIG_RTAS_ERROR_LOGGING
rtas_last_error_token = rtas_token("rtas-last-error");
===================================================
Since we are not supported by hardware for cpu hotplug. I have developed
the patch which will disable cpu hotplug on IBM bladecentre JS20. Please
let me know your comments on this please.
Signed-off-by: Srinivasa DS <srinivasa@...ibm.com>
Thanks
Srinivasa DS
View attachment "cpu_hotplug.fix" of type "text/plain" (1840 bytes)
Powered by blists - more mailing lists