Skip to content

Rewrite Motorola MMU page-table layout

Peter Zijlstra linux-m68k lkml 1 version Applied

Status from this message: Thanks, applied and queued for v5.7, using an immutable branch named

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 18 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10m68k,mm: Remove stray nocache in ColdFire pgallocarch/m68k/include/asm/mcf_pgalloc.h+1 -50 replies
2/10m68k,mm: Fix ColdFire pgd_alloc()arch/m68k/include/asm/mcf_pgalloc.h+1 -10 replies
3/10m68k,mm: Unify Motorola MMU page setuparch/m68k/include/asm/motorola_pgalloc.h arch/m68k/mm/memory.c arch/m68k/mm/motorola.c+36 -220 replies
4/10m68k,mm: Move the pointer table allocator to motorola.carch/m68k/mm/memory.c arch/m68k/mm/motorola.c+102 -1020 replies
5/10m68k,mm: Restructure Motorola MMU page-table layoutarch/m68k/include/asm/motorola_pgtable.h arch/m68k/include/asm/page.h arch/m68k/include/asm/pgtable_mm.h +2 more+39 -560 replies
6/10m68k,mm: Improve kernel_page_table()arch/m68k/include/asm/motorola_pgtable.h arch/m68k/mm/init.c arch/m68k/mm/motorola.c+41 -280 replies
7/10m68k,mm: Use table allocator for pgtablesarch/m68k/include/asm/motorola_pgalloc.h arch/m68k/include/asm/motorola_pgtable.h arch/m68k/include/asm/page.h+21 -360 replies
8/10m68k,mm: Extend table allocator for multiple sizesarch/m68k/include/asm/motorola_pgalloc.h arch/m68k/mm/init.c arch/m68k/mm/motorola.c+70 -4212 replies
9/10m68k,mm: Fully initialize the page-table allocatorarch/m68k/mm/init.c+12 -12 replies
10/10m68k,mm: Change ColdFire pgtable_tarch/m68k/include/asm/mcf_pgalloc.h arch/m68k/include/asm/page.h+19 -130 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg UngererWill DeaconPeter Zijlstra (Intel)
SeriesT-b A-b A-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10A-b A-b
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH -v2 00/10] Rewrite Motorola MMU page-table layout

Hi!

In order to faciliate Will's READ_ONCE() patches:

https://lkml.kernel.org/r/[email protected]

we need to fix m68k/motorola to not have a giant pmd_t. These patches do so and are tested using ARAnyM/68040.

Michael tested the previous version on his Atari Falcon/68030.

Build tested for sun3/coldfire.

Please consider!

Changes since -v1:
- fixed sun3/coldfire build issues
- unified motorola mmu page setup
- added enum to table allocator
- moved pointer table allocator to motorola.c
- converted coldfire pgtable_t
- fixed coldfire pgd_alloc
- fixed coldfire nocache

---
 arch/m68k/include/asm/mcf_pgalloc.h      |  31 ++---
 arch/m68k/include/asm/motorola_pgalloc.h |  74 ++++------
 arch/m68k/include/asm/motorola_pgtable.h |  36 +++--
 arch/m68k/include/asm/page.h             |  16 ++-
 arch/m68k/include/asm/pgtable_mm.h       |  10 +-
 arch/m68k/mm/init.c                      |  34 +++--
 arch/m68k/mm/kmap.c                      |  36 +++--
 arch/m68k/mm/memory.c                    | 103 --------------
 arch/m68k/mm/motorola.c                  | 228 +++++++++++++++++++++++++------
 9 files changed, 302 insertions(+), 266 deletions(-)