Searched refs:gcspr (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/arm64/include/asm/ |
| H A D | gcs.h | 121 u64 gcspr = read_sysreg_s(SYS_GCSPR_EL0); in push_user_gcs() local 123 gcspr -= sizeof(u64); in push_user_gcs() 124 put_user_gcs(val, (unsigned long __user *)gcspr, err); in push_user_gcs() 126 write_sysreg_s(gcspr, SYS_GCSPR_EL0); in push_user_gcs() 150 u64 gcspr = read_sysreg_s(SYS_GCSPR_EL0); in pop_user_gcs() local 153 read_val = get_user_gcs((__force unsigned long __user *)gcspr, err); in pop_user_gcs() 155 write_sysreg_s(gcspr + sizeof(u64), SYS_GCSPR_EL0); in pop_user_gcs()
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-util.h | 72 unsigned long *gcspr; in gcsss2() 76 : "=r" (gcspr) in gcsss2() 80 return gcspr; 48 unsigned long *gcspr; get_gcspr() local
|
| H A D | libc-gcs.c | 122 uint64_t val, rval, gcspr; in TEST() 227 gcspr = child_gcs.gcspr_el0; in TEST() 229 gcspr, child_gcs.features_enabled, in TEST() 235 val = ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL); in TEST() 248 remote_iov.iov_base = (void *)gcspr; in TEST() 258 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, NULL); in TEST() 263 EXPECT_EQ(0, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST() 266 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, val); in TEST() 271 EXPECT_EQ(val, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST() 142 uint64_t val, rval, gcspr; TEST() local
|
| /linux/arch/arm64/kernel/ |
| H A D | signal.c | 720 u64 gcspr = read_sysreg_s(SYS_GCSPR_EL0); in preserve_gcs_context() local 730 gcspr -= 8; in preserve_gcs_context() 734 __put_user_error(gcspr, &ctx->gcspr, err); in preserve_gcs_context() 744 u64 gcspr; in restore_gcs_context() local 750 __get_user_error(gcspr, &user->gcs->gcspr, err); in restore_gcs_context() 758 write_sysreg_s(gcspr, SYS_GCSPR_EL0); in restore_gcs_context()
|
| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | hwcap.c | 153 unsigned long *gcspr; in jscvt_sigill() 157 : "=r" (gcspr) in lrcpc_sigill() 135 unsigned long *gcspr; gcs_sigill() local
|