linux/arch/riscv/mm
Zong Li 59c4da8640
riscv: Add support to dump the kernel page tables
In a similar manner to arm64, x86, powerpc, etc., it can traverse all
page tables, and dump the page table layout with the memory types and
permissions.

Add a debugfs file at /sys/kernel/debug/kernel_page_tables to export
the page table layout to userspace.

Signed-off-by: Zong Li <zong.li@sifive.com>
Tested-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-03-26 09:29:49 -07:00
..
cacheflush.c riscv: export flush_icache_all to modules 2019-12-27 21:51:01 -08:00
context.c riscv: add nommu support 2019-11-17 15:17:39 -08:00
extable.c riscv: abstract out CSR names for supervisor vs machine mode 2019-11-05 09:20:42 -08:00
fault.c riscv: abstract out CSR names for supervisor vs machine mode 2019-11-05 09:20:42 -08:00
hugetlbpage.c riscv: Use p*d_leaf macros to define p*d_huge 2020-03-05 13:09:59 -08:00
init.c riscv: add STRICT_KERNEL_RWX support 2020-03-26 09:24:45 -07:00
kasan_init.c riscv: adjust the indent 2020-02-24 13:12:53 -08:00
Makefile riscv: Add support to dump the kernel page tables 2020-03-26 09:29:49 -07:00
pageattr.c riscv: add ARCH_SUPPORTS_DEBUG_PAGEALLOC support 2020-03-26 09:24:36 -07:00
physaddr.c riscv: mm: add support for CONFIG_DEBUG_VIRTUAL 2020-01-23 10:40:06 -08:00
ptdump.c riscv: Add support to dump the kernel page tables 2020-03-26 09:29:49 -07:00
tlbflush.c RISC-V: Issue a tlb page flush if possible 2019-10-29 11:32:18 -07:00