Skip to content
Unverified Commit 526fbaed authored by Zong Li's avatar Zong Li Committed by Palmer Dabbelt
Browse files

riscv: Register System RAM as iomem resources



Add System RAM to /proc/iomem, various tools expect it such as kdump.
It is also needed for page_is_ram API which checks the specified address
whether registered as System RAM in iomem_resource list.

Signed-off-by: default avatarZong Li <zong.li@sifive.com>
[Palmer: check MEMBLOCK_NOMAP]
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent a2693fe2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment