Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-08 Thread Kevin Hao
On Mon, Jul 08, 2013 at 11:48:25AM -0500, Scott Wood wrote: > On 07/03/2013 08:08:18 PM, Kevin Hao wrote: > >On Wed, Jul 03, 2013 at 03:38:27PM -0500, Scott Wood wrote: > >> On 07/02/2013 10:00:44 PM, Kevin Hao wrote: > >> >On Tue, Jul 02, 2013 at 05:39:18PM -0500, Scott Wood wrote: > >> >> How muc

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-08 Thread Scott Wood
On 07/03/2013 08:08:18 PM, Kevin Hao wrote: On Wed, Jul 03, 2013 at 03:38:27PM -0500, Scott Wood wrote: > On 07/02/2013 10:00:44 PM, Kevin Hao wrote: > >On Tue, Jul 02, 2013 at 05:39:18PM -0500, Scott Wood wrote: > >> How much overhead (space and time) is this really? > > > >The following is the

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-03 Thread Kevin Hao
On Wed, Jul 03, 2013 at 03:38:27PM -0500, Scott Wood wrote: > On 07/02/2013 10:00:44 PM, Kevin Hao wrote: > >On Tue, Jul 02, 2013 at 05:39:18PM -0500, Scott Wood wrote: > >> How much overhead (space and time) is this really? > > > >The following is the additional sections when relocatable is > >ena

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-03 Thread Scott Wood
On 07/02/2013 10:00:44 PM, Kevin Hao wrote: On Tue, Jul 02, 2013 at 05:39:18PM -0500, Scott Wood wrote: > How much overhead (space and time) is this really? The following is the additional sections when relocatable is enabled for a p2020rdb board. sectionsize .dynsym 07

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-02 Thread Kevin Hao
On Tue, Jul 02, 2013 at 05:39:18PM -0500, Scott Wood wrote: > On 07/01/2013 10:24:47 PM, Kevin Hao wrote: > >On Mon, Jul 01, 2013 at 07:30:45PM -0500, Scott Wood wrote: > >> On 06/30/2013 02:33:10 AM, Kevin Hao wrote: > >> >On Thu, Jun 27, 2013 at 08:47:27PM -0500, Scott Wood wrote: > >> >> On 06/2

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-02 Thread Scott Wood
On 07/01/2013 10:24:47 PM, Kevin Hao wrote: On Mon, Jul 01, 2013 at 07:30:45PM -0500, Scott Wood wrote: > On 06/30/2013 02:33:10 AM, Kevin Hao wrote: > >On Thu, Jun 27, 2013 at 08:47:27PM -0500, Scott Wood wrote: > >> On 06/27/2013 08:36:37 PM, Kevin Hao wrote: > >> >On Thu, Jun 27, 2013 at 02:58

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-01 Thread Kevin Hao
On Mon, Jul 01, 2013 at 07:30:45PM -0500, Scott Wood wrote: > On 06/30/2013 02:33:10 AM, Kevin Hao wrote: > >On Thu, Jun 27, 2013 at 08:47:27PM -0500, Scott Wood wrote: > >> On 06/27/2013 08:36:37 PM, Kevin Hao wrote: > >> >On Thu, Jun 27, 2013 at 02:58:34PM -0500, Scott Wood wrote: > >> >> On 06/2

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-07-01 Thread Scott Wood
On 06/30/2013 02:33:10 AM, Kevin Hao wrote: On Thu, Jun 27, 2013 at 08:47:27PM -0500, Scott Wood wrote: > On 06/27/2013 08:36:37 PM, Kevin Hao wrote: > >On Thu, Jun 27, 2013 at 02:58:34PM -0500, Scott Wood wrote: > >> On 06/26/2013 09:00:33 PM, Kevin Hao wrote: > >> >This is based on the codes in

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-06-30 Thread Kevin Hao
On Thu, Jun 27, 2013 at 08:52:20PM -0500, Scott Wood wrote: > On 06/27/2013 08:36:37 PM, Kevin Hao wrote: > >On Thu, Jun 27, 2013 at 02:58:34PM -0500, Scott Wood wrote: > >> On 06/26/2013 09:00:33 PM, Kevin Hao wrote: > >> >This is based on the codes in the head_44x.S. Since we always > >align to >

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-06-30 Thread Kevin Hao
On Thu, Jun 27, 2013 at 08:47:27PM -0500, Scott Wood wrote: > On 06/27/2013 08:36:37 PM, Kevin Hao wrote: > >On Thu, Jun 27, 2013 at 02:58:34PM -0500, Scott Wood wrote: > >> On 06/26/2013 09:00:33 PM, Kevin Hao wrote: > >> >This is based on the codes in the head_44x.S. Since we always > >align to >

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-06-27 Thread Scott Wood
On 06/27/2013 08:36:37 PM, Kevin Hao wrote: On Thu, Jun 27, 2013 at 02:58:34PM -0500, Scott Wood wrote: > On 06/26/2013 09:00:33 PM, Kevin Hao wrote: > >This is based on the codes in the head_44x.S. Since we always align to > >256M before mapping the PAGE_OFFSET for a relocatable kernel, we a

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-06-27 Thread Scott Wood
On 06/27/2013 08:36:37 PM, Kevin Hao wrote: On Thu, Jun 27, 2013 at 02:58:34PM -0500, Scott Wood wrote: > On 06/26/2013 09:00:33 PM, Kevin Hao wrote: > >This is based on the codes in the head_44x.S. Since we always align to > >256M before mapping the PAGE_OFFSET for a relocatable kernel, we a

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-06-27 Thread Kevin Hao
On Thu, Jun 27, 2013 at 02:58:34PM -0500, Scott Wood wrote: > On 06/26/2013 09:00:33 PM, Kevin Hao wrote: > >This is based on the codes in the head_44x.S. Since we always align to > >256M before mapping the PAGE_OFFSET for a relocatable kernel, we also > >change the init tlb map to 256M size. > >

Re: [PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-06-27 Thread Scott Wood
On 06/26/2013 09:00:33 PM, Kevin Hao wrote: This is based on the codes in the head_44x.S. Since we always align to 256M before mapping the PAGE_OFFSET for a relocatable kernel, we also change the init tlb map to 256M size. Why 256M? This tightens the alignment requirement for dynamic memstart.

[PATCH 1/2] powerpc: enable the relocatable support for the fsl booke 32bit kernel

2013-06-26 Thread Kevin Hao
This is based on the codes in the head_44x.S. Since we always align to 256M before mapping the PAGE_OFFSET for a relocatable kernel, we also change the init tlb map to 256M size. Signed-off-by: Kevin Hao --- arch/powerpc/Kconfig | 2 +- arch/powerpc/kernel/fsl_booke_ent