[GIT PULL] KVM/riscv changes for 6.19
Anup Patel
anup at brainfault.org
Fri Nov 28 03:09:20 PST 2025
Hi Paolo,
We have the following KVM RISC-V changes for 6.19:
1) SBI MPXY support for KVM guest
2) New KVM_EXIT_FAIL_ENTRY_NO_VSFILE
3) Enable dirty logging gradually in small chunks
4) Fix guest page fault within HLV* instructions
5) Flush VS-stage TLB after VCPU migration for Andes cores
Please pull.
Regards,
Anup
The following changes since commit ac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d:
Linux 6.18-rc7 (2025-11-23 14:53:16 -0800)
are available in the Git repository at:
https://github.com/kvm-riscv/linux.git tags/kvm-riscv-6.19-1
for you to fetch changes up to 3239c52fd21257c80579875e74c9956c2f9cd1f9:
RISC-V: KVM: Flush VS-stage TLB after VCPU migration for Andes cores
(2025-11-24 09:55:36 +0530)
----------------------------------------------------------------
KVM/riscv changes for 6.19
- SBI MPXY support for KVM guest
- New KVM_EXIT_FAIL_ENTRY_NO_VSFILE for the case when in-kernel
AIA virtualization fails to allocate IMSIC VS-file
- Support enabling dirty log gradually in small chunks
- Fix guest page fault within HLV* instructions
- Flush VS-stage TLB after VCPU migration for Andes cores
----------------------------------------------------------------
Anup Patel (4):
RISC-V: KVM: Convert kvm_riscv_vcpu_sbi_forward() into extension handler
RISC-V: KVM: Add separate source for forwarded SBI extensions
RISC-V: KVM: Add SBI MPXY extension support for Guest
KVM: riscv: selftests: Add SBI MPXY extension to get-reg-list
BillXiang (1):
RISC-V: KVM: Introduce KVM_EXIT_FAIL_ENTRY_NO_VSFILE
Dong Yang (1):
KVM: riscv: Support enabling dirty log gradually in small chunks
Fangyu Yu (1):
RISC-V: KVM: Fix guest page fault within HLV* instructions
Hui Min Mina Chou (1):
RISC-V: KVM: Flush VS-stage TLB after VCPU migration for Andes cores
Documentation/virt/kvm/api.rst | 2 +-
arch/riscv/include/asm/kvm_host.h | 6 +++++
arch/riscv/include/asm/kvm_tlb.h | 1 +
arch/riscv/include/asm/kvm_vcpu_sbi.h | 5 +++-
arch/riscv/include/asm/kvm_vmid.h | 1 -
arch/riscv/include/uapi/asm/kvm.h | 3 +++
arch/riscv/kvm/Makefile | 1 +
arch/riscv/kvm/aia_imsic.c | 2 +-
arch/riscv/kvm/main.c | 14 ++++++++++
arch/riscv/kvm/mmu.c | 5 +++-
arch/riscv/kvm/tlb.c | 30 +++++++++++++++++++++
arch/riscv/kvm/vcpu.c | 2 +-
arch/riscv/kvm/vcpu_insn.c | 22 +++++++++++++++
arch/riscv/kvm/vcpu_sbi.c | 10 ++++++-
arch/riscv/kvm/vcpu_sbi_base.c | 28 +------------------
arch/riscv/kvm/vcpu_sbi_forward.c | 34 ++++++++++++++++++++++++
arch/riscv/kvm/vcpu_sbi_replace.c | 32 ----------------------
arch/riscv/kvm/vcpu_sbi_system.c | 4 +--
arch/riscv/kvm/vcpu_sbi_v01.c | 3 +--
arch/riscv/kvm/vmid.c | 23 ----------------
tools/testing/selftests/kvm/riscv/get-reg-list.c | 4 +++
21 files changed, 138 insertions(+), 94 deletions(-)
create mode 100644 arch/riscv/kvm/vcpu_sbi_forward.c
More information about the linux-riscv
mailing list