Searched refs:gcspr_el0 (Results 1 – 9 of 9) sorted by relevance
| /linux/arch/arm64/mm/ |
| H A D | gcs.c | 53 tsk->thread.gcspr_el0 = read_sysreg_s(SYS_GCSPR_EL0); in gcs_alloc_thread_stack() 66 tsk->thread.gcspr_el0 = addr + size - sizeof(u64); in gcs_alloc_thread_stack() 166 task->thread.gcspr_el0 = 0; in gcs_free() 194 if (task->thread.gcs_base || task->thread.gcspr_el0) in arch_set_shadow_stack_status() 205 task->thread.gcspr_el0 = gcs + size - sizeof(u64); in arch_set_shadow_stack_status() 209 write_sysreg_s(task->thread.gcspr_el0, in arch_set_shadow_stack_status()
|
| /linux/arch/arm64/kernel/ |
| H A D | signal.c | 1045 u64 gcspr_el0, cap; in gcs_restore_signal() local 1054 gcspr_el0 = read_sysreg_s(SYS_GCSPR_EL0); in gcs_restore_signal() 1069 ret = copy_from_user(&cap, (unsigned long __user *)gcspr_el0, in gcs_restore_signal() 1077 if (cap != GCS_SIGNAL_CAP(gcspr_el0)) in gcs_restore_signal() 1081 put_user_gcs(0, (unsigned long __user *)gcspr_el0, &ret); in gcs_restore_signal() 1085 write_sysreg_s(gcspr_el0 + 8, SYS_GCSPR_EL0); in gcs_restore_signal() 1161 if (system_supports_gcs() && (add_all || current->thread.gcspr_el0)) { in setup_sigframe_layout() 1404 u64 gcspr_el0; in gcs_signal_entry() local 1417 gcspr_el0 = read_sysreg_s(SYS_GCSPR_EL0); in gcs_signal_entry() 1423 (unsigned long __user *)(gcspr_el0 - 16), &ret); in gcs_signal_entry() [all …]
|
| H A D | process.c | 291 current->thread.gcspr_el0 = 0; in flush_gcs() 583 current->thread.gcspr_el0 = read_sysreg_s(SYS_GCSPR_EL0); in gcs_preserve_current_state() 593 write_sysreg_s(next->thread.gcspr_el0, SYS_GCSPR_EL0); in gcs_thread_switch()
|
| H A D | ptrace.c | 1523 user_gcs->gcspr_el0 = target->thread.gcspr_el0; in task_gcs_to_user() 1531 target->thread.gcspr_el0 = user_gcs->gcspr_el0; in task_gcs_from_user()
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | basic-gcs.c | 96 unsigned long *gcspr_el0; in read_gcspr_el0() local 99 gcspr_el0 = get_gcspr(); in read_gcspr_el0() 100 ksft_print_msg("GCSPR_EL0 is %p\n", gcspr_el0); in read_gcspr_el0()
|
| H A D | gcs-util.h | 25 __u64 gcspr_el0; member
|
| H A D | libc-gcs.c | 246 gcspr = child_gcs.gcspr_el0; in TEST()
|
| /linux/arch/arm64/include/uapi/asm/ |
| H A D | ptrace.h | 332 __u64 gcspr_el0; member
|
| /linux/arch/arm64/include/asm/ |
| H A D | processor.h | 198 u64 gcspr_el0; member
|