Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dkvm_host.h247 return arch->cpucfg[2] & CPUCFG2_FP; in kvm_guest_has_fpu()
H A Dloongarch.h79 #define CPUCFG2_FP BIT(0) macro
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c132 if (config & CPUCFG2_FP) { in cpu_probe_common()
/linux/arch/loongarch/kvm/
H A Dvcpu.c629 *v = CPUCFG2_FP | CPUCFG2_FPSP | CPUCFG2_FPDP | in _kvm_get_cpucfg_mask()
695 if ((val & CPUCFG2_FP) && (!(val & CPUCFG2_FPSP) || !(val & CPUCFG2_FPDP))) in kvm_check_cpucfg()
698 if ((val & CPUCFG2_LSX) && !(val & CPUCFG2_FP)) in kvm_check_cpucfg()