diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-03-31 18:03:45 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-06-02 12:59:12 +0200 |
commit | a616c442119f2ea5641e6abc215d7255b73b982b (patch) | |
tree | 6718c1944dac37ef60ba252dcbb72014c2d14fae /drivers/regulator/88pm8607.c | |
parent | powerpc/32: Blacklist functions running with MMU disabled for kprobe (diff) | |
download | linux-a616c442119f2ea5641e6abc215d7255b73b982b.tar.xz linux-a616c442119f2ea5641e6abc215d7255b73b982b.zip |
powerpc/entry32: Blacklist exception entry points for kprobe.
kprobe does not handle events happening in real mode.
As exception entry points are running with MMU disabled,
blacklist them.
The handling of TLF_NAPPING and TLF_SLEEPING is moved before the
CONFIG_TRACE_IRQFLAGS which contains 'reenable_mmu' because from there
kprobe will be possible as the kernel will run with MMU enabled.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f61ac599855e674ebb592464d0ea32a3ba9c6644.1585670437.git.christophe.leroy@c-s.fr
Diffstat (limited to 'drivers/regulator/88pm8607.c')
0 files changed, 0 insertions, 0 deletions