Re: [PATCH v3] powerpc/kprobes: Ignore traps that happened in real mode
From: Naveen N. Rao <hidden>
Date: 2020-03-22 16:21:44
From: Naveen N. Rao <hidden>
Date: 2020-03-22 16:21:44
Christophe Leroy wrote:
ping Le 18/02/2020 à 20:38, Christophe Leroy a écrit :quoted
When a program check exception happens while MMU translation is disabled, following Oops happens in kprobe_handler() in the following code:Michael, we have several traps in assembly while MMU is still disabled (TRACE_IRQFLAGS, KUAP DEBUG, syscall from kernel, machine check in RTAS, ...). Without this fix, all of them trigger an Oops when CONFIG_KPROBE is set.
For this patch: Reviewed-by: Naveen N. Rao <redacted> - Naveen