Re: [PATCH v2] powerpc/kprobes: Fix trap address when trap happened in real mode

2020-02-18 Thread Christophe Leroy
Le 18/02/2020 à 15:55, Naveen N. Rao a écrit : Christophe Leroy wrote: When a program check exception happens while MMU translation is disabled, following Oops happens in kprobe_handler() in the following code:     } else if (*addr != BREAKPOINT_INSTRUCTION) { [   33.098554] BUG: Unable

Re: [PATCH v2] powerpc/kprobes: Fix trap address when trap happened in real mode

2020-02-18 Thread Naveen N. Rao
Christophe Leroy wrote: When a program check exception happens while MMU translation is disabled, following Oops happens in kprobe_handler() in the following code: } else if (*addr != BREAKPOINT_INSTRUCTION) { [ 33.098554] BUG: Unable to handle kernel data access on read at 0x

[PATCH v2] powerpc/kprobes: Fix trap address when trap happened in real mode

2020-02-18 Thread Christophe Leroy
When a program check exception happens while MMU translation is disabled, following Oops happens in kprobe_handler() in the following code: } else if (*addr != BREAKPOINT_INSTRUCTION) { [ 33.098554] BUG: Unable to handle kernel data access on read at 0xe268 [ 33.105091] Fa