Skip to content

RISCV: enable DOMAIN_BUILD_HELPERS

Oleksii Kurochko xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xen/riscv: implement get_page_from_gfn()xen/arch/riscv/include/asm/p2m.h xen/arch/riscv/p2m.c+30 -66 replies
2/6xen/riscv: implement copy_to_guest_phys()xen/arch/riscv/Makefile xen/arch/riscv/guestcopy.c xen/arch/riscv/include/asm/guest_access.h+120 -03 replies
3/6xen/riscv: add zImage kernel loading supportxen/arch/riscv/Makefile xen/arch/riscv/include/asm/config.h xen/arch/riscv/kernel.c+170 -04 replies
4/6xen: move declaration of fw_unreserved_regions() to common headerxen/arch/arm/include/asm/setup.h xen/include/xen/bootinfo.h+4 -30 replies
5/6xen: move domain_use_host_layout() to common headerxen/arch/arm/include/asm/domain.h xen/include/xen/domain.h+16 -149 replies
6/6xen/riscv: enable DOMAIN_BUILD_HELPERSxen/arch/riscv/Kconfig xen/arch/riscv/include/asm/p2m.h xen/arch/riscv/p2m.c +1 more+18 -010 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/6] RISCV: enable DOMAIN_BUILD_HELPERS

Introduce necessary things to enable DOMAIN_BUILD_HELPERS config for RISC-V.

Generally it is indepenent patch series from [1] and [2] but depends on which patches will go first it could be some merge conflicts.

At the moment, patch series is rebased on top of [2]:
staging -> [1] -> [2] -> current patch series.

[1] https://lore.kernel.org/xen-devel/[email protected]/T/#t
[2] https://lore.kernel.org/xen-devel/[email protected]/T/#t

Oleksii Kurochko (6):
xen/riscv: implement get_page_from_gfn()
xen/riscv: implement copy_to_guest_phys()
xen/riscv: add zImage kernel loading support
xen: move declaration of fw_unreserved_regions() to common header
xen: move domain_use_host_layout() to common header xen/riscv: enable DOMAIN_BUILD_HELPERS

 xen/arch/arm/include/asm/domain.h         |  14 --
 xen/arch/arm/include/asm/setup.h          |   3 -
 xen/arch/riscv/Kconfig                    |   1 +
 xen/arch/riscv/Makefile                   |   2 +
 xen/arch/riscv/guestcopy.c                | 112 ++++++++++++++++
 xen/arch/riscv/include/asm/config.h       |  13 ++
 xen/arch/riscv/include/asm/guest_access.h |   7 +
 xen/arch/riscv/include/asm/p2m.h          |  11 +-
 xen/arch/riscv/kernel.c                   | 156 ++++++++++++++++++++++
 xen/arch/riscv/p2m.c                      |  34 +++++
 xen/include/public/arch-riscv.h           |   8 ++
 xen/include/xen/bootinfo.h                |   4 +
 xen/include/xen/domain.h                  |  16 +++
 13 files changed, 358 insertions(+), 23 deletions(-)
 create mode 100644 xen/arch/riscv/guestcopy.c
 create mode 100644 xen/arch/riscv/kernel.c
Signature · 1 line
2.52.0