From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hidetoshi Seto Date: Thu, 09 Jul 2009 07:02:11 +0000 Subject: [PATCH v2 0/7] Patches for kdump vs. INIT Message-Id: <4A5595F3.2050609@jp.fujitsu.com> List-Id: References: <4A39E247.4030908@jp.fujitsu.com> In-Reply-To: <4A39E247.4030908@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vivek Goyal , Haren Myneni , kexec@lists.infradead.org, "Luck, Tony" , "Yu, Fenghua" Hi all, Here is the updated version: - Better descriptions with justifiable reasons - Add comments to point where the mask is removed - Move extern to header file - Minor fix for style, typo - No changes in logic Thanks, H.Seto = Hidetoshi Seto (7): ia64, kdump: Mask MCA/INIT on frozen cpus ia64, kexec: Make INIT safe while transition to kdump/kexec kernel ia64, kexec: Unregister MCA handler before kexec ia64, kdump: Don't return APs to SAL from kdump ia64, kdump: Mask INIT first in panic-kdump path ia64, kdump: Try INIT regardless of kdump_on_init ia64, kdump: Short path to freeze CPUs arch/ia64/include/asm/mca.h | 2 + arch/ia64/kernel/crash.c | 83 ++++++++++++++++++++++++----------- arch/ia64/kernel/head.S | 2 +- arch/ia64/kernel/machine_kexec.c | 15 ++++++ arch/ia64/kernel/mca.c | 15 ++++++- arch/ia64/kernel/mca_asm.S | 47 ++++++++++++++++++++ arch/ia64/kernel/relocate_kernel.S | 2 +- 7 files changed, 136 insertions(+), 30 deletions(-) Hidetoshi Seto wrote: > Hi Tony-san, and kdump folks, > > I got some trouble on kdump on IPF with INIT, and my investigation > proves there are some bugs and races in startup of kdump. > Here are fixes based on .30, for issues I found. > > Since it must be serious problem for (likely big) IPF servers if we > could fail to retrieve crashdump via kdump, so I believe these patches > should be applied asap. > > > Thanks, > H.Seto > > => > Hidetoshi Seto (7): > ia64, kdump: Mask MCA/INIT on freezing cpus > ia64, kexec: Make INIT safe while kdump/kexec > ia64, kexec: Unregister MCA handler before kexec > ia64, kdump: Don't offline APs > ia64, kdump: Mask INIT first in panic-kdump path > ia64, kdump: Try INIT regardless of kdump_on_init > ia64, kdump: Short path to freeze CPUs > > arch/ia64/kernel/crash.c | 85 ++++++++++++++++++++++++++------------ > arch/ia64/kernel/machine_kexec.c | 17 ++++++++ > arch/ia64/kernel/mca.c | 15 ++++++- > arch/ia64/kernel/mca_asm.S | 47 +++++++++++++++++++++ > 4 files changed, 136 insertions(+), 28 deletions(-)