KVM RISC-V Svpbmt support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: Add gfp_custom flag in struct kvm_mmu_memory_cacheinclude/ virt/ | +4 | 2 replies | |
| 2/5 | riscv: Fix missing PAGE_PFN_MASKarch/ arch/ arch/ | +10 | 1 reply | |
| 3/5 | RISC-V: KVM: Add G-stage ioremap() and iounmap() functionsarch/ arch/ | +19 | 2 replies | |
| 4/5 | RISC-V: KVM: Use PAGE_KERNEL_IO in kvm_riscv_gstage_ioremap()arch/ | +1 | 2 replies | |
| 5/5 | RISC-V: KVM: Add support for Svpbmt inside Guest/VMarch/ arch/ arch/ | +33 | 2 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Anup Patel | Atish Patra |
|---|---|---|
| 1/5 | A-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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