linux/arch/powerpc/kernel/ptrace
Aneesh Kumar K.V e0d8e991be powerpc/book3s64/kuap: Move UAMOR setup to key init function
UAMOR values are not application-specific. The kernel initializes
its value based on different reserved keys. Remove the thread-specific
UAMOR value and don't switch the UAMOR on context switch.

Move UAMOR initialization to key initialization code and remove
thread_struct.uamor because it is not used anymore.

Before commit: 4a4a5e5d2a ("powerpc/pkeys: key allocation/deallocation must not change pkey registers")
we used to update uamor based on key allocation and free.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200709032946.881753-20-aneesh.kumar@linux.ibm.com
2020-07-20 22:57:59 +10:00
..
Makefile powerpc/64: make buildable without CONFIG_COMPAT 2020-04-03 00:10:00 +11:00
ptrace-adv.c powerpc/ptrace: create ppc_gethwdinfo() 2020-04-01 14:30:49 +11:00
ptrace-altivec.c powerpc/ptrace: split out ALTIVEC related functions. 2020-04-01 14:30:48 +11:00
ptrace-decl.h powerpc/ptrace: create ppc_gethwdinfo() 2020-04-01 14:30:49 +11:00
ptrace-noadv.c powerpc/watchpoint: Use builtin ALIGN*() macros 2020-05-19 00:11:05 +10:00
ptrace-novsx.c powerpc/ptrace: split out VSX related functions. 2020-04-01 14:30:48 +11:00
ptrace-spe.c powerpc/ptrace: split out SPE related functions. 2020-04-01 14:30:48 +11:00
ptrace-tm.c powerpc: Use set_trap() and avoid open-coding trap masking 2020-05-15 11:58:54 +10:00
ptrace-view.c powerpc/book3s64/kuap: Move UAMOR setup to key init function 2020-07-20 22:57:59 +10:00
ptrace-vsx.c powerpc/ptrace: split out VSX related functions. 2020-04-01 14:30:48 +11:00
ptrace.c powerpc/ptrace: move ptrace_triggered() into hw_breakpoint.c 2020-04-01 14:30:49 +11:00
ptrace32.c powerpc/watchpoint: Convert thread_struct->hw_brk to an array 2020-05-19 00:11:05 +10:00