Searched refs:riscv_has_extension_unlikely (Results 1 – 6 of 6) sorted by relevance
12 #undef riscv_has_extension_unlikely
547 if (riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN)) { in kvm_riscv_vcpu_setup_config()580 if (riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN)) { in kvm_arch_vcpu_load()695 if (riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN) && in kvm_riscv_vcpu_swap_in_guest_state()708 if (riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN) && in kvm_riscv_vcpu_swap_in_host_state()
183 return riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN); in kvm_riscv_vcpu_isa_disable_allowed()518 if (riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN)) in kvm_riscv_vcpu_get_reg_csr()563 if (riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN)) in kvm_riscv_vcpu_set_reg_csr()
18 #define has_svinval() riscv_has_extension_unlikely(RISCV_ISA_EXT_SVINVAL)
141 static __always_inline bool riscv_has_extension_unlikely(const unsigned long ext) in riscv_has_extension_unlikely() function
40 return riscv_has_extension_unlikely(RISCV_ISA_EXT_ZVE32X); in has_vector()