All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] RISC-V: Introduce vSBI framework
@ 2025-12-01 10:24 Oleksii Kurochko
  2025-12-01 10:24 ` [PATCH v1 1/3] xen/riscv: introduce vSBI extension framework Oleksii Kurochko
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Oleksii Kurochko @ 2025-12-01 10:24 UTC (permalink / raw)
  To: xen-devel
  Cc: Oleksii Kurochko, Alistair Francis, Bob Eshleman, Connor Davis,
	Andrew Cooper, Anthony PERARD, Michal Orzel, Jan Beulich,
	Julien Grall, Roger Pau Monné, Stefano Stabellini

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.

Oleksii Kurochko (3):
  xen/riscv: introduce vSBI extension framework
  xen/riscv: add RISC-V legacy SBI extension support for guests
  xen/riscv: add RISC-V virtual SBI base extension support for guests

 xen/arch/riscv/Makefile                     |  1 +
 xen/arch/riscv/include/asm/processor.h      |  1 +
 xen/arch/riscv/include/asm/sbi.h            | 14 +++++-
 xen/arch/riscv/include/asm/vsbi.h           | 31 ++++++++++++
 xen/arch/riscv/sbi.c                        |  8 ++--
 xen/arch/riscv/traps.c                      |  8 ++++
 xen/arch/riscv/vsbi/Makefile                |  3 ++
 xen/arch/riscv/vsbi/vsbi-base-extension.c   | 52 +++++++++++++++++++++
 xen/arch/riscv/vsbi/vsbi-legacy-extension.c | 37 +++++++++++++++
 xen/arch/riscv/vsbi/vsbi.c                  | 46 ++++++++++++++++++
 xen/arch/riscv/xen.lds.S                    |  7 +++
 11 files changed, 203 insertions(+), 5 deletions(-)
 create mode 100644 xen/arch/riscv/include/asm/vsbi.h
 create mode 100644 xen/arch/riscv/vsbi/Makefile
 create mode 100644 xen/arch/riscv/vsbi/vsbi-base-extension.c
 create mode 100644 xen/arch/riscv/vsbi/vsbi-legacy-extension.c
 create mode 100644 xen/arch/riscv/vsbi/vsbi.c

-- 
2.52.0



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-12-15 10:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-01 10:24 [PATCH v1 0/3] RISC-V: Introduce vSBI framework Oleksii Kurochko
2025-12-01 10:24 ` [PATCH v1 1/3] xen/riscv: introduce vSBI extension framework Oleksii Kurochko
2025-12-08 14:25   ` Jan Beulich
2025-12-10 17:03     ` Oleksii Kurochko
2025-12-11  9:23       ` Jan Beulich
2025-12-11 12:00         ` Oleksii Kurochko
2025-12-01 10:24 ` [PATCH v1 2/3] xen/riscv: add RISC-V legacy SBI extension support for guests Oleksii Kurochko
2025-12-08 15:05   ` Jan Beulich
2025-12-11 10:29     ` Oleksii Kurochko
2025-12-11 11:02       ` Jan Beulich
2025-12-11 12:52         ` Oleksii Kurochko
2025-12-11 13:36           ` Jan Beulich
2025-12-01 10:24 ` [PATCH v1 3/3] xen/riscv: add RISC-V virtual SBI base " Oleksii Kurochko
2025-12-08 15:15   ` Jan Beulich
2025-12-12 15:25     ` Oleksii Kurochko
2025-12-12 16:31       ` Oleksii Kurochko
2025-12-15  8:20       ` Jan Beulich
2025-12-15 10:39         ` Oleksii Kurochko

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.