All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add STRICT_DEVMEM support on RISC-V
@ 2020-06-22  6:33 Zong Li
  2020-06-22  6:33 ` [PATCH v2 1/2] riscv: Support CONFIG_STRICT_DEVMEM Zong Li
  2020-06-22  6:33 ` [PATCH v2 2/2] riscv: mm: refine the Makefile Zong Li
  0 siblings, 2 replies; 3+ messages in thread
From: Zong Li @ 2020-06-22  6:33 UTC (permalink / raw)
  To: paul.walmsley, palmer, mick, linux-riscv, linux-kernel; +Cc: Zong Li

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-22  6:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-22  6:33 [PATCH v2 0/2] Add STRICT_DEVMEM support on RISC-V Zong Li
2020-06-22  6:33 ` [PATCH v2 1/2] riscv: Support CONFIG_STRICT_DEVMEM Zong Li
2020-06-22  6:33 ` [PATCH v2 2/2] riscv: mm: refine the Makefile Zong Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.