/kernel/linux/linux-5.10/arch/x86/boot/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | init.c | 33 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()
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
H A D | processor-flags.h | 58 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
|
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/ |
H A D | processor-flags.h | 58 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
H A D | processor-flags.h | 65 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/ |
H A D | processor-flags.h | 65 #define X86_CR0_TS _BITUL(X86_CR0_TS_BIT) macro
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | kvm_cache_regs.h | 7 #define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
|
H A D | emulate.c | 1232 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fninit() 1245 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstcw() 1261 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in em_fnstsw() 3431 ops->set_cr(ctxt, 0, ops->get_cr(ctxt, 0) | X86_CR0_TS); in emulator_do_task_switch() 3888 cr0 &= ~X86_CR0_TS; in em_clts() 4132 if (ctxt->ops->get_cr(ctxt, 0) & (X86_CR0_TS | X86_CR0_EM)) in check_fxsr() 5582 if ((ctxt->d & (Sse|Mmx)) && (ops->get_cr(ctxt, 0) & X86_CR0_TS)) { in x86_emulate_insn()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/ |
H A D | svm.h | 295 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
|
H A D | processor.h | 383 #define X86_CR0_TS (1UL<<3) /* Task Switched */ macro
|
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | kvm_cache_regs.h | 7 #define KVM_POSSIBLE_CR0_GUEST_BITS (X86_CR0_TS | X86_CR0_WP)
|
H A D | smm.c | 325 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
|
H A D | emulate.c | 1095 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/include/x86_64/ |
H A D | svm.h | 324 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | traps.c | 1149 if (WARN(cr0 & X86_CR0_TS, "CR0.TS was set")) { in DEFINE_IDTENTRY() 1151 write_cr0(cr0 & ~X86_CR0_TS); in DEFINE_IDTENTRY()
|
H A D | relocate_kernel_64.S | 130 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
|
H A D | relocate_kernel_32.S | 117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | svm.h | 370 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | relocate_kernel_64.S | 140 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
|
H A D | relocate_kernel_32.S | 117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
|
H A D | traps.c | 1257 if (WARN(cr0 & X86_CR0_TS, "CR0.TS was set")) { in DEFINE_IDTENTRY() 1259 write_cr0(cr0 & ~X86_CR0_TS); in DEFINE_IDTENTRY()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | amx_test.c | 201 GUEST_ASSERT(!(get_cr0() & X86_CR0_TS)); in guest_nm_handler()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | svm.h | 628 #define SVM_CR0_SELECTIVE_MASK (X86_CR0_TS | X86_CR0_MP)
|