-
- Downloads
powerpc/44x: Support 16K/64K base page sizes on 44x
This adds support for 16k and 64k page sizes on PowerPC 44x processors. The PGDIR table is much smaller than a page when using 16k or 64k pages (512 and 32 bytes respectively) so we allocate the PGDIR with kzalloc() instead of __get_free_pages(). One PTE table covers rather a large memory area when using 16k or 64k pages (32MB or 512MB respectively), so we can easily put FIXMAP and PKMAP in the area covered by one PTE table. Signed-off-by:Yuri Tikhonov <yur@emcraft.com> Signed-off-by:
Vladimir Panfilov <pvr@emcraft.com> Signed-off-by:
Ilya Yanok <yanok@emcraft.com> Acked-by:
Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/Kconfig 44 additions, 14 deletionsarch/powerpc/Kconfig
- arch/powerpc/include/asm/highmem.h 17 additions, 2 deletionsarch/powerpc/include/asm/highmem.h
- arch/powerpc/include/asm/mmu-44x.h 17 additions, 0 deletionsarch/powerpc/include/asm/mmu-44x.h
- arch/powerpc/include/asm/page.h 8 additions, 5 deletionsarch/powerpc/include/asm/page.h
- arch/powerpc/include/asm/page_32.h 5 additions, 2 deletionsarch/powerpc/include/asm/page_32.h
- arch/powerpc/kernel/asm-offsets.c 4 additions, 0 deletionsarch/powerpc/kernel/asm-offsets.c
- arch/powerpc/kernel/head_44x.S 14 additions, 9 deletionsarch/powerpc/kernel/head_44x.S
- arch/powerpc/kernel/misc_32.S 6 additions, 6 deletionsarch/powerpc/kernel/misc_32.S
- arch/powerpc/mm/pgtable_32.c 14 additions, 9 deletionsarch/powerpc/mm/pgtable_32.c
- arch/powerpc/platforms/Kconfig.cputype 1 addition, 1 deletionarch/powerpc/platforms/Kconfig.cputype
Loading
Please register or sign in to comment