powerpc/mem: Blacklist flush_dcache_icache_phys() for kprobe
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 31 Mar 2020 16:03:40 +0000 (16:03 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2020 10:59:10 +0000 (20:59 +1000)
commita64371b5d4fb37199dcd04cb7bf0132894018e33
treeed19af25a28a3e53bac61c492d49a31f1ad9f1ac
parent32a820670fa00419375a964ca8bc569e1499b90d
powerpc/mem: Blacklist flush_dcache_icache_phys() 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/eaab3bff961c3bfe149f1d0bd3593291ef939dcc.1585670437.git.christophe.leroy@c-s.fr
arch/powerpc/mm/mem.c