Skip to content

IA64 kdump: MCA handling

Jay Lan linux-ia64 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2IA64 kdump: Machine vector code for new SAL callarch/ia64/kernel/machine_kexec.c arch/ia64/sn/kernel/setup.c include/asm-ia64/machvec.h +2 more+29 -00 replies
2/2IA64 kdump: MCA notify_die eventsarch/ia64/kernel/crash.c arch/ia64/kernel/mca.c+30 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] IA64 kdump: MCA handling

This patchset is to handle MCA notify_die events on IA64.

When MCA occurs, errors are set in the PROM. If these errors are not reset, the PROM would restart the system at some point and thus OS is not able to kexec the kdump kernel. To take care of this situation, a new machine vector is needed to inform PROM that we are about to start a kdump kernel. The SN code for this machine vector will issue a SAL call.

This patchset includes two parts.

1/2 The first one is to add a machine vector notifying
the platform-specific code that a kexec is about to occur and the related SN code.
2/2 The second part is to add MCA notify_die events handling.

There is a concern that if there is a hardware failure which cause the MCA, the second kernel may encounter the same MCA. That is possible. However, from past experience on IA64 using LKCD, dumps are successful after most MCAs. There is no guarantee, of course.

[Jack Steiner wrote:]
IA64, at least on the SN platforms, reports MCAs for many problems that are actually software bugs. Examples include failures like references to non-existant memory, protected memory, etc. A crash dump should work ok after these types of MCAs because the crashdump kernel will usually not reference the same bad addresses. This (at least on SN) is the most common cause of a MCA with the exception of MCAs caused by double bit memory errors. Dumps after double bit memory errors are usually successful because the bad page is usually not part of the dump.

- Jay Lan

Patches against 2.6.18, apply on top of kexec-kdump-ia64-2.6.18.patch and Fix-OS_INIT-handle-IA64 patch from Zou Nan hai.