mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
RISC-V: KVM: Fix reg_val check in kvm_riscv_vcpu_set_reg_config()
[ Upstream commite482d9e33d] 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>
This commit is contained in:
parent
c786f2ac30
commit
b773e86fc1
1 changed files with 7 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue