diff options
| author | Mukesh Kumar Chaurasiya <mchauras@linux.ibm.com> | 2026-04-27 15:27:38 +0300 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-05-20 04:27:14 +0300 |
| commit | 02565a782c1ee7e8ada38ad24a698e01d6ea9ff8 (patch) | |
| tree | 253f69b3ca40dcb4cdf977f085f19921ebe03288 /include/linux/debugobjects.h | |
| parent | 09a9d3a8499db606563eb5e75a993419f4d1901e (diff) | |
| download | linux-02565a782c1ee7e8ada38ad24a698e01d6ea9ff8.tar.xz | |
powerpc: Introduce syscall exit arch functions
Add PowerPC-specific implementations of the generic syscall exit hooks
used by the generic entry/exit framework:
- arch_exit_to_user_mode_work_prepare()
- arch_exit_to_user_mode_work()
These helpers handle user state restoration when returning from the
kernel to userspace, including FPU/VMX/VSX state, transactional memory,
KUAP restore, and per-CPU accounting.
Additionally, move check_return_regs_valid() from interrupt.c to
interrupt.h so it can be shared by the new entry/exit logic.
No functional change is intended with this patch.
Signed-off-by: Mukesh Kumar Chaurasiya <mchauras@linux.ibm.com>
Tested-by: Samir M <samir@linux.ibm.com>
Tested-by: David Gow <davidgow@google.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260427122742.210074-5-mkchauras@gmail.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
