acrn-kernel/arch/riscv/kvm
Anup Patel b773e86fc1 RISC-V: KVM: Fix reg_val check in kvm_riscv_vcpu_set_reg_config()
[ Upstream commit e482d9e33d ]

The reg_val check in kvm_riscv_vcpu_set_reg_config() should only
be done for isa config register.

Fixes: 9bfd900bee ("RISC-V: KVM: Improve ISA extension by using a bitmap")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:51 +01:00
..
Kconfig
Makefile
main.c
mmu.c
tlb.c
vcpu.c
vcpu_exit.c
vcpu_fp.c
vcpu_insn.c
vcpu_sbi.c
vcpu_sbi_base.c
vcpu_sbi_hsm.c
vcpu_sbi_replace.c
vcpu_sbi_v01.c
vcpu_switch.S
vcpu_timer.c
vm.c
vmid.c