linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] RISC-V page table dumper
@ 2020-02-10  8:35 Zong Li
  2020-02-10  8:35 ` [PATCH v2 1/2] riscv: Add support to dump the kernel page tables Zong Li
  2020-02-10  8:35 ` [PATCH v2 2/2] riscv: Use macro definition instead of magic number Zong Li
  0 siblings, 2 replies; 5+ messages in thread
From: Zong Li @ 2020-02-10  8:35 UTC (permalink / raw)
  To: paul.walmsley, palmer, aou, linux-riscv, linux-kernel; +Cc: Zong Li

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 merged at 5.6-rc1.

This patch also depends on the fix about KASAN issue which causes the
segmentation fault. (https://patchwork.kernel.org/patch/11372493/)

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.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-10 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10  8:35 [PATCH v2 0/2] RISC-V page table dumper Zong Li
2020-02-10  8:35 ` [PATCH v2 1/2] riscv: Add support to dump the kernel page tables Zong Li
2020-03-10  5:40   ` Alex Ghiti
2020-03-10 10:02     ` Zong Li
2020-02-10  8:35 ` [PATCH v2 2/2] riscv: Use macro definition instead of magic number Zong Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).