Re: [PATCH] Support for relocatable kdump kernel

2008-10-21 Thread Milton Miller
On Wed Oct 22 at 14:38:10 EST in 2008, Michael Ellerman wrote: This adds relocatable kernel support for kdump. With this one can use the same regular kernel to capture the kdump. A signature (0xfeed1234) is passed in r6 from panic code to the next kernel through kexec_sequence and purgatory co

[PATCH] Support for relocatable kdump kernel

2008-10-21 Thread Michael Ellerman
From: Mohan Kumar M <[EMAIL PROTECTED]> This adds relocatable kernel support for kdump. With this one can use the same regular kernel to capture the kdump. A signature (0xfeed1234) is passed in r6 from panic code to the next kernel through kexec_sequence and purgatory code. The signature is used t

Re: [PATCH] Support for relocatable kdump kernel

2008-10-21 Thread Mohan Kumar M
Michael Ellerman wrote: Does it? I see CONFIG_CRASH_DUMP depending on PPC64, so there is no 32-bit kdump possible. Or is someone working on it out-of-tree? IIUC Anton Vorontsov is working on the 32-bit kdump kernel support. Do you expect a function to do the checking in iommu.c? You'd use

Re: [PATCH] Support for relocatable kdump kernel

2008-10-20 Thread Michael Ellerman
On Mon, 2008-10-20 at 15:04 +0530, Mohan Kumar M wrote: > Michael Ellerman wrote: > >>> #ifdef CONFIG_CRASH_DUMP > >>> +#ifdef CONFIG_RELOCATABLE > >>> + > >>> +static inline void reserve_kdump_trampoline(void) { ; } > >>> +static inline void setup_kdump_trampoline(void) { ; } > >>> + > >>> +#else

Re: [PATCH] Support for relocatable kdump kernel

2008-10-20 Thread Mohan Kumar M
Michael Ellerman wrote: Forwarded Message The purgatory code compares the signature and sets the __kdump_flag in head_64.S. During the boot up, kernel code checks __kdump_flag and if it is set, the kernel will behave as relocatable kdump kernel. This kernel will boot at the add

Re: [PATCH] Support for relocatable kdump kernel

2008-10-19 Thread Michael Ellerman
> > Forwarded Message > > From: Mohan Kumar M <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Cc: linuxppc-dev@ozlabs.org, [EMAIL PROTECTED] > > Subject: [PATCH] Support for relocatable kdump kernel > > Date: Mon, 13 Oct 2008 05:04

Re: [PATCH] Support for relocatable kdump kernel

2008-10-16 Thread Mohan Kumar M
Paul Mackerras wrote: Mohan Kumar M writes: Support for relocatable kdump kernel @@ -1401,9 +1414,21 @@ _STATIC(__after_prom_start) beq 9f /* have already put us at zero */ li r6,0x100/* Start offset, the first 0x100 */

Re: [PATCH] Support for relocatable kdump kernel

2008-10-12 Thread Paul Mackerras
Mohan Kumar M writes: > Support for relocatable kdump kernel > @@ -1401,9 +1414,21 @@ _STATIC(__after_prom_start) > beq 9f /* have already put us at zero */ > li r6,0x100/* Start offset, the first 0x100 */ >

[PATCH] Support for relocatable kdump kernel

2008-10-12 Thread Mohan Kumar M
Support for relocatable kdump kernel This patch adds relocatable kernel support for kdump. With this one can use the same regular kernel to capture the kdump. A signature (0xfeed1234) is passed in r8 from panic code to the next kernel through kexec_sequence and purgatory code. The signature is use

Re: [PATCH] Support for relocatable kdump kernel

2008-10-09 Thread Mohan Kumar M
Hi Paul, Thank you for the review. I will implement the changes you suggested and send the patches. Regards, Mohan. Mohan Kumar M writes: Support for relocatable kdump kernel [snip] @@ -1384,7 +1392,15 @@ _STATIC(__after_prom_start) /* process relocations for the final address

Re: [PATCH] Support for relocatable kdump kernel

2008-10-08 Thread Paul Mackerras
Mohan Kumar M writes: > Support for relocatable kdump kernel [snip] > @@ -1384,7 +1392,15 @@ _STATIC(__after_prom_start) > /* process relocations for the final address of the kernel */ > lis r25,[EMAIL PROTECTED] /* compute virtual base of kernel */ > sldir25,r25,32 >

[PATCH] Support for relocatable kdump kernel

2008-10-01 Thread Mohan Kumar M
Support for relocatable kdump kernel This patch adds relocatable kernel support for kdump. With this one can use the same regular kernel to capture the kdump. A signature (0xfeed1234) is passed in r8 from panic code to the next kernel through kexec_sequence and purgatory code. The signature is use