Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_onereg.c581 unsigned long host_isa_ext; in riscv_vcpu_get_isa_ext_single() local
587 host_isa_ext = kvm_isa_ext_arr[reg_num]; in riscv_vcpu_get_isa_ext_single()
588 if (!__riscv_isa_extension_available(NULL, host_isa_ext)) in riscv_vcpu_get_isa_ext_single()
592 if (__riscv_isa_extension_available(vcpu->arch.isa, host_isa_ext)) in riscv_vcpu_get_isa_ext_single()
602 unsigned long host_isa_ext; in riscv_vcpu_set_isa_ext_single() local
608 host_isa_ext = kvm_isa_ext_arr[reg_num]; in riscv_vcpu_set_isa_ext_single()
609 if (!__riscv_isa_extension_available(NULL, host_isa_ext)) in riscv_vcpu_set_isa_ext_single()
612 if (reg_val == test_bit(host_isa_ext, vcpu->arch.isa)) in riscv_vcpu_set_isa_ext_single()
622 set_bit(host_isa_ext, vcpu->arch.isa); in riscv_vcpu_set_isa_ext_single()
625 clear_bit(host_isa_ext, vcpu->arch.isa); in riscv_vcpu_set_isa_ext_single()