Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/boot/
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-4.1.27/arch/x86/include/asm/
Di387.h75 if (read_cr0() & X86_CR0_TS) { in irq_ts_save()
Dspecial_insns.h189 #define stts() write_cr0(read_cr0() | X86_CR0_TS)
Dsvm.h270 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
Dkvm_host.h47 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
/linux-4.1.27/arch/x86/kernel/
Di387.c57 (read_cr0() & X86_CR0_TS); in interrupted_kernel_fpu_idle()
219 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu_init()
659 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu_detect()
Drelocate_kernel_64.S118 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
/linux-4.1.27/arch/x86/kvm/
Dkvm_cache_regs.h4 #define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
Dvmx.c1985 cr0 &= ~(X86_CR0_TS | X86_CR0_MP); in vmx_fpu_activate()
1986 cr0 |= kvm_read_cr0_bits(vcpu, X86_CR0_TS | X86_CR0_MP); in vmx_fpu_activate()
1989 vcpu->arch.cr0_guest_owned_bits = X86_CR0_TS; in vmx_fpu_activate()
2020 vmcs_set_bits(GUEST_CR0, X86_CR0_TS | X86_CR0_MP); in vmx_fpu_deactivate()
2034 vmcs12->guest_cr0 = (vmcs12->guest_cr0 & ~X86_CR0_TS) | in vmx_fpu_deactivate()
2035 (vcpu->arch.cr0 & X86_CR0_TS); in vmx_fpu_deactivate()
3596 hw_cr0 |= X86_CR0_TS | X86_CR0_MP; in vmx_set_cr0()
4487 vmcs_writel(HOST_CR0, read_cr0() & ~X86_CR0_TS); /* 22.2.3 */ in vmx_set_constant_host_state()
5305 vmcs_readl(CR0_READ_SHADOW) & ~X86_CR0_TS); in handle_clts()
5306 vcpu->arch.cr0 &= ~X86_CR0_TS; in handle_clts()
[all …]
Demulate.c1082 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit()
1095 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw()
1111 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw()
2927 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch()
3328 cr0 &= ~X86_CR0_TS; in em_clts()
4855 if ((ctxt->d & (Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
Dsvm.c1576 cr0 |= X86_CR0_TS; in svm_set_cr0()
/linux-4.1.27/arch/x86/include/uapi/asm/
Dprocessor-flags.h59 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
/linux-4.1.27/arch/x86/lguest/
Dboot.c514 lazy_hcall1(LHCALL_TS, val & X86_CR0_TS); in lguest_write_cr0()
531 current_cr0 &= ~X86_CR0_TS; in lguest_clts()
/linux-4.1.27/arch/x86/xen/
Denlighten.c1010 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()