Searched refs:gcspr (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/tools/testing/selftests/arm64/signal/testcases/ |
| H A D | gcs_frame.c | 23 unsigned long expected, gcspr; in gcs_regs() local 34 gcspr = get_gcspr_el0(); in gcs_regs() 35 gcspr -= 8; in gcs_regs() 36 fprintf(stderr, "Expecting GCSPR_EL0 %lx\n", gcspr); in gcs_regs() 70 if (gcs->gcspr != gcspr) { in gcs_regs() 72 gcs->gcspr, gcspr); in gcs_regs()
|
| /linux-6.15/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-util.h | 54 unsigned long *gcspr; in get_gcspr() local 58 : "=r" (gcspr) in get_gcspr() 62 return gcspr; in get_gcspr()
|
| H A D | libc-gcs.c | 141 uint64_t val, rval, gcspr; in TEST() local 246 gcspr = child_gcs.gcspr_el0; in TEST() 248 gcspr, child_gcs.features_enabled, in TEST() 254 val = ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL); in TEST() 267 remote_iov.iov_base = (void *)gcspr; in TEST() 277 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, NULL); in TEST() 282 EXPECT_EQ(0, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST() 285 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, val); in TEST() 290 EXPECT_EQ(val, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | signal.c | 697 u64 gcspr = read_sysreg_s(SYS_GCSPR_EL0); in preserve_gcs_context() local 707 gcspr -= 8; in preserve_gcs_context() 711 __put_user_error(gcspr, &ctx->gcspr, err); in preserve_gcs_context() 721 u64 gcspr, enabled; in restore_gcs_context() local 727 __get_user_error(gcspr, &user->gcs->gcspr, err); in restore_gcs_context() 755 write_sysreg_s(gcspr, SYS_GCSPR_EL0); in restore_gcs_context()
|
| /linux-6.15/arch/arm64/include/uapi/asm/ |
| H A D | sigcontext.h | 190 __u64 gcspr; member
|
| /linux-6.15/tools/testing/selftests/arm64/abi/ |
| H A D | hwcap.c | 127 unsigned long *gcspr; in gcs_sigill() local 131 : "=r" (gcspr) in gcs_sigill()
|