Skip to content

sh: get rid of __ARCH_USE_5LEVEL_HACK

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sh: drop __pXd_offset() macros that duplicate pXd_index() onesarch/sh/include/asm/pgtable_32.h arch/sh/include/asm/pgtable_64.h arch/sh/mm/init.c+7 -90 replies
2/2sh: add support for folded p4d page tablesarch/sh/include/asm/pgtable-2level.h arch/sh/include/asm/pgtable-3level.h arch/sh/kernel/io_trapped.c +8 more+76 -222 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/2] sh: get rid of __ARCH_USE_5LEVEL_HACK

From: Mike Rapoport <[email protected]>

Hi,

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

Mike Rapoport (2):
sh: drop __pXd_offset() macros that duplicate pXd_index() ones
sh: add support for folded p4d page tables

 arch/sh/include/asm/pgtable-2level.h |  1 -
 arch/sh/include/asm/pgtable-3level.h |  1 -
 arch/sh/include/asm/pgtable_32.h     |  5 ++---
 arch/sh/include/asm/pgtable_64.h     |  5 ++---
 arch/sh/kernel/io_trapped.c          |  7 ++++++-
 arch/sh/mm/cache-sh4.c               |  4 +++-
 arch/sh/mm/cache-sh5.c               |  7 ++++++-
 arch/sh/mm/fault.c                   | 26 +++++++++++++++++++++++---
 arch/sh/mm/hugetlbpage.c             | 28 ++++++++++++++++++----------
 arch/sh/mm/init.c                    | 15 +++++++++++----
 arch/sh/mm/kmap.c                    |  2 +-
 arch/sh/mm/tlbex_32.c                |  6 +++++-
 arch/sh/mm/tlbex_64.c                |  7 ++++++-
 13 files changed, 83 insertions(+), 31 deletions(-)
Signature · 1 line
2.24.0