Highmem support for 32-bit RISC-V
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 40 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | riscv/mm: Add pkmap region and CONFIG_HIGHMEMarch/ arch/ arch/ +1 more | +140 | 0 replies | |
| 2/3 | riscv/mm: Implement kmap() and kmap_atomic()arch/ arch/ arch/ +2 more | +118 | 0 replies | |
| 3/3 | riscv/mm: Add pkmap in print_vm_layout()arch/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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