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

Josh Boyer jwboyer at linux.vnet.ibm.com
Thu Dec 25 04:03:59 EST 2008


On Wed, Dec 17, 2008 at 02:56:07PM -0500, Josh Boyer wrote:
>On Thu, Dec 11, 2008 at 04:55:41AM +0300, Ilya Yanok wrote:
>>This patch adds support for page sizes bigger than 4K (16K/64K) on
>>PPC 44x.
>>PGDIR table is much smaller than page in case of 16K/64K pages (512
>>and 32 bytes resp.) so we allocate PGDIR with kzalloc() instead of
>>__get_free_pages().
>>PTE table covers rather big memory area in case of 16K/64K pages
>>(32MB and 512MB resp.) so we can easily put FIXMAP and PKMAP in
>>area covered by one PTE table.
>>
>>Signed-off-by: Yuri Tikhonov <yur at emcraft.com>
>>Signed-off-by: Vladimir Panfilov <pvr at emcraft.com>
>>Signed-off-by: Ilya Yanok <yanok at emcraft.com>
>
>I tested this a bit today on a Bamboo board.  Overall, it functioned
>well enough to not crash :).  Note that I also included Hollis'
>memory size alignment patch which is required.
>
>The code looks pretty clean now.  I think if we're going to include
>this patch it should go in now.
>
>Acked-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>

Ben, Paul,

What else is needed to get this patch included?

josh



More information about the Linuxppc-dev mailing list