linux/arch/riscv
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
..
boot riscv: Fix gitignore 2020-02-19 16:13:51 -08:00
configs riscv: Delete CONFIG_SYSFS_SYSCALL from defconfigs 2020-03-03 10:28:11 -08:00
include riscv: Add support to dump the kernel page tables 2020-03-26 09:29:49 -07:00
kernel riscv: patch code by fixmap mapping 2020-03-26 09:24:55 -07:00
lib RISC-V: Stop using LOCAL for the uaccess fixups 2020-03-03 10:45:14 -08:00
mm riscv: Add support to dump the kernel page tables 2020-03-26 09:29:49 -07:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2019-12-27 14:20:10 -08:00
Kbuild riscv: add arch/riscv/Kbuild 2019-08-30 17:34:00 -07:00
Kconfig riscv: Add support to dump the kernel page tables 2020-03-26 09:29:49 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: only select serial sifive if TTY is enabled 2019-12-08 20:29:01 -08:00
Makefile riscv: provide a flat image loader 2019-11-17 15:17:39 -08:00