Home
last modified time | relevance | path

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

/linux/arch/x86/boot/
H A Dcpuflags.c20 if (cr0 & (X86_CR0_EM|X86_CR0_TS)) { in has_fpu()
21 cr0 &= ~(X86_CR0_EM|X86_CR0_TS); in has_fpu()
/linux/arch/x86/kernel/fpu/
H A Dinit.c33 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu__init_cpu_generic()
67 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__probe_without_cpuid()
/linux/arch/x86/kvm/
H A Dkvm_cache_regs.h7 #define KVM_POSSIBLE_CR0_GUEST_BITS (X86_CR0_TS | X86_CR0_WP)
H A Dsmm.c323 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
H A Demulate.c1040 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit()
1053 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw()
1069 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw()
2972 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch()
3427 cr0 &= ~X86_CR0_TS; in em_clts()
3672 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in check_fxsr()
5323 if ((ctxt->d & (Avx|Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
/linux/tools/testing/selftests/kvm/x86/
H A Damx_test.c213 GUEST_ASSERT(!(get_cr0() & X86_CR0_TS)); in guest_code()
/linux/arch/x86/kernel/
H A Dtraps.c1568 if (WARN(cr0 & X86_CR0_TS, "CR0.TS was set")) { in DEFINE_IDTENTRY()
1570 write_cr0(cr0 & ~X86_CR0_TS); in DEFINE_IDTENTRY()
H A Drelocate_kernel_64.S190 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
/linux/arch/x86/xen/
H A Denlighten_pv.c1072 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h1528 #define X86_CR0_TS (1UL<<3) /* Task Switched */ macro
/linux/arch/x86/include/asm/
H A Dkvm_host.h135 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
/linux/arch/x86/kvm/vmx/
H A Dnested.c6359 if ((vmcs12->cr0_guest_host_mask & X86_CR0_TS) && in nested_vmx_exit_handled_cr()
6360 (vmcs12->cr0_read_shadow & X86_CR0_TS)) in nested_vmx_exit_handled_cr()
H A Dvmx.c4414 WARN_ON(cr0 & X86_CR0_TS); in vmx_set_constant_host_state()
5334 !kvm_is_cr0_bit_set(vcpu, X86_CR0_TS); in is_xfd_nm_fault()