lkml.org 
[lkml]   [2020]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] RISC-V page table dumper
Date
This patch supports dumping page tables, and it's implemented on top of
the generic page table dumper patch set.

Changed in v3:
- Modify warning message.

Changed in v2:
- Remove unnecessary #ifdef directive.

Zong Li (2):
riscv: Add support to dump the kernel page tables
riscv: Use macro definition instead of magic number

arch/riscv/Kconfig | 1 +
arch/riscv/include/asm/kasan.h | 2 +-
arch/riscv/include/asm/pgtable.h | 10 +
arch/riscv/include/asm/ptdump.h | 11 ++
arch/riscv/mm/Makefile | 1 +
arch/riscv/mm/ptdump.c | 317 +++++++++++++++++++++++++++++++
6 files changed, 341 insertions(+), 1 deletion(-)
create mode 100644 arch/riscv/include/asm/ptdump.h
create mode 100644 arch/riscv/mm/ptdump.c

--
2.25.1

\
 
 \ /
  Last update: 2020-03-12 03:59    [W:0.028 / U:25.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site