[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200131124531.623136425@infradead.org>
Date: Fri, 31 Jan 2020 13:45:31 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org,
Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Michael Schmitz <schmitzmic@...il.com>,
Greg Ungerer <gerg@...ux-m68k.org>
Subject: [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/20200123153341.19947-1-will@kernel.org
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(-)
Powered by blists - more mailing lists