Skip to content

mips: get rid of __ARCH_USE_5LEVEL_HACK

Mike Rapoport linux-mips linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mips: fix build when "48 bits virtual memory" is enabledarch/mips/include/asm/pgtable-64.h+7 -20 replies
2/3mips: drop __pXd_offset() macros that duplicate pXd_index() onesarch/mips/include/asm/pgtable-32.h arch/mips/include/asm/pgtable-64.h arch/mips/kvm/mmu.c +3 more+18 -250 replies
3/3mips: add support for folded p4d page tablesarch/mips/include/asm/fixmap.h arch/mips/include/asm/pgalloc.h arch/mips/include/asm/pgtable-32.h +11 more+75 -390 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/3] mips: get rid of __ARCH_USE_5LEVEL_HACK

From: Mike Rapoport <[email protected]>

Hi,

These patches update the mips page table folding/unfolding to take into account the 5th level.

Mike Rapoport (3):
mips: fix build when "48 bits virtual memory" is enabled
mips: drop __pXd_offset() macros that duplicate pXd_index() ones
mips: add support for folded p4d page tables

 arch/mips/include/asm/fixmap.h     |  2 +-
 arch/mips/include/asm/pgalloc.h    |  4 +--
 arch/mips/include/asm/pgtable-32.h |  6 +---
 arch/mips/include/asm/pgtable-64.h | 44 ++++++++++++++++--------------
 arch/mips/kvm/mmu.c                | 40 ++++++++++++++++-----------
 arch/mips/kvm/trap_emul.c          |  4 ++-
 arch/mips/mm/c-r3k.c               |  4 ++-
 arch/mips/mm/c-r4k.c               |  4 ++-
 arch/mips/mm/c-tx39.c              |  4 ++-
 arch/mips/mm/fault.c               | 12 ++++++--
 arch/mips/mm/hugetlbpage.c         | 14 +++++++---
 arch/mips/mm/init.c                |  6 ++--
 arch/mips/mm/ioremap.c             |  6 +++-
 arch/mips/mm/pgtable-32.c          |  6 ++--
 arch/mips/mm/tlb-r4k.c             |  4 ++-
 15 files changed, 97 insertions(+), 63 deletions(-)
Signature · 1 line
2.24.0