Home
last modified time | relevance | path

Searched refs:fpsimd (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/arch/arm64/kvm/
Dfpsimd.c20 struct user_fpsimd_state *fpsimd; in kvm_vcpu_unshare_task_fp() local
25 fpsimd = &p->thread.uw.fpsimd_state; in kvm_vcpu_unshare_task_fp()
26 kvm_unshare_hyp(fpsimd, fpsimd + 1); in kvm_vcpu_unshare_task_fp()
43 struct user_fpsimd_state *fpsimd = &current->thread.uw.fpsimd_state; in kvm_arch_vcpu_run_map_fp() local
48 ret = kvm_share_hyp(fpsimd, fpsimd + 1); in kvm_arch_vcpu_run_map_fp()
52 vcpu->arch.host_fpsimd_state = kern_hyp_va(fpsimd); in kvm_arch_vcpu_run_map_fp()
DMakefile16 vgic-sys-reg-v3.o fpsimd.o pkvm.o \
/linux-6.1.9/arch/arm64/kernel/
Dsignal.c173 struct user_fpsimd_state const *fpsimd = in preserve_fpsimd_context() local
178 err = __copy_to_user(ctx->vregs, fpsimd->vregs, sizeof(fpsimd->vregs)); in preserve_fpsimd_context()
179 __put_user_error(fpsimd->fpsr, &ctx->fpsr, err); in preserve_fpsimd_context()
180 __put_user_error(fpsimd->fpcr, &ctx->fpcr, err); in preserve_fpsimd_context()
191 struct user_fpsimd_state fpsimd; in restore_fpsimd_context() local
204 err = __copy_from_user(fpsimd.vregs, ctx->vregs, in restore_fpsimd_context()
205 sizeof(fpsimd.vregs)); in restore_fpsimd_context()
206 __get_user_error(fpsimd.fpsr, &ctx->fpsr, err); in restore_fpsimd_context()
207 __get_user_error(fpsimd.fpcr, &ctx->fpcr, err); in restore_fpsimd_context()
213 fpsimd_update_current_state(&fpsimd); in restore_fpsimd_context()
[all …]
Dsignal32.c94 struct user_fpsimd_state const *fpsimd = in compat_preserve_vfp_context() local
118 .raw = fpsimd->vregs[i >> 1], in compat_preserve_vfp_context()
126 fpscr = (fpsimd->fpsr & VFP_FPSCR_STAT_MASK) | in compat_preserve_vfp_context()
127 (fpsimd->fpcr & VFP_FPSCR_CTRL_MASK); in compat_preserve_vfp_context()
144 struct user_fpsimd_state fpsimd; in compat_restore_vfp_context() local
164 fpsimd.vregs[i >> 1] = vreg.raw; in compat_restore_vfp_context()
169 fpsimd.fpsr = fpscr & VFP_FPSCR_STAT_MASK; in compat_restore_vfp_context()
170 fpsimd.fpcr = fpscr & VFP_FPSCR_CTRL_MASK; in compat_restore_vfp_context()
177 fpsimd_update_current_state(&fpsimd); in compat_restore_vfp_context()
DMakefile29 obj-y := debug-monitors.o entry.o irq.o fpsimd.o \
30 entry-common.o entry-fpsimd.o process.o ptrace.o \
/linux-6.1.9/tools/testing/selftests/arm64/fp/
DMakefile12 TEST_GEN_PROGS_EXTENDED := fp-pidbench fpsimd-test \
18 TEST_PROGS_EXTENDED := fpsimd-stress sve-stress ssve-stress za-stress
25 $(OUTPUT)/fpsimd-test: fpsimd-test.S $(OUTPUT)/asm-utils.o
Dsve-ptrace.c83 static int get_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) in get_fpsimd() argument
87 iov.iov_base = fpsimd; in get_fpsimd()
88 iov.iov_len = sizeof(*fpsimd); in get_fpsimd()
92 static int set_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) in set_fpsimd() argument
96 iov.iov_base = fpsimd; in set_fpsimd()
97 iov.iov_len = sizeof(*fpsimd); in set_fpsimd()
265 struct user_fpsimd_state *fpsimd, new_fpsimd; in ptrace_sve_fpsimd() local
283 fpsimd = (struct user_fpsimd_state *)((char *)sve + in ptrace_sve_fpsimd()
286 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd()
288 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd()
[all …]
D.gitignore3 fpsimd-test
Dfpsimd-stress46 ./fpsimd-test >$log &
DREADME16 (The fpsimd-stress test works the same way; just substitute "fpsimd" for
/linux-6.1.9/arch/arm64/kvm/hyp/vhe/
DMakefile11 ../fpsimd.o ../hyp-entry.o ../exception.o
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
DMakefile27 ../fpsimd.o ../hyp-entry.o ../exception.o ../pgtable.o