On Thu, 28 Oct 2021 07:07:33 PDT (-0700), pbonzini@xxxxxxxxxx wrote:
On 26/10/21 19:01, Anup Patel wrote:
I had a few assorted KVM RISC-V changes which I wanted to sent after
KVM RISC-V was merged hence this series.
These patches can also be found in riscv_kvm_assorted_v1 branch at:
https://github.com/avpatel/linux.git
Anup Patel (3):
RISC-V: Enable KVM in RV64 and RV32 defconfigs as a module
RISC-V: KVM: Factor-out FP virtualization into separate sources
RISC-V: KVM: Fix GPA passed to __kvm_riscv_hfence_gvma_xyz() functions
arch/riscv/configs/defconfig | 15 ++-
arch/riscv/configs/rv32_defconfig | 8 +-
arch/riscv/include/asm/kvm_host.h | 10 +-
arch/riscv/include/asm/kvm_vcpu_fp.h | 59 +++++++++
arch/riscv/kvm/Makefile | 1 +
arch/riscv/kvm/tlb.S | 4 +-
arch/riscv/kvm/vcpu.c | 172 ---------------------------
arch/riscv/kvm/vcpu_fp.c | 167 ++++++++++++++++++++++++++
8 files changed, 244 insertions(+), 192 deletions(-)
create mode 100644 arch/riscv/include/asm/kvm_vcpu_fp.h
create mode 100644 arch/riscv/kvm/vcpu_fp.c
Queued 2+3, thanks.
Thanks. I'll pick up 1, as per the thread.