From: Zong Li <zong.li@sifive.com>
To: paul.walmsley@sifive.com, palmer@dabbelt.com, mick@ics.forth.gr,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Zong Li <zong.li@sifive.com>
Subject: [PATCH v2 0/2] Add STRICT_DEVMEM support on RISC-V
Date: Mon, 22 Jun 2020 14:33:48 +0800 [thread overview]
Message-ID: <cover.1592807136.git.zong.li@sifive.com> (raw)
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
next reply other threads:[~2020-06-22 6:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 6:33 Zong Li [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1592807136.git.zong.li@sifive.com \
--to=zong.li@sifive.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mick@ics.forth.gr \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.