]> Git Repo - linux.git/commitdiff
Merge patch series "riscv: 64-bit NOMMU fixes and enhancements"
authorPalmer Dabbelt <[email protected]>
Tue, 9 Apr 2024 18:39:46 +0000 (11:39 -0700)
committerPalmer Dabbelt <[email protected]>
Sun, 28 Apr 2024 21:50:35 +0000 (14:50 -0700)
Samuel Holland <[email protected]> says:

This series aims to improve support for NOMMU, specifically by making it
easier to test NOMMU kernels in QEMU and on various widely-available
hardware (errata permitting). After all, everything supports Svbare...

After applying this series, a NOMMU kernel based on defconfig (changing
only the three options below*) boots to userspace on QEMU when passed as
-kernel.

  # CONFIG_RISCV_M_MODE is not set
  # CONFIG_MMU is not set
  CONFIG_NONPORTABLE=y

*if you are using LLD, you must also disable BPF_SYSCALL and KALLSYMS,
because LLD bails on out-of-range references to undefined weak symbols.

* b4-shazam-merge:
  riscv: Allow NOMMU kernels to run in S-mode
  riscv: Remove MMU dependency from Zbb and Zicboz
  riscv: Fix loading 64-bit NOMMU kernels past the start of RAM
  riscv: Fix TASK_SIZE on 64-bit NOMMU

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
1  2 
arch/riscv/Kconfig
arch/riscv/include/asm/page.h
arch/riscv/include/asm/pgtable.h
arch/riscv/mm/init.c

Simple merge
Simple merge
Simple merge
Simple merge
This page took 0.076322 seconds and 4 git commands to generate.