OSDN Git Service

Merge patch series "RISC-V: mm: Make SV48 the default address space"
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 23 Aug 2023 21:54:17 +0000 (14:54 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 31 Aug 2023 07:18:36 +0000 (00:18 -0700)
commit94f00388c2a4623700f030e90161744f4bdb8225
tree477e26e4c5f59a12ee200808c9ce25798761a158
parent52b77c2806fe97a1166944f4b8bf77153ff27435
parent7998abe69d3c4cd611d586384fa33f561c1bd61e
Merge patch series "RISC-V: mm: Make SV48 the default address space"

Charlie Jenkins <charlie@rivosinc.com> says:

Make sv48 the default address space for mmap as some applications
currently depend on this assumption. Users can now select a
desired address space using a non-zero hint address to mmap. Previously,
requesting the default address space from mmap by passing zero as the hint
address would result in using the largest address space possible. Some
applications depend on empty bits in the virtual address space, like Go and
Java, so this patch provides more flexibility for application developers.

* b4-shazam-merge:
  RISC-V: mm: Document mmap changes
  RISC-V: mm: Update pgtable comment documentation
  RISC-V: mm: Add tests for RISC-V mm
  RISC-V: mm: Restrict address space for sv39,sv48,sv57

Link: https://lore.kernel.org/r/20230809232218.849726-1-charlie@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/elf.h