aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/mca.c
diff options
context:
space:
mode:
authorJay Lan <jlan@sgi.com>2007-04-03 20:53:42 -0400
committerTony Luck <tony.luck@intel.com>2007-05-14 18:55:39 -0400
commit311f594dec9b0c8693ec7df75b82c251b6b0e7c2 (patch)
tree1cd73b7df869c0a8c274e16b818454bed532d052 /arch/ia64/kernel/mca.c
parentae67e498a54259364f7211e10d9834575b340b21 (diff)
[IA64] kdump on INIT needs multi-nodes sync-up (v.2)
The current implementation of kdump on INIT events would enter kdump processing on DIE_INIT_MONARCH_ENTER and DIE_INIT_SLAVE_ENTER events. Thus, the monarch cpu would go ahead and boot up the kdump On SN shub2 systems, this out-of-sync situation causes some slave cpus on different nodes to enter POD. This patch moves kdump entry points to DIE_INIT_MONARCH_LEAVE and DIE_INIT_SLAVE_LEAVE. It also sets kdump_in_progress variable in the DIE_INIT_MONARCH_PROCESS event to not dump all active stack traces to the console in the case of kdump. I have tested this patch on an SN machine and a HP RX2600. Signed-off-by: Jay Lan <jlan@sgi.com> Acked-by: Zou Nan hai <nanhai.zou@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/mca.c')
-rw-r--r--arch/ia64/kernel/mca.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c
index 26814de6c29a..93e82e4d99d6 100644
--- a/arch/ia64/kernel/mca.c
+++ b/arch/ia64/kernel/mca.c
@@ -1477,6 +1477,10 @@ default_monarch_init_process(struct notifier_block *self, unsigned long val, voi
1477 struct task_struct *g, *t; 1477 struct task_struct *g, *t;
1478 if (val != DIE_INIT_MONARCH_PROCESS) 1478 if (val != DIE_INIT_MONARCH_PROCESS)
1479 return NOTIFY_DONE; 1479 return NOTIFY_DONE;
1480#ifdef CONFIG_KEXEC
1481 if (atomic_read(&kdump_in_progress))
1482 return NOTIFY_DONE;
1483#endif
1480 1484
1481 /* 1485 /*
1482 * FIXME: mlogbuf will brim over with INIT stack dumps. 1486 * FIXME: mlogbuf will brim over with INIT stack dumps.