Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/boot/
H A Dcpuflags.c21 if (cr0 & (X86_CR0_EM|X86_CR0_TS)) { in has_fpu()
22 cr0 &= ~(X86_CR0_EM|X86_CR0_TS); in has_fpu()
/openbmc/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()
64 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__probe_without_cpuid()
/openbmc/u-boot/arch/x86/include/asm/
H A Dprocessor-flags.h32 #define X86_CR0_TS 0x00000008 /* Task Switched */ macro
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h58 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
/openbmc/u-boot/arch/x86/cpu/
H A Dsipi_vector.S54 X86_CR0_TS | X86_CR0_EM | X86_CR0_MP)), %eax
/openbmc/linux/arch/x86/kvm/
H A Dkvm_cache_regs.h7 #define KVM_POSSIBLE_CR0_GUEST_BITS (X86_CR0_TS | X86_CR0_WP)
H A Demulate.c1095 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit()
1108 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw()
1124 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw()
3003 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch()
3456 cr0 &= ~X86_CR0_TS; in em_clts()
3700 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in check_fxsr()
5171 if ((ctxt->d & (Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
H A Dsmm.c325 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dsvm.h324 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
H A Dprocessor.h1228 #define X86_CR0_TS (1UL<<3) /* Task Switched */ macro
/openbmc/linux/arch/x86/kernel/
H A Drelocate_kernel_64.S141 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
H A Drelocate_kernel_32.S117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
H A Dtraps.c1306 if (WARN(cr0 & X86_CR0_TS, "CR0.TS was set")) { in DEFINE_IDTENTRY()
1308 write_cr0(cr0 & ~X86_CR0_TS); in DEFINE_IDTENTRY()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Damx_test.c201 GUEST_ASSERT(!(get_cr0() & X86_CR0_TS)); in guest_nm_handler()
/openbmc/linux/arch/x86/include/asm/
H A Dsvm.h628 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
H A Dkvm_host.h118 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
/openbmc/linux/arch/x86/xen/
H A Denlighten_pv.c1000 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dnested.c6107 if ((vmcs12->cr0_guest_host_mask & X86_CR0_TS) && in nested_vmx_exit_handled_cr()
6108 (vmcs12->cr0_read_shadow & X86_CR0_TS)) in nested_vmx_exit_handled_cr()
H A Dvmx.c4311 WARN_ON(cr0 & X86_CR0_TS); in vmx_set_constant_host_state()