lkml.org 
[lkml]   [2022]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/5] KVM RISC-V Svpbmt support
    Date
    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(-)

    --
    2.34.1

    \
     
     \ /
      Last update: 2022-07-07 16:56    [W:3.000 / U:2.740 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site