Searched refs:riscv_isa_extension_available (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_fp.c | 22 if (riscv_isa_extension_available(vcpu->arch.isa, f) || in kvm_riscv_vcpu_fp_reset() 23 riscv_isa_extension_available(vcpu->arch.isa, d)) in kvm_riscv_vcpu_fp_reset() 39 if (riscv_isa_extension_available(isa, d)) in kvm_riscv_vcpu_guest_fp_save() 41 else if (riscv_isa_extension_available(isa, f)) in kvm_riscv_vcpu_guest_fp_save() 51 if (riscv_isa_extension_available(isa, d)) in kvm_riscv_vcpu_guest_fp_restore() 53 else if (riscv_isa_extension_available(isa, f)) in kvm_riscv_vcpu_guest_fp_restore() 62 if (riscv_isa_extension_available(NULL, d)) in kvm_riscv_vcpu_host_fp_save() 64 else if (riscv_isa_extension_available(NULL, f)) in kvm_riscv_vcpu_host_fp_save() 70 if (riscv_isa_extension_available(NULL, d)) in kvm_riscv_vcpu_host_fp_restore() 72 else if (riscv_isa_extension_available(NULL, f)) in kvm_riscv_vcpu_host_fp_restore() [all …]
|
H A D | vcpu_vector.c | 25 if (riscv_isa_extension_available(isa, v)) { in kvm_riscv_vcpu_vector_reset() 44 if (riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_guest_vector_save() 54 if (riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_guest_vector_restore() 63 if (riscv_isa_extension_available(NULL, v)) in kvm_riscv_vcpu_host_vector_save() 69 if (riscv_isa_extension_available(NULL, v)) in kvm_riscv_vcpu_host_vector_restore() 147 if (!riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_get_reg_vector() 173 if (!riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_set_reg_vector()
|
H A D | vcpu_onereg.c | 137 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOM)) in kvm_riscv_vcpu_get_reg_config() 142 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in kvm_riscv_vcpu_get_reg_config() 226 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOM)) in kvm_riscv_vcpu_set_reg_config() 232 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in kvm_riscv_vcpu_set_reg_config() 643 !riscv_isa_extension_available(vcpu->arch.isa, ZICBOM)) in copy_config_reg_indices() 646 !riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in copy_config_reg_indices() 697 if (riscv_isa_extension_available(vcpu->arch.isa, SSAIA)) in num_csr_regs() 724 if (riscv_isa_extension_available(vcpu->arch.isa, SSAIA)) { in copy_csr_reg_indices() 771 if (riscv_isa_extension_available(vcpu->arch.isa, f)) in num_fp_f_regs() 800 if (riscv_isa_extension_available(vcpu->arch.isa, d)) in num_fp_d_regs()
|
H A D | main.c | 73 if (!riscv_isa_extension_available(NULL, h)) { in riscv_kvm_init()
|
H A D | vcpu.c | 478 if (riscv_isa_extension_available(isa, SVPBMT)) in kvm_riscv_vcpu_update_config() 481 if (riscv_isa_extension_available(isa, SSTC)) in kvm_riscv_vcpu_update_config() 484 if (riscv_isa_extension_available(isa, ZICBOM)) in kvm_riscv_vcpu_update_config() 487 if (riscv_isa_extension_available(isa, ZICBOZ)) in kvm_riscv_vcpu_update_config()
|
H A D | vcpu_timer.c | 256 if (riscv_isa_extension_available(NULL, SSTC)) { in kvm_riscv_vcpu_timer_init()
|
H A D | aia.c | 604 if (!riscv_isa_extension_available(NULL, SxAIA)) in kvm_riscv_aia_init()
|
H A D | vcpu_pmu.c | 556 if (!riscv_isa_extension_available(NULL, SSCOFPMF)) in kvm_riscv_vcpu_pmu_init()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | sys_riscv.c | 135 if (riscv_isa_extension_available(NULL, c)) in hwprobe_isa_ext0() 148 if (riscv_isa_extension_available(isainfo->isa, ZBA)) in hwprobe_isa_ext0() 153 if (riscv_isa_extension_available(isainfo->isa, ZBB)) in hwprobe_isa_ext0() 158 if (riscv_isa_extension_available(isainfo->isa, ZBS)) in hwprobe_isa_ext0()
|
H A D | setup.c | 311 riscv_isa_extension_available(NULL, ZICBOM)) in setup_arch()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | hwcap.h | 91 #define riscv_isa_extension_available(isa_bitmap, ext) \ macro
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-riscv.c | 163 if (riscv_isa_extension_available(NULL, SSTC)) { in riscv_timer_init_common()
|
/openbmc/linux/drivers/perf/ |
H A D | riscv_pmu_sbi.c | 810 if (riscv_isa_extension_available(NULL, SSCOFPMF)) { in pmu_sbi_setup_irqs()
|