From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: Oleksii Kurochko <oleksii.kurochko@gmail.com>,
Alistair Francis <alistair.francis@wdc.com>,
Bob Eshleman <bobbyeshleman@gmail.com>,
Connor Davis <connojdavis@gmail.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>
Subject: [PATCH v5 0/7] RISCV device tree mapping
Date: Wed, 21 Aug 2024 18:06:09 +0200 [thread overview]
Message-ID: <cover.1724256026.git.oleksii.kurochko@gmail.com> (raw)
Current patch series introduces device tree mapping for RISC-V
and necessary things for that such as:
- Fixmap mapping
- pmap
- Xen page table processing
---
Changes in v5:
- The following patch was merged to staging:
[PATCH v3 3/9] xen/riscv: enable CONFIG_HAS_DEVICE_TREE
- Drop depedency from "RISCV basic exception handling implementation" as
it was meged to staging branch.
- All other changes are patch specific so please look at the patch.
---
Changes in v4:
- Drop depedency from common devicre tree patch series as it was merged to
staging.
- Update the cover letter message.
- All other changes are patch specific so please look at the patch.
---
Changes in v3:
- Introduce SBI RFENCE extension support.
- Introduce and initialize pcpu_info[] and __cpuid_to_hartid_map[] and functionality
to work with this arrays.
- Make page table handling arch specific instead of trying to make it generic.
- All other changes are patch specific so please look at the patch.
---
Changes in v2:
- Update the cover letter message
- introduce fixmap mapping
- introduce pmap
- introduce CONFIG_GENREIC_PT
- update use early_fdt_map() after MMU is enabled.
---
Oleksii Kurochko (7):
xen/riscv: use {read,write}{b,w,l,q}_cpu() to define
{read,write}_atomic()
xen/riscv: set up fixmap mappings
xen/riscv: introduce asm/pmap.h header
xen/riscv: introduce functionality to work with CPU info
xen/riscv: introduce and initialize SBI RFENCE extension
xen/riscv: page table handling
xen/riscv: introduce early_fdt_map()
xen/arch/riscv/Kconfig | 1 +
xen/arch/riscv/Makefile | 3 +
xen/arch/riscv/include/asm/atomic.h | 25 +-
xen/arch/riscv/include/asm/config.h | 15 +-
xen/arch/riscv/include/asm/fixmap.h | 46 +++
xen/arch/riscv/include/asm/flushtlb.h | 18 +
xen/arch/riscv/include/asm/mm.h | 6 +
xen/arch/riscv/include/asm/page.h | 76 ++++
xen/arch/riscv/include/asm/pmap.h | 36 ++
xen/arch/riscv/include/asm/processor.h | 29 +-
xen/arch/riscv/include/asm/riscv_encoding.h | 1 +
xen/arch/riscv/include/asm/sbi.h | 63 +++
xen/arch/riscv/include/asm/smp.h | 11 +
xen/arch/riscv/mm.c | 101 ++++-
xen/arch/riscv/pt.c | 420 ++++++++++++++++++++
xen/arch/riscv/riscv64/head.S | 4 +
xen/arch/riscv/sbi.c | 273 ++++++++++++-
xen/arch/riscv/setup.c | 17 +
xen/arch/riscv/smp.c | 21 +
xen/arch/riscv/smpboot.c | 8 +
xen/arch/riscv/xen.lds.S | 2 +-
21 files changed, 1150 insertions(+), 26 deletions(-)
create mode 100644 xen/arch/riscv/include/asm/fixmap.h
create mode 100644 xen/arch/riscv/include/asm/pmap.h
create mode 100644 xen/arch/riscv/pt.c
create mode 100644 xen/arch/riscv/smp.c
create mode 100644 xen/arch/riscv/smpboot.c
--
2.46.0
next reply other threads:[~2024-08-21 16:06 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 16:06 Oleksii Kurochko [this message]
2024-08-21 16:06 ` [PATCH v5 1/7] xen/riscv: use {read,write}{b,w,l,q}_cpu() to define {read,write}_atomic() Oleksii Kurochko
2024-08-27 10:06 ` Jan Beulich
2024-08-28 9:21 ` oleksii.kurochko
2024-08-28 9:42 ` Jan Beulich
2024-08-29 8:52 ` oleksii.kurochko
2024-08-21 16:06 ` [PATCH v5 2/7] xen/riscv: set up fixmap mappings Oleksii Kurochko
2024-08-27 10:29 ` Jan Beulich
2024-08-28 9:53 ` oleksii.kurochko
2024-08-28 10:44 ` Jan Beulich
2024-08-30 11:01 ` oleksii.kurochko
2024-08-30 12:37 ` Jan Beulich
2024-08-30 11:55 ` oleksii.kurochko
2024-08-30 12:34 ` Jan Beulich
2024-08-21 16:06 ` [PATCH v5 3/7] xen/riscv: introduce asm/pmap.h header Oleksii Kurochko
2024-08-21 16:06 ` [PATCH v5 4/7] xen/riscv: introduce functionality to work with CPU info Oleksii Kurochko
2024-08-27 13:44 ` Jan Beulich
2024-08-28 10:56 ` oleksii.kurochko
2024-08-28 11:55 ` Jan Beulich
2024-08-21 16:06 ` [PATCH v5 5/7] xen/riscv: introduce and initialize SBI RFENCE extension Oleksii Kurochko
2024-08-27 14:19 ` Jan Beulich
2024-08-28 13:11 ` oleksii.kurochko
2024-08-28 15:03 ` Jan Beulich
2024-08-21 16:06 ` [PATCH v5 6/7] xen/riscv: page table handling Oleksii Kurochko
2024-08-27 15:00 ` Jan Beulich
2024-08-28 16:11 ` oleksii.kurochko
2024-08-29 7:01 ` Jan Beulich
2024-08-29 12:04 ` oleksii.kurochko
2024-08-29 12:14 ` Jan Beulich
2024-08-29 14:42 ` oleksii.kurochko
2024-08-29 14:56 ` Jan Beulich
2024-08-21 16:06 ` [PATCH v5 7/7] xen/riscv: introduce early_fdt_map() Oleksii Kurochko
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.1724256026.git.oleksii.kurochko@gmail.com \
--to=oleksii.kurochko@gmail.com \
--cc=alistair.francis@wdc.com \
--cc=andrew.cooper3@citrix.com \
--cc=bobbyeshleman@gmail.com \
--cc=connojdavis@gmail.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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 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.