Skip to content

riscv: mem= support, ioremap exec fix

Jan Kiszka linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 11 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3riscv: Add support for mem=arch/riscv/mm/init.c+19 -03 replies
2/3riscv: End kernel region search in setup_bootmem earlierarch/riscv/mm/init.c+2 -03 replies
3/3riscv: Fix crash when flushing executable ioremap regionsarch/riscv/mm/cacheflush.c+2 -15 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAnup PatelAlexandre Ghiti
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] riscv: mem= support, ioremap exec fix

Patch 1 was already sent separately. This improves it by calling memblock_enforce_memory_limit in order to call set_max_mapnr with the correct memory size.

There are two more patches in this series. One is a micro-optimization, the other enables ioremap of executable memory. The latter will be needed to enable the Jailhouse hypervisor on RISC-V.

Jan

Jan Kiszka (3):
riscv: Add support for mem=
riscv: End kernel region search in setup_bootmem earlier
riscv: Fix crash when flushing executable ioremap regions

 arch/riscv/mm/cacheflush.c |  3 ++-
 arch/riscv/mm/init.c       | 21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

--
2.16.4