]> 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)
commit2f9f18dd24bc6ece7edd12acd03104ed24e10857
tree62df859035015646d3449912407716d3cf1ecdd4
parent922808181c40faed9f56eb53bb8a2e3fd92fad4a
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