Skip to content

Highmem support for 32-bit RISC-V

Eric Lin linux-arm-kernel linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 40 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv/mm: Add pkmap region and CONFIG_HIGHMEMarch/riscv/Kconfig arch/riscv/include/asm/highmem.h arch/riscv/include/asm/pgtable.h +1 more+140 -30 replies
2/3riscv/mm: Implement kmap() and kmap_atomic()arch/riscv/include/asm/fixmap.h arch/riscv/include/asm/highmem.h arch/riscv/include/asm/pgtable.h +2 more+118 -10 replies
3/3riscv/mm: Add pkmap in print_vm_layout()arch/riscv/mm/init.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Highmem support for 32-bit RISC-V

With Highmem support, the kernel can map more than 1GB physical memory.

This patchset implements Highmem for RV32, referencing to mostly nds32 and others like arm and mips, and it has been tested on Andes A25MP platform.

Eric Lin (3):
riscv/mm: Add pkmap region and CONFIG_HIGHMEM
riscv/mm: Implement kmap() and kmap_atomic()
riscv/mm: Add pkmap in print_vm_layout()

 arch/riscv/Kconfig               | 18 +++++++
 arch/riscv/include/asm/fixmap.h  |  9 +++-
 arch/riscv/include/asm/highmem.h | 49 +++++++++++++++++
 arch/riscv/include/asm/pgtable.h | 27 ++++++++++
 arch/riscv/mm/Makefile           |  1 +
 arch/riscv/mm/highmem.c          | 74 +++++++++++++++++++++++++
 arch/riscv/mm/init.c             | 92 ++++++++++++++++++++++++++++++--
 7 files changed, 266 insertions(+), 4 deletions(-)
 create mode 100644 arch/riscv/include/asm/highmem.h
 create mode 100644 arch/riscv/mm/highmem.c
Signature · 1 line
2.17.0