]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RISC-V: Add address map dumper
authorYash Shah <yash.shah@sifive.com>
Mon, 18 Nov 2019 05:58:34 +0000 (05:58 +0000)
committerPaul Walmsley <paul.walmsley@sifive.com>
Sat, 23 Nov 2019 02:53:26 +0000 (18:53 -0800)
commit2cc6c4a0da4ab11537b2567952b59af71a90ef12
tree9d78688eddc42338e6cb8a4c76bc35b49a94ae5e
parentde29fe308de7e0c5c94af0dd30e825fcc98293fa
RISC-V: Add address map dumper

Add support for dumping the kernel address space layout to the console.
User can enable CONFIG_DEBUG_VM to dump the virtual memory region into
dmesg buffer during boot-up.

Signed-off-by: Yash Shah <yash.shah@sifive.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
[paul.walmsley@sifive.com: dropped .init/.text/.data/.bss prints;
 added PCI legacy I/O region display]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/mm/init.c