Implement HugeTLB for 32-bit BookE PowerPC. There is also some infrastructure in place for 64-bit BookE as well from David Gibson; I'm not sure if we want to include this at this time or not. I have only been able to build test the 64-bit configurations. Ben, let me know how you want to proceed here.
The bulk of this patch series is powerpc-specific, but there are a couple of minor fixes to the generic fs and mm code included, hence the cross-post. Note that to use this fully some modifications to libhugetlbfs are required; I expect to publish those shortly. Diffstat below. Cheers, Becky arch/powerpc/Kconfig | 3 +- arch/powerpc/include/asm/hugetlb.h | 63 +++++- arch/powerpc/include/asm/mmu-book3e.h | 7 + arch/powerpc/include/asm/mmu-hash64.h | 3 +- arch/powerpc/include/asm/mmu.h | 23 ++- arch/powerpc/include/asm/page.h | 31 +++- arch/powerpc/include/asm/page_64.h | 11 - arch/powerpc/include/asm/pte-book3e.h | 3 + arch/powerpc/kernel/head_fsl_booke.S | 133 ++++++++++-- arch/powerpc/kernel/smp.c | 4 + arch/powerpc/mm/Makefile | 1 + arch/powerpc/mm/hash_utils_64.c | 3 - arch/powerpc/mm/hugetlbpage-book3e.c | 121 ++++++++++ arch/powerpc/mm/hugetlbpage.c | 379 ++++++++++++++++++++++++++++---- arch/powerpc/mm/init_32.c | 9 + arch/powerpc/mm/mem.c | 17 ++- arch/powerpc/mm/mmu_context_nohash.c | 5 + arch/powerpc/mm/pgtable.c | 3 +- arch/powerpc/mm/tlb_low_64e.S | 24 +- arch/powerpc/mm/tlb_nohash.c | 52 +++++- arch/powerpc/platforms/Kconfig.cputype | 4 +- fs/hugetlbfs/inode.c | 2 +- include/linux/hugetlb.h | 3 + mm/hugetlb.c | 8 +- 24 files changed, 803 insertions(+), 109 deletions(-) _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev