Searched refs:X86_CR0_TS (Results 1 – 17 of 17) sorted by relevance
| /linux-4.4.14/arch/x86/boot/ |
| D | cpuflags.c | 20 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/ |
| D | init.c | 37 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()
|
| D | bugs.c | 31 write_cr0(cr0_saved & ~X86_CR0_TS); in check_fpu()
|
| D | core.c | 76 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/ |
| D | special_insns.h | 189 #define stts() write_cr0(read_cr0() | X86_CR0_TS)
|
| D | svm.h | 270 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
|
| D | kvm_host.h | 49 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
|
| /linux-4.4.14/arch/x86/kvm/ |
| D | kvm_cache_regs.h | 4 #define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
|
| D | vmx.c | 2130 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 …]
|
| D | emulate.c | 1079 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()
|
| D | svm.c | 1491 cr0 |= X86_CR0_TS; in svm_set_cr0()
|
| D | x86.c | 6264 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/ |
| D | processor-flags.h | 57 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
|
| /linux-4.4.14/arch/x86/kernel/ |
| D | relocate_kernel_64.S | 118 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
|
| D | relocate_kernel_32.S | 115 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
|
| /linux-4.4.14/arch/x86/lguest/ |
| D | boot.c | 514 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/ |
| D | enlighten.c | 1012 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()
|