diff options
author | Christophe Leroy <[email protected]> | 2020-03-31 16:03:36 +0000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-06-02 20:59:08 +1000 |
commit | e83f01fdb9143a4f90b17fbf7d8b8b21efb2f968 (patch) | |
tree | 81be158a99bd6a6d98680fdfeae90909cd94db80 | |
parent | 9ed5df69b79a22b40b20bc2132ba2495708b19c4 (diff) |
powerpc/52xx: Blacklist functions running with MMU disabled for kprobe
kprobe does not handle events happening in real mode, all
functions running with MMU disabled have to be blacklisted.
Signed-off-by: Christophe Leroy <[email protected]>
Acked-by: Naveen N. Rao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/1ae02b6637b87fc5aaa1d5012c3e2cb30e62b4a3.1585670437.git.christophe.leroy@c-s.fr
-rw-r--r-- | arch/powerpc/platforms/52xx/lite5200_sleep.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/52xx/lite5200_sleep.S b/arch/powerpc/platforms/52xx/lite5200_sleep.S index 3a9969c429b3..70083649c9ea 100644 --- a/arch/powerpc/platforms/52xx/lite5200_sleep.S +++ b/arch/powerpc/platforms/52xx/lite5200_sleep.S @@ -248,6 +248,7 @@ mmu_on: blr +_ASM_NOKPROBE_SYMBOL(lite5200_wakeup) /* ---------------------------------------------------------------------- */ @@ -391,6 +392,7 @@ restore_regs: LOAD_SPRN(TBWU, 0x5b); blr +_ASM_NOKPROBE_SYMBOL(restore_regs) |