diff options
| author | Christophe Leroy <[email protected]> | 2019-03-11 08:30:31 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-04-21 23:11:46 +1000 |
| commit | e2fb9f5444312fd01627c84a3e018c1fe8ac6ebb (patch) | |
| tree | d199c5ba49c2e30fff0d9722a4522b28c5f6959f /tools/perf/scripts/python | |
| parent | e291b6d575bc6e4d1d36961b081be521a6c800d6 (diff) | |
powerpc/32: Prepare for Kernel Userspace Access Protection
This patch adds ASM macros for saving, restoring and checking
the KUAP state, and modifies setup_32 to call them on exceptions
from kernel.
The macros are defined as empty by default for when CONFIG_PPC_KUAP
is not selected and/or for platforms which don't handle (yet) KUAP.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions