Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-11 Thread Hollis Blanchard
On Tue, 2008-11-11 at 08:19 -0500, Josh Boyer wrote: > On Fri, Oct 31, 2008 at 06:23:28PM -0500, Hollis Blanchard wrote: > >On Wed, Oct 22, 2008 at 9:28 AM, Christian Ehrhardt > ><[EMAIL PROTECTED]> wrote: > >> Hi Ilya, > >> I just tried your patch on my 440 board because it would help us in our >

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-11 Thread Josh Boyer
On Fri, Oct 31, 2008 at 06:23:28PM -0500, Hollis Blanchard wrote: >On Wed, Oct 22, 2008 at 9:28 AM, Christian Ehrhardt ><[EMAIL PROTECTED]> wrote: >> Hi Ilya, >> I just tried your patch on my 440 board because it would help us in our >> environment. >> Unfortunately I run into a bug on early boot (

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-05 Thread David Gibson
On Wed, Nov 05, 2008 at 11:33:28AM -0600, Hollis Blanchard wrote: > On Mon, 2008-11-03 at 15:00 -0500, Josh Boyer wrote: > > On Mon, 03 Nov 2008 13:55:21 -0600 > > Hollis Blanchard <[EMAIL PROTECTED]> wrote: > > > > > On Mon, 2008-11-03 at 11:43 +1100, Benjamin Herrenschmidt wrote: > > > > > Cropp

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-05 Thread Hollis Blanchard
On Mon, 2008-11-03 at 15:00 -0500, Josh Boyer wrote: > On Mon, 03 Nov 2008 13:55:21 -0600 > Hollis Blanchard <[EMAIL PROTECTED]> wrote: > > > On Mon, 2008-11-03 at 11:43 +1100, Benjamin Herrenschmidt wrote: > > > > Cropping the size of the memory node. That was simplest to do from the > > > > cub

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-03 Thread Benjamin Herrenschmidt
On Mon, 2008-11-03 at 06:26 -0500, Josh Boyer wrote: > On Mon, 03 Nov 2008 11:43:54 +1100 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > > > > Cropping the size of the memory node. That was simplest to do from the > > > cuboot wrapper at the time. If marking it reserved via a reserve

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-03 Thread Josh Boyer
On Mon, 03 Nov 2008 13:55:21 -0600 Hollis Blanchard <[EMAIL PROTECTED]> wrote: > On Mon, 2008-11-03 at 11:43 +1100, Benjamin Herrenschmidt wrote: > > > Cropping the size of the memory node. That was simplest to do from the > > > cuboot wrapper at the time. If marking it reserved via a reserve ma

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-03 Thread Hollis Blanchard
On Mon, 2008-11-03 at 11:43 +1100, Benjamin Herrenschmidt wrote: > > Cropping the size of the memory node. That was simplest to do from the > > cuboot wrapper at the time. If marking it reserved via a reserve map > > is more elegant and correct, we could do that. > > > > But I will still like to

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-03 Thread Josh Boyer
On Mon, 03 Nov 2008 11:43:54 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > Cropping the size of the memory node. That was simplest to do from the > > cuboot wrapper at the time. If marking it reserved via a reserve map > > is more elegant and correct, we could do that. > > > >

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-02 Thread Benjamin Herrenschmidt
> Cropping the size of the memory node. That was simplest to do from the > cuboot wrapper at the time. If marking it reserved via a reserve map > is more elegant and correct, we could do that. > > But I will still like to know what about the other way is hairy please. I don't like it :-) Bad f

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-02 Thread Josh Boyer
On Mon, 03 Nov 2008 08:33:16 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-02 at 08:41 -0500, Josh Boyer wrote: > > On Sun, Nov 02, 2008 at 08:55:02AM +1100, Benjamin Herrenschmidt wrote: > > >On Sat, 2008-11-01 at 07:30 -0400, Josh Boyer wrote: > > >> > > >> That is o

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-02 Thread Benjamin Herrenschmidt
On Sun, 2008-11-02 at 08:41 -0500, Josh Boyer wrote: > On Sun, Nov 02, 2008 at 08:55:02AM +1100, Benjamin Herrenschmidt wrote: > >On Sat, 2008-11-01 at 07:30 -0400, Josh Boyer wrote: > >> > >> That is on purpose. The chip has an errata that causes badness if > >> you use the last XX bytes of DRAM

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-02 Thread Josh Boyer
On Sun, Nov 02, 2008 at 08:55:02AM +1100, Benjamin Herrenschmidt wrote: >On Sat, 2008-11-01 at 07:30 -0400, Josh Boyer wrote: >> >> That is on purpose. The chip has an errata that causes badness if >> you use the last XX bytes of DRAM. I forget exactly what XX is, but >> we just remove the last

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-01 Thread Benjamin Herrenschmidt
On Sat, 2008-11-01 at 07:30 -0400, Josh Boyer wrote: > > That is on purpose. The chip has an errata that causes badness if > you use the last XX bytes of DRAM. I forget exactly what XX is, but > we just remove the last page. Doing that from the device-tree is very hairy tho... you end up with i

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-11-01 Thread Josh Boyer
On Fri, Oct 31, 2008 at 06:23:28PM -0500, Hollis Blanchard wrote: >On Wed, Oct 22, 2008 at 9:28 AM, Christian Ehrhardt ><[EMAIL PROTECTED]> wrote: >> Hi Ilya, >> I just tried your patch on my 440 board because it would help us in our >> environment. >> Unfortunately I run into a bug on early boot (

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-10-31 Thread Hollis Blanchard
On Wed, Oct 22, 2008 at 9:28 AM, Christian Ehrhardt <[EMAIL PROTECTED]> wrote: > Hi Ilya, > I just tried your patch on my 440 board because it would help us in our > environment. > Unfortunately I run into a bug on early boot (mark_bootmem). > > A log can be found in this mail, this is the bug when

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-10-22 Thread Christian Ehrhardt
Ilya, here the snippet you asked for with CONFIG_DEBUG_BUGVERBOSE enabled and bootmem_debug set. ## Booting kernel from Legacy Image at 0400 ... Image Name: Linux-2.6.27-dirty Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1521505 Bytes = 1.5 MB Load Addr

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-10-22 Thread Christian Ehrhardt
Hi Ilya, I just tried your patch on my 440 board because it would help us in our environment. Unfortunately I run into a bug on early boot (mark_bootmem). A log can be found in this mail, this is the bug when running with 64k page size. I tried this with and without your 2/2 265k patch and als

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-10-18 Thread prodyut hazarika
> It helps if you CC the person you're writing too :). Thanks Josh for pointing this out :-) I will be careful in future. > Anyway, I looked over it briefly and agree it looks pretty good. A bit > late for 2.6.28, but I'll do a more thorough review and get it in for > 2.6.29. > Great. Look forwar

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-10-18 Thread Josh Boyer
On Fri, 17 Oct 2008 08:54:52 -0700 "prodyut hazarika" <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 7:22 PM, Ilya Yanok <[EMAIL PROTECTED]> wrote: > > This patch adds support for page sizes bigger than 4K (16K/64K) on > > PPC 44x. > > > > This patch looks good to me. Seems that all the rev

Re: [PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-10-17 Thread prodyut hazarika
On Wed, Oct 15, 2008 at 7:22 PM, Ilya Yanok <[EMAIL PROTECTED]> wrote: > This patch adds support for page sizes bigger than 4K (16K/64K) on > PPC 44x. > This patch looks good to me. Seems that all the review comments have been incorporated. Josh, it would be great if this patch is pulled into the

[PATCH 1/2] powerpc: add 16K/64K pages support for the 44x PPC32 architectures.

2008-10-15 Thread Ilya Yanok
This patch adds support for page sizes bigger than 4K (16K/64K) on PPC 44x. Signed-off-by: Yuri Tikhonov <[EMAIL PROTECTED]> Signed-off-by: Vladimir Panfilov <[EMAIL PROTECTED]> Signed-off-by: Ilya Yanok <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig | 26 ---