Re: [PATCH 2/2] powerpc/fsl_booke: enable the relocatable for the kdump kernel

2013-07-02 Thread Scott Wood
On 07/01/2013 10:45:14 PM, Kevin Hao wrote: On Mon, Jul 01, 2013 at 08:00:06PM -0500, Scott Wood wrote: On 06/30/2013 02:35:21 AM, Kevin Hao wrote: On Thu, Jun 27, 2013 at 09:19:06PM -0500, Scott Wood wrote: On 06/26/2013 09:00:34 PM, Kevin Hao wrote: diff --git

Re: [PATCH 2/2] powerpc/fsl_booke: enable the relocatable for the kdump kernel

2013-07-02 Thread Kevin Hao
On Tue, Jul 02, 2013 at 05:41:05PM -0500, Scott Wood wrote: On 07/01/2013 10:45:14 PM, Kevin Hao wrote: On Mon, Jul 01, 2013 at 08:00:06PM -0500, Scott Wood wrote: On 06/30/2013 02:35:21 AM, Kevin Hao wrote: On Thu, Jun 27, 2013 at 09:19:06PM -0500, Scott Wood wrote: On 06/26/2013

Re: [PATCH 2/2] powerpc/fsl_booke: enable the relocatable for the kdump kernel

2013-07-01 Thread Scott Wood
On 06/30/2013 02:35:21 AM, Kevin Hao wrote: On Thu, Jun 27, 2013 at 09:19:06PM -0500, Scott Wood wrote: On 06/26/2013 09:00:34 PM, Kevin Hao wrote: diff --git a/arch/powerpc/include/asm/mmu-book3e.h b/arch/powerpc/include/asm/mmu-book3e.h index 936db36..bf422db 100644 ---

Re: [PATCH 2/2] powerpc/fsl_booke: enable the relocatable for the kdump kernel

2013-07-01 Thread Kevin Hao
On Mon, Jul 01, 2013 at 08:00:06PM -0500, Scott Wood wrote: On 06/30/2013 02:35:21 AM, Kevin Hao wrote: On Thu, Jun 27, 2013 at 09:19:06PM -0500, Scott Wood wrote: On 06/26/2013 09:00:34 PM, Kevin Hao wrote: diff --git a/arch/powerpc/include/asm/mmu-book3e.h

Re: [PATCH 2/2] powerpc/fsl_booke: enable the relocatable for the kdump kernel

2013-06-30 Thread Kevin Hao
On Thu, Jun 27, 2013 at 09:19:06PM -0500, Scott Wood wrote: On 06/26/2013 09:00:34 PM, Kevin Hao wrote: diff --git a/arch/powerpc/include/asm/mmu-book3e.h b/arch/powerpc/include/asm/mmu-book3e.h index 936db36..bf422db 100644 --- a/arch/powerpc/include/asm/mmu-book3e.h +++

Re: [PATCH 2/2] powerpc/fsl_booke: enable the relocatable for the kdump kernel

2013-06-27 Thread Scott Wood
On 06/26/2013 09:00:34 PM, Kevin Hao wrote: diff --git a/arch/powerpc/include/asm/mmu-book3e.h b/arch/powerpc/include/asm/mmu-book3e.h index 936db36..bf422db 100644 --- a/arch/powerpc/include/asm/mmu-book3e.h +++ b/arch/powerpc/include/asm/mmu-book3e.h @@ -214,6 +214,11 @@ #define

[PATCH 2/2] powerpc/fsl_booke: enable the relocatable for the kdump kernel

2013-06-26 Thread Kevin Hao
For a relocatable kdump kernel, we may create a tlb map which is beyond the real memory allocated to the kdump kernel. For example, when the boot kernel reserve 32M memory for the kdump kernel by using 'crashkernel=32M@64M', we will have to create a 256M tlb entry in the kdump kernel. So define