Re: Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-13 Thread Ananth N Mavinakayanahalli
On Thu, May 14, 2015 at 09:01:03AM +0900, Masami Hiramatsu wrote: > On 2015/05/14 0:41, William Cohen wrote: > > On 05/13/2015 05:22 AM, Masami Hiramatsu wrote: > >> On 2015/05/12 21:48, William Cohen wrote: > > > >>> Hi Dave, > >>> > >>> In some of the previous diagnostic output it looked like th

Re: Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-13 Thread Masami Hiramatsu
On 2015/05/14 0:41, William Cohen wrote: > On 05/13/2015 05:22 AM, Masami Hiramatsu wrote: >> On 2015/05/12 21:48, William Cohen wrote: > >>> Hi Dave, >>> >>> In some of the previous diagnostic output it looked like things would go >>> wrong >>> in the entry.S when the D bit was cleared and the d

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-13 Thread William Cohen
On 05/13/2015 03:58 PM, David Long wrote: > On 05/13/15 11:41, William Cohen wrote: >> On 05/13/2015 05:22 AM, Masami Hiramatsu wrote: >>> On 2015/05/12 21:48, William Cohen wrote: >> Hi Dave, In some of the previous diagnostic output it looked like things would go wrong i

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-13 Thread David Long
On 05/13/15 11:41, William Cohen wrote: On 05/13/2015 05:22 AM, Masami Hiramatsu wrote: On 2015/05/12 21:48, William Cohen wrote: Hi Dave, In some of the previous diagnostic output it looked like things would go wrong in the entry.S when the D bit was cleared and the debug interrupts were un

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-13 Thread William Cohen
On 05/13/2015 05:22 AM, Masami Hiramatsu wrote: > On 2015/05/12 21:48, William Cohen wrote: >> Hi Dave, >> >> In some of the previous diagnostic output it looked like things would go >> wrong >> in the entry.S when the D bit was cleared and the debug interrupts were >> unmasksed. I wonder if so

Re: Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-13 Thread Masami Hiramatsu
On 2015/05/12 21:48, William Cohen wrote: > On 05/12/2015 01:54 AM, David Long wrote: >> On 05/05/15 11:48, Will Deacon wrote: >>> On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: On 05/01/15 21:44, William Cohen wrote: > Dave Long and I did some additional experimentation to be

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-12 Thread William Cohen
On 05/12/2015 01:54 AM, David Long wrote: > On 05/05/15 11:48, Will Deacon wrote: >> On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: >>> On 05/01/15 21:44, William Cohen wrote: Dave Long and I did some additional experimentation to better understand what is condition causes th

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-11 Thread David Long
On 05/05/15 11:48, Will Deacon wrote: On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: On 05/01/15 21:44, William Cohen wrote: Dave Long and I did some additional experimentation to better understand what is condition causes the kernel to sometimes spew: Unexpected kernel single-ste

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-05 Thread William Cohen
On 05/05/2015 05:02 PM, William Cohen wrote: > On 05/05/2015 11:48 AM, Will Deacon wrote: >> On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: >>> On 05/01/15 21:44, William Cohen wrote: Dave Long and I did some additional experimentation to better understand what is condition c

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-05 Thread William Cohen
On 05/05/2015 11:48 AM, Will Deacon wrote: > On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: >> On 05/01/15 21:44, William Cohen wrote: >>> Dave Long and I did some additional experimentation to better >>> understand what is condition causes the kernel to sometimes spew: >>> >>> Unexpec

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-05 Thread William Cohen
On 05/05/2015 11:48 AM, Will Deacon wrote: > On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: >> On 05/01/15 21:44, William Cohen wrote: >>> Dave Long and I did some additional experimentation to better >>> understand what is condition causes the kernel to sometimes spew: >>> >>> Unexpec

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-05 Thread Will Deacon
On Tue, May 05, 2015 at 06:14:51AM +0100, David Long wrote: > On 05/01/15 21:44, William Cohen wrote: > > Dave Long and I did some additional experimentation to better > > understand what is condition causes the kernel to sometimes spew: > > > > Unexpected kernel single-step exception at EL1 > > >

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-04 Thread David Long
On 05/01/15 21:44, William Cohen wrote: On 04/29/2015 06:23 AM, Will Deacon wrote: On Tue, Apr 28, 2015 at 03:58:21AM +0100, William Cohen wrote: Hi All, Hi Will, I have been experimenting with the patches for arm64 kprobes support. On occasion the kernel gets stuck in a loop printing outpu

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-05-01 Thread William Cohen
On 04/29/2015 06:23 AM, Will Deacon wrote: > On Tue, Apr 28, 2015 at 03:58:21AM +0100, William Cohen wrote: >> Hi All, > > Hi Will, > >> I have been experimenting with the patches for arm64 kprobes support. >> On occasion the kernel gets stuck in a loop printing output: >> >> Unexpected kernel s

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-04-29 Thread Will Deacon
On Tue, Apr 28, 2015 at 03:58:21AM +0100, William Cohen wrote: > Hi All, Hi Will, > I have been experimenting with the patches for arm64 kprobes support. > On occasion the kernel gets stuck in a loop printing output: > > Unexpected kernel single-step exception at EL1 > > This message by itself

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-04-28 Thread David Long
On 04/21/15 07:42, Masami Hiramatsu wrote: > (2015/04/21 5:19), David Long wrote: >> From: "David A. Long" >> >> This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, >> first seen in October 2013. This version attempts to address concerns raised >> by >> reviewers and also

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-04-27 Thread William Cohen
Hi All, I have been experimenting with the patches for arm64 kprobes support. On occasion the kernel gets stuck in a loop printing output: Unexpected kernel single-step exception at EL1 This message by itself is not that enlighten. I added the attached patch to get some additional information

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-04-24 Thread William Cohen
On 04/21/2015 07:42 AM, Masami Hiramatsu wrote: > (2015/04/21 5:19), David Long wrote: >> From: "David A. Long" >> >> This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, >> first seen in October 2013. This version attempts to address concerns raised >> by >> reviewers and

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-04-21 Thread William Cohen
On 04/21/2015 07:42 AM, Masami Hiramatsu wrote: > (2015/04/21 5:19), David Long wrote: >> From: "David A. Long" >> >> This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, >> first seen in October 2013. This version attempts to address concerns raised >> by >> reviewers and

Re: [PATCH v6 0/6] arm64: Add kernel probes (kprobes) support

2015-04-21 Thread Masami Hiramatsu
(2015/04/21 5:19), David Long wrote: > From: "David A. Long" > > This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, > first seen in October 2013. This version attempts to address concerns raised > by > reviewers and also fixes problems discovered during testing. > > Thi