Re: Relocatable kernel for ppc44x

2011-06-15 Thread Scott Wood
On Wed, 15 Jun 2011 20:11:55 +1000 Benjamin Herrenschmidt wrote: > On Wed, 2011-06-15 at 11:43 +0530, Suzuki Poulose wrote: > > On 06/14/11 17:34, Michal Simek wrote: > > > Hi, > > > > > > have someone tried to support RELOCATABLE kernel on ppc44x? > > As Josh, mentioned, I will be working on thi

Re: Relocatable kernel for ppc44x

2011-06-15 Thread Tirumala Marri
On Wed, Jun 15, 2011 at 7:40 AM, Suzuki Poulose wrote: > On 06/15/11 15:41, Benjamin Herrenschmidt wrote: > >> On Wed, 2011-06-15 at 11:43 +0530, Suzuki Poulose wrote: >> >>> On 06/14/11 17:34, Michal Simek wrote: >>> Hi, have someone tried to support RELOCATABLE kernel on ppc44x?

Re: Relocatable kernel for ppc44x

2011-06-15 Thread Suzuki Poulose
On 06/15/11 15:41, Benjamin Herrenschmidt wrote: On Wed, 2011-06-15 at 11:43 +0530, Suzuki Poulose wrote: On 06/14/11 17:34, Michal Simek wrote: Hi, have someone tried to support RELOCATABLE kernel on ppc44x? As Josh, mentioned, I will be working on this. In fact I was trying a couple of patc

RE: Relocatable kernel for ppc44x

2011-06-15 Thread Benjamin Herrenschmidt
On Wed, 2011-06-15 at 10:30 +0100, David Laight wrote: > > The PPC440X currently uses 256M TLB entries to pin the > > lowmem. When we go for a relocatable kernel we have to : > > > > 1) Restrict the kernel load address to be 256M aligned > > > > OR > > > > 2) Use 16M TLB(the next possible TLB p

Re: Relocatable kernel for ppc44x

2011-06-15 Thread Benjamin Herrenschmidt
On Wed, 2011-06-15 at 11:43 +0530, Suzuki Poulose wrote: > On 06/14/11 17:34, Michal Simek wrote: > > Hi, > > > > have someone tried to support RELOCATABLE kernel on ppc44x? > As Josh, mentioned, I will be working on this. In fact I was trying a couple > of > patches towards this on PPC440x. But,

Re: Relocatable kernel for ppc44x

2011-06-15 Thread John Williams
On Wed, Jun 15, 2011 at 11:30 AM, David Laight wrote: > > > The PPC440X currently uses 256M TLB entries to pin the > > lowmem. When we go for a relocatable kernel we have to : > > > > 1) Restrict the kernel load address to be 256M aligned > > > > OR > > > > 2) Use 16M TLB(the next possible TLB pag

RE: Relocatable kernel for ppc44x

2011-06-15 Thread David Laight
> The PPC440X currently uses 256M TLB entries to pin the > lowmem. When we go for a relocatable kernel we have to : > > 1) Restrict the kernel load address to be 256M aligned > > OR > > 2) Use 16M TLB(the next possible TLB page size supported) > entries till the first > 256M and then use the

Re: Relocatable kernel for ppc44x

2011-06-14 Thread Suzuki Poulose
On 06/14/11 17:34, Michal Simek wrote: Hi, have someone tried to support RELOCATABLE kernel on ppc44x? As Josh, mentioned, I will be working on this. In fact I was trying a couple of patches towards this on PPC440x. But, I am stuck in debugging the hang that I am experiencing with the changes.

Re: Relocatable kernel for ppc44x

2011-06-14 Thread Josh Boyer
On Tue, Jun 14, 2011 at 02:04:45PM +0200, Michal Simek wrote: >Hi, > >have someone tried to support RELOCATABLE kernel on ppc44x? Suzuki will be working on this eventually as part of getting kexec/kdump working for 44x. I've CC'd him. josh ___ Linuxppc