summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTan En De <ende.tan@starfivetech.com>2023-03-06 18:23:20 +0300
committerLey Foon Tan <leyfoon.tan@starfivetech.com>2023-12-04 06:00:14 +0300
commitbe7e888028cff2b005119644733226ca03f7807d (patch)
tree1c6aa4e7ab1a3370672b3deaf431e44bd3884e56
parentefe9b8facac995215df9f6a9cfbd489e8165536d (diff)
downloadlinux-be7e888028cff2b005119644733226ca03f7807d.tar.xz
arch: riscv: kvm: Temporarily comment out henvcfg-related code
Comment out kvm_riscv_vcpu_update_config since it touches currently non-existent henvcfg CSR on Dubhe, because Dubhe is still using hypervisor ISA v0.6.1. Uncommenting is needed once Dubhe is upgraded with hypervisor ISA v1.0. Signed-off-by: Tan En De <ende.tan@starfivetech.com>
-rw-r--r--arch/riscv/kvm/vcpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv/kvm/vcpu.c b/arch/riscv/kvm/vcpu.c
index 5174ef54ad1d..fb83e196678f 100644
--- a/arch/riscv/kvm/vcpu.c
+++ b/arch/riscv/kvm/vcpu.c
@@ -837,7 +837,8 @@ void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
csr_write(CSR_HVIP, csr->hvip);
csr_write(CSR_VSATP, csr->vsatp);
- kvm_riscv_vcpu_update_config(vcpu->arch.isa);
+ /* Temporarily commented out while Dubhe is still using Hypervisor ISA v0.6 */
+ /* kvm_riscv_vcpu_update_config(vcpu->arch.isa); */
kvm_riscv_gstage_update_hgatp(vcpu);