From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: "Romain Caritey" <Romain.Caritey@microchip.com>,
"Oleksii Kurochko" <oleksii.kurochko@gmail.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Julien Grall" <julien@xen.org>,
"Bertrand Marquis" <bertrand.marquis@arm.com>,
"Michal Orzel" <michal.orzel@amd.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Jan Beulich" <jbeulich@suse.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Connor Davis" <connojdavis@gmail.com>
Subject: [PATCH v4 00/11] RISCV: enable DOMAIN_BUILD_HELPERS
Date: Tue, 28 Apr 2026 16:33:29 +0200 [thread overview]
Message-ID: <cover.1777303844.git.oleksii.kurochko@gmail.com> (raw)
Introduce necessary things to enable DOMAIN_BUILD_HELPERS config for RISC-V.
This patch series is rebased on top of [PATCH v3 0/3] dom0less: various updates
as it could be some merge conflicts depends on which patch series will go first.
CI: https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/2477740734
---
Changes in v4:
- Move patch up, closer to other common/Arm related patches:
- xen/dom0less: rename kernel_zimage_probe() to kernel_image_probe()
- xen: move declaration of fw_unreserved_regions() to common header
- xen: move domain_use_host_layout() to common header
- xen: rename p2m_ipa_bits to p2m_gpa_bits
- Merged to upstream/staging:
xen/riscv: implement get_page_from_gfn()
- Rebase this patch series on top of [PATCH v3 0/3] dom0less: various updates.
- Address the comments from ML.
---
Changes in v3:
- Address the comments from ML.
---
Changes in v2:
- Address the comments from ML.
- Introduce some new patches to make dom0less solution more architecture
indepenent from terminology point of view.
- Minor fixes.
---
Oleksii Kurochko (11):
xen: arm: fix len type for guest copy functions
xen/dom0less: rename kernel_zimage_probe() to kernel_image_probe()
xen: move declaration of fw_unreserved_regions() to common header
xen: introduce domain-layout.h with common domain_use_host_layout()
xen: rename p2m_ipa_bits to p2m_gpa_bits
xen/riscv: implement copy_to_guest_phys()
xen/riscv: add Linux kernel loading support
xen/riscv: rework G-stage mode handling
xen/riscv: introduce p2m_gpa_bits
xen/riscv: add definition of guest RAM banks
xen/riscv: enable DOMAIN_BUILD_HELPERS
xen/arch/arm/domain_build.c | 1 +
xen/arch/arm/guestcopy.c | 6 +-
xen/arch/arm/include/asm/domain.h | 14 --
xen/arch/arm/include/asm/guest_access.h | 2 +-
xen/arch/arm/include/asm/p2m.h | 2 +
xen/arch/arm/include/asm/setup.h | 3 -
xen/arch/arm/kernel.c | 48 ++---
xen/arch/arm/vgic-v3.c | 1 +
xen/arch/riscv/Kconfig | 1 +
xen/arch/riscv/Makefile | 3 +
xen/arch/riscv/dom0less-build.c | 70 +++++++
xen/arch/riscv/guestcopy.c | 116 +++++++++++
xen/arch/riscv/include/asm/config.h | 13 ++
xen/arch/riscv/include/asm/domain.h | 1 +
xen/arch/riscv/include/asm/guest-layout.h | 23 ++
xen/arch/riscv/include/asm/guest_access.h | 7 +
xen/arch/riscv/include/asm/p2m.h | 21 +-
xen/arch/riscv/kernel.c | 242 ++++++++++++++++++++++
xen/arch/riscv/p2m.c | 133 ++++++++----
xen/arch/riscv/vmid.c | 2 +-
xen/common/device-tree/domain-build.c | 3 +-
xen/common/device-tree/kernel.c | 2 +-
xen/include/public/arch-riscv.h | 5 +
xen/include/xen/bootinfo.h | 4 +
xen/include/xen/domain-layout.h | 27 +++
xen/include/xen/fdt-domain-build.h | 2 +-
xen/include/xen/fdt-kernel.h | 15 +-
27 files changed, 670 insertions(+), 97 deletions(-)
create mode 100644 xen/arch/riscv/dom0less-build.c
create mode 100644 xen/arch/riscv/guestcopy.c
create mode 100644 xen/arch/riscv/include/asm/guest-layout.h
create mode 100644 xen/arch/riscv/kernel.c
create mode 100644 xen/include/xen/domain-layout.h
--
2.53.0
next reply other threads:[~2026-04-28 14:34 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 14:33 Oleksii Kurochko [this message]
2026-04-28 14:33 ` [PATCH v4 01/11] xen: arm: fix len type for guest copy functions Oleksii Kurochko
2026-04-29 10:08 ` Luca Fancellu
2026-05-04 5:30 ` Jan Beulich
2026-05-05 8:27 ` Luca Fancellu
2026-05-05 9:05 ` Jan Beulich
2026-05-05 10:07 ` Luca Fancellu
2026-05-05 10:13 ` Jan Beulich
2026-05-05 10:16 ` Luca Fancellu
2026-04-28 14:33 ` [PATCH v4 02/11] xen/dom0less: rename kernel_zimage_probe() to kernel_image_probe() Oleksii Kurochko
2026-04-29 10:59 ` Luca Fancellu
2026-05-06 9:48 ` Oleksii Kurochko
2026-04-28 14:33 ` [PATCH v4 03/11] xen: move declaration of fw_unreserved_regions() to common header Oleksii Kurochko
2026-04-29 15:01 ` Luca Fancellu
2026-04-28 14:33 ` [PATCH v4 04/11] xen: introduce domain-layout.h with common domain_use_host_layout() Oleksii Kurochko
2026-04-29 15:10 ` Luca Fancellu
2026-05-06 10:26 ` Oleksii Kurochko
2026-05-04 12:59 ` Jan Beulich
2026-05-06 15:47 ` Oleksii Kurochko
2026-05-07 7:25 ` Jan Beulich
2026-05-07 7:37 ` Oleksii Kurochko
2026-04-28 14:33 ` [PATCH v4 05/11] xen: rename p2m_ipa_bits to p2m_gpa_bits Oleksii Kurochko
2026-04-29 15:15 ` Luca Fancellu
2026-05-06 10:32 ` Oleksii Kurochko
2026-04-28 14:33 ` [PATCH v4 06/11] xen/riscv: implement copy_to_guest_phys() Oleksii Kurochko
2026-04-28 14:33 ` [PATCH v4 07/11] xen/riscv: add Linux kernel loading support Oleksii Kurochko
2026-05-04 14:05 ` Jan Beulich
2026-05-06 11:57 ` Oleksii Kurochko
2026-05-06 12:45 ` Jan Beulich
2026-05-06 13:43 ` Oleksii Kurochko
2026-05-06 14:02 ` Jan Beulich
2026-05-06 14:53 ` Oleksii Kurochko
2026-05-06 15:00 ` Jan Beulich
2026-04-28 14:33 ` [PATCH v4 08/11] xen/riscv: rework G-stage mode handling Oleksii Kurochko
2026-05-04 14:23 ` Jan Beulich
2026-05-06 14:03 ` Oleksii Kurochko
2026-04-28 14:33 ` [PATCH v4 09/11] xen/riscv: introduce p2m_gpa_bits Oleksii Kurochko
2026-04-28 14:33 ` [PATCH v4 10/11] xen/riscv: add definition of guest RAM banks Oleksii Kurochko
2026-04-28 14:33 ` [PATCH v4 11/11] xen/riscv: enable DOMAIN_BUILD_HELPERS 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.1777303844.git.oleksii.kurochko@gmail.com \
--to=oleksii.kurochko@gmail.com \
--cc=Romain.Caritey@microchip.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=alistair.francis@wdc.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=bertrand.marquis@arm.com \
--cc=connojdavis@gmail.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--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.