Hugetlb for 32-bit FSL PowerPC BookE
Status from this message: applied to next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | fs/hugetlbfs/inode.c: Fix pgoff alignment checking on 32-bitfs/ | +1 | 1 reply | |
| 2/5 | hugetlb: add phys addr to struct huge_bootmem_pageinclude/ mm/ | +10 | 5 replies | |
| 3/5 | powerpc: mem_init should call memblock_is_reserved with phys_addr_tarch/ | +2 | 0 replies | |
| 4/5 | powerpc: Create next_tlbcam_idx percpu variable for FSL_BOOKEarch/ arch/ arch/ +1 more | +24 | 1 reply | |
| 5/5 | powerpc: Hugetlb for BookEarch/ arch/ arch/ +17 more | +766 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Hugetlb for 32-bit FSL PowerPC BookE
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(-)