diff options
| author | Mukesh Kumar Chaurasiya <mchauras@linux.ibm.com> | 2026-04-27 15:27:37 +0300 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-05-20 04:27:13 +0300 |
| commit | 09a9d3a8499db606563eb5e75a993419f4d1901e (patch) | |
| tree | 4f84f2e9acd8781a99212174a3e63eb75e984f16 /include/linux | |
| parent | dec63ea6fafffb91811381d9a4686d4bc39f01ae (diff) | |
| download | linux-09a9d3a8499db606563eb5e75a993419f4d1901e.tar.xz | |
powerpc: introduce arch_enter_from_user_mode
Implement the arch_enter_from_user_mode() hook required by the generic
entry/exit framework. This helper prepares the CPU state when entering
the kernel from userspace, ensuring correct handling of KUAP/KUEP,
transactional memory, and debug register state.
This patch contains no functional changes, it is purely preparatory for
enabling the generic syscall and interrupt entry path on PowerPC.
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-4-mkchauras@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
