Skip to content

RISC-V page table dumper

Zong Li linux-riscv lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 2 repliesSuperseded
  3. v1 RFC1 patch 2 repliesSuperseded

Changes in v3 from the cover letter

- Modify warning message.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: Add support to dump the kernel page tablesarch/riscv/Kconfig arch/riscv/include/asm/pgtable.h arch/riscv/include/asm/ptdump.h +2 more+340 -00 replies
2/2riscv: Use macro definition instead of magic numberarch/riscv/include/asm/kasan.h+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAlexandre Ghiti
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] RISC-V page table dumper

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
Signature · 1 line
2.25.1