[PATCH v2 0/4] Convert powerpc to GENERIC_PTDUMP

From: Christophe Leroy
Date: Mon Apr 19 2021 - 06:47:35 EST


This series converts powerpc to generic PTDUMP.

For that, we first need to add missing hugepd support
to pagewalk and ptdump.

v2:
- Reworked the pagewalk modification to add locking and check ops->pte_entry
- Modified powerpc early IO mapping to have gaps between mappings
- Removed the logic that checked for contiguous physical memory
- Removed the articial level calculation in ptdump_pte_entry(), level 4 is ok for all.
- Removed page_size argument to note_page()

Christophe Leroy (4):
mm: pagewalk: Fix walk for hugepage tables
powerpc/mm: Leave a gap between early allocated IO areas
powerpc/mm: Properly coalesce pages in ptdump
powerpc/mm: Convert powerpc to GENERIC_PTDUMP

arch/powerpc/Kconfig | 2 +
arch/powerpc/Kconfig.debug | 30 -----
arch/powerpc/mm/Makefile | 2 +-
arch/powerpc/mm/ioremap_32.c | 4 +-
arch/powerpc/mm/ioremap_64.c | 2 +-
arch/powerpc/mm/mmu_decl.h | 2 +-
arch/powerpc/mm/ptdump/8xx.c | 6 +-
arch/powerpc/mm/ptdump/Makefile | 9 +-
arch/powerpc/mm/ptdump/book3s64.c | 6 +-
arch/powerpc/mm/ptdump/ptdump.c | 187 ++++++++----------------------
arch/powerpc/mm/ptdump/shared.c | 6 +-
mm/pagewalk.c | 58 ++++++++-
12 files changed, 127 insertions(+), 187 deletions(-)

--
2.25.0