Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/fpu/
Dinit.c29 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu__init_cpu_generic()
31 cr0 |= X86_CR0_EM; in fpu__init_cpu_generic()
60 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__probe_without_cpuid()
/Linux-v4.19/arch/x86/boot/
Dcpuflags.c21 if (cr0 & (X86_CR0_EM|X86_CR0_TS)) { in has_fpu()
22 cr0 &= ~(X86_CR0_EM|X86_CR0_TS); in has_fpu()
/Linux-v4.19/arch/x86/include/uapi/asm/
Dprocessor-flags.h56 #define X86_CR0_EM _BITUL(X86_CR0_EM_BIT) macro
/Linux-v4.19/arch/x86/kernel/
Drelocate_kernel_64.S125 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
Drelocate_kernel_32.S115 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
Dtraps.c901 if (!boot_cpu_has(X86_FEATURE_FPU) && (read_cr0() & X86_CR0_EM)) { in do_device_not_available()
/Linux-v4.19/tools/testing/selftests/kvm/include/
Dx86.h315 #define X86_CR0_EM (1UL<<2) /* Emulation */ macro
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h83 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
/Linux-v4.19/arch/x86/kvm/
Demulate.c1145 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit()
1156 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw()
1170 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw()
4000 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in check_fxsr()
5464 if (((ctxt->d & (Sse|Mmx)) && ((ops->get_cr(ctxt, 0) & X86_CR0_EM))) in x86_emulate_insn()
Dx86.c7249 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()