[RFC PATCH 0/1] RISC-V page table dumper

From: Zong Li
Date: Thu Oct 24 2019 - 09:02:45 EST


This patch contains the support for dumping the page tables, and it's implemented on top of the generic page table dumper patch set. The generic page table dumper patch set is submmited to version 12, it looks good and only a little bit different from previous version. I'll post the formal patch after it be merged.

The patch set of gerneric page table dumper.
https://lore.kernel.org/lkml/20191018101248.33727-1-steven.price@xxxxxxx/


Zong Li (1):
riscv: Add support to dump the kernel page tables

arch/riscv/Kconfig | 1 +
arch/riscv/include/asm/pgtable.h | 10 ++
arch/riscv/include/asm/ptdump.h | 19 +++
arch/riscv/mm/Makefile | 1 +
arch/riscv/mm/ptdump.c | 309 +++++++++++++++++++++++++++++++++++++++
5 files changed, 340 insertions(+)
create mode 100644 arch/riscv/include/asm/ptdump.h
create mode 100644 arch/riscv/mm/ptdump.c

--
2.7.4