Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-10 Thread Murilo Opsfelder Araujo
Hi, Christophe. On Fri, Aug 10, 2018 at 11:29:43AM +0200, Christophe LEROY wrote: > > > Le 03/08/2018 à 13:31, Murilo Opsfelder Araujo a écrit : > > Hi, everyone. > > > > I'd like to thank you all that contributed to refining and making this > > series better. I did appreciate. > > > > Thank you!

Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-10 Thread Christophe LEROY
Le 03/08/2018 à 13:31, Murilo Opsfelder Araujo a écrit : Hi, everyone. I'd like to thank you all that contributed to refining and making this series better. I did appreciate. Thank you! You are welcome. It seems that nested segfaults don't print very well. The code line is split in two,

Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-03 Thread Murilo Opsfelder Araujo
Hi, everyone. I'd like to thank you all that contributed to refining and making this series better. I did appreciate. Thank you! Cheers Murilo

Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-03 Thread Michael Ellerman
Christophe LEROY writes: > Le 03/08/2018 à 02:42, Murilo Opsfelder Araujo a écrit : >> Hi, Christophe. >> On Thu, Aug 02, 2018 at 07:26:20AM +0200, Christophe LEROY wrote: >>> Le 01/08/2018 à 23:33, Murilo Opsfelder Araujo a écrit : show_user_instructions() is a slightly modified version of >

Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-02 Thread Christophe LEROY
Hi Murilo, Le 03/08/2018 à 02:42, Murilo Opsfelder Araujo a écrit : Hi, Christophe. On Thu, Aug 02, 2018 at 07:26:20AM +0200, Christophe LEROY wrote: Le 01/08/2018 à 23:33, Murilo Opsfelder Araujo a écrit : show_user_instructions() is a slightly modified version of show_instructions() that

Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-02 Thread Joe Perches
On Thu, 2018-08-02 at 21:42 -0300, Murilo Opsfelder Araujo wrote: > > > diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c [] > > > @@ -1299,6 +1299,46 @@ static void show_instructions(struct pt_regs *regs) > > > pr_cont("\n"); > > > } > > > +void show_user_instr

Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-02 Thread Murilo Opsfelder Araujo
Hi, Christophe. On Thu, Aug 02, 2018 at 07:26:20AM +0200, Christophe LEROY wrote: > > > Le 01/08/2018 à 23:33, Murilo Opsfelder Araujo a écrit : > > show_user_instructions() is a slightly modified version of > > show_instructions() that allows userspace instruction dump. > > > > This will be usefu

Re: [PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-01 Thread Christophe LEROY
Le 01/08/2018 à 23:33, Murilo Opsfelder Araujo a écrit : show_user_instructions() is a slightly modified version of show_instructions() that allows userspace instruction dump. This will be useful within show_signal_msg() to dump userspace instructions of the faulty location. Here is a sample

[PATCH v4 5/6] powerpc: Add show_user_instructions()

2018-08-01 Thread Murilo Opsfelder Araujo
show_user_instructions() is a slightly modified version of show_instructions() that allows userspace instruction dump. This will be useful within show_signal_msg() to dump userspace instructions of the faulty location. Here is a sample of what show_user_instructions() outputs: pandafault[10850