All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] RISC-V page table dumper
@ 2020-03-12  2:58 Zong Li
  2020-03-12  2:58   ` Zong Li
  2020-03-12  2:58 ` [PATCH v3 2/2] riscv: Use macro definition instead of magic number Zong Li
  0 siblings, 2 replies; 4+ messages in thread
From: Zong Li @ 2020-03-12  2:58 UTC (permalink / raw)
  To: palmer, paul.walmsley, aou, linux-riscv, linux-kernel; +Cc: Zong Li

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


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

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

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.