Skip to content

RISC-V: KVM: Ensure SBI extension is enabled

Andrew Jones kvm-riscv linux-riscv 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- used lowercase for enum

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3RISC-V: KVM: Rename dis_idx to ext_idxarch/riscv/kvm/vcpu_sbi.c+17 -170 replies
2/3RISC-V: KVM: Convert extension_disabled[] to ext_status[]arch/riscv/include/asm/kvm_vcpu_sbi.h arch/riscv/kvm/vcpu_sbi.c+12 -40 replies
3/3RISC-V: KVM: Probe for SBI extension statusarch/riscv/include/asm/kvm_vcpu_sbi.h arch/riscv/kvm/vcpu_sbi.c+40 -120 replies

Reviews trailers per patch

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

PatchAnup Patel
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] RISC-V: KVM: Ensure SBI extension is enabled

Ensure guests can't attempt to invoke SBI extension functions when the SBI extension's probe function has stated that the extension is not available.

v3:
- used lowercase for enum

v2:
- Reworked it to use an enum array instead of two boolean arrays

Andrew Jones (3):
RISC-V: KVM: Rename dis_idx to ext_idx
RISC-V: KVM: Convert extension_disabled[] to ext_status[]
RISC-V: KVM: Probe for SBI extension status

 arch/riscv/include/asm/kvm_vcpu_sbi.h |  8 ++-
 arch/riscv/kvm/vcpu_sbi.c             | 76 +++++++++++++++++++--------
 2 files changed, 60 insertions(+), 24 deletions(-)
Signature · 1 line
2.40.1