Skip to content

RISC-V: Introduce vSBI framework

Oleksii Kurochko xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 6 repliesIn review
  2. v33 patches 7 repliesSuperseded
  3. v23 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches14 repliesSuperseded

Changes in v4 from the cover letter

- First to patches were merged to staging.
- Address comments for the last patch.
---

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1xen/riscv: add RISC-V virtual SBI base extension support for guestsxen/arch/riscv/include/asm/sbi.h xen/arch/riscv/vsbi/Makefile xen/arch/riscv/vsbi/base-extension.c+89 -06 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchJan Beulich
1/1A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/1] RISC-V: Introduce vSBI framework

Introduce the vSBI framework to handle extension ecall instruction calls from a guest.

In this patch series, support is added for only a few extensions and FIDs, just enough to boot the first guest domains and obtain logs from them. This keeps the patch series independent from other ongoing work.

It was decided to start with support for the Legacy Extension, as it is still supported by Linux (so we may need it anyway), and because some of its FIDs require less functionality to implement at this stage compared to the more modern extensions.

CI tests: https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/2238071752

---
Changes in v4:
- First to patches were merged to staging.
- Address comments for the last patch.
---
Changes in v3:
- Address a comments from v2.
---
Changes in v2:
- Address a comments from v1.
---

Oleksii Kurochko (1):
xen/riscv: add RISC-V virtual SBI base extension support for guests

 xen/arch/riscv/include/asm/sbi.h     |  6 ++
 xen/arch/riscv/vsbi/Makefile         |  1 +
 xen/arch/riscv/vsbi/base-extension.c | 82 ++++++++++++++++++++++++++++
 3 files changed, 89 insertions(+)
 create mode 100644 xen/arch/riscv/vsbi/base-extension.c
Signature · 1 line
2.52.0