Re: [PATCH v3 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-25 Thread Michael Ellerman
Balbir Singh writes: > With text moving to read-only migrate optprobes to using > the patch_instruction infrastructure. Without this optprobes > will fail and complain. > > Signed-off-by: Balbir Singh > --- > arch/powerpc/kernel/optprobes.c | 58 > ++--- > 1

Re: [PATCH v3 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-07 Thread Naveen N. Rao
On 2017/06/07 03:46PM, Balbir Singh wrote: > On Wed, 2017-06-07 at 00:42 +0530, Naveen N. Rao wrote: > > On 2017/06/06 02:29PM, Balbir Singh wrote: > > > With text moving to read-only migrate optprobes to using > > > the patch_instruction infrastructure. Without this optprobes > > > will fail and c

Re: [PATCH v3 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-06 Thread Balbir Singh
On Wed, 2017-06-07 at 00:42 +0530, Naveen N. Rao wrote: > On 2017/06/06 02:29PM, Balbir Singh wrote: > > With text moving to read-only migrate optprobes to using > > the patch_instruction infrastructure. Without this optprobes > > will fail and complain. > > > > + /* We can optimize this via pa

Re: [PATCH v3 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-06 Thread Naveen N. Rao
On 2017/06/06 02:29PM, Balbir Singh wrote: > With text moving to read-only migrate optprobes to using > the patch_instruction infrastructure. Without this optprobes > will fail and complain. > > Signed-off-by: Balbir Singh > --- > arch/powerpc/kernel/optprobes.c | 58 > +

[PATCH v3 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-05 Thread Balbir Singh
With text moving to read-only migrate optprobes to using the patch_instruction infrastructure. Without this optprobes will fail and complain. Signed-off-by: Balbir Singh --- arch/powerpc/kernel/optprobes.c | 58 ++--- 1 file changed, 37 insertions(+), 21 delet