Skip to content

KVM RISC-V Svpbmt support

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: Add gfp_custom flag in struct kvm_mmu_memory_cacheinclude/linux/kvm_types.h virt/kvm/kvm_main.c+4 -12 replies
2/5riscv: Fix missing PAGE_PFN_MASKarch/riscv/include/asm/pgtable-64.h arch/riscv/include/asm/pgtable.h arch/riscv/kvm/mmu.c+10 -101 reply
3/5RISC-V: KVM: Add G-stage ioremap() and iounmap() functionsarch/riscv/include/asm/kvm_host.h arch/riscv/kvm/mmu.c+19 -42 replies
4/5RISC-V: KVM: Use PAGE_KERNEL_IO in kvm_riscv_gstage_ioremap()arch/riscv/kvm/mmu.c+1 -12 replies
5/5RISC-V: KVM: Add support for Svpbmt inside Guest/VMarch/riscv/include/asm/csr.h arch/riscv/include/uapi/asm/kvm.h arch/riscv/kvm/vcpu.c+33 -02 replies

Reviews trailers per patch

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

PatchAnup PatelAtish Patra
1/5A-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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/5] KVM RISC-V Svpbmt support

This series extends KVM RISC-V to detect and use Svpbmt for both G-stage (hypervisor) and VS-stage (guest) page table.

The corresponding KVMTOOL patches used for testing this series can be found in riscv_svpbmt_sstc_v1 branch at:
https://github.com/avpatel/kvmtool.git

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

Alexandre Ghiti (1):
riscv: Fix missing PAGE_PFN_MASK

Anup Patel (4):
KVM: Add gfp_custom flag in struct kvm_mmu_memory_cache
RISC-V: KVM: Add G-stage ioremap() and iounmap() functions
RISC-V: KVM: Use PAGE_KERNEL_IO in kvm_riscv_gstage_ioremap()
RISC-V: KVM: Add support for Svpbmt inside Guest/VM

 arch/riscv/include/asm/csr.h        | 16 ++++++++++++++++
 arch/riscv/include/asm/kvm_host.h   |  5 +++++
 arch/riscv/include/asm/pgtable-64.h | 12 ++++++------
 arch/riscv/include/asm/pgtable.h    |  6 +++---
 arch/riscv/include/uapi/asm/kvm.h   |  1 +
 arch/riscv/kvm/mmu.c                | 22 ++++++++++++++++------
 arch/riscv/kvm/vcpu.c               | 16 ++++++++++++++++
 include/linux/kvm_types.h           |  1 +
 virt/kvm/kvm_main.c                 |  4 +++-
 9 files changed, 67 insertions(+), 16 deletions(-)
Signature · 1 line
2.34.1