summaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm/init.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-02-26 16:34:49 -0800
committerPalmer Dabbelt <palmer@rivosinc.com>2024-04-09 11:39:40 -0700
commitf862bbf4cdca696ef3073c5cf3d340b778a3e42a (patch)
tree98e5cffae506ff16655d69ff3d9774697fc244cf /arch/riscv/mm/init.c
parent9c4319d697448e738b1e20d187d9391164c84a89 (diff)
downloadlinux-stable-f862bbf4cdca696ef3073c5cf3d340b778a3e42a.tar.gz
linux-stable-f862bbf4cdca696ef3073c5cf3d340b778a3e42a.tar.bz2
linux-stable-f862bbf4cdca696ef3073c5cf3d340b778a3e42a.zip
riscv: Allow NOMMU kernels to run in S-mode
For ease of testing, it is convenient to run NOMMU kernels in supervisor mode. The only required change is to offset the kernel load address, since the beginning of RAM is usually reserved for M-mode firmware. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240227003630.3634533-5-samuel.holland@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/mm/init.c')
0 files changed, 0 insertions, 0 deletions