]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/entry32: Blacklist exception exit points for kprobe.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 31 Mar 2020 16:03:47 +0000 (16:03 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2020 10:59:13 +0000 (20:59 +1000)
commitee1d18c9763e5880b41728f1414536f9cdf8d31b
treeeac8b3fe9536f81adf04f2a3d4f17c3ffd7db336
parent2512310f7fa5b9a11c78ededcf48430d6bc46b33
powerpc/entry32: Blacklist exception exit points for kprobe.

kprobe does not handle events happening in real mode.

The very last part of exception exits cannot support a trap.
Blacklist them from kprobe.

While we are at it, remove exc_exit_start symbol which is not
used to avoid having to blacklist it.

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/098b0fd3f6299aa1bd692bd576bd7012c84608de.1585670437.git.christophe.leroy@c-s.fr
arch/powerpc/kernel/entry_32.S