[PATCH] Relocatable kdump kernel support in kexec-tools

Simon Horman horms at verge.net.au
Wed Oct 8 02:11:25 EDT 2008


On Tue, Sep 30, 2008 at 06:26:21PM +0530, Mohan Kumar M wrote:
> Relocatable kdump kernel support in kexec-tools
> 
> This patch adds relocatable kernel support for kdump in the kexec-tools
> code. A signature (0xfeed1234) is passed in r6 from panic code to the
> purgatory code through kexec_sequence function. The signature is used to
> differentiate between relocatable kdump kernel and non-kdump kernels.
> 
> The purgatory code compares the signature and sets the __kdump_flag in
> head_64.S by using the offset with respect to next kernel load address.
> During the boot up, kernel code checks __kdump_flag and if it is set, the
> kernel will behave as relocatable kdump kernel.

Thanks Mohan, applied.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en




More information about the kexec mailing list