Home
last modified time | relevance | path

Searched refs:host_isa_ext (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/arch/riscv/kvm/
Dvcpu_onereg.c457 unsigned long host_isa_ext; in riscv_vcpu_get_isa_ext_single() local
463 host_isa_ext = kvm_isa_ext_arr[reg_num]; in riscv_vcpu_get_isa_ext_single()
464 if (!__riscv_isa_extension_available(NULL, host_isa_ext)) in riscv_vcpu_get_isa_ext_single()
468 if (__riscv_isa_extension_available(vcpu->arch.isa, host_isa_ext)) in riscv_vcpu_get_isa_ext_single()
478 unsigned long host_isa_ext; in riscv_vcpu_set_isa_ext_single() local
484 host_isa_ext = kvm_isa_ext_arr[reg_num]; in riscv_vcpu_set_isa_ext_single()
485 if (!__riscv_isa_extension_available(NULL, host_isa_ext)) in riscv_vcpu_set_isa_ext_single()
488 if (reg_val == test_bit(host_isa_ext, vcpu->arch.isa)) in riscv_vcpu_set_isa_ext_single()
498 set_bit(host_isa_ext, vcpu->arch.isa); in riscv_vcpu_set_isa_ext_single()
501 clear_bit(host_isa_ext, vcpu->arch.isa); in riscv_vcpu_set_isa_ext_single()