From: guoren@kernel.org
To: guoren@kernel.org, anup.patel@wdc.com, palmerdabbelt@google.com,
arnd@arndb.de, wens@csie.org, maxime@cerno.tech,
drew@beagleboard.org, liush@allwinnertech.com,
lazyparser@gmail.com, wefu@redhat.com
Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-arch@vger.kernel.org, linux-sunxi@lists.linux.dev,
tech-virt-mem@lists.riscv.org, Guo Ren <guoren@linux.alibaba.com>
Subject: [RFC PATCH v3 0/2] riscv: pgtable: Add "PBMT" extension supported
Date: Mon, 14 Jun 2021 17:51:05 +0000 [thread overview]
Message-ID: <1623693067-53886-1-git-send-email-guoren@kernel.org> (raw)
From: Guo Ren <guoren@linux.alibaba.com>
These patches are a continuation of "riscv: Add DMA_COHERENT support for
Allwinner D1". Compared with the previous factory-defined hardware
implementation, it now follows the PBMT extension proposal.
V2: https://lore.kernel.org/linux-riscv/1622970249-50770-10-git-send-email-guoren@kernel.org/
V1: https://lore.kernel.org/linux-riscv/1621400656-25678-3-git-send-email-guoren@kernel.org/
Changes since v2:
- Change to PBMT extension proposal
- Add pbmt in dts
- Using img hdr for custom memory types moification
Changes since v1:
- Rebase on linux-5.13-rc4
- Support defconfig for different PTE attributes
Guo Ren (2):
riscv: pgtable: Add custom protection_map init
riscv: pgtable: Add "PBMT" extension supported
arch/riscv/Kconfig | 4 +++
arch/riscv/include/asm/image.h | 6 ++--
arch/riscv/include/asm/pgtable-64.h | 8 +++--
arch/riscv/include/asm/pgtable-bits.h | 55 ++++++++++++++++++++++++++--
arch/riscv/include/asm/pgtable.h | 17 ++++-----
arch/riscv/kernel/head.S | 6 ++++
arch/riscv/mm/init.c | 68 +++++++++++++++++++++++++++++++++++
mm/mmap.c | 4 +++
8 files changed, 149 insertions(+), 19 deletions(-)
--
2.7.4
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2021-06-14 17:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-14 17:51 guoren [this message]
2021-06-14 17:51 ` [RFC PATCH v3 1/2] riscv: pgtable: Add custom protection_map init guoren
2021-06-14 17:51 ` [RFC PATCH v3 2/2] riscv: pgtable: Add "PBMT" extension supported guoren
2021-06-15 4:11 ` Anup Patel
2021-06-15 9:28 ` Guo Ren
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=1623693067-53886-1-git-send-email-guoren@kernel.org \
--to=guoren@kernel.org \
--cc=anup.patel@wdc.com \
--cc=arnd@arndb.de \
--cc=drew@beagleboard.org \
--cc=guoren@linux.alibaba.com \
--cc=lazyparser@gmail.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=liush@allwinnertech.com \
--cc=maxime@cerno.tech \
--cc=palmerdabbelt@google.com \
--cc=tech-virt-mem@lists.riscv.org \
--cc=wefu@redhat.com \
--cc=wens@csie.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).