Home
last modified time | relevance | path

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

/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()
/arch/x86/kernel/fpu/
Dinit.c29 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu__init_cpu_generic()
60 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__probe_without_cpuid()
/arch/x86/kvm/
Dkvm_cache_regs.h5 #define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
Demulate.c1152 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit()
1165 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw()
1181 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw()
3319 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch()
3733 cr0 &= ~X86_CR0_TS; in em_clts()
3966 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in check_fxsr()
5453 if ((ctxt->d & (Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
Dvmx.c5583 WARN_ON(cr0 & X86_CR0_TS); in vmx_set_constant_host_state()
5941 vmx->vcpu.arch.cr0_guest_owned_bits = X86_CR0_TS; in vmx_vcpu_setup()
5942 vmcs_writel(CR0_GUEST_HOST_MASK, ~X86_CR0_TS); in vmx_vcpu_setup()
6552 vmx_set_cr0(vcpu, kvm_read_cr0_bits(vcpu, ~X86_CR0_TS)); in handle_cr()
8672 if ((vmcs12->cr0_guest_host_mask & X86_CR0_TS) && in nested_vmx_exit_handled_cr()
8673 (vmcs12->cr0_read_shadow & X86_CR0_TS)) in nested_vmx_exit_handled_cr()
8755 !(vmcs12->guest_cr0 & X86_CR0_TS)) in nested_vmx_exit_reflected()
11922 vcpu->arch.cr0_guest_owned_bits = X86_CR0_TS; in load_vmcs12_host_state()
12083 vcpu->arch.cr0_guest_owned_bits = X86_CR0_TS; in nested_vmx_restore_host_state()
Dx86.c6925 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
/arch/x86/include/uapi/asm/
Dprocessor-flags.h58 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
/arch/x86/include/asm/
Dsvm.h287 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
Dkvm_host.h79 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
/arch/x86/kernel/
Dtraps.c906 if (WARN(cr0 & X86_CR0_TS, "CR0.TS was set")) { in do_device_not_available()
908 write_cr0(cr0 & ~X86_CR0_TS); in do_device_not_available()
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
/arch/x86/xen/
Denlighten_pv.c871 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()