RISC-V: KVM: Convert extension_disabled[] to ext_status[]
authorAndrew Jones <ajones@ventanamicro.com>
Tue, 30 May 2023 17:50:23 +0000 (19:50 +0200)
committerAnup Patel <anup@brainfault.org>
Tue, 6 Jun 2023 03:42:10 +0000 (09:12 +0530)
commit9f9e3ebe111c7aabf18a4085648dcc58c568c1d6
tree75ed5986a2d48345103ffbb9843b06ace6408196
parentae328dadf9852bc420880d48e341f528b7e0ce78
RISC-V: KVM: Convert extension_disabled[] to ext_status[]

Change the boolean extension_disabled[] array to an array of enums,
ext_status[]. For now, the enum only has two states, which correspond
to the previous boolean states, so this patch has no intended
functional change. The next patch will add another state, expanding
the purpose of ext_status[].

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_vcpu_sbi.h
arch/riscv/kvm/vcpu_sbi.c