Skip to content

SBI MPXY support for KVM Guest

Anup Patel kvm kvm-riscv linux-kselftest linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4RISC-V: KVM: Convert kvm_riscv_vcpu_sbi_forward() into extension handlerarch/riscv/include/asm/kvm_vcpu_sbi.h arch/riscv/kvm/vcpu_sbi.c arch/riscv/kvm/vcpu_sbi_base.c +3 more+14 -501 reply
2/4RISC-V: KVM: Add separate source for forwarded SBI extensionsarch/riscv/kvm/Makefile arch/riscv/kvm/vcpu_sbi_base.c arch/riscv/kvm/vcpu_sbi_forward.c +1 more+28 -191 reply
3/4RISC-V: KVM: Add SBI MPXY extension support for Guestarch/riscv/include/asm/kvm_vcpu_sbi.h arch/riscv/include/uapi/asm/kvm.h arch/riscv/kvm/vcpu_sbi.c +1 more+13 -01 reply
4/4KVM: riscv: selftests: Add SBI MPXY extension to get-reg-listtools/testing/selftests/kvm/riscv/get-reg-list.c+4 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndrew Jones
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v1 thread

Cover letter [PATCH 0/4] SBI MPXY support for KVM Guest

This series adds SBI MPXY support for KVM Guest/VM which will enable QEMU-KVM or KVMTOOL to emulate RPMI MPXY channels for the Guest/VM.

These patches can also be found in riscv_kvm_sbi_mpxy_v1 branch
at: https://github.com/avpatel/linux.git

Anup Patel (4):
RISC-V: KVM: Convert kvm_riscv_vcpu_sbi_forward() into extension
handler
RISC-V: KVM: Add separate source for forwarded SBI extensions
RISC-V: KVM: Add SBI MPXY extension support for Guest
KVM: riscv: selftests: Add SBI MPXY extension to get-reg-list

 arch/riscv/include/asm/kvm_vcpu_sbi.h         |  5 ++-
 arch/riscv/include/uapi/asm/kvm.h             |  1 +
 arch/riscv/kvm/Makefile                       |  1 +
 arch/riscv/kvm/vcpu_sbi.c                     | 10 +++++-
 arch/riscv/kvm/vcpu_sbi_base.c                | 28 +--------------
 arch/riscv/kvm/vcpu_sbi_forward.c             | 34 +++++++++++++++++++
 arch/riscv/kvm/vcpu_sbi_replace.c             | 32 -----------------
 arch/riscv/kvm/vcpu_sbi_system.c              |  4 +--
 arch/riscv/kvm/vcpu_sbi_v01.c                 |  3 +-
 .../selftests/kvm/riscv/get-reg-list.c        |  4 +++
 10 files changed, 56 insertions(+), 66 deletions(-)
 create mode 100644 arch/riscv/kvm/vcpu_sbi_forward.c
Signature · 1 line
2.43.0