Re: [RFC PATCH] Support for big page sizes on 44x (Updated)

2008-11-24 Thread Wolfgang Denk
Dear Yuri & Ilya, In message <[EMAIL PROTECTED]> Hollis Blanchard wrote: > On Wed, Oct 15, 2008 at 8:22 PM, Ilya Yanok <[EMAIL PROTECTED]> wrote: > > These patches add support for selecting page size on PPC 44x. > > First one adds support for 16K/64K pages while second one adds support > > for 256

Re: [RFC PATCH] Support for big page sizes on 44x (Updated)

2008-11-24 Thread Hollis Blanchard
On Wed, Oct 15, 2008 at 8:22 PM, Ilya Yanok <[EMAIL PROTECTED]> wrote: > These patches add support for selecting page size on PPC 44x. > First one adds support for 16K/64K pages while second one adds support > for 256K pages along with some hacks. Leaving 256K pages aside for now, do you plan to r

Re: [RFC PATCH] Support for big page sizes on 44x (Updated)

2008-11-10 Thread Benjamin Herrenschmidt
> Well, the main thing is the implementation of kmap and kmap_atomic. > > They both basically assumes that all the reserved PTEs for kmap and > kmap_atomic are in a single PTE page since it uses a simple addition > (substraction for _atomic really but heh, that's about the same). > > Note that P

Re: [RFC PATCH] Support for big page sizes on 44x (Updated)

2008-11-10 Thread Benjamin Herrenschmidt
On Thu, 2008-10-16 at 06:22 +0400, Ilya Yanok wrote: > These patches add support for selecting page size on PPC 44x. > First one adds support for 16K/64K pages while second one adds support > for 256K pages along with some hacks. > > However there are still number of problems: > 1. We can't use de

[RFC PATCH] Support for big page sizes on 44x (Updated)

2008-10-15 Thread Ilya Yanok
These patches add support for selecting page size on PPC 44x. First one adds support for 16K/64K pages while second one adds support for 256K pages along with some hacks. However there are still number of problems: 1. We can't use default PKMAP_BASE definition with 64KB/256KB pages so we change it

[RFC PATCH] Support for big page sizes on 44x

2008-09-10 Thread Ilya Yanok
This adds support for selecting page size on PPC 44x. However there are still number of problems: 1. We can't use default PKMAP_BASE definition with 64KB/256KB pages so we change it. Not sure that it's optimal. Then redefined PKMAP_BASE is not aligned on (1