Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/arch/x86/kernel/fpu/
Dinit.c37 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu__init_cpu_generic()
75 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__init_system_early_generic()
Dbugs.c31 write_cr0(cr0_saved & ~X86_CR0_TS); in check_fpu()
Dcore.c76 return !current->thread.fpu.fpregs_active && (read_cr0() & X86_CR0_TS); in interrupted_kernel_fpu_idle()
165 if (read_cr0() & X86_CR0_TS) { in irq_ts_save()
/linux-4.4.14/arch/x86/include/asm/
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.h49 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
/linux-4.4.14/arch/x86/kvm/
Dkvm_cache_regs.h4 #define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
Dvmx.c2130 cr0 &= ~(X86_CR0_TS | X86_CR0_MP); in vmx_fpu_activate()
2131 cr0 |= kvm_read_cr0_bits(vcpu, X86_CR0_TS | X86_CR0_MP); in vmx_fpu_activate()
2134 vcpu->arch.cr0_guest_owned_bits = X86_CR0_TS; in vmx_fpu_activate()
2165 vmcs_set_bits(GUEST_CR0, X86_CR0_TS | X86_CR0_MP); in vmx_fpu_deactivate()
2179 vmcs12->guest_cr0 = (vmcs12->guest_cr0 & ~X86_CR0_TS) | in vmx_fpu_deactivate()
2180 (vcpu->arch.cr0 & X86_CR0_TS); in vmx_fpu_deactivate()
3738 hw_cr0 |= X86_CR0_TS | X86_CR0_MP; in vmx_set_cr0()
4635 vmcs_writel(HOST_CR0, read_cr0() & ~X86_CR0_TS); /* 22.2.3 */ in vmx_set_constant_host_state()
5449 vmcs_readl(CR0_READ_SHADOW) & ~X86_CR0_TS); in handle_clts()
5450 vcpu->arch.cr0 &= ~X86_CR0_TS; in handle_clts()
[all …]
Demulate.c1079 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit()
1092 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw()
1108 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw()
3225 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch()
3629 cr0 &= ~X86_CR0_TS; in em_clts()
5156 if ((ctxt->d & (Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
Dsvm.c1491 cr0 |= X86_CR0_TS; in svm_set_cr0()
Dx86.c6264 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in process_smi()
/linux-4.4.14/arch/x86/include/uapi/asm/
Dprocessor-flags.h57 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
/linux-4.4.14/arch/x86/kernel/
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.4.14/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.4.14/arch/x86/xen/
Denlighten.c1012 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()