[PATCH] sh: Add vmlinux crash dump support

Simon Horman horms at verge.net.au
Wed Sep 3 22:03:14 EDT 2008


On Wed, Sep 03, 2008 at 08:38:11PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm at igel.co.jp>
> 
> This patch adds SuperH crash dump support. The vmlinux loader is modified
> with crash dump hooks as on other architectures. SuperH does not need any
> backup region, so only the elf header is allocated from the top of the
> reserved memory window. The actual size of the memory window is passed
> to the secondary kernel on the command line using "mem=".
> 
> The secondary kernel must be configured to match the reserved memory
> window, change kernel parameters CONFIG_MEMORY_START and CONFIG_MEMORY_SIZE.
> 
> Linux-2.6.27 should be usable as primary kernel on SuperH, later kernel
> versions are needed to fully support secondary kernel /proc/vmcore.

Hi Magnus,

this looks ok to me. Has Paul or someone else reviewed it?



More information about the kexec mailing list