Skip to content

Hugetlb for 32-bit FSL PowerPC BookE

Becky Bruce linux-mm linuxppc-dev lkml 1 version Applied

Status from this message: applied to next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5fs/hugetlbfs/inode.c: Fix pgoff alignment checking on 32-bitfs/hugetlbfs/inode.c+1 -11 reply
2/5hugetlb: add phys addr to struct huge_bootmem_pageinclude/linux/hugetlb.h mm/hugetlb.c+10 -15 replies
3/5powerpc: mem_init should call memblock_is_reserved with phys_addr_tarch/powerpc/mm/mem.c+2 -10 replies
4/5powerpc: Create next_tlbcam_idx percpu variable for FSL_BOOKEarch/powerpc/include/asm/mmu.h arch/powerpc/kernel/smp.c arch/powerpc/mm/mem.c +1 more+24 -01 reply
5/5powerpc: Hugetlb for BookEarch/powerpc/Kconfig arch/powerpc/include/asm/hugetlb.h arch/powerpc/include/asm/mmu-book3e.h +17 more+766 -1060 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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(-)