Skip to content

Add STRICT_DEVMEM support on RISC-V

Zong Li lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: Support CONFIG_STRICT_DEVMEMarch/riscv/Kconfig arch/riscv/include/asm/io.h arch/riscv/mm/Makefile +1 more+28 -00 replies
2/2riscv: mm: refine the Makefilearch/riscv/mm/Makefile+1 -50 replies

Reviews trailers per patch

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

Read the v2 thread

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

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
Signature · 1 line
2.27.0