Home
last modified time | relevance | path

Searched refs:TIF_NEED_FPU_LOAD (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
H A Dcore.c119 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask()
120 set_thread_flag(TIF_NEED_FPU_LOAD); in kernel_fpu_begin_mask()
159 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in fpu__save()
225 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu__copy()
233 set_tsk_thread_flag(dst, TIF_NEED_FPU_LOAD); in fpu__copy()
249 set_thread_flag(TIF_NEED_FPU_LOAD); in fpu__initialize()
398 * CPU) is not valid then we must have TIF_NEED_FPU_LOAD set so the context is
405 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_assert_state_consistent()
419 clear_thread_flag(TIF_NEED_FPU_LOAD); in fpregs_mark_activate()
H A Dsignal.c66 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in save_fsave_header()
190 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in copy_fpstate_to_sigframe()
358 if (test_thread_flag(TIF_NEED_FPU_LOAD) && in __fpu__restore_sig()
382 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in __fpu__restore_sig()
398 * By setting TIF_NEED_FPU_LOAD it is ensured that our xstate is in __fpu__restore_sig()
405 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu__restore_sig()
413 set_thread_flag(TIF_NEED_FPU_LOAD); in __fpu__restore_sig()
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/
H A Dcore.c337 if (!cur_fps->is_confidential && !test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_swap_kvm_fpstate()
431 !test_thread_flag(TIF_NEED_FPU_LOAD)) { in kernel_fpu_begin_mask()
432 set_thread_flag(TIF_NEED_FPU_LOAD); in kernel_fpu_begin_mask()
466 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_sync_fpstate()
602 set_tsk_thread_flag(dst, TIF_NEED_FPU_LOAD); in fpu_clone()
627 * Do not use memcpy() when TIF_NEED_FPU_LOAD is set because in fpu_clone()
631 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpu_clone()
720 * resets the memory image and sets TIF_NEED_FPU_LOAD so a in fpu_reset_fpregs()
732 set_thread_flag(TIF_NEED_FPU_LOAD); in fpu_reset_fpregs()
805 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in fpregs_lock_and_load()
[all...]
H A Dsignal.c77 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in save_fsave_header()
227 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in copy_fpstate_to_sigframe()
305 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in restore_fpregs_from_user()
327 if (test_thread_flag(TIF_NEED_FPU_LOAD) && xfeatures_mask_supervisor()) in restore_fpregs_from_user()
371 * By setting TIF_NEED_FPU_LOAD it is ensured that our xstate is in __fpu_restore_sig()
377 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) { in __fpu_restore_sig()
388 set_thread_flag(TIF_NEED_FPU_LOAD); in __fpu_restore_sig()
H A Dcontext.h79 clear_thread_flag(TIF_NEED_FPU_LOAD); in fpregs_restore_userregs()
H A Dxstate.c1538 if (in_use && test_thread_flag(TIF_NEED_FPU_LOAD)) in fpstate_realloc()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dthread_info.h91 #define TIF_NEED_FPU_LOAD 14 /* load FPU on return to userspace */ macro
121 #define _TIF_NEED_FPU_LOAD (1 << TIF_NEED_FPU_LOAD)
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dthread_info.h91 #define TIF_NEED_FPU_LOAD 14 /* load FPU on return to userspace */ macro
114 #define _TIF_NEED_FPU_LOAD (1 << TIF_NEED_FPU_LOAD)
/kernel/linux/linux-6.6/arch/x86/include/asm/fpu/
H A Dsched.h26 * - switch_fpu_finish() sets TIF_NEED_FPU_LOAD; the floating point state
29 * If TIF_NEED_FPU_LOAD is cleared then the CPU's FPU registers
32 * If TIF_NEED_FPU_LOAD is set then CPU's FPU registers may not
66 set_thread_flag(TIF_NEED_FPU_LOAD); in switch_fpu_finish()
/kernel/linux/linux-5.10/arch/x86/include/asm/trace/
H A Dfpu.h23 __entry->load_fpu = test_thread_flag(TIF_NEED_FPU_LOAD);
/kernel/linux/linux-6.6/arch/x86/include/asm/trace/
H A Dfpu.h23 __entry->load_fpu = test_thread_flag(TIF_NEED_FPU_LOAD);
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dfpu.h103 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in kvm_fpu_get()
H A Dx86.c10752 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in vcpu_enter_guest()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dprocess_32.c166 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in __switch_to()
H A Dprocess_64.c543 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in __switch_to()
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
H A Dinternal.h509 clear_thread_flag(TIF_NEED_FPU_LOAD); in __fpregs_load_activate()
520 * - switch_fpu_finish() sets TIF_NEED_FPU_LOAD; the floating point state
523 * If TIF_NEED_FPU_LOAD is cleared then the CPU's FPU registers
526 * If TIF_NEED_FPU_LOAD is set then CPU's FPU registers may not
566 set_thread_flag(TIF_NEED_FPU_LOAD); in switch_fpu_finish()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dprocess_32.c164 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in __switch_to()
H A Dprocess_64.c571 if (!test_thread_flag(TIF_NEED_FPU_LOAD)) in __switch_to()
/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dx86.c9271 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in vcpu_enter_guest()
9561 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in kvm_save_current_fpu()
H A Demulate.c1133 if (test_thread_flag(TIF_NEED_FPU_LOAD)) in emulator_get_fpu()

Completed in 52 milliseconds