Searched refs:fpsimd (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/arch/arm64/kvm/ |
H A D | fpsimd.c | 20 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 = ¤t->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()
|
H A D | Makefile | 16 vgic-sys-reg-v3.o fpsimd.o pkvm.o \
|
/openbmc/qemu/linux-user/aarch64/ |
H A D | signal.c | 165 __put_user(vfp_get_fpsr(env), &fpsimd->fpsr); in target_setup_fpsimd_record() 166 __put_user(vfp_get_fpcr(env), &fpsimd->fpcr); in target_setup_fpsimd_record() 172 __put_user(q[1], &fpsimd->vregs[i * 2]); in target_setup_fpsimd_record() 174 __put_user(q[0], &fpsimd->vregs[i * 2]); in target_setup_fpsimd_record() 282 __get_user(fpsr, &fpsimd->fpsr); in target_restore_fpsimd_record() 284 __get_user(fpcr, &fpsimd->fpcr); in target_restore_fpsimd_record() 291 __get_user(q[1], &fpsimd->vregs[i * 2]); in target_restore_fpsimd_record() 293 __get_user(q[0], &fpsimd->vregs[i * 2]); in target_restore_fpsimd_record() 410 struct target_fpsimd_context *fpsimd = NULL; in target_restore_sigframe() local 487 if (fpsimd) { in target_restore_sigframe() [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | signal.c | 194 err = __copy_to_user(ctx->vregs, fpsimd->vregs, sizeof(fpsimd->vregs)); in preserve_fpsimd_context() 215 err = __copy_from_user(fpsimd.vregs, &(user->fpsimd->vregs), in restore_fpsimd_context() 216 sizeof(fpsimd.vregs)); in restore_fpsimd_context() 217 __get_user_error(fpsimd.fpsr, &(user->fpsimd->fpsr), err); in restore_fpsimd_context() 218 __get_user_error(fpsimd.fpcr, &(user->fpsimd->fpcr), err); in restore_fpsimd_context() 352 err = __copy_from_user(fpsimd.vregs, user->fpsimd->vregs, in restore_sve_fpsimd_context() 354 __get_user_error(fpsimd.fpsr, &user->fpsimd->fpsr, err); in restore_sve_fpsimd_context() 355 __get_user_error(fpsimd.fpcr, &user->fpsimd->fpcr, err); in restore_sve_fpsimd_context() 588 user->fpsimd = NULL; in parse_user_sigframe() 632 if (user->fpsimd) in parse_user_sigframe() [all …]
|
H A D | signal32.c | 94 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()
|
H A D | Makefile | 29 obj-y := debug-monitors.o entry.o irq.o fpsimd.o \ 30 entry-common.o entry-fpsimd.o process.o ptrace.o \
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | Makefile | 12 TEST_GEN_PROGS_EXTENDED := fp-pidbench fpsimd-test \ 20 TEST_PROGS_EXTENDED := fpsimd-stress sve-stress ssve-stress za-stress 27 $(OUTPUT)/fpsimd-test: fpsimd-test.S $(OUTPUT)/asm-utils.o
|
H A D | sve-ptrace.c | 93 static int get_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) in get_fpsimd() argument 97 iov.iov_base = fpsimd; in get_fpsimd() 98 iov.iov_len = sizeof(*fpsimd); in get_fpsimd() 102 static int set_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) in set_fpsimd() argument 106 iov.iov_base = fpsimd; in set_fpsimd() 107 iov.iov_len = sizeof(*fpsimd); in set_fpsimd() 275 struct user_fpsimd_state *fpsimd, new_fpsimd; in ptrace_sve_fpsimd() local 293 fpsimd = (struct user_fpsimd_state *)((char *)sve + in ptrace_sve_fpsimd() 296 p = (unsigned char *)&fpsimd->vregs[i]; in ptrace_sve_fpsimd() 298 for (j = 0; j < sizeof(fpsimd->vregs[i]); ++j) in ptrace_sve_fpsimd() [all …]
|
H A D | .gitignore | 3 fpsimd-test
|
H A D | fpsimd-stress | 46 ./fpsimd-test >$log &
|
H A D | README | 16 (The fpsimd-stress test works the same way; just substitute "fpsimd" for
|
/openbmc/linux/arch/arm64/kvm/hyp/vhe/ |
H A D | Makefile | 11 ../fpsimd.o ../hyp-entry.o ../exception.o
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | Makefile | 27 ../fpsimd.o ../hyp-entry.o ../exception.o ../pgtable.o
|