Skip to content

powerpc VA allocator fixes for 512TB support

Nicholas Piggin linuxppc-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review
  2. v15 patches 16 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case allocationarch/powerpc/mm/slice.c+24 -263 replies
2/5powerpc/64s/hash: Fix fork() with 512TB process address spacearch/powerpc/mm/mmu_context_book3s64.c+4 -41 reply
3/5powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundaryarch/powerpc/mm/slice.c+1 -11 reply
4/5powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case allocationarch/powerpc/mm/hugetlbpage-radix.c arch/powerpc/mm/mmap.c+50 -311 reply
5/5powerpc/64s: mm_context.addr_limit is only used on hasharch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/paca.h +8 more+27 -421 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAneesh Kumar K.V
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] powerpc VA allocator fixes for 512TB support

After clarifying the intended semantics, the previous patch series went the wrong way with MAP_FIXED handling, so I fixed that.

This series is not quite ready for merge. I prefer to see what x86 does exactly because it also has some fixes to make. But time is becoming short before 4.14, so I'd like to get some more review and testing so we can be ready.

Thanks,
Nick

Nicholas Piggin (5):
powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case
allocation
powerpc/64s/hash: Fix fork() with 512TB process address space powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case
allocation
powerpc/64s: mm_context.addr_limit is only used on hash

 arch/powerpc/include/asm/book3s/64/mmu-hash.h |  2 +-
 arch/powerpc/include/asm/book3s/64/mmu.h      |  2 +-
 arch/powerpc/include/asm/paca.h               |  2 +-
 arch/powerpc/kernel/asm-offsets.c             |  2 +-
 arch/powerpc/kernel/paca.c                    |  4 +-
 arch/powerpc/kernel/setup-common.c            |  3 +-
 arch/powerpc/mm/hugetlbpage-radix.c           | 20 +++++----
 arch/powerpc/mm/mmap.c                        | 49 ++++++++++-----------
 arch/powerpc/mm/mmu_context_book3s64.c        |  8 ++--
 arch/powerpc/mm/slb_low.S                     |  2 +-
 arch/powerpc/mm/slice.c                       | 62 +++++++++++++--------------
 11 files changed, 79 insertions(+), 77 deletions(-)
Signature · 1 line
2.15.0