Searched refs:X86_CR0_TS (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.15/arch/x86/boot/ |
D | cpuflags.c | 21 if (cr0 & (X86_CR0_EM|X86_CR0_TS)) { in has_fpu() 22 cr0 &= ~(X86_CR0_EM|X86_CR0_TS); in has_fpu()
|
/Linux-v5.15/arch/x86/kernel/fpu/ |
D | init.c | 29 cr0 &= ~(X86_CR0_TS|X86_CR0_EM); /* clear TS and EM */ in fpu__init_cpu_generic() 60 cr0 &= ~(X86_CR0_TS | X86_CR0_EM); in fpu__probe_without_cpuid()
|
/Linux-v5.15/arch/x86/include/uapi/asm/ |
D | processor-flags.h | 58 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
|
/Linux-v5.15/arch/x86/kvm/ |
D | kvm_cache_regs.h | 7 #define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
|
D | emulate.c | 1084 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit() 1097 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw() 1113 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw() 3286 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch() 3727 cr0 &= ~X86_CR0_TS; in em_clts() 3971 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in check_fxsr() 5422 if ((ctxt->d & (Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
|
D | x86.c | 9215 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
|
/Linux-v5.15/tools/testing/selftests/kvm/include/x86_64/ |
D | svm.h | 295 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
|
D | processor.h | 434 #define X86_CR0_TS (1UL<<3) /* Task Switched */ macro
|
/Linux-v5.15/arch/x86/kernel/ |
D | relocate_kernel_64.S | 127 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
|
D | traps.c | 1130 if (WARN(cr0 & X86_CR0_TS, "CR0.TS was set")) { in DEFINE_IDTENTRY() 1132 write_cr0(cr0 & ~X86_CR0_TS); in DEFINE_IDTENTRY()
|
D | relocate_kernel_32.S | 113 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
|
/Linux-v5.15/arch/x86/include/asm/ |
D | svm.h | 395 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
|
D | kvm_host.h | 108 (~(unsigned long)(X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS \
|
/Linux-v5.15/arch/x86/xen/ |
D | enlighten_pv.c | 901 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()
|
/Linux-v5.15/arch/x86/kvm/vmx/ |
D | nested.c | 5755 if ((vmcs12->cr0_guest_host_mask & X86_CR0_TS) && in nested_vmx_exit_handled_cr() 5756 (vmcs12->cr0_read_shadow & X86_CR0_TS)) in nested_vmx_exit_handled_cr()
|
D | vmx.c | 4035 WARN_ON(cr0 & X86_CR0_TS); in vmx_set_constant_host_state()
|