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 | 48 unsigned long *gcspr; in get_gcspr() local 52 : "=r" (gcspr) in get_gcspr() 56 return gcspr; in get_gcspr()
|
| H A D | libc-gcs.c | 142 uint64_t val, rval, gcspr; in TEST() local 247 gcspr = child_gcs.gcspr_el0; in TEST() 249 gcspr, child_gcs.features_enabled, in TEST() 255 val = ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL); in TEST() 268 remote_iov.iov_base = (void *)gcspr; in TEST() 278 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, NULL); in TEST() 283 EXPECT_EQ(0, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST() 286 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, val); in TEST() 291 EXPECT_EQ(val, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST()
|
| /linux/arch/arm64/kernel/ |
| H A D | signal.c | 714 u64 gcspr = read_sysreg_s(SYS_GCSPR_EL0); in preserve_gcs_context() local 724 gcspr -= 8; in preserve_gcs_context() 728 __put_user_error(gcspr, &ctx->gcspr, err); in preserve_gcs_context() 738 u64 gcspr, enabled; in restore_gcs_context() local 744 __get_user_error(gcspr, &user->gcs->gcspr, err); in restore_gcs_context() 772 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
|