Messages in this thread |  | | From | Zong Li <> | Subject | [PATCH 0/2] Add STRICT_DEVMEM support on RISC-V | Date | Tue, 16 Jun 2020 15:45:45 +0800 |
| |
This patchset include two parts, the first one is that register System RAM as iomem resources, it is needed for page_is_ram API which checks the specified address whether registered as System RAM in iomem_resource list. The second patch is that add devmem_is_allowed to support STRICT_DEVMEM, and it would invoke page_is_ram to check the addresses.
Zong Li (2): riscv: Register System RAM as iomem resources riscv: Support CONFIG_STRICT_DEVMEM
arch/riscv/Kconfig | 1 + arch/riscv/include/asm/io.h | 2 ++ arch/riscv/mm/init.c | 41 +++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+)
-- 2.27.0
|  |