[PATCH v2 0/2] Add STRICT_DEVMEM support on RISC-V

From: Zong Li
Date: Mon Jun 22 2020 - 02:33:57 EST


This patch set adds devmem_is_allowed to support STRICT_DEVMEM. In
devmem_is_allowed, it invokes page_is_ram to check the specific
address whether registered as System RAM in iomem_resource. The resource
initialization is in kexec/kdump patch series which is reviewing,
page_is_ram checking is no use until it is merged.

Zong Li (2):
riscv: Support CONFIG_STRICT_DEVMEM
riscv: mm: refine the Makefile

arch/riscv/Kconfig | 1 +
arch/riscv/include/asm/io.h | 2 ++
arch/riscv/mm/Makefile | 5 +----
arch/riscv/mm/mmap.c | 24 ++++++++++++++++++++++++
4 files changed, 28 insertions(+), 4 deletions(-)
create mode 100644 arch/riscv/mm/mmap.c

--
2.27.0