]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Improve virtual kernel memory layout dump
authorAlexandre Ghiti <alexandre.ghiti@canonical.com>
Mon, 6 Dec 2021 10:46:54 +0000 (11:46 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 2 Jun 2022 04:46:29 +0000 (21:46 -0700)
commita6a5f829febf9e0dc7ad173194a5ff5c9e77018e
tree62df859035015646d3449912407716d3cf1ecdd4
parentde15609064467ee2edb91abca8a2de48956023dd
riscv: Improve virtual kernel memory layout dump

With the arrival of sv48 and its large address space, it would be
cumbersome to statically define the unit size to use to print the different
portions of the virtual memory layout: instead, determine it dynamically.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c