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

From: Jan Kiszka
Date: Sat Feb 15 2020 - 06:51:08 EST


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