@@ -49,6 +49,7 @@ struct isa_ext_info isa_info_arr[] = {
{"zihintntl", KVM_RISCV_ISA_EXT_ZIHINTNTL},
{"zihintpause", KVM_RISCV_ISA_EXT_ZIHINTPAUSE},
{"zihpm", KVM_RISCV_ISA_EXT_ZIHPM},
+ {"zimop", KVM_RISCV_ISA_EXT_ZIMOP},
{"zknd", KVM_RISCV_ISA_EXT_ZKND},
{"zkne", KVM_RISCV_ISA_EXT_ZKNE},
{"zknh", KVM_RISCV_ISA_EXT_ZKNH},
@@ -124,6 +124,9 @@ struct kvm_config_arch {
OPT_BOOLEAN('\0', "disable-zihpm", \
&(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZIHPM], \
"Disable Zihpm Extension"), \
+ OPT_BOOLEAN('\0', "disable-zimop", \
+ &(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZIMOP], \
+ "Disable Zimop Extension"), \
OPT_BOOLEAN('\0', "disable-zknd", \
&(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZKND], \
"Disable Zknd Extension"), \
When the Zimop extension is available expose it to the guest via device tree so that guest can use it. Signed-off-by: Anup Patel <apatel@ventanamicro.com> --- riscv/fdt.c | 1 + riscv/include/kvm/kvm-config-arch.h | 3 +++ 2 files changed, 4 insertions(+)