diff options
author | Anup Patel <apatel@ventanamicro.com> | 2023-09-18 11:48:29 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-09-21 15:03:59 +0530 |
commit | ef4d48368587f27cb1f690691518889d8fb3510b (patch) | |
tree | 6feadc6954c46c3f1f7fe4c55b8a3e5c896cba1b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) |
RISC-V: KVM: Fix KVM_GET_REG_LIST API for ISA_EXT registers
The ISA_EXT registers to enabled/disable ISA extensions for VCPU
are always available when underlying host has the corresponding
ISA extension. The copy_isa_ext_reg_indices() called by the
KVM_GET_REG_LIST API does not align with this expectation so
let's fix it.
Fixes: 031f9efafc08 ("KVM: riscv: Add KVM_GET_REG_LIST API support")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions