Re: [PATCH 2/5] powerpc/kprobes: Do not suppress instruction emulation if a single run failed

2017-09-14 Thread Naveen N. Rao
On 2017/09/14 02:45AM, Masami Hiramatsu wrote: > On Thu, 14 Sep 2017 12:08:07 +0530 > "Naveen N. Rao" wrote: > > > On 2017/09/13 04:53PM, Masami Hiramatsu wrote: > > > On Thu, 14 Sep 2017 02:50:33 +0530 > > > "Naveen N. Rao"

Re: [PATCH 2/5] powerpc/kprobes: Do not suppress instruction emulation if a single run failed

2017-09-14 Thread Masami Hiramatsu
On Thu, 14 Sep 2017 12:08:07 +0530 "Naveen N. Rao" wrote: > On 2017/09/13 04:53PM, Masami Hiramatsu wrote: > > On Thu, 14 Sep 2017 02:50:33 +0530 > > "Naveen N. Rao" wrote: > > > > > Currently, we disable instruction emulation

Re: [PATCH 2/5] powerpc/kprobes: Do not suppress instruction emulation if a single run failed

2017-09-14 Thread Naveen N. Rao
On 2017/09/13 04:53PM, Masami Hiramatsu wrote: > On Thu, 14 Sep 2017 02:50:33 +0530 > "Naveen N. Rao" wrote: > > > Currently, we disable instruction emulation if emulate_step() fails for > > any reason. However, such failures could be transient and specific to a

Re: [PATCH 2/5] powerpc/kprobes: Do not suppress instruction emulation if a single run failed

2017-09-13 Thread Masami Hiramatsu
On Thu, 14 Sep 2017 02:50:33 +0530 "Naveen N. Rao" wrote: > Currently, we disable instruction emulation if emulate_step() fails for > any reason. However, such failures could be transient and specific to a > particular run. Instead, only disable instruction

[PATCH 2/5] powerpc/kprobes: Do not suppress instruction emulation if a single run failed

2017-09-13 Thread Naveen N. Rao
Currently, we disable instruction emulation if emulate_step() fails for any reason. However, such failures could be transient and specific to a particular run. Instead, only disable instruction emulation if we have never been able to emulate this. If we had emulated this instruction successfully