Home
last modified time | relevance | path

Searched refs:fpsimd_state (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dfpsimd.c87 * protect any manipulation of a task's fpsimd_state or TIF_FOREIGN_FPSTATE
94 * variable points to the task's fpsimd_state, the TIF_FOREIGN_FPSTATE flag is
100 * CPU's fpsimd_last_state pointer is set to this task's fpsimd_state and the
262 * task->thread.uw.fpsimd_state; bits [max : 128] for each of Z0-Z31 are
271 * * FPSR and FPCR are always stored in task->thread.uw.fpsimd_state
290 &current->thread.uw.fpsimd_state.fpsr, in task_fpsimd_load()
293 fpsimd_load_state(&current->thread.uw.fpsimd_state); in task_fpsimd_load()
436 * Transfer the FPSIMD state in task->thread.uw.fpsimd_state to
444 * task->thread.uw.fpsimd_state must be up to date before calling this
451 struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state; in fpsimd_to_sve()
[all...]
H A Dptrace.c606 uregs = &target->thread.uw.fpsimd_state; in __fpr_get()
633 * Ensure target->thread.uw.fpsimd_state is up to date, so that a in __fpr_set()
638 newstate = target->thread.uw.fpsimd_state; in __fpr_set()
645 target->thread.uw.fpsimd_state = newstate; in __fpr_set()
783 * struct fpsimd_state: in sve_get()
787 membuf_write(&to, &target->thread.uw.fpsimd_state.fpsr, end - start); in sve_get()
877 * struct fpsimd_state: in sve_set()
882 &target->thread.uw.fpsimd_state.fpsr, in sve_set()
1306 uregs = &target->thread.uw.fpsimd_state; in compat_vfp_get()
1312 * The VFP registers are packed into the fpsimd_state, s in compat_vfp_get()
[all...]
H A Dsignal32.c97 &current->thread.uw.fpsimd_state; in compat_preserve_vfp_context()
104 * Save the hardware registers to the fpsimd_state structure. in compat_preserve_vfp_context()
160 /* Copy the FP registers into the start of the fpsimd_state. */ in compat_restore_vfp_context()
H A Dsignal.c174 &current->thread.uw.fpsimd_state; in preserve_fpsimd_context()
211 /* load the hardware registers from the fpsimd_state structure */ in restore_fpsimd_context()
310 /* load the hardware registers from the fpsimd_state structure */ in restore_sve_fpsimd_context()
/kernel/linux/linux-6.6/arch/arm64/kvm/
H A Dfpsimd.c25 fpsimd = &p->thread.uw.fpsimd_state; in kvm_vcpu_unshare_task_fp()
43 struct user_fpsimd_state *fpsimd = &current->thread.uw.fpsimd_state; in kvm_arch_vcpu_run_map_fp()
173 * struct fpsimd_state.
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dfpsimd.c92 * protect any manipulation of a task's fpsimd_state or TIF_FOREIGN_FPSTATE
99 * variable points to the task's fpsimd_state, the TIF_FOREIGN_FPSTATE flag is
105 * CPU's fpsimd_last_state pointer is set to this task's fpsimd_state and the
343 * task->thread.uw.fpsimd_state; bits [max : 128] for each of Z0-Z31 are
361 * task->thread.uw.fpsimd_state should be ignored.
365 * task->thread.uw.fpsimd_state.vregs should be considered stale
368 * * FPSR and FPCR are always stored in task->thread.uw.fpsimd_state
442 &current->thread.uw.fpsimd_state.fpsr, in task_fpsimd_load()
446 fpsimd_load_state(&current->thread.uw.fpsimd_state); in task_fpsimd_load()
665 * Transfer the FPSIMD state in task->thread.uw.fpsimd_state t
[all...]
H A Dptrace.c598 uregs = &target->thread.uw.fpsimd_state; in __fpr_get()
625 * Ensure target->thread.uw.fpsimd_state is up to date, so that a in __fpr_set()
630 newstate = target->thread.uw.fpsimd_state; in __fpr_set()
637 target->thread.uw.fpsimd_state = newstate; in __fpr_set()
817 * struct fpsimd_state: in sve_get_common()
821 membuf_write(&to, &target->thread.uw.fpsimd_state.fpsr, in sve_get_common()
967 * struct fpsimd_state: in sve_set_common()
972 &target->thread.uw.fpsimd_state.fpsr, in sve_set_common()
1704 uregs = &target->thread.uw.fpsimd_state; in compat_vfp_get()
1710 * The VFP registers are packed into the fpsimd_state, s in compat_vfp_get()
[all...]
H A Dsignal.c190 &current->thread.uw.fpsimd_state; in preserve_fpsimd_context()
223 /* load the hardware registers from the fpsimd_state structure */ in restore_fpsimd_context()
357 /* load the hardware registers from the fpsimd_state structure */ in restore_sve_fpsimd_context()
1112 memset(&current->thread.uw.fpsimd_state, 0, in setup_return()
1113 sizeof(current->thread.uw.fpsimd_state)); in setup_return()
H A Dsignal32.c95 &current->thread.uw.fpsimd_state; in compat_preserve_vfp_context()
102 * Save the hardware registers to the fpsimd_state structure. in compat_preserve_vfp_context()
158 /* Copy the FP registers into the start of the fpsimd_state. */ in compat_restore_vfp_context()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c431 struct user_fpsimd_state fpsimd_state; in ptrace_set_sve_get_fpsimd_data() local
471 if (get_fpsimd(child, &fpsimd_state)) { in ptrace_set_sve_get_fpsimd_data()
487 if (tmp != fpsimd_state.vregs[i]) { in ptrace_set_sve_get_fpsimd_data()
495 &fpsimd_state.fpsr, &errors); in ptrace_set_sve_get_fpsimd_data()
497 &fpsimd_state.fpcr, &errors); in ptrace_set_sve_get_fpsimd_data()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dprocessor.h141 struct user_fpsimd_state fpsimd_state; member
168 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
/kernel/linux/linux-5.10/arch/arm64/kvm/
H A Dfpsimd.c31 struct user_fpsimd_state *fpsimd = &current->thread.uw.fpsimd_state; in kvm_arch_vcpu_run_map_fp()
101 * struct fpsimd_state.
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dprocessor.h158 struct user_fpsimd_state fpsimd_state; member
253 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h255 struct thread_struct, uw.fpsimd_state); in __hyp_handle_fpsimd()

Completed in 15 milliseconds