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 <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/1ae02b6637b87fc5aaa1d5012c3e2cb30e62b4a3.1585670437.git.christophe.leroy@c-s.fr
This commit is contained in:
Christophe Leroy 2020-03-31 16:03:36 +00:00 коммит произвёл Michael Ellerman
Родитель 9ed5df69b7
Коммит e83f01fdb9
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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)