Skip to content

KVM: RISC-V: MMU bug fix and cleanup

Sean Christopherson kvm kvm-riscv linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: RISC-V: Unmap stage2 mapping when deleting/moving a memslotarch/riscv/kvm/mmu.c+6 -01 reply
2/2KVM: RISC-V: Use common KVM implementation of MMU memory cachesarch/riscv/include/asm/kvm_host.h arch/riscv/include/asm/kvm_types.h arch/riscv/kvm/mmu.c +1 more+16 -651 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: RISC-V: MMU bug fix and cleanup

Bug fix and a cleanup for things I noticed by inspection when working on the scalable memslots series. Regarding the fix, unless there's a magic unmapping hiding in the corners of the MMU, RISC-V completely fails to handle memslot DELETE or MOVE.

Compile tested only.

Sean Christopherson (2):
KVM: RISC-V: Unmap stage2 mapping when deleting/moving a memslot
KVM: RISC-V: Use common KVM implementation of MMU memory caches

 arch/riscv/include/asm/kvm_host.h  | 10 +----
 arch/riscv/include/asm/kvm_types.h |  2 +-
 arch/riscv/kvm/mmu.c               | 70 ++++++++----------------------
 arch/riscv/kvm/vcpu.c              |  5 ++-
 4 files changed, 22 insertions(+), 65 deletions(-)
Signature · 1 line
2.34.0.rc0.344.g81b53c2807-goog